Skip to content

Commit

Permalink
Merge pull request #37 from silx-kit/up-h5web
Browse files Browse the repository at this point in the history
Upgrade H5Web + add Blosc2 and Bitshuffle plugins
  • Loading branch information
axelboc authored Feb 15, 2024
2 parents 46dc4b7 + e93e44a commit 701fcc8
Show file tree
Hide file tree
Showing 6 changed files with 339 additions and 62 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## [v0.1.2](https://github.com/silx-kit/vscode-h5web/compare/v0.1.1...v0.1.2)

- 📂 Add **Blosc2** and **Bitshuffle** compression plugins.
- ✨ Bump H5Web from v10.1.0 to v11.0.0
- `[H5WasmProvider]` Support lazy-loading Blosc2 and Bitshuffle compression
plugins
- `[H5WasmProvider]` Correctly parse the following advanced HDF5 types:
`H5T_OPAQUE`, `H5T_VLEN`, and `H5T_REFERENCE` so they no longer appear as
_Unknown_ in the metadata viewer.
- For the full list of changes, please refer to the release notes for
[v11.0.0](https://github.com/silx-kit/h5web/releases/tag/v11.0.0)

## [v0.1.1](https://github.com/silx-kit/vscode-h5web/compare/v0.1.0...v0.1.1)

- 🐛 Fix compression plugins failing to load under symlinked user directory.
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,16 @@ follows:
},
```

## Supported HDF5 compression plugins

The extension supports reading datasets compressed with any of the plugins
available in
[[email protected]](https://github.com/h5wasm/h5wasm-plugins/tree/v0.0.3?tab=readme-ov-file#included-plugins).

## Known limitations

This extension uses [h5wasm](https://github.com/usnistgov/h5wasm) to read HDF5
files and therefore suffers from the following limitations:

- Files bigger than 2GB cannot be read
- External links cannot be resolved
- Datasets compressed with external filters (such as those of
[hdf5plugin](https://github.com/silx-kit/hdf5plugin)) cannot be read
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
"pub": "pnpm dlx @vscode/vsce publish --no-dependencies"
},
"dependencies": {
"@h5web/app": "10.1.0",
"@h5web/h5wasm": "10.1.0",
"@h5web/app": "11.0.0",
"@h5web/h5wasm": "11.0.0",
"@react-hookz/web": "15.0.1",
"axios": "0.27.2",
"h5wasm-plugins": "0.0.3",
Expand All @@ -81,7 +81,7 @@
"@types/vscode": "~1.86.0",
"@types/vscode-webview": "~1.57.2",
"@vitejs/plugin-react": "1.3.2",
"esbuild": "0.14.49",
"esbuild": "0.20.0",
"prettier": "2.8.7",
"typescript": "5.2.2",
"vite": "2.9.13"
Expand Down
Loading

0 comments on commit 701fcc8

Please sign in to comment.