Change8

@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

  1. Update imports for compilers to use `@solidjs/babel-plugin` or `@solidjs/compiler`.
  2. Update imports for runtimes to use `@solidjs/web`, `h`, `html`, or `universal`.
  3. If using `babel-preset-solid`, remove it and configure `@solidjs/babel-plugin` directly.
  4. Update imports for compiler natives to use `@solidjs/compiler-*`.
  5. Adjust imports related to `render` and `hydrate` policies.
  6. Update imports for JSX type sources from `packages/web/jsx/`.
  7. Update the entry point for the SSR package to `src/index.server.ts`.

Affected Symbols