- Last updated: 2024-10-05T12:12:32Z
- Generator: thi.ng/monopub
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
Note: Unlisted patch versions only involve non-code or otherwise excluded changes and/or version bumps of transitive dependencies.
6.1.83 (2024-06-21)
- enforce uniform naming convention of internal functions (56992b2)
6.1.80 (2024-04-20)
- update type usage (00cce90)
6.1.49 (2023-11-09)
- update all tests (packages A-S) (e3085e4)
6.1.0 (2021-11-17)
- Using workspaces for local tools (bf7a404)
Improving the overall build ergonomics
- introduced a tools workspaces
- imported it in all needed packages/examples
- inclusive project root
- testrunner to binary (4ebbbb2) this commit reverts (partly) changes made in: ef346d7a8753590dc9094108a3d861a8dbd5dd2c overall purpose is better testament ergonomics: instead of having to pass NODE_OPTIONS with every invocation having a binary to handle this for us.
6.0.1 (2021-10-13)
- update imports in all pkgs (5fa2b6f)
- add .js suffix for all relative imports
- update imports in all tests/pkgs (effd591)
6.0.0 (2021-10-12)
- major update of ALL pkgs (export maps, ESM only) (0d1d6ea)
- BREAKING CHANGE: 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 ofrequire()
- 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
- update all tests in all pkgs (8b582bc)
- update all to use @thi.ng/testament
- update imports (138571a)
- update various benchmarks (53e8a6a)
- update deps & imports in various pkgs (e1cf29e)
- largely related to recent updates/restructuring of these packages:
- api
- defmulti
- errors
- logger
- largely related to recent updates/restructuring of these packages:
5.0.0 (2021-02-20)
- update mallocAs/callocAs() handling (159042a)
- BREAKING CHANGE: 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.3 (2020-12-07)
4.2.0 (2020-10-19)
- add NativePool & tests (8b2b4f6)
4.1.26 (2020-09-22)
- update realloc(), add 0-checks (cc13a8f)
- extract private reallocBlock() method
- add checks to blockDataAddress/blockSelfAddress()
- update malloc() (6fd0c1f)
- extract private mallocTop()
4.1.25 (2020-09-13)
- update imports (74aa25a)
4.1.24 (2020-08-28)
- update delete op (TS4.0) (609d2da)
4.1.4 (2020-02-25)
- update imports (97ede12)
4.1.0 (2019-11-09)
- add more buffered state, align opt, refactor, update tests (1ff9487)
- add MemPoolOpts doc strings
- add block alignment config
- add separate view for pool state only
- store compact/split config in buffer as well, add accessors
- update/simplify MemBlockWrapper
- extract toXXXAddress() as standalone fns
- update tests to use computed addresses
- fix block alignment/layout, update calloc/realloc (a40c265)
- align initial
top
to first aligned address minus SIZEOF_MEM_BLOCK - fix new
top
calculation in malloc() - fix new
size
calculation in realloc() - update calloc() to only fill actual requested num bytes
- add optional
fill
arg for calloc/callocAs() - use better/specific return types for mallocAs/callocAs(), reallocArray()
- update/simplify blockDataAddress/blockSelfAddress() logic
- add unlinkBlock() helper
- add/update tests
- align initial
- update freeAll(), add test, doc strings, minor cleanup (830b267)
- fix realloc(), various refactorings, add tests (fa3e1bc)
- fix realloc() to pass original size arg to malloc (not padded size)
- fix realloc() block migration to copy only data region
- re-order STATE_FREE/USED
- extract initialTop() calculation
- add initBlock() / setBlockSize() return values, update call sites
- minor update compact() to re-use computed value
- rename various args/vars to be more consistent
- add docstrings
- migrate & re-use types from @thi.ng/api (12898f0)
- replace MemBlockWrapper w/ implict list, remove wrap() (973c779)
- minor refactoring, add tests, update benchmark (8642648)
- re-use block size lookups in malloc()/realloc()
- fix #163, extract splitBlock() method (6737c64)
4.0.0 (2019-07-07)
- address TS strictNullChecks flag (e4781e3)
- set default pool size in ctor (0x1000)
- BREAKING CHANGE: update IMemPool return types
- callocAs, mallocAs, reallocAs() now return
undefined
instead ofnull
if operation failed
- callocAs, mallocAs, reallocAs() now return
- export typed array ctors, update wrap() (3413ad7) (cherry picked from commit 8fcf05c789bbc7524c340f13bbf369be77d2ed51)
- export typed array ctors, update wrap() (8fcf05c)
- enable TS strict compiler flags (refactor) (e23e555)
3.0.0 (2019-05-22)
- remove Type enum, SIZEOF (b26df6d)
- update references & tests
- BREAKING CHANGE: remove Type enum, SIZEOF, migrated to @thi.ng/api
2.0.0 (2019-02-05)
- update MemPoolOpts & MemPool ctor args (6d15686)
- BREAKING CHANGE: update MemPoolOpts & MemPool ctor args
1.0.0 (2019-01-21)
- update package build scripts & outputs, imports in ~50 packages (b54b703)
- BREAKING CHANGE: 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.
- build scripts now first build ES6 modules in package root, then call
- update imports (f3a5e0f)
- add/extract types to api.ts (c8d8a37) (cherry picked from commit e3727ce937824b1ed889fac6d66e488d4684a53e)
- update imports (1cfefda) (cherry picked from commit f3a5e0ffbd03390d93b6db9bea68e4947cfff7f3)
0.2.0 (2018-10-27)
- add MemPoolOpts, fix top block alloc, update tests, readme (c5b0f2f)
0.1.0 (2018-10-21)
- initial import @thi.ng/malloc package (2cf20c9)
- re-add block compaction & splitting, update readme (89f2bc2)
- add freeAll(), release(), tests & benchmarks, update docs (4b72cda)
- add size check, update readme (787102a)