create-elemix-app 0.9.5 → 0.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +63 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -8,6 +8,69 @@ and this project adheres to [Semantic Versioning](https://semver.org/) when it s
8
8
  > The [Roadmap](https://github.com/neuralfog/elemix/blob/main/ROADMAP.md) is the full
9
9
  > log of development.
10
10
 
11
+ ## [0.9.6] - 2026-11-14
12
+
13
+ ### Added
14
+
15
+ - hydris is now a Native-AOT C# framework published to NuGet, as four packages:
16
+ `Hydris`, `Hydris.QuickJs`, `Hydris.Generators` and `Hydris.Cli`. The renderer
17
+ ships prebuilt native binaries for Linux, macOS and Windows on x64 and arm64,
18
+ published through trusted publishing (OIDC).
19
+ - Server-side rendering of elemix components through an embedded QuickJS engine.
20
+ - Server actions in the style of tRPC: `[Action]` and `[Contract]` source
21
+ generators bind and validate request DTOs, write response DTOs, and generate a
22
+ typed TypeScript client plus a reactive action function on the elemix side.
23
+ End-to-end type safety bridges the C# backend and TypeScript frontend through a
24
+ generated client, rather than the shared-TypeScript inference tRPC relies on.
25
+ - A validation rule engine wired into contract DTOs through typed rule attributes.
26
+ - Contract support for complex types (enums, dates, nested objects, arrays) on both
27
+ request parse and response write.
28
+ - Ambient request context: route params, query and CSRF are passed to every
29
+ template and readable in TypeScript via `param()`, `query()` and `csrf()`.
30
+ - Action request binding from route and query params, request cancellation, and
31
+ custom response status and headers.
32
+ - CSRF protection with configurable cookie and header names.
33
+ - Security response headers (HSTS, nosniff, referrer policy).
34
+ - A `[Config]` attribute for DI config services and CSP.
35
+ - `Hydris.Env` for `.env` loading and typed validation.
36
+ - A swappable logger with a driver/adapter pattern.
37
+ - Opt-in compression, content-hashed assets, and per-request module store reset.
38
+ - Cookie-backed stores.
39
+ - Client-side soft navigation with hydration.
40
+ - `Hydris.Cli` task runner, including a `routes` command that lists built-in routes.
41
+ - A public `reactive()` primitive in elemix; server actions return a reactive handle.
42
+
43
+ ### Changed
44
+
45
+ - hydris was rewritten from the JavaScript proof of concept to C# with Native-AOT.
46
+ The renderer is QuickJS embedded through a native shim with an engine-owned
47
+ render buffer.
48
+ - CSR, SSR and compiler-output performance passes.
49
+ - The optimise pass moved into the compiler.
50
+
51
+ ### Fixed
52
+
53
+ - Reactivity audit pass across the runtime and compiler: text-hole hydration,
54
+ `deleteProperty` and root reactive array tracking, fragment row and fragment
55
+ hole moves, class de-duplication, and cross-run split-text holes. Each fix is
56
+ pinned by a fixture run in both the CSR and SSR harnesses.
57
+ - Template and markup-returning holes survive SSR render and hydration, mounted
58
+ as children with the server DOM normalised before fixed-path navigation.
59
+ - Conditional holes survive data flipping to null; torn-down effects are disposed
60
+ so a stale subscriber copy cannot re-run them.
61
+ - The QuickJS window mock no longer stands in for a client check during SSR.
62
+ - Navigation, store and `activeScopes` exports corrected.
63
+
64
+ ### Removed
65
+
66
+ - `@neuralfog/elemix-storybook`.
67
+ - The JavaScript hydris proof of concept.
68
+
69
+ ### Security
70
+
71
+ - hydris security audit and resolution of its findings (header/CRLF injection,
72
+ nosniff, routing denial of service, type confusion, and others).
73
+
11
74
  ## [0.9.5] - 2026-08-22
12
75
 
13
76
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-elemix-app",
3
- "version": "0.9.5",
3
+ "version": "0.9.6",
4
4
  "description": "Scaffold a new elemix app from the official template.",
5
5
  "license": "MIT",
6
6
  "author": "brownhounds",