Skip to content

Releases: james-pre/memium

0.3.11

29 Oct 21:37
v0.3.11
da84c29

Choose a tag to compare

0.3.11 Pre-release
Pre-release

This patch moves to ODIC for publishing releases.

0.3.10

08 Oct 15:14
v0.3.10
4c69536

Choose a tag to compare

0.3.10 Pre-release
Pre-release

This release hides StructType.fields from docs because it breaks typedoc in dependents.

0.3.9

09 Sep 22:11
v0.3.9
918bdab

Choose a tag to compare

0.3.9 Pre-release
Pre-release

This release fixes the interfaces for primitive types not being exported, which caused ... has or is using name '...' from external module "..." but cannot be named.

0.3.8

02 Aug 17:02
v0.3.8
121029d

Choose a tag to compare

0.3.8 Pre-release
Pre-release
  • Removed some debugging code that was left in by accident
  • Fixed enumerability for struct fields using decorators

0.3.7

02 Aug 02:27
v0.3.7
744cabe

Choose a tag to compare

0.3.7 Pre-release
Pre-release

This release adds chainable packed and align(n) helpers to the struct function and @struct decorator. These can be used to skip importing yet another module. packed is a modified struct while align returns a modified struct.

For example:

// Using the decorator
@struct.packed('X')
class X extends $from(...) { ... }

// Using the function
const Z = struct.align(2).extend(Y, 'Z', { ... })

0.3.6

02 Aug 01:41
v0.3.6
01ae9a8

Choose a tag to compare

0.3.6 Pre-release
Pre-release

For parity with the new API, the @struct decorator now requires a name as the first parameter. This also means it is more difficult to accidently mess things up with a minifier mangling symbol names.

0.3.5

02 Aug 01:30
v0.3.5
5ea136b

Choose a tag to compare

0.3.5 Pre-release
Pre-release

Fixed setting Symbol.toStringTag failing due to [[Set]] being used instead of [[Define]]Object.defineProperty is now used instead.

0.3.4

02 Aug 01:23
v0.3.4
d3cc30b

Choose a tag to compare

0.3.4 Pre-release
Pre-release
  • Removed legacy array behavior that was incorrect
  • Fixed non-own properties of StructArray being inaccessible
  • Fixed the array of an ArrayType missing a type name
  • Added toStringTag for structs

0.3.3

01 Aug 21:33
v0.3.3
e1be537

Choose a tag to compare

0.3.3 Pre-release
Pre-release
  • array() now has a default length of 0
  • Added another test for the new struct API
  • Improve fault messages (EFAULT is thrown now instead of a plain JS error)
  • Fixed a bad runtime check in @field
  • Added StructValue
  • Added return type annotations to struct and struct.extend

0.3.2

01 Aug 20:53
v0.3.2
760e72a

Choose a tag to compare

0.3.2 Pre-release
Pre-release
  • Fixed StructArray return type including properties from DataView
  • Exports from array.ts and types.ts are now re-exported from index.ts