@nifrajs/content 5.0.0 → 5.2.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +140 -0
  2. package/package.json +3 -2
package/CHANGELOG.md ADDED
@@ -0,0 +1,140 @@
1
+ # @nifrajs/content
2
+
3
+ ## 5.2.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 9498cf8: The package ships its `CHANGELOG.md`, so the installed package has the notes for every version, as the GitHub release does. Before, the tarball held only the code, `README.md`, `LICENSE` and `package.json`.
8
+
9
+ ## 5.1.0
10
+
11
+ No changes in this release.
12
+
13
+ ## 5.0.0
14
+
15
+ ### Patch Changes
16
+
17
+ - 1f81be1: `defineCollection` reads the directory, stats and files with async file IO. It used the synchronous calls inside `all()` and `get()`, which blocked a long-lived server's event loop for the whole read.
18
+ - 5f867e3: `collection.get(slug)` now throws for an entry whose frontmatter fails to parse or validate, as `all()` does, and returns `null` only when no file exists for the slug. A broken entry used to look like a missing one, so a page answered 404 instead of surfacing the error.
19
+
20
+ ## 4.0.2
21
+
22
+ ## 4.0.1
23
+
24
+ ## 4.0.0
25
+
26
+ ## 3.5.0
27
+
28
+ ## 3.4.0
29
+
30
+ ## 3.3.0
31
+
32
+ ## 3.2.0
33
+
34
+ ### Patch Changes
35
+
36
+ - f34a050: Record the pending source changes for these packages in their release notes so fixed-version publishing does not omit their changelog entries.
37
+
38
+ ## 3.1.0
39
+
40
+ ## 3.0.0
41
+
42
+ ### Patch Changes
43
+
44
+ - 6e43c15: A failed boundary load no longer publishes the thrown error's own message. Boundary states are serialized into the document, so a driver or fetch failure was putting hosts, credentials, and query text on the page for every visitor who loaded it while the dependency was down. The client slot is now always `Boundary failed`, an `Error` subclass name is withheld for the same reason it names the failing internal library, and the real error is reported to the server console - the split already used for a rejected deferred value. A boundary that wants to show the user something specific catches its own failure inside `load` and returns that as data.
45
+
46
+ Opt-in outbound WebSocket validation (`validateSend`) contains a rejected diagnostic instead of recursing. An `error()` handler that answers a dropped frame by sending one of its own re-entered the reporter through the two paths that bypassed its guard - schema rejection and an async validator - and unwound only when the stack was exhausted, silently. Every failure path now reports through the guard.
47
+
48
+ A content index cursor is checked for the query that issued it separately from running off the end: a cursor from a different sort or filter is rejected at any position, and a matching cursor left past the last row by an index that shrank between pages returns an exhausted page rather than throwing.
49
+
50
+ - 86a555b: The roadmap contract surfaces are now shipped across the public packages: shared island triggers,
51
+ typed content indexes and joins, client loader/action hooks, and unified static, dynamic, and
52
+ intercepting boundary modes. WebSocket routes also support opt-in synchronous outbound validation
53
+ through `sendSchema` + `validateSend`; invalid or asynchronous outbound frames fail closed while the
54
+ default remains type-level only.
55
+
56
+ ## 2.14.1
57
+
58
+ ## 2.14.0
59
+
60
+ ## 2.13.0
61
+
62
+ ## 2.12.1
63
+
64
+ ## 2.12.0
65
+
66
+ ## 2.11.0
67
+
68
+ ## 2.10.0
69
+
70
+ ## 2.9.1
71
+
72
+ ## 2.9.0
73
+
74
+ ## 2.8.2
75
+
76
+ ## 2.8.1
77
+
78
+ ## 2.8.0
79
+
80
+ ## 2.7.1
81
+
82
+ ## 2.7.0
83
+
84
+ ## 2.6.1
85
+
86
+ ## 2.6.0
87
+
88
+ ## 2.5.0
89
+
90
+ ## 2.4.0
91
+
92
+ ## 2.3.0
93
+
94
+ ## 2.2.0
95
+
96
+ ## 2.1.0
97
+
98
+ ## 2.0.0
99
+
100
+ ## 1.13.0
101
+
102
+ ## 1.12.0
103
+
104
+ ## 1.11.0
105
+
106
+ ## 1.10.0
107
+
108
+ ## 1.9.1
109
+
110
+ ## 1.9.0
111
+
112
+ ## 1.8.0
113
+
114
+ ## 1.7.0
115
+
116
+ ## 1.6.0
117
+
118
+ ## 1.5.0
119
+
120
+ ## 1.4.0
121
+
122
+ ## 1.3.1
123
+
124
+ ## 1.3.0
125
+
126
+ ## 1.2.2
127
+
128
+ ## 1.2.1
129
+
130
+ ## 1.2.0
131
+
132
+ ## 1.1.0
133
+
134
+ ## 1.0.0
135
+
136
+ ## 1.0.0-beta.4
137
+
138
+ ## 1.0.0-beta.3
139
+
140
+ ## 0.1.0-beta.2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nifrajs/content",
3
- "version": "5.0.0",
3
+ "version": "5.2.0",
4
4
  "description": "Typed, schema-validated content collections for nifra - Markdown + frontmatter, framework-agnostic.",
5
5
  "keywords": [
6
6
  "bun",
@@ -36,7 +36,8 @@
36
36
  }
37
37
  },
38
38
  "files": [
39
- "src"
39
+ "src",
40
+ "CHANGELOG.md"
40
41
  ],
41
42
  "sideEffects": false,
42
43
  "license": "MIT",