Skip to content

Commit 08bf4ef

Browse files
committed
content: create monthly updates
1 parent 93e9f73 commit 08bf4ef

File tree

1 file changed

+268
-0
lines changed

1 file changed

+268
-0
lines changed
Lines changed: 268 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,268 @@
1+
---
2+
title: Monthly updates (June 2024)
3+
description: 26 releases this month! What's new in the UnJS ecosystem?
4+
authors:
5+
- name:
6+
picture:
7+
twitter:
8+
category:
9+
- releases
10+
packages:
11+
- c12
12+
- compatx
13+
- h3
14+
- jiti
15+
- mkdist
16+
- mlly
17+
- nitro
18+
- serve-placeholder
19+
- unbuild
20+
- unhead
21+
- unpdf
22+
publishedAt: 2024-06-28T01:04:14.509Z
23+
modifiedAt: 2024-06-28T01:04:14.509Z
24+
---
25+
26+
## c12
27+
28+
This month, we release 2 new releases (0 major release, 1 minor release and 1 patch release):
29+
30+
- [v1.11.1](https://github.com/unjs/c12/releases/tag/v1.11.1)
31+
- [v1.11.0](https://github.com/unjs/c12/releases/tag/v1.11.0)
32+
33+
### fixes
34+
35+
- **update:** Await on `onUpdate` ([6b37c98](https://github.com/unjs/c12/commit/6b37c98))
36+
- **update:** Respect falsy value of `onCreate` ([cc4e991](https://github.com/unjs/c12/commit/cc4e991))
37+
- **update:** Use relative path to resolve config ([8b58b25](https://github.com/unjs/c12/commit/8b58b25))
38+
39+
### enhancements
40+
41+
- Resolvable configs ([#159](https://github.com/unjs/c12/pull/159))
42+
- Custom merger to replace built-in defu ([#160](https://github.com/unjs/c12/pull/160))
43+
- Config update util ([#162](https://github.com/unjs/c12/pull/162))
44+
### fixes
45+
- **loadConfig:** `config` is not nullable ([#161](https://github.com/unjs/c12/pull/161))
46+
47+
### refactors
48+
49+
- Internally use named sources ([#158](https://github.com/unjs/c12/pull/158))
50+
51+
## compatx
52+
53+
This month, we release 8 new releases (0 major release, 0 minor release and 8 patch releases):
54+
55+
- [v0.1.8](https://github.com/unjs/compatx/releases/tag/v0.1.8)
56+
- [v0.1.7](https://github.com/unjs/compatx/releases/tag/v0.1.7)
57+
- [v0.1.6](https://github.com/unjs/compatx/releases/tag/v0.1.6)
58+
- [v0.1.5](https://github.com/unjs/compatx/releases/tag/v0.1.5)
59+
- [v0.1.4](https://github.com/unjs/compatx/releases/tag/v0.1.4)
60+
- [v0.1.3](https://github.com/unjs/compatx/releases/tag/v0.1.3)
61+
- [v0.1.2](https://github.com/unjs/compatx/releases/tag/v0.1.2)
62+
- [v0.1.1](https://github.com/unjs/compatx/releases/tag/v0.1.1)
63+
64+
### enhancements
65+
66+
- FormatCompatibilityDate utility ([130f038](https://github.com/unjs/compatx/commit/130f038))
67+
68+
### fixes
69+
70+
- Normalize default if is string ([9526a1d](https://github.com/unjs/compatx/commit/9526a1d))
71+
72+
### refactors
73+
74+
- Make compat date types better ([ebd54a5](https://github.com/unjs/compatx/commit/ebd54a5))
75+
76+
## h3
77+
78+
This month, we release 1 new release (0 major release, 1 minor release and 0 patch release):
79+
80+
- [v1.12.0](https://github.com/unjs/h3/releases/tag/v1.12.0)
81+
82+
### enhancements
83+
84+
- Improve typed headers ([#625](https://github.com/unjs/h3/pull/625))
85+
- Export event-stream types ([112fa33](https://github.com/unjs/h3/commit/112fa33))
86+
87+
### fixes
88+
89+
- **getRequestUrl:** Forward options to internal `getRequestProtocol` ([#776](https://github.com/unjs/h3/pull/776))
90+
- **readRawBody:** Read chunked body ([#652](https://github.com/unjs/h3/pull/652))
91+
- **proxy:** Better error when upstream proxy fails ([#746](https://github.com/unjs/h3/pull/746))
92+
- **node:** Make sure `onBeforeResponse` and `onAfterResponse` are called with error code ([#756](https://github.com/unjs/h3/pull/756))
93+
- **sse:** Prevent `onClosed` from firing twice in `EventStream` ([#704](https://github.com/unjs/h3/pull/704))
94+
- **plain:** Avoid import from unenv internals ([#781](https://github.com/unjs/h3/pull/781), [76736ea](https://github.com/unjs/h3/commit/76736ea))
95+
96+
### refactors
97+
98+
- **session:** Remove unnecessary async for clear ([#729](https://github.com/unjs/h3/pull/729))
99+
100+
### documentation
101+
102+
- Fix typos ([#699](https://github.com/unjs/h3/pull/699)) ([#707](https://github.com/unjs/h3/pull/707)) ([#712](https://github.com/unjs/h3/pull/712)) ([#730](https://github.com/unjs/h3/pull/730)) ([#732](https://github.com/unjs/h3/pull/732)) ([#766](https://github.com/unjs/h3/pull/766)) ([#764](https://github.com/unjs/h3/pull/764)) ([#738](https://github.com/unjs/h3/pull/738)) ([#758](https://github.com/unjs/h3/pull/758)) ([#734](https://github.com/unjs/h3/pull/734))
103+
- Remove extra space ([#718](https://github.com/unjs/h3/pull/718))
104+
- Add semi ([#710](https://github.com/unjs/h3/pull/710))
105+
- **event-handler:** Fix typo ([#684](https://github.com/unjs/h3/pull/684))
106+
- Add jsdoc examples for response utils ([#677](https://github.com/unjs/h3/pull/677))
107+
- Add note for `getRequestIP` return value ([#726](https://github.com/unjs/h3/pull/726))
108+
- Fix session example ([#702](https://github.com/unjs/h3/pull/702))
109+
- Add jsdoc examples for request utils ([#680](https://github.com/unjs/h3/pull/680))
110+
- Correct zod validation example ([#735](https://github.com/unjs/h3/pull/735))
111+
- Add usage example for `handleCors` ([#747](https://github.com/unjs/h3/pull/747))
112+
- Update mogen example to use `combined` log format ([#771](https://github.com/unjs/h3/pull/771))
113+
- **examples:** Add cors example ([#700](https://github.com/unjs/h3/pull/700))
114+
- Fix `respondWith` event object ([#775](https://github.com/unjs/h3/pull/775))
115+
- Provide `async` for request body ([#777](https://github.com/unjs/h3/pull/777))
116+
- **error-handling:** Add string vs object errors and update `createError` jsdoc ([#762](https://github.com/unjs/h3/pull/762))
117+
118+
## jiti
119+
120+
This month, we release 5 new releases (0 major release, 0 minor release and 5 patch releases):
121+
122+
- [v1.21.6](https://github.com/unjs/jiti/releases/tag/v1.21.6)
123+
- [v1.21.5](https://github.com/unjs/jiti/releases/tag/v1.21.5)
124+
- [v1.21.3](https://github.com/unjs/jiti/releases/tag/v1.21.3)
125+
- [v1.21.2](https://github.com/unjs/jiti/releases/tag/v1.21.2)
126+
- [v1.21.1](https://github.com/unjs/jiti/releases/tag/v1.21.1)
127+
128+
### fixes
129+
130+
- Use internal cached modules only if loaded ([#247](https://github.com/unjs/jiti/pull/247))
131+
132+
### from 1.21.4
133+
134+
- Avoid `node:` protocol for node 14 compatibility ([5d877de](https://github.com/unjs/jiti/commit/5d877de))
135+
- Update deps ([5e11181](https://github.com/unjs/jiti/commit/5e11181))
136+
137+
## mkdist
138+
139+
This month, we release 2 new releases (0 major release, 0 minor release and 2 patch releases):
140+
141+
- [v1.5.3](https://github.com/unjs/mkdist/releases/tag/v1.5.3)
142+
- [v1.5.2](https://github.com/unjs/mkdist/releases/tag/v1.5.2)
143+
144+
### fixes
145+
146+
- **dts:** Use `ts.convertCompilerOptionsFromJson` to normalise ([#224](https://github.com/unjs/mkdist/pull/224))
147+
148+
## mlly
149+
150+
This month, we release 1 new release (0 major release, 0 minor release and 1 patch release):
151+
152+
- [v1.7.1](https://github.com/unjs/mlly/releases/tag/v1.7.1)
153+
154+
### fixes
155+
156+
- **interopDefault:** Assign props to default function export ([#258](https://github.com/unjs/mlly/pull/258))
157+
158+
## nitro
159+
160+
This month, we release 1 new release (0 major release, 0 minor release and 1 patch release):
161+
162+
- [v2.9.7](https://github.com/unjs/nitro/releases/tag/v2.9.7)
163+
164+
### fixes
165+
166+
- **github-pages:** Prerender `/` by default ([#2334](https://github.com/unjs/nitro/pull/2334)) (8b5cbc590e3948b7abc5569dd06ab43b955a4ae8)
167+
- Deduplicate plugins ([#2391](https://github.com/unjs/nitro/pull/2391)) (4293b8b1db5e1d1a12778efeba852c5f07da8a3f)
168+
- Add `.tsx` and `.jsx` to node-resolve extensions ([#2398](https://github.com/unjs/nitro/pull/2398)) (d2c0d74140b7b8f166d5937d736830b55177dd07)
169+
- **typescript:** Set `compilerOptions.noEmit` to avoid `tsconfig.json` warning ([#2402](https://github.com/unjs/nitro/pull/2402)) (6b6777eb73fde6337c87242ddf62406e06f0fcd3)
170+
- **prerender:** Only try to add `/` after prerender:routes hook ([#2348](https://github.com/unjs/nitro/pull/2348)) (fb88efdc614e3b3b1e9dd76dfb342f9f0aff229c)
171+
- Pass custom entry filename when resolving prerenderer ([#2461](https://github.com/unjs/nitro/pull/2461)) (9bd662258a3d727805248f69ea8280ccf8e31675)
172+
- **public-assets:** Do not shadow paths that share prefix ([#2516](https://github.com/unjs/nitro/pull/2516)) (72db8482e837c9fc50b5c928ff5636ba2cbb51cf)
173+
- **openapi:** Update swagger-ui version to v5 for OpenAPI v3.1 support ([#2343](https://github.com/unjs/nitro/pull/2343)) (9e2cd8af32b2ea803b52ca0df282c588356161a2)
174+
- Convert `CapturedErrorContext` to interface to allow type augmentation ([#2393](https://github.com/unjs/nitro/pull/2393)) (45ff175ec9ce962ddc8cbe67925bb2136279c80b)
175+
- **renderer:** Check full path for `/favicon.ico` placeholder ([#2553](https://github.com/unjs/nitro/pull/2553)) (b86bb4580c2f6df855c9c7f184613877ebd7b58e)
176+
- Use relative paths in `nitro-config.d.ts` ([#2471](https://github.com/unjs/nitro/pull/2471)) (4d70b759e1d8c50bb6a43a471c77eaf205bcb760)
177+
- **prerender:** Extract links from explicit html routes ([#2517](https://github.com/unjs/nitro/pull/2517)) (e1f87c590d6ca8ebb338ecd0d0b4d4b85eb75042)
178+
- **cloudflare-pages:** Remove `.html` extension from generated `_routes.json` ([#2498](https://github.com/unjs/nitro/pull/2498)) (79b85feec37c6c796df4ac453fcd4dd012d9be7b)
179+
- **core:** Resolve modules with esm compatibility ([#2514](https://github.com/unjs/nitro/pull/2514)) (4657ada0e372cf36a78fec29de0b96b582923832)
180+
- Update cli preset with esm module format ([#2539](https://github.com/unjs/nitro/pull/2539)) (f6f23270c841514fa3f9d7162ece83f13ab4108c)
181+
- **types:** Infer types correctly when method is omitted ([#2551](https://github.com/unjs/nitro/pull/2551)) (f76d21be811766009757dd0eebf05ff8aa7e795f)
182+
- **deno-server:** Explicitly remove cert/key from options if either is not set ([#2373](https://github.com/unjs/nitro/pull/2373)) (d887f4a62a300be5c24dea7bfd1ede324a1dfe7a)
183+
- **azure:** Correctly handle maxAge cookie option ([#2403](https://github.com/unjs/nitro/pull/2403)) (aabdc9c5c78c011a212c754058160ed23391361d)
184+
- **netlify:** Ensure preview command is correct ([#2561](https://github.com/unjs/nitro/pull/2561)) (d16a47bd4dac8674db8538ff8b6235131c75230f)
185+
- **iis:** Deep merge configs ([#2358](https://github.com/unjs/nitro/pull/2358)) (f03addd248a85d0093b71e8ac8e2523c590a35d2)
186+
- **iis:** Parse without explicitArray to allow merging `web.config` ([#2457](https://github.com/unjs/nitro/pull/2457)) (6c3e0805d38c80fcad9430d1e5beeeee65bbbaa5)
187+
- **vercel:** Support custom baseURL ([#2464](https://github.com/unjs/nitro/pull/2464)) (61f2079a605fca81b578894edfdbb0c328db12a3)
188+
- Lower-case accepted handler method ([#2382](https://github.com/unjs/nitro/pull/2382)) (e60e114f33ce02866d931c70518268a5e94509ee)
189+
- **defineCachedEventHandler:** Add `event.context.cache` ([#2519](https://github.com/unjs/nitro/pull/2519)) (fc3968ba9993321cbe090c8818d22f3efa10e9d1)
190+
191+
## serve-placeholder
192+
193+
This month, we release 1 new release (0 major release, 0 minor release and 1 patch release):
194+
195+
- [v2.0.2](https://github.com/unjs/serve-placeholder/releases/tag/v2.0.2)
196+
197+
### refactors
198+
199+
- Update repo ([f516ffe](https://github.com/unjs/serve-placeholder/commit/f516ffe))
200+
201+
### documentation
202+
203+
- Fix `.js` to `.ts` ([4d8aff6](https://github.com/unjs/serve-placeholder/commit/4d8aff6))
204+
- Fix typo ([578500a](https://github.com/unjs/serve-placeholder/commit/578500a))
205+
206+
## unbuild
207+
208+
This month, we release 1 new release (0 major release, 0 minor release and 1 patch release):
209+
210+
- [v3.0.0-rc.2](https://github.com/unjs/unbuild/releases/tag/v3.0.0-rc.2)
211+
212+
### enhancements
213+
214+
- Support `copy` builder ([#389](https://github.com/unjs/unbuild/pull/389))
215+
- Experimental active watcher for rollup ([#364](https://github.com/unjs/unbuild/pull/364))
216+
- **rollup:** Add `.mts` and `.cts` to supported extensions ([633ffe9](https://github.com/unjs/unbuild/commit/633ffe9))
217+
- Support custom jiti plugins for stub mode ([#368](https://github.com/unjs/unbuild/pull/368))
218+
219+
### fixes
220+
221+
- Generate stub types of with explicit extension import if pkg type is `module` ([#371](https://github.com/unjs/unbuild/pull/371))
222+
- Correct dts generation for stub mode ([#314](https://github.com/unjs/unbuild/pull/314))
223+
- **rollup:** Handle aliases when checking for externals ([#384](https://github.com/unjs/unbuild/pull/384))
224+
- **rollup:** Update `importAttributesKey` to `with` ([27bcba8](https://github.com/unjs/unbuild/commit/27bcba8))
225+
226+
### documentation
227+
228+
- Add more jsdocs ([#363](https://github.com/unjs/unbuild/pull/363))
229+
- Add examples ([#334](https://github.com/unjs/unbuild/pull/334))
230+
231+
## unhead
232+
233+
This month, we release 3 new releases (0 major release, 0 minor release and 3 patch releases):
234+
235+
- [v1.9.14](https://github.com/unjs/unhead/releases/tag/v1.9.14)
236+
- [v1.9.13](https://github.com/unjs/unhead/releases/tag/v1.9.13)
237+
- [v1.9.12](https://github.com/unjs/unhead/releases/tag/v1.9.12)
238+
239+
### bug fixes
240+
241+
- **unhead**: `style` side effect not clearing - by @harlan-zw [<samp>(baf8b)</samp>](https://github.com/unjs/unhead/commit/baf8bc92)
242+
243+
### 🏎 performance
244+
245+
- **scripts**: Process triggers async on animation frames - by @harlan-zw [<samp>(325cb)</samp>](https://github.com/unjs/unhead/commit/325cbd37)
246+
247+
## unpdf
248+
249+
This month, we release 1 new release (0 major release, 1 minor release and 0 patch release):
250+
251+
- [v0.11.0](https://github.com/unjs/unpdf/releases/tag/v0.11.0)
252+
253+
### breaking changes
254+
255+
- Remove deprecated `defineUnPDFConfig` - by @johannschopplich [<samp>(9f53e)</samp>](https://github.com/unjs/unpdf/commit/9f53e11)
256+
257+
### features
258+
259+
- Expose `createIsomorphicCanvasFactory` - by @johannschopplich [<samp>(9c687)</samp>](https://github.com/unjs/unpdf/commit/9c687a3)
260+
- Upgrade PDF.js to v4.0.379 - by @johannschopplich [<samp>(55ca5)</samp>](https://github.com/unjs/unpdf/commit/55ca5c4)
261+
- Improve `extractText` type - by @himself65 in https://github.com/unjs/unpdf/issues/11 [<samp>(477b2)</samp>](https://github.com/unjs/unpdf/commit/477b228)
262+
- Updgrade PDF.js to v4.3 - by @johannschopplich in https://github.com/unjs/unpdf/issues/13 [<samp>(d1284)</samp>](https://github.com/unjs/unpdf/commit/d128424)
263+
264+
### bug fixes
265+
266+
- Export types from `pdfjs-dist` - by @eltigerchino in https://github.com/unjs/unpdf/issues/7 [<samp>(d651c)</samp>](https://github.com/unjs/unpdf/commit/d651c33)
267+
- Reduce whitespace to single space in extracted text - by @johannschopplich [<samp>(58660)</samp>](https://github.com/unjs/unpdf/commit/586604a)
268+
- Extract text concatenation - by @pserrer1 in https://github.com/unjs/unpdf/issues/12 [<samp>(4664e)</samp>](https://github.com/unjs/unpdf/commit/4664ee2)

0 commit comments

Comments
 (0)