Skip to content

Latest commit

 

History

History
159 lines (81 loc) · 6.06 KB

CHANGELOG.md

File metadata and controls

159 lines (81 loc) · 6.06 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

6.0.3 (2021-10-15)

Note: Version bump only for package @thi.ng/malloc

6.0.2 (2021-10-15)

Note: Version bump only for package @thi.ng/malloc

6.0.1 (2021-10-13)

Note: Version bump only for package @thi.ng/malloc

6.0.0 (2021-10-12)

Build System

  • major update of ALL pkgs (export maps, ESM only) (0d1d6ea)

BREAKING CHANGES

  • discontinue CommonJS & UMD versions
  • only ESM modules will be published from now on
  • CJS obsolete due to ESM support in recent versions of node:
    • i.e. launch NodeJS via:
    • node --experimental-specifier-resolution=node --experimental-repl-await
    • in the node REPL use await import(...) instead of require()
  • UMD obsolete due to widespread browser support for ESM

Also:

  • normalize/restructure/reorg all package.json files
  • cleanup all build scripts, remove obsolete
  • switch from mocha to @thi.ng/testament for all tests

5.0.0 (2021-02-20)

Code Refactoring

  • malloc: update mallocAs/callocAs() handling (159042a)

BREAKING CHANGES

  • malloc: block type use string consts
    • part of unified umbrella-wide changes to thi.ng/api Type alias (see a333d4182)
    • no code changes, just arg type update
    • update tests

4.2.0 (2020-10-19)

Features

  • malloc: add NativePool & tests (8b2b4f6)

4.1.0 (2019-11-09)

Bug Fixes

  • malloc: fix realloc(), various refactorings, add tests (fa3e1bc)
  • malloc: update freeAll(), add test, doc strings, minor cleanup (830b267)

Features

  • malloc: add more buffered state, align opt, refactor, update tests (1ff9487)
  • malloc: fix block alignment/layout, update calloc/realloc (a40c265)

4.0.0 (2019-07-07)

Code Refactoring

  • malloc: address TS strictNullChecks flag (e4781e3)

Features

  • malloc: enable TS strict compiler flags (refactor) (e23e555)
  • malloc: export typed array ctors, update wrap() (3413ad7)

BREAKING CHANGES

  • malloc: update IMemPool return types
    • callocAs, mallocAs, reallocAs() now return undefined instead of null if operation failed

3.0.0 (2019-05-22)

Code Refactoring

  • malloc: remove Type enum, SIZEOF (b26df6d)

BREAKING CHANGES

  • malloc: remove Type enum, SIZEOF, migrated to @thi.ng/api

2.0.0 (2019-02-05)

Code Refactoring

  • malloc: update MemPoolOpts & MemPool ctor args (6d15686)

Features

  • malloc: add realloc(), update free() (bf8b28f)
  • malloc: add reallocArray(), update realloc() & compact(), tests (a55f477)

BREAKING CHANGES

  • malloc: update MemPoolOpts & MemPool ctor args

1.0.0 (2019-01-21)

Build System

  • update package build scripts & outputs, imports in ~50 packages (b54b703)

BREAKING CHANGES

  • enabled multi-outputs (ES6 modules, CJS, UMD)
  • build scripts now first build ES6 modules in package root, then call scripts/bundle-module to build minified CJS & UMD bundles in /lib
  • all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols.

0.2.0 (2018-10-27)

Features

  • malloc: add MemPoolOpts, fix top block alloc, update tests, readme (c5b0f2f)

0.1.0 (2018-10-21)

Bug Fixes

  • malloc: add size check, update readme (787102a)

Features

  • malloc: add freeAll(), release(), tests & benchmarks, update docs (4b72cda)
  • malloc: initial import @thi.ng/malloc package (2cf20c9)
  • malloc: re-add block compaction & splitting, update readme (89f2bc2)