@solidjs/h@2.0.0-rc.3
Breaking Changes📦 solid-jsView on GitHub →
⚠ 5 breaking🔧 11 symbols
Summary
This release absorbs the expressions snapshot, reorganizes compilers and runtimes into dedicated packages, and refactors internal implementations for better structure and naming conventions.
⚠️ Breaking Changes
- The expressions snapshot has been absorbed into the main repository, with compilers lifted to `@solidjs/babel-plugin` and `@solidjs/compiler`. Runtimes are now dumped into `@solidjs/web`, `h`, `html`, and `universal`.
- The expressions dump has been collapsed, dropping the rxcore seam and flattening runtimes into `package/src/`. The `babel-preset-solid` has been deleted, and compiler natives are published as `@solidjs/compiler-*`.
- Render/hydrate policy is now folded into runtime implementations. The duplicate `mergeProps` re-export has been dropped. JSX type sources are kept in `packages/web/jsx/`, and the SSR package entry is now at `src/index.server.ts`.
- Internal development markers and experimental frame protocol identifiers now use Solid-native names.
- Frames, server-functions, and serialization implementations have been moved into their respective subpath folders. `@solidjs/h` and `@solidjs/html` are now bound directly to `@solidjs/web` instead of taking a runtime argument.
Migration Steps
- Update imports for compilers to use `@solidjs/babel-plugin` and `@solidjs/compiler`.
- Update imports for runtimes to use `@solidjs/web`, `h`, `html`, or `universal`.
- Remove usage of `babel-preset-solid`.
- Update imports for compiler natives to use `@solidjs/compiler-*`.
- Adjust SSR package entry point to `src/index.server.ts`.
- Update imports for `@solidjs/h` and `@solidjs/html` to bind directly to `@solidjs/web`.