create-elemix-app 0.9.5 → 0.9.7
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.
- package/CHANGELOG.md +85 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,91 @@ 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.7] - 2026-11-15
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- `html()` content directive: drop a trusted HTML string into a template hole
|
|
16
|
+
(`${html(markup)}`) and it renders as live DOM, compiled for both SSR and the
|
|
17
|
+
client. Vue's `v-html`, resolved at compile time rather than at runtime.
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- hydris `Serve(ServerConfig)` is now typed, and the CLI auto-loads `.env`.
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
- elemix-ssr now compiles `node_modules` `.ts` files that carry elemix markers.
|
|
26
|
+
Components shipped as source (such as `NavLink`) register correctly instead of
|
|
27
|
+
rendering empty inside nested shadow roots.
|
|
28
|
+
- Raw-element content stays verbatim: the compiler no longer collapses whitespace
|
|
29
|
+
inside `<pre>`, `<textarea>`, `<script>` and `<style>`, and the formatter no
|
|
30
|
+
longer dedents `<pre>` content rendered through a hole.
|
|
31
|
+
- hydris sends no response body on `304` and `204` responses.
|
|
32
|
+
|
|
33
|
+
## [0.9.6] - 2026-11-14
|
|
34
|
+
|
|
35
|
+
### Added
|
|
36
|
+
|
|
37
|
+
- hydris is now a Native-AOT C# framework published to NuGet, as four packages:
|
|
38
|
+
`Hydris`, `Hydris.QuickJs`, `Hydris.Generators` and `Hydris.Cli`. The renderer
|
|
39
|
+
ships prebuilt native binaries for Linux, macOS and Windows on x64 and arm64,
|
|
40
|
+
published through trusted publishing (OIDC).
|
|
41
|
+
- Server-side rendering of elemix components through an embedded QuickJS engine.
|
|
42
|
+
- Server actions in the style of tRPC: `[Action]` and `[Contract]` source
|
|
43
|
+
generators bind and validate request DTOs, write response DTOs, and generate a
|
|
44
|
+
typed TypeScript client plus a reactive action function on the elemix side.
|
|
45
|
+
End-to-end type safety bridges the C# backend and TypeScript frontend through a
|
|
46
|
+
generated client, rather than the shared-TypeScript inference tRPC relies on.
|
|
47
|
+
- A validation rule engine wired into contract DTOs through typed rule attributes.
|
|
48
|
+
- Contract support for complex types (enums, dates, nested objects, arrays) on both
|
|
49
|
+
request parse and response write.
|
|
50
|
+
- Ambient request context: route params, query and CSRF are passed to every
|
|
51
|
+
template and readable in TypeScript via `param()`, `query()` and `csrf()`.
|
|
52
|
+
- Action request binding from route and query params, request cancellation, and
|
|
53
|
+
custom response status and headers.
|
|
54
|
+
- CSRF protection with configurable cookie and header names.
|
|
55
|
+
- Security response headers (HSTS, nosniff, referrer policy).
|
|
56
|
+
- A `[Config]` attribute for DI config services and CSP.
|
|
57
|
+
- `Hydris.Env` for `.env` loading and typed validation.
|
|
58
|
+
- A swappable logger with a driver/adapter pattern.
|
|
59
|
+
- Opt-in compression, content-hashed assets, and per-request module store reset.
|
|
60
|
+
- Cookie-backed stores.
|
|
61
|
+
- Client-side soft navigation with hydration.
|
|
62
|
+
- `Hydris.Cli` task runner, including a `routes` command that lists built-in routes.
|
|
63
|
+
- A public `reactive()` primitive in elemix; server actions return a reactive handle.
|
|
64
|
+
|
|
65
|
+
### Changed
|
|
66
|
+
|
|
67
|
+
- hydris was rewritten from the JavaScript proof of concept to C# with Native-AOT.
|
|
68
|
+
The renderer is QuickJS embedded through a native shim with an engine-owned
|
|
69
|
+
render buffer.
|
|
70
|
+
- CSR, SSR and compiler-output performance passes.
|
|
71
|
+
- The optimise pass moved into the compiler.
|
|
72
|
+
|
|
73
|
+
### Fixed
|
|
74
|
+
|
|
75
|
+
- Reactivity audit pass across the runtime and compiler: text-hole hydration,
|
|
76
|
+
`deleteProperty` and root reactive array tracking, fragment row and fragment
|
|
77
|
+
hole moves, class de-duplication, and cross-run split-text holes. Each fix is
|
|
78
|
+
pinned by a fixture run in both the CSR and SSR harnesses.
|
|
79
|
+
- Template and markup-returning holes survive SSR render and hydration, mounted
|
|
80
|
+
as children with the server DOM normalised before fixed-path navigation.
|
|
81
|
+
- Conditional holes survive data flipping to null; torn-down effects are disposed
|
|
82
|
+
so a stale subscriber copy cannot re-run them.
|
|
83
|
+
- The QuickJS window mock no longer stands in for a client check during SSR.
|
|
84
|
+
- Navigation, store and `activeScopes` exports corrected.
|
|
85
|
+
|
|
86
|
+
### Removed
|
|
87
|
+
|
|
88
|
+
- `@neuralfog/elemix-storybook`.
|
|
89
|
+
- The JavaScript hydris proof of concept.
|
|
90
|
+
|
|
91
|
+
### Security
|
|
92
|
+
|
|
93
|
+
- hydris security audit and resolution of its findings (header/CRLF injection,
|
|
94
|
+
nosniff, routing denial of service, type confusion, and others).
|
|
95
|
+
|
|
11
96
|
## [0.9.5] - 2026-08-22
|
|
12
97
|
|
|
13
98
|
### Fixed
|