Skip to content

Hide the low-level WASM module from the public API - #79

Merged
Karinon merged 1 commit into
mainfrom
dedup
Nov 18, 2026
Merged

Karinon merged 1 commit into
mainfrom
dedup

Conversation

@Karinon

@Karinon Karinon commented Nov 11, 2026

Copy link
Copy Markdown
Collaborator

Hide the low-level WASM module from the public API

The package is meant to offer a netcdf4-python-like API through Dataset() / NetCDF4. Until now, the low-level module behind it was also reachable from outside. This PR makes it internal, so we can keep changing it without breaking users.

Changes

  • NetCDF4Module and EmscriptenModule are no longer exported.
  • NetCDF4.getModule() is now private.
  • The hand-written type for the module is removed. The type is now derived from the module's code, so the two can no longer get out of sync.

Impact

This is a breaking change for anyone who imported these types or called getModule(). The docs viewer uses neither.

@Karinon
Karinon merged commit c338e82 into main Nov 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants