@solidjs/universal@2.0.0-rc.3
Breaking Changes📦 solid-jsView on GitHub →
⚠ 3 breaking🔧 12 symbols
Summary
This release absorbs the expressions snapshot, restructuring compilers and runtimes into new packages. It also collapses the expressions dump and folds render/hydrate policies into runtimes.
⚠️ Breaking Changes
- The expressions snapshot has been absorbed into the main repository. Compilers are now available as `@solidjs/babel-plugin` and `@solidjs/compiler`. Runtimes have been moved into `@solidjs/web`, `h`, `html`, and `universal`.
- The expressions dump has been collapsed. The `rxcore` seam has been dropped, runtimes are flattened into package `src/`, `babel-preset-solid` has been deleted, and compiler natives are published as `@solidjs/compiler-*`.
- The `render` and `hydrate` policies have been folded into the runtime implementations. The duplicate `mergeProps` re-export has been dropped. JSX type sources are now kept in `packages/web/jsx/`, and the SSR package entry is now at `src/index.server.ts`.
Migration Steps
- Update imports for compilers to use `@solidjs/babel-plugin` or `@solidjs/compiler`.
- Update imports for runtimes to use `@solidjs/web`, `h`, `html`, or `universal`.
- If using `babel-preset-solid`, remove it and configure `@solidjs/babel-plugin` directly.
- Update imports for compiler natives to use `@solidjs/compiler-*`.
- Adjust imports related to `render` and `hydrate` policies.
- Update imports for JSX type sources from `packages/web/jsx/`.
- Update the entry point for the SSR package to `src/index.server.ts`.