Releases: alaviss/union
0.2.0: smaller unions
First breaking change!
With this release, RootObj
is no longer part of the inheritance chain. This saves around 8 bytes of memory for every union.
Of course, this means that you can no longer stores union objects as RootObj
. This feature has never been supported with Union
marked as pure
(ie. no RTTI). However, the compiler still generated RTTI storage for RootObj
, which was inherited by unions, inflating the object size. By moving to a non-RootObj
root, the problem is finally eliminated.
For most users, this change should not cause any issues and it is recommended that all users upgrade.
What's Changed
- build(deps): bump actions/deploy-pages from 2.0.3 to 2.0.4 by @dependabot in #48
- build(deps): bump actions/checkout from 3.5.3 to 4.0.0 by @dependabot in #50
- uniontraits: remove RootObj from inheritance chain by @alaviss in #53
Full Changelog: 0.1.5...0.2.0
0.1.5: fix problems with development nim
Contains fix for #51.
This is a bugfix release and it is recommended that all users upgrade.
What's Changed
- build(deps): bump actions/checkout from 3.5.2 to 3.5.3 by @dependabot in #43
- build(deps): bump actions/upload-pages-artifact from 1.0.8 to 2.0.0 by @dependabot in #46
- build(deps): bump actions/deploy-pages from 2.0.1 to 2.0.3 by @dependabot in #47
- Test for union type using a concrete instance of Union and scope union() template output by @alaviss in #52
Full Changelog: 0.1.4...0.1.5
0.1.4: maintenence release
Not much in this release other than CI changes and support for nimble's taskRequires
to avoid pulling in balls when only used as a dependency.
What's Changed
- couple tweaks to grammar by @disruptek in #32
- build(deps): bump actions/checkout from 3.0.2 to 3.3.0 by @dependabot in #34
- build(deps): bump actions/checkout from 3.3.0 to 3.4.0 by @dependabot in #35
- build(deps): bump actions/checkout from 3.4.0 to 3.5.0 by @dependabot in #36
- ci: deploy docs using github pages by @alaviss in #39
- ci: only attempt deploy on main branch by @alaviss in #40
- build(deps): bump actions/checkout from 3.5.0 to 3.5.2 by @dependabot in #38
- build(deps): bump actions/deploy-pages from 2.0.0 to 2.0.1 by @dependabot in #41
- Use taskRequires for balls when supported by @Gruruya in #42
New Contributors
Full Changelog: 0.1.3...0.1.4
0.1.3: more fixes for compilation against development nim
As Nim has been tightening up on func
, sometimes too much that it's full of false positives, we have to remove our usage of func
to prevent compilation issues in the future.
This is a bugfix release and it is recommended that all users update.
What's Changed
- build(deps): bump crazy-max/ghaction-github-pages from 3.0.0 to 3.1.0 by @dependabot in #28
- union: de-func most things by @alaviss in #30
- add the readme codeblock as a test (doAsserts) by @disruptek in #31
New Contributors
- @disruptek made their first contribution in #31
Full Changelog: 0.1.2...0.1.3
0.1.2: fix compilation with development nim
0.1.2: fix compilation with development nim
This release has no behavior changes and fixes a compilation issue on
Nim after commit nim-lang/Nim@1182216.
It is recommended that all users upgrade.
Shortlog for this release:
Leorize (1):
uniontraits: explicitly convert nil to UnionTy
alaviss (5):
Merge pull request #19 from alaviss/dependabot/github_actions/crazy-max/ghaction-github-pages-2.6.0
Merge pull request #21 from alaviss/dependabot/github_actions/actions/checkout-3.0.0
Merge pull request #23 from alaviss/dependabot/github_actions/actions/checkout-3.0.2
Merge pull request #24 from alaviss/dependabot/github_actions/crazy-max/ghaction-github-pages-3.0.0
Merge pull request #26 from alaviss/devel-fix
dependabot[bot] (4):
build(deps): bump crazy-max/ghaction-github-pages from 2.5.0 to 2.6.0
build(deps): bump actions/checkout from 2.4.0 to 3.0.0
build(deps): bump actions/checkout from 3.0.0 to 3.0.2
build(deps): bump crazy-max/ghaction-github-pages from 2.6.0 to 3.0.0
0.1.1: bugfixes
This release has no behavior changes and fixes a compilation issue on
Nim >= 1.6.2. It is recommended that all users upgrade.
Shortlog for this release:
Leorize (2):
uniontraits: add sameType borrows for UnionTy
release version 0.1.1
initial release
0.1.0 initial release