|
2 | 2 |
|
3 | 3 | All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. |
4 | 4 |
|
| 5 | +## [1.0.0](https://github.com/unjs/h3/compare/v0.8.6...v1.0.0) (2022-11-15) |
5 | 6 |
|
6 | | -## v0.8.6 |
7 | | - |
8 | | -[compare changes](https://github.com/unjs/h3/compare/v0.8.5...v0.8.6) |
9 | | - |
10 | | - |
11 | | -### 🚀 Enhancements |
12 | | - |
13 | | - - **createError:** Support `status` and `statusText` ([#213](https://github.com/unjs/h3/pull/213)) |
14 | | - - Add `sendProxy` ([#214](https://github.com/unjs/h3/pull/214)) |
15 | | - - Add `toJSON` method to errors ([#215](https://github.com/unjs/h3/pull/215)) |
16 | | - |
17 | | -### 🔥 Performance |
18 | | - |
19 | | - - **router:** Avoid using `new URL` ([7162e09](https://github.com/unjs/h3/commit/7162e09)) |
20 | | - |
21 | | -### 🩹 Fixes |
22 | | - |
23 | | - - Implement `keys`, `values`, `entries` and iterator for H3Event ([b0f8d43](https://github.com/unjs/h3/commit/b0f8d43)) |
24 | | - |
25 | | -### ✅ Tests |
26 | | - |
27 | | - - Add more tests for empty and non-present ([#206](https://github.com/unjs/h3/pull/206)) |
28 | | - - Update getRequestHeader+cookie test ([9e5551e](https://github.com/unjs/h3/commit/9e5551e)) |
29 | | - |
30 | | -### ❤️ Contributors |
31 | | - |
32 | | -- Daniel Roe |
33 | | -- Pooya Parsa |
34 | | -- Tobias Diez |
35 | | - |
36 | | -## v0.8.5 |
37 | | - |
38 | | -[compare changes](https://github.com/unjs/h3/compare/v0.8.4...v0.8.5) |
39 | | - |
40 | | - |
41 | | -### 🚀 Enhancements |
42 | | - |
43 | | - - Normalize request headers ([d141f81](https://github.com/unjs/h3/commit/d141f81)) |
44 | | - |
45 | | -### 🩹 Fixes |
46 | | - |
47 | | - - **writeEarlyHints:** Avoid depending on node 18 api until stablized ([f935fac](https://github.com/unjs/h3/commit/f935fac)) |
48 | | - |
49 | | -### 🏡 Chore |
50 | | - |
51 | | - - Only run tests once during release ([#204](https://github.com/unjs/h3/pull/204)) |
52 | | - |
53 | | -### ❤️ Contributors |
54 | | - |
55 | | -- Chris |
56 | | -- Pooya Parsa |
57 | | - |
58 | | -## v0.8.4 |
59 | | - |
60 | | -[compare changes](https://github.com/unjs/h3/compare/v0.8.3...v0.8.4) |
61 | | - |
62 | | - |
63 | | -### 🩹 Fixes |
64 | | - |
65 | | - - Always set lowecase headers ([09b8fcc](https://github.com/unjs/h3/commit/09b8fcc)) |
66 | | - |
67 | | -### ❤️ Contributors |
68 | | - |
69 | | -- Pooya Parsa |
70 | | - |
71 | | -## v0.8.3 |
72 | | - |
73 | | -[compare changes](https://github.com/unjs/h3/compare/v0.8.2...v0.8.3) |
74 | | - |
75 | | - |
76 | | -### 🩹 Fixes |
77 | | - |
78 | | - - **writeEarlyHints:** Join headers with comma ([#203](https://github.com/unjs/h3/pull/203)) |
79 | | - - **readRawBody:** Resolve to undefined when content-length is zero or unspecified ([#197](https://github.com/unjs/h3/pull/197)) |
80 | | - |
81 | | -### 🌊 Types |
82 | | - |
83 | | - - `next` is always passed to `NodeMiddleware` ([6617e48](https://github.com/unjs/h3/commit/6617e48)) |
84 | | - |
85 | | -### ❤️ Contributors |
86 | | - |
87 | | -- Daniel Roe |
88 | | -- Pooya Parsa |
89 | | - |
90 | | -## v0.8.2 |
91 | | - |
92 | | -[compare changes](https://github.com/unjs/h3/compare/v0.8.1...v0.8.2) |
93 | | - |
94 | | - |
95 | | -### 🚀 Enhancements |
96 | | - |
97 | | - - **writeEarlyHints:** Handle object-format early hints ([#202](https://github.com/unjs/h3/pull/202)) |
98 | | - |
99 | | -### 🏡 Chore |
100 | | - |
101 | | - - Typo ([47a507a](https://github.com/unjs/h3/commit/47a507a)) |
102 | | - |
103 | | -### ❤️ Contributors |
104 | | - |
105 | | -- Daniel Roe |
106 | | -- Pooya Parsa |
107 | | - |
108 | | -## v0.8.1 |
109 | | - |
110 | | -[compare changes](https://github.com/unjs/h3/compare/v0.8.0...v0.8.1) |
111 | | - |
112 | | - |
113 | | -### 🩹 Fixes |
114 | | - |
115 | | - - Update radix3 ([a45afba](https://github.com/unjs/h3/commit/a45afba)) |
116 | | - - Make `next` optional for `NodeMiddleware` type ([5b16a2c](https://github.com/unjs/h3/commit/5b16a2c)) |
117 | | - |
118 | | -### 🏡 Chore |
119 | | - |
120 | | - - Manually update changelog ([32d8eda](https://github.com/unjs/h3/commit/32d8eda)) |
121 | | - |
122 | | -### ❤️ Contributors |
123 | | - |
124 | | -- Pooya Parsa |
125 | | - |
126 | | -## v0.8.0 |
127 | | - |
128 | | -[compare changes](https://github.com/unjs/h3/compare/v0.7.20...v0.8.0) |
129 | | - |
130 | | -### ⚠️ Breaking changes |
131 | | - |
132 | | -H3 API and exports are updated in order to reduce dependency on Node.js and future possibilities. |
133 | | - |
134 | | - - All handlers should be defined with `eventHandler()` wrapper otherwise a warning will be shown suggesting this change for you. |
135 | | - - h3 `app` instance created by `createApp` is not a Node.js listener with `(req, res) => {}` signature anymore. You can convert h3 app into a Node.js listener using `toNodeListener(app)`. |
136 | | - - Compatibility api to support mixed `req.event` and `res.event` is dropped. If you had custom utils depending on this, you might need to change them. |
137 | | - - Node.js/Express-style middleware with `(req, res, next?) = {}` signature are not longer automatically converted to event handler format. You can convert them using new `fromNodeMiddleware((req, res) => {})` utility. |
138 | | - - Some exported TypeScript interfaces and types are renamed or removed reflecting this change. |
139 | | - |
140 | | -### 🚀 Enhancements |
141 | | - |
142 | | - - Add `writeEarlyHints` utility ([#184](https://github.com/unjs/h3/pull/184)) |
143 | | - |
144 | | -### 🩹 Fixes |
145 | | - |
146 | | - - **readBody, readRawBody:** Use global symbol ([#174](https://github.com/unjs/h3/pull/174)) |
147 | | - - **sendRedirect:** Only encode required chars in meta tag ([a9b992e](https://github.com/unjs/h3/commit/a9b992e)) |
148 | | - - **writeEarlyHints:** Call callback if not supported too ([10eab1b](https://github.com/unjs/h3/commit/10eab1b)) |
149 | | - - **router:** Make router handler non preemtive by default ([#194](https://github.com/unjs/h3/pull/194)) |
150 | | - - **error:** Remove default `statusMessage` from errors ([#195](https://github.com/unjs/h3/pull/195)) |
151 | | - - **router:** Parse url using `URL` for pathname ([#196](https://github.com/unjs/h3/pull/196)) |
152 | | - |
153 | | -### 💅 Refactors |
154 | | - |
155 | | - - ⚠️ Reduce Node.js dependency ([#178](https://github.com/unjs/h3/pull/178)) |
156 | | - |
157 | | -### 📖 Documentation |
158 | | - |
159 | | - - Add `sendStream` to the utils list ([d58fad8](https://github.com/unjs/h3/commit/d58fad8)) |
160 | | - |
161 | | -### 📦 Build |
162 | | - |
163 | | - - Add `package.json` to subpath exports ([#186](https://github.com/unjs/h3/pull/186)) |
164 | | - |
165 | | -### ❤️ Contributors |
166 | | - |
167 | | -- Alexander Lichter |
168 | | -- Christopher King |
169 | | -- Daniel Roe |
170 | | -- Pooya Parsa |
171 | | - |
172 | | -## v0.7.20 |
173 | | - |
174 | | - |
175 | | -### 🩹 Fixes |
176 | | - |
177 | | - - **readBody, readRawBody:** Use global symbol (#174) |
178 | | - - **sendRedirect:** Only encode required chars in meta tag (a9b992e) |
179 | | - |
180 | | -### ❤️ Contributors |
181 | | - |
182 | | -- Christopher King |
183 | | -- Pooya Parsa |
184 | | - |
185 | | -## main (v0.7.19..main) |
186 | | - |
187 | | - |
188 | | -### 🩹 Fixes |
189 | | - |
190 | | - - Use named type imports from `http` (#173) |
191 | | - |
192 | | -### 🏡 Chore |
193 | | - |
194 | | - - Update unbuild (1568874) |
195 | | - |
196 | | -### ❤️ Contributors |
197 | | - |
198 | | -- Daniel Roe |
199 | | -- Pooya Parsa |
200 | | - |
201 | | -## main (v0.7.18..main) |
202 | | - |
203 | | - |
204 | | -### 📦 Build |
205 | | - |
206 | | - - Hotfix for unbuild issue (1564761) |
207 | | - |
208 | | -### ❤️ Contributors |
209 | | - |
210 | | -- Pooya Parsa |
211 | | - |
212 | | -## main (v0.7.17..main) |
213 | 7 |
|
| 8 | +### ⚠ BREAKING CHANGES |
214 | 9 |
|
215 | | -### 🚀 Enhancements |
| 10 | +* drop deprecated util aliases |
216 | 11 |
|
217 | | - - Add `H3Event`, `H3Response` and `H3Headers` (#119) |
| 12 | +### Features |
218 | 13 |
|
219 | | -### 🩹 Fixes |
| 14 | +* add `proxyRequest` util ([#226](https://github.com/unjs/h3/issues/226)) ([501f0c6](https://github.com/unjs/h3/commit/501f0c6e623ea827d47691046f3c7319f5ac4651)) |
220 | 15 |
|
221 | | - - **sendRedirect:** Avoid double encoding (04b432c) |
222 | 16 |
|
223 | | -### 🏡 Chore |
| 17 | +### Bug Fixes |
224 | 18 |
|
225 | | - - Update deps and use changelogen (2c08445) |
226 | | - - Update vitest setup (77eded0) |
| 19 | +* import type from correct location ([#219](https://github.com/unjs/h3/issues/219)) ([8b89f39](https://github.com/unjs/h3/commit/8b89f3927faed6cdd4cce6650f54d7b0ee77c229)) |
| 20 | +* **router:** throw 404 for intermediate matches ([43db151](https://github.com/unjs/h3/commit/43db151e32dece4d98a8a361de98a28b232efad9)) |
227 | 21 |
|
228 | | -### ❤️ Contributors |
229 | 22 |
|
230 | | -- Daniel Roe |
231 | | -- Pooya Parsa |
| 23 | +* drop deprecated util aliases ([dc8ee81](https://github.com/unjs/h3/commit/dc8ee81799bf93148ef686b3434287858afdafa0)) |
232 | 24 |
|
233 | 25 | ### [0.7.17](https://github.com/unjs/h3/compare/v0.7.16...v0.7.17) (2022-08-30) |
234 | 26 |
|
|
0 commit comments