create-absolutejs 0.17.1 → 0.17.2

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 CHANGED
@@ -6,6 +6,12 @@ This file is generated by `absolute-changelog` from the entries in
6
6
  `changelog/`. Edit an entry, not this file — and add new ones under
7
7
  `changelog/unreleased/`.
8
8
 
9
+ ## 0.17.2 — 2026-09-22
10
+
11
+ ### Fixed
12
+
13
+ - **Use the Elysia 2 error lifecycle verified against a fresh generated project**
14
+
9
15
  ## 0.17.1 — 2026-09-22
10
16
 
11
17
  ### Fixed
package/changelog.json CHANGED
@@ -2,6 +2,16 @@
2
2
  "contract": 1,
3
3
  "name": "create-absolutejs",
4
4
  "releases": [
5
+ {
6
+ "version": "0.17.2",
7
+ "date": "2026-09-22",
8
+ "changes": [
9
+ {
10
+ "kind": "fixed",
11
+ "summary": "Use the Elysia 2 error lifecycle verified against a fresh generated project"
12
+ }
13
+ ]
14
+ },
5
15
  {
6
16
  "version": "0.17.1",
7
17
  "date": "2026-09-22",
@@ -75,7 +75,7 @@ const server = new Elysia()
75
75
  ${useBlock}${authOption === 'abs' ? `\n${guardBlock}` : ''}
76
76
  ${routesBlock}
77
77
  .use(networking)
78
- .onError(({ request, error }) => {
78
+ .error(({ request, error }) => {
79
79
  console.error(\`Server error on \${request.method} \${request.url}\`, error)
80
80
  })
81
81
 
package/package.json CHANGED
@@ -58,5 +58,5 @@
58
58
  "prepublishOnly": "bun run check:package"
59
59
  },
60
60
  "type": "module",
61
- "version": "0.17.1"
61
+ "version": "0.17.2"
62
62
  }