Skip to content

Releases: james-pre/memium

0.3.1

01 Aug 20:47
v0.3.1
8bf5849

Choose a tag to compare

0.3.1 Pre-release
Pre-release
  • StructFromTypedArray is now exported
    • This resolves 'extends' clause of exported class '...' has or is using private name '...'.
  • Updated Typescript, ^5.8.2 is now required

0.3.0

01 Aug 20:31
v0.3.0
a1adfa0

Choose a tag to compare

0.3.0 Pre-release
Pre-release

This release rewrites the struct API since decorators result in fields not being enumerable (#5). The old decorators API is still available, though you will need to use the $from and $from.typed functions to cast the type. The new API uses a builder approach, similar to Zod.

0.2.5

31 Jul 05:42
v0.2.5
f3be3c8

Choose a tag to compare

0.2.5 Pre-release
Pre-release
  • Fixed struct fields being non-enumerable.
  • Added a license to the project/package: LGPL v3.

0.2.4

16 Jul 04:32
v0.2.4
3d8c947

Choose a tag to compare

0.2.4 Pre-release
Pre-release

This release changes struct name inheritance to use Object.defineProperties, which improves bundler compatiblity. (#4)

0.2.3

13 Jun 21:40
v0.2.3
145b16f

Choose a tag to compare

0.2.3 Pre-release
Pre-release

This release adds a new struct option that overrides the name of the struct.

0.2.2

11 Jun 21:04
v0.2.2
45d4676

Choose a tag to compare

0.2.2 Pre-release
Pre-release
  • Made Pointer much easier to modify and use via the new add and set methods.
  • Added static name field to Pointer (#2)

0.2.1

12 May 03:29
v0.2.1
8e2ed7a

Choose a tag to compare

0.2.1 Pre-release
Pre-release

This release removes the use of eval in the struct decorator. (#1, thanks @kylecarbs)

0.2.0

12 Apr 01:54
v0.2.0
3944ce6

Choose a tag to compare

0.2.0 Pre-release
Pre-release
  • Unified types
  • Added the type registry
  • isType now checks for type name and against the type registry
  • Added Void type
  • Added toString and toJSON to Pointer
  • Pointer is now a type
  • Added ArrayBufferMemory
  • Added internal tracking of latest Memory instance

0.1.10

28 Mar 07:11
v0.1.10
6dfa410

Choose a tag to compare

0.1.10 Pre-release
Pre-release

This release updates Kerium and uses the new exceptions.

0.1.9

27 Mar 15:22
v0.1.9
739d5b3

Choose a tag to compare

0.1.9 Pre-release
Pre-release

This release changes the type of the instance parameter of offsetof from a struct to just object. The runtime check is still performed.