Skip to content

Releases: usnistgov/h5wasm

v0.3.2

22 Apr 20:15
Compare
Choose a tag to compare

v0.3.2 2022-04-12

Fixed

  • TypeScript strict mode checking enabled for build
  • all TypeScript type errors resolved
  • unused portions of the EmscriptenModule interface that raise errors in nodejs builds are removed (both of these depend on dom definitions)
    • preinitializedWebGLContext: WebGLRenderingContext;
    • onCustomMessage(event: MessageEvent): void;

v0.3.1

12 Apr 13:26
Compare
Choose a tag to compare

v0.3.1 2022-03-31

Added

  • Group.get_type(path) will now return
    • H5G_LINK (3) if path is a dangling soft link
    • H5G_UDLINK (4) if path is a user-defined (e.g. external) link
  • Group.get(path) will now return
    • BrokenSoftLink(target: string) if the path is a dangling soft link
    • ExternalLink(filename: string, obj_path: string) if the path is an external link
    • undefined if the path is a user-defined link that is not an external link.

v0.3.0

23 Mar 19:41
Compare
Choose a tag to compare

v0.3.0 2022-03-23

Changed

v0.2.2

17 Feb 03:42
Compare
Choose a tag to compare

v0.2.2 2022-02-16

Added

  • IDBFS adapter added to ESM module

Changed

  • license statement expanded

To use IDBFS:

// create a local mount of the IndexedDB filesystem:
hdf5.FS.mount(hdf5.FS.filesystems.IDBFS, {}, "/home/web_user")

// to read from the browser IndexedDB into the active filesystem:
hdf5.FS.syncfs(true, (e) => {console.log(e)});

// to push all current files in /home/web_user to IndexedDB, e.g. when closing your application:
hdf5.FS.syncfs(false, (e) => {console.log(e)})

v0.2.1

04 Feb 21:57
Compare
Choose a tag to compare

v0.2.1 2022-02-04

Fixed

  • Writing of Float64 datasets was broken, and is now working
  • Guessed shape of simple string values is fixed so that this will work:
  f.create_attribute("my_attr", "a string value");
  • Group.prototype.create_dataset now returns type Dataset (ts)

v0.2.0

25 Jan 20:34
Compare
Choose a tag to compare

v0.2.0 2022-01-25

Added

  • Typescript definitions (src/hdf5_hl.d.ts)
  • Support for reading and processing HDF5 Array datatype
  • esm and nodejs modules both offer ready Promise, which can be awaited before working with the module (addresses #5)
  • minimal set of tests (npm test)

Changed

  • POSSIBLY BREAKING: local paths to modules are changed
    • esm: ./dist/esm/hdf5_hl.js
    • node (CJS): ./dist/node/hdf5_hl.js
  • Build step added (esm and nodejs modules both built from Typescript source)
  • Build artifacts no longer available from dist branch, will be uploaded as .tgz archive (output of npm pack) to releases

v0.1.8

24 Jan 21:33
Compare
Choose a tag to compare

v0.1.8 2022-01-06

Added

first release

13 Sep 03:25
Compare
Choose a tag to compare

Release with built files (esm and node wasm targets).