resuxjs 0.4.0-beta.8 โ†’ 0.4.0

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/README.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  **Resux** stands for **Resumability + User Experience (UX)**.
4
4
 
5
- Resux is a public-beta HTML-first web framework with a custom resumable runtime. It uses familiar `.vue` files and file-based routing, but normal Resux components do **not** use Vue hydration or the Vue runtime. The compiler renders HTML on the server, serializes the state needed to continue, and loads browser handler code when interaction actually needs it.
5
+ Resux is an HTML-first web framework with a custom resumable runtime. It uses familiar `.vue` files and file-based routing, but normal Resux components do **not** use Vue hydration or the Vue runtime. The compiler renders HTML on the server, serializes the state needed to continue, and loads browser handler code when interaction actually needs it.
6
6
 
7
- ๐Ÿงช **Status:** Public beta. Resux is ready for evaluation and real-world testing, but its APIs may still change before 1.0.
7
+ **Status:** Stable 0.4 release (`latest` on npm). Resux follows Semantic Versioning; before 1.0, minor releases may contain breaking API changes that are documented in the changelog.
8
8
 
9
9
  ๐Ÿ“– **Documentation:** https://mahmoudabdalrhmanmohamed.github.io/resux-docs/
10
10
 
@@ -58,6 +58,8 @@ npx resuxjs@latest init my-app
58
58
 
59
59
  Current framework source requires Node.js `>=20.19.0`.
60
60
 
61
+ Known issue in 0.4.0: resuxjs runs on Node >=20.19. With npm's `engine-strict` enabled, installing it on Node 20 fails with EBADENGINE, because the dependency `unifont@^1.0.3` pulls in `undici@^8`, which requires Node >=22.19. With default npm settings this is only a warning and everything works. A proper fix is planned for 0.4.1.
62
+
61
63
  ## A normal Resux component
62
64
 
63
65
  ```vue
package/dist/cli.js CHANGED
@@ -34,9 +34,9 @@ import { pathToFileURL } from "node:url";
34
34
  function getResuxVersion() {
35
35
  try {
36
36
  const fileUrl = typeof import.meta.url === "string" && !import.meta.url.startsWith("file:///_") ? import.meta.url : void 0;
37
- if (fileUrl) return createRequire(fileUrl)("../package.json").version ?? "0.4.0-beta.7";
37
+ if (fileUrl) return createRequire(fileUrl)("../package.json").version ?? "0.4.0";
38
38
  } catch {}
39
- return "0.4.0-beta.7";
39
+ return "0.4.0";
40
40
  }
41
41
  const version = getResuxVersion();
42
42
  let activeDevBuild = null;