diff --git a/.changeset/document-ssg-support.md b/.changeset/document-ssg-support.md deleted file mode 100644 index f16e9c8..0000000 --- a/.changeset/document-ssg-support.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@effex/platform": patch -"create-effex": patch ---- - -Surface SSG support in package documentation: add a Rendering Modes overview and a dedicated Static Site Generation section to the top-level README, give SSG equal billing with SSR in `@effex/platform`'s README (including a full Quick Start, `buildStaticSite` API reference, and `BuildStaticSiteOptions` shape), and document the SSG template, `--ssg` flag, project structure, and build commands in `create-effex`'s README. No code changes. diff --git a/.changeset/fix-hydration-list-animations.md b/.changeset/fix-hydration-list-animations.md deleted file mode 100644 index 577cbcd..0000000 --- a/.changeset/fix-hydration-list-animations.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@effex/dom": patch ---- - -Fix list animations being silently dropped on hydrated pages (SSG + SSR). `HydrationControlCtx` was reading `AnimationConfigCtx` once at Layer construction (at the hydration root, before any `each` had a chance to provide its config) and closing over the resulting `undefined`. Now reads the service lazily inside `addSlot`/`removeSlot`, mirroring the existing `ClientControlCtx` pattern, so each `each` with `animate` sees the config its parent provided. - -`@effex/router` will receive an automatic patch via the `updateInternalDependencies` Changesets rule because it depends on `@effex/dom` as a workspace dependency. diff --git a/.changeset/sync-template-versions.md b/.changeset/sync-template-versions.md deleted file mode 100644 index fe63757..0000000 --- a/.changeset/sync-template-versions.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"create-effex": patch ---- - -Sync `@effex/*` dependency versions in scaffolded templates with the current workspace versions. Previously templates pinned `@effex/dom`, `@effex/router`, `@effex/platform`, and `@effex/vite-plugin` to `^0.0.1`, which (under semver's strict caret behavior for `0.x.x`) resolved to long-obsolete pre-1.0 versions. Generated projects now reference the current major (e.g. `^1.1.0` / `^1.2.0`). - -Adds `scripts/sync-template-versions.mjs` and wires it into the Changesets `version` script so template versions track workspace versions automatically on every release. diff --git a/.changeset/templates-index-html.md b/.changeset/templates-index-html.md deleted file mode 100644 index 62195a9..0000000 --- a/.changeset/templates-index-html.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-effex": patch ---- - -Add the missing `index.html` entry file to the `ssg` and `ssr` templates. Only the `spa` template previously had one, which broke the client build step (`vite build`) in scaffolded SSG projects — Vite needs `index.html` as the client entry, and the SSG build path additionally reads `dist/index.html` after the client build to extract hashed asset paths for injection into the generated static pages. Both new files mirror the working `examples/twitter` shape and point their script tag at the existing `/src/client.ts` entry. diff --git a/apps/docs/CHANGELOG.md b/apps/docs/CHANGELOG.md index e83c7c2..182e838 100644 --- a/apps/docs/CHANGELOG.md +++ b/apps/docs/CHANGELOG.md @@ -1,5 +1,15 @@ # docs +## 0.0.13 + +### Patch Changes + +- Updated dependencies [d153d3a] +- Updated dependencies [2e2670e] + - @effex/platform@1.2.1 + - @effex/dom@1.1.1 + - @effex/router@1.2.1 + ## 0.0.12 ### Patch Changes diff --git a/apps/docs/package.json b/apps/docs/package.json index 26a4070..c9c8949 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -1,6 +1,6 @@ { "name": "docs", - "version": "0.0.12", + "version": "0.0.13", "private": true, "type": "module", "scripts": { diff --git a/packages/create-effex/CHANGELOG.md b/packages/create-effex/CHANGELOG.md index f9090a6..493d75c 100644 --- a/packages/create-effex/CHANGELOG.md +++ b/packages/create-effex/CHANGELOG.md @@ -1,5 +1,16 @@ # create-effex +## 1.1.1 + +### Patch Changes + +- d153d3a: Surface SSG support in package documentation: add a Rendering Modes overview and a dedicated Static Site Generation section to the top-level README, give SSG equal billing with SSR in `@effex/platform`'s README (including a full Quick Start, `buildStaticSite` API reference, and `BuildStaticSiteOptions` shape), and document the SSG template, `--ssg` flag, project structure, and build commands in `create-effex`'s README. No code changes. +- a3b696c: Sync `@effex/*` dependency versions in scaffolded templates with the current workspace versions. Previously templates pinned `@effex/dom`, `@effex/router`, `@effex/platform`, and `@effex/vite-plugin` to `^0.0.1`, which (under semver's strict caret behavior for `0.x.x`) resolved to long-obsolete pre-1.0 versions. Generated projects now reference the current major (e.g. `^1.1.0` / `^1.2.0`). + + Adds `scripts/sync-template-versions.mjs` and wires it into the Changesets `version` script so template versions track workspace versions automatically on every release. + +- 400948f: Add the missing `index.html` entry file to the `ssg` and `ssr` templates. Only the `spa` template previously had one, which broke the client build step (`vite build`) in scaffolded SSG projects — Vite needs `index.html` as the client entry, and the SSG build path additionally reads `dist/index.html` after the client build to extract hashed asset paths for injection into the generated static pages. Both new files mirror the working `examples/twitter` shape and point their script tag at the existing `/src/client.ts` entry. + ## 1.1.0 ### Minor Changes diff --git a/packages/create-effex/package.json b/packages/create-effex/package.json index 7d5a80d..51ff633 100644 --- a/packages/create-effex/package.json +++ b/packages/create-effex/package.json @@ -1,6 +1,6 @@ { "name": "create-effex", - "version": "1.1.0", + "version": "1.1.1", "description": "Create a new Effex application", "type": "module", "license": "MIT", diff --git a/packages/dom/CHANGELOG.md b/packages/dom/CHANGELOG.md index 05efd77..0a79532 100644 --- a/packages/dom/CHANGELOG.md +++ b/packages/dom/CHANGELOG.md @@ -1,5 +1,13 @@ # @effex/dom +## 1.1.1 + +### Patch Changes + +- 2e2670e: Fix list animations being silently dropped on hydrated pages (SSG + SSR). `HydrationControlCtx` was reading `AnimationConfigCtx` once at Layer construction (at the hydration root, before any `each` had a chance to provide its config) and closing over the resulting `undefined`. Now reads the service lazily inside `addSlot`/`removeSlot`, mirroring the existing `ClientControlCtx` pattern, so each `each` with `animate` sees the config its parent provided. + + `@effex/router` will receive an automatic patch via the `updateInternalDependencies` Changesets rule because it depends on `@effex/dom` as a workspace dependency. + ## 1.1.0 ### Minor Changes diff --git a/packages/dom/package.json b/packages/dom/package.json index b3d5e05..e41dc98 100644 --- a/packages/dom/package.json +++ b/packages/dom/package.json @@ -1,6 +1,6 @@ { "name": "@effex/dom", - "version": "1.1.0", + "version": "1.1.1", "description": "DOM rendering for Effex - a reactive UI framework built on Effect.ts", "type": "module", "license": "MIT", diff --git a/packages/platform/CHANGELOG.md b/packages/platform/CHANGELOG.md index dd61186..66635ad 100644 --- a/packages/platform/CHANGELOG.md +++ b/packages/platform/CHANGELOG.md @@ -1,5 +1,14 @@ # @effex/platform +## 1.2.1 + +### Patch Changes + +- d153d3a: Surface SSG support in package documentation: add a Rendering Modes overview and a dedicated Static Site Generation section to the top-level README, give SSG equal billing with SSR in `@effex/platform`'s README (including a full Quick Start, `buildStaticSite` API reference, and `BuildStaticSiteOptions` shape), and document the SSG template, `--ssg` flag, project structure, and build commands in `create-effex`'s README. No code changes. +- Updated dependencies [2e2670e] + - @effex/dom@1.1.1 + - @effex/router@1.2.1 + ## 1.2.0 ### Minor Changes diff --git a/packages/platform/package.json b/packages/platform/package.json index 9e8c840..87da3ce 100644 --- a/packages/platform/package.json +++ b/packages/platform/package.json @@ -1,6 +1,6 @@ { "name": "@effex/platform", - "version": "1.2.0", + "version": "1.2.1", "description": "Full-stack meta-framework for Effex applications", "type": "module", "license": "MIT", diff --git a/packages/router/CHANGELOG.md b/packages/router/CHANGELOG.md index 80660f1..b763905 100644 --- a/packages/router/CHANGELOG.md +++ b/packages/router/CHANGELOG.md @@ -1,5 +1,12 @@ # @effex/router +## 1.2.1 + +### Patch Changes + +- Updated dependencies [2e2670e] + - @effex/dom@1.1.1 + ## 1.2.0 ### Minor Changes diff --git a/packages/router/package.json b/packages/router/package.json index 31ecf1e..e310347 100644 --- a/packages/router/package.json +++ b/packages/router/package.json @@ -1,6 +1,6 @@ { "name": "@effex/router", - "version": "1.2.0", + "version": "1.2.1", "description": "Router for Effex applications", "type": "module", "license": "MIT",