Skip to content

Releases: medyan-dev/MutatePlainDataArray.jl

v1.0.1

02 Feb 18:30
bf16842

Choose a tag to compare

MutatePlainDataArray v1.0.1

Diff since v1.0.0

Merged pull requests:

  • In Julia 1.13 fieldoffset accepts the field name (#11) (@nhz2)

v1.0.0

13 Dec 19:42
46598df

Choose a tag to compare

MutatePlainDataArray v1.0.0

Diff since v0.4.0

No breaking changes.

Merged pull requests:

  • Bump to version 1.0 (#9) (@nhz2)
  • Add back support for Julia 1.6 (#10) (@nhz2)

v0.4.0

07 Dec 21:34
72eb213

Choose a tag to compare

MutatePlainDataArray v0.4.0

Diff since v0.3.0

Fixes #7

This is a breaking change.

The array element type now must be isbitstype:
Before, the chain of structs just had to be immutable. However, as seen in #7, the exact memory layout of non isbitstype structs is currently not well documented.

Switch from pointer to the strided array interface:
The pointer function is not recommended, and has subtle gotchas, especially if Julia is run with a moving GC.
The strided array interface is being used as documented in JuliaLang/julia#59466

The aref(a)[1]._3 syntax for accessing a field index is replaced with aref(a)[1].:3 or getproperty(aref(a)[1], 3).

This simplifies the code and avoids ambiguities when a field might be named _3.

Merged pull requests:

  • BREAKING: Fix memory safety bug by only supporting strided arrays of isbits (#8) (@nhz2)

Closed issues:

  • Segfault when using types that can have undefined fields (#7)

v0.3.0

29 Jan 22:00
77000d1

Choose a tag to compare

MutatePlainDataArray v0.3.0

Diff since v0.2.0

Merged pull requests:

  • Update CI.yml (#5) (@nhz2)
  • Increase julia compat to 1.7 (#6) (@nhz2)

v0.2.0

07 Jun 17:40
63cf058

Choose a tag to compare

MutatePlainDataArray v0.2.0

Diff since v0.1.0

Merged pull requests:

  • CompatHelper: bump compat for Compat to 4, (keep existing compat) (#3) (@github-actions[bot])
  • Bump version to 0.2.0 (#4) (@nhz2)

v0.1.0

08 May 21:11

Choose a tag to compare

MutatePlainDataArray v0.1.0

Merged pull requests: