Skip to content

Commit

Permalink
Merge pull request #44 from silx-kit/up-h5web
Browse files Browse the repository at this point in the history
Upgrade to H5Web 12
  • Loading branch information
axelboc authored Jun 25, 2024
2 parents d0b8946 + 426c08e commit 79f326c
Show file tree
Hide file tree
Showing 4 changed files with 122 additions and 80 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@

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

- ✨ Upgrade H5Web from v11.2.0 to v12.0.0
- Support virtual datasets with compressed local sources
- `< NX Line, NX Heatmap >` Support complex auxiliary signals
- `< Line >` Replace _Autoscale_ toggle in toolbar with domain widget to allow
customising the `y` axis domain
- `< Compound >` Visualize compound scalar datasets
- `< Raw >` Add toggle to fit raw JPEG/PNG images to viewport (on by default)
- :bug: `< Raw >` Disable dark mode on raw JPEG/PNG images
- :bug: Don't capitalize attribute names in metadata viewer
- :zap: Reduce delay when slicing through a dimension whenever the target
slice is already in the cache
- Make variable-length string types explicit in metadata viewer
- Allow inspecting HDF5 string padding metadata with h5grove (>=2.2.0), h5wasm
and HSDS providers
- For the full list of changes, please refer to the release notes for
[v12.0.0](https://github.com/silx-kit/h5web/releases/tag/v12.0.0)

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

-**Allow opening HDF5 files of any size.** Previously, when you tried to
open a file larger than 2 GB, you would see an error in the H5Web webview
editor. Now, you will be able to browse for the file manually from inside the
Expand Down
6 changes: 3 additions & 3 deletions app/Viewer.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { App } from '@h5web/app';
import { H5WasmProvider } from '@h5web/h5wasm';
import { H5WasmBufferProvider } from '@h5web/h5wasm';
import { suspend } from 'suspend-react';
import { getExportURL, getPlugin } from './utils';
import { type FileInfo } from '../src/models.js';
Expand All @@ -17,14 +17,14 @@ function Viewer(props: Props) {
}, [fileInfo]);

return (
<H5WasmProvider
<H5WasmBufferProvider
filename={fileInfo.name}
buffer={buffer}
getExportURL={getExportURL}
getPlugin={getPlugin}
>
<App />
</H5WasmProvider>
</H5WasmBufferProvider>
);
}

Expand Down
4 changes: 2 additions & 2 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": "11.2.0",
"@h5web/h5wasm": "11.2.0",
"@h5web/app": "12.0.0",
"@h5web/h5wasm": "12.0.0",
"@react-hookz/web": "15.0.1",
"axios": "0.27.2",
"h5wasm-plugins": "0.0.3",
Expand Down
Loading

0 comments on commit 79f326c

Please sign in to comment.