Skip to content

Releases: alaviss/union

0.2.0: smaller unions

06 Sep 03:39
0.2.0
9bb2395
Compare
Choose a tag to compare

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

06 Sep 01:18
0.1.5
79e3f8a
Compare
Choose a tag to compare

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

15 May 00:41
0.1.4
f5f8608
Compare
Choose a tag to compare

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

02 Jan 01:02
Compare
Choose a tag to compare

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

Full Changelog: 0.1.2...0.1.3

0.1.2: fix compilation with development nim

29 Aug 06:26
0.1.2
e47850e
Compare
Choose a tag to compare

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

19 Dec 19:55
d42c2dd
Compare
Choose a tag to compare

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

12 Nov 00:15
ff03f5d
Compare
Choose a tag to compare
0.1.0

initial release