From 1d201c4502469b0a7bb9802da6e5dfb499ceb22f Mon Sep 17 00:00:00 2001 From: Andrej Fast Date: Wed, 18 Nov 2026 10:12:04 +0100 Subject: [PATCH] bump version --- CHANGELOG.md | 10 ++++++++++ docs/viewer/package.json | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7278587..3427e47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## [0.4.0] - 2026-11-18 + +- **Breaking:** The low-level Emscripten module is now private; the `EmscriptenModule` and `NetCDF4Module` types are no longer exported [#79](https://github.com/EarthyScience/netcdf4-wasm/pull/79) +- **Breaking:** Stricter typing across the library, e.g. `mode` arguments are now typed as `FileMode` instead of `string` [#77](https://github.com/EarthyScience/netcdf4-wasm/pull/77) +- Main thread and worker now share one set of operations [#75](https://github.com/EarthyScience/netcdf4-wasm/pull/75) +- Fixed memory leaks (string allocations, worker leak on failed file loading) [#74](https://github.com/EarthyScience/netcdf4-wasm/pull/74) +- Rewrote the test infrastructure [#72](https://github.com/EarthyScience/netcdf4-wasm/pull/72) +- Rewrote the WASM build, updated the toolchain and added Blosc, Zstandard and bzip2 filter support; CI now also runs on macOS [#70](https://github.com/EarthyScience/netcdf4-wasm/pull/70) +- Code formatting and linting via Biome + ## [0.3.0] - 2026-10-28 - **Breaking:** `getFullMetadata` now nests each variable's attributes under `attributes` instead of merging them into the variable object [#61](https://github.com/EarthyScience/netcdf4-wasm/pull/61) diff --git a/docs/viewer/package.json b/docs/viewer/package.json index e7effa8..4468e86 100644 --- a/docs/viewer/package.json +++ b/docs/viewer/package.json @@ -10,7 +10,7 @@ "lint": "eslint" }, "dependencies": { - "@earthyscience/netcdf4-wasm": "^0.3.0", + "@earthyscience/netcdf4-wasm": "^0.4.0", "@radix-ui/react-accordion": "^1.2.12", "@radix-ui/react-dialog": "^1.1.15", "@radix-ui/react-label": "^2.1.8", diff --git a/package-lock.json b/package-lock.json index a2d8c4c..cb1e6bf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@earthyscience/netcdf4-wasm", - "version": "0.3.0", + "version": "0.4.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@earthyscience/netcdf4-wasm", - "version": "0.3.0", + "version": "0.4.0", "license": "MIT", "dependencies": { "@types/emscripten": "^1.41.6" diff --git a/package.json b/package.json index ecdf2ee..8d80d1b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@earthyscience/netcdf4-wasm", - "version": "0.3.0", + "version": "0.4.0", "description": "Partial compilation of NetCDF4 library to WebAssembly with TypeScript bindings", "type": "module", "main": "./dist/index.js",