Skip to content

Commit 1cbc104

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

File tree

1 file changed

+360
-0
lines changed

1 file changed

+360
-0
lines changed
Lines changed: 360 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,360 @@
1+
---
2+
title: Monthly updates (December 2024)
3+
description: 28 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+
- consola
12+
- jiti
13+
- knitwork
14+
- mkdist
15+
- pkg-types
16+
- srvx
17+
- unbuild
18+
- unctx
19+
- unhead
20+
- unifont
21+
- unplugin
22+
- unstorage
23+
- untyped
24+
publishedAt: 2024-12-28T01:13:46.085Z
25+
modifiedAt: 2024-12-28T01:13:46.085Z
26+
---
27+
28+
## consola
29+
30+
This month, we release 4 new releases (0 major release, 1 minor release and 3 patch releases):
31+
32+
- [v3.3.3](https://github.com/unjs/consola/releases/tag/v3.3.3)
33+
- [v3.3.2](https://github.com/unjs/consola/releases/tag/v3.3.2)
34+
- [v3.3.1](https://github.com/unjs/consola/releases/tag/v3.3.1)
35+
- [v3.3.0](https://github.com/unjs/consola/releases/tag/v3.3.0)
36+
37+
### fixes
38+
39+
- **fancy:** Fallback when`Intl` is unavailable ([#326](https://github.com/unjs/consola/pull/326))
40+
41+
### enhancements
42+
43+
- **utils:** `formatTree` utility ([#223](https://github.com/unjs/consola/pull/223))
44+
- **formatTree:** Support max depth ([#267](https://github.com/unjs/consola/pull/267))
45+
<img width="202" alt="image" src="https://github.com/user-attachments/assets/675cd06c-e26a-4cab-80ca-6e38e3b49bf5" />
46+
- Print error `cause` ([#308](https://github.com/unjs/consola/pull/308))
47+
<img width="774" alt="image" src="https://github.com/user-attachments/assets/1c95d422-4c9c-41a4-8aa3-973833aea2fd" />
48+
- Export prompt option types ([#301](https://github.com/unjs/consola/pull/301))
49+
- **prompt:** Configurable `cancel` strategy ([#325](https://github.com/unjs/consola/pull/325))
50+
### fixes
51+
- Use `initial` in `select` and `multiselect` prompts ([#232](https://github.com/unjs/consola/pull/232))
52+
- Make box title color same as border ([#236](https://github.com/unjs/consola/pull/236))
53+
54+
### documentation
55+
56+
- Update screenshot ([205d9c8](https://github.com/unjs/consola/commit/205d9c8))
57+
- Add vitest mocking note ([#182](https://github.com/unjs/consola/pull/182))
58+
- Add note about raw method ([#271](https://github.com/unjs/consola/pull/271))
59+
- Add jsdocs for utils functions ([#286](https://github.com/unjs/consola/pull/286))
60+
- Add jsdocs for top-level functions ([#288](https://github.com/unjs/consola/pull/288))
61+
62+
### types
63+
64+
- Fix prompt with `select` type return value type ([#238](https://github.com/unjs/consola/pull/238))
65+
66+
## jiti
67+
68+
This month, we release 2 new releases (0 major release, 0 minor release and 2 patch releases):
69+
70+
- [v2.4.2](https://github.com/unjs/jiti/releases/tag/v2.4.2)
71+
- [v1.21.7](https://github.com/unjs/jiti/releases/tag/v1.21.7)
72+
73+
### fixes
74+
75+
- **cache:** Add `+map` suffix to fs entries when `sourceMaps` enabled ([#352](https://github.com/unjs/jiti/pull/352))
76+
- Use native require cache of loaded entries only for Node.js 22.12.+ compatibility ([#348](https://github.com/unjs/jiti/pull/348))
77+
78+
## knitwork
79+
80+
This month, we release 1 new release (0 major release, 1 minor release and 0 patch release):
81+
82+
- [v1.2.0](https://github.com/unjs/knitwork/releases/tag/v1.2.0)
83+
84+
### enhancements
85+
86+
- Expose `genObjectKey` and `wrapInDelimiters` utils ([227ec06](https://github.com/unjs/knitwork/commit/227ec06))
87+
88+
### documentation
89+
90+
- Correct jsdocs for `genObjectFromRaw` ([#97](https://github.com/unjs/knitwork/pull/97))
91+
92+
## mkdist
93+
94+
This month, we release 3 new releases (1 major release, 1 minor release and 1 patch release):
95+
96+
- [v2.1.0](https://github.com/unjs/mkdist/releases/tag/v2.1.0)
97+
- [v2.0.1](https://github.com/unjs/mkdist/releases/tag/v2.0.1)
98+
- [v2.0.0](https://github.com/unjs/mkdist/releases/tag/v2.0.0)
99+
100+
### enhancements
101+
102+
- Support `globOptions` ([#266](https://github.com/unjs/mkdist/pull/266))
103+
104+
### fixes
105+
106+
- Convert absolute gitignore patterns to relative ([#265](https://github.com/unjs/mkdist/pull/265))
107+
108+
### ⚠️ breaking changes
109+
110+
- **vue:** ⚠️ Refactor vue loader with vue/compiler-sfc ([#251](https://github.com/unjs/mkdist/pull/251))
111+
112+
## pkg-types
113+
114+
This month, we release 1 new release (0 major release, 1 minor release and 0 patch release):
115+
116+
- [v1.3.0](https://github.com/unjs/pkg-types/releases/tag/v1.3.0)
117+
118+
### enhancements
119+
120+
- **types:** Add `packageManager` field to `PackageJson` ([#204](https://github.com/unjs/pkg-types/pull/204))
121+
122+
## srvx
123+
124+
This month, we release 2 new releases (0 major release, 0 minor release and 2 patch releases):
125+
126+
- [v0.1.3](https://github.com/unjs/srvx/releases/tag/v0.1.3)
127+
- [v0.1.2](https://github.com/unjs/srvx/releases/tag/v0.1.2)
128+
129+
### fixes
130+
131+
- **node:** Compute `hasBody` when accessing `req.body` ([a002185](https://github.com/unjs/srvx/commit/a002185))
132+
- **node:** Body utils should respect buffer view offset ([5e4ec69](https://github.com/unjs/srvx/commit/5e4ec69))
133+
134+
### refactors
135+
136+
- **node:** Expose `request._url` ([8eb8f5d](https://github.com/unjs/srvx/commit/8eb8f5d))
137+
138+
### documentation
139+
140+
- Minor tweaks ([#9](https://github.com/unjs/srvx/pull/9))
141+
142+
### enhancements
143+
144+
- **node:** Add `NodeFastResponse.bytes()` ([#16](https://github.com/unjs/srvx/pull/16))
145+
- **node:** Add `NodeRequestProxy.bytes()` ([07863f6](https://github.com/unjs/srvx/commit/07863f6))
146+
### documentation
147+
- Minor tweaks ([#9](https://github.com/unjs/srvx/pull/9))
148+
149+
## unbuild
150+
151+
This month, we release 3 new releases (1 major release, 1 minor release and 1 patch release):
152+
153+
- [v3.1.0](https://github.com/unjs/unbuild/releases/tag/v3.1.0)
154+
- [v3.0.1](https://github.com/unjs/unbuild/releases/tag/v3.0.1)
155+
- [v3.0.0](https://github.com/unjs/unbuild/releases/tag/v3.0.0)
156+
157+
### enhancements
158+
159+
- Support parallel builds ([af19b1b](https://github.com/unjs/unbuild/commit/af19b1b))
160+
- Infer externals from package `name`, `exports`, and `imports` fields ([#469](https://github.com/unjs/unbuild/pull/469))
161+
- **rollup:** Resolve with `"production"` condition by default ([#470](https://github.com/unjs/unbuild/pull/470), [#471](https://github.com/unjs/unbuild/pull/471))
162+
163+
### fixes
164+
165+
- Resolve presets with default export ([#465](https://github.com/unjs/unbuild/pull/465))
166+
167+
### what is coming next?
168+
169+
In parallel with maintaining stable releases of unbuild, We are experimenting with a new, faster, and more modern approach based on [OXC](https://oxc.rs/), [rolldown](https://rolldown.rs/), and native runtime ESM/TypeScript made possible with recent Node.js versions!
170+
171+
### changelog
172+
173+
174+
175+
### ⚠️ breaking changes
176+
177+
- Upgrade to rollup v4 ([#327](https://github.com/unjs/unbuild/pull/327))
178+
- Default rollup build target to `esnext` ([#335](https://github.com/unjs/unbuild/pull/335))
179+
- Upgrade to mkdist [v2.0.0](https://github.com/unjs/mkdist/releases/tag/v2.0.0)
180+
### enhancements
181+
- Upgrade to rollup v4 ([#327](https://github.com/unjs/unbuild/pull/327))
182+
- Support disabling `preserveDynamicImports` ([#322](https://github.com/unjs/unbuild/pull/322))
183+
- **rollup:** Default to `esnext` build target ([#335](https://github.com/unjs/unbuild/pull/335))
184+
- Support `copy` builder ([#389](https://github.com/unjs/unbuild/pull/389))
185+
- Experimental active watcher for rollup ([#364](https://github.com/unjs/unbuild/pull/364))
186+
- **rollup:** Add `.mts` and `.cts` to supported extensions ([633ffe9](https://github.com/unjs/unbuild/commit/633ffe9))
187+
- Support custom jiti plugins for stub mode ([#368](https://github.com/unjs/unbuild/pull/368))
188+
- Upgrade to jiti v2 ([#409](https://github.com/unjs/unbuild/pull/409))
189+
- Add `--config` to the CLI ([#440](https://github.com/unjs/unbuild/pull/440))
190+
### fixes
191+
- Don't clean root directory if set as `outDir` ([#343](https://github.com/unjs/unbuild/pull/343))
192+
- Generate stub types of with explicit extension import if pkg type is module ([#371](https://github.com/unjs/unbuild/pull/371))
193+
- Correct dts generation for stub mode ([#314](https://github.com/unjs/unbuild/pull/314))
194+
- **rollup:** Handle aliases when checking for externals ([#384](https://github.com/unjs/unbuild/pull/384))
195+
- **rollup:** Update `importAttributesKey` to `with` ([27bcba8](https://github.com/unjs/unbuild/commit/27bcba8))
196+
- Type `RollupOptions.plugins` as array ([62fa930](https://github.com/unjs/unbuild/commit/62fa930))
197+
- Add all loader extensions to esbuild include ([8ab22ff](https://github.com/unjs/unbuild/commit/8ab22ff))
198+
- Enable jiti `interopDefault` for config loader and internals (ref: #409) ([#409](https://github.com/unjs/unbuild/issues/409))
199+
- **rollup:** Keep empty (type-only) modules ([a9158e2](https://github.com/unjs/unbuild/commit/a9158e2))
200+
- **rollup:** Keep empty type-only modules ([7a6469b](https://github.com/unjs/unbuild/commit/7a6469b))
201+
- **untyped:** Use custom jiti instance ([00ded57](https://github.com/unjs/unbuild/commit/00ded57))
202+
- Normalize resolved path ([2640083](https://github.com/unjs/unbuild/commit/2640083))
203+
- **stub:** Enable `interopDefault` by default ([8e6f7e4](https://github.com/unjs/unbuild/commit/8e6f7e4))
204+
- **config:** Only take default export ([fefafec](https://github.com/unjs/unbuild/commit/fefafec))
205+
- Update to jiti 2.3 ([9147c3e](https://github.com/unjs/unbuild/commit/9147c3e))
206+
- Untyped declaration output is optional ([5820182](https://github.com/unjs/unbuild/commit/5820182))
207+
- **untyped:** Use schema module default export if is the only export ([cc26726](https://github.com/unjs/unbuild/commit/cc26726))
208+
209+
### refactors
210+
211+
- Use `jiti.import` for esm stubs and improve templates ([#300](https://github.com/unjs/unbuild/pull/300))
212+
- Overhaul builders structure ([#410](https://github.com/unjs/unbuild/pull/410))
213+
- Add explicit return types ([#412](https://github.com/unjs/unbuild/pull/412))
214+
- Use colors from `consola/utils` ([6a8f36d](https://github.com/unjs/unbuild/commit/6a8f36d))
215+
- Replace `globby` w/ `fast-glob` ([#418](https://github.com/unjs/unbuild/pull/418))
216+
- Replace `fast`-glob with `tinyglobby` ([#426](https://github.com/unjs/unbuild/pull/426))
217+
218+
### documentation
219+
220+
- Update jsdocs for `inferEntries` ([#310](https://github.com/unjs/unbuild/pull/310))
221+
- Add more jsdocs ([#363](https://github.com/unjs/unbuild/pull/363))
222+
- Add examples ([#334](https://github.com/unjs/unbuild/pull/334))
223+
- Fix typo ([#414](https://github.com/unjs/unbuild/pull/414))
224+
- Add more usage info ([#401](https://github.com/unjs/unbuild/pull/401))
225+
226+
## unctx
227+
228+
This month, we release 2 new releases (0 major release, 1 minor release and 1 patch release):
229+
230+
- [v2.4.1](https://github.com/unjs/unctx/releases/tag/v2.4.1)
231+
- [v2.4.0](https://github.com/unjs/unctx/releases/tag/v2.4.0)
232+
233+
### fixes
234+
235+
- Prefer asyncContext instance over currentInstance ([#101](https://github.com/unjs/unctx/pull/101))
236+
237+
### enhancements
238+
239+
- Update unplugin to v2 ([64574e6](https://github.com/unjs/unctx/commit/64574e6))
240+
### fixes
241+
- **transform:** Don't terminate single if statements ([#97](https://github.com/unjs/unctx/pull/97))
242+
243+
### refactors
244+
245+
- Strict typechecks ([4a5a4d1](https://github.com/unjs/unctx/commit/4a5a4d1))
246+
- Fix plugin name ([#89](https://github.com/unjs/unctx/pull/89))
247+
248+
### documentation
249+
250+
- Add note about adding `callAsync` to `asyncFunctions` ([#94](https://github.com/unjs/unctx/pull/94))
251+
252+
## unhead
253+
254+
This month, we release 1 new release (0 major release, 0 minor release and 1 patch release):
255+
256+
- [v1.11.14](https://github.com/unjs/unhead/releases/tag/v1.11.14)
257+
258+
### bug fixes
259+
260+
- **useScript**: Allow `load()` to be called again once `remove()` is called - by @harlan-zw [<samp>(6a9b4)</samp>](https://github.com/unjs/unhead/commit/6a9b4e18)
261+
262+
## unifont
263+
264+
This month, we release 1 new release (0 major release, 0 minor release and 1 patch release):
265+
266+
- [v0.1.7](https://github.com/unjs/unifont/releases/tag/v0.1.7)
267+
268+
### bug fixes
269+
270+
- Preserve original URL for retry attempts - by @daopk in https://github.com/unjs/unifont/issues/79 [<samp>(b97df)</samp>](https://github.com/unjs/unifont/commit/b97df8e)
271+
272+
## unplugin
273+
274+
This month, we release 2 new releases (1 major release, 1 minor release and 0 patch release):
275+
276+
- [v2.1.0](https://github.com/unjs/unplugin/releases/tag/v2.1.0)
277+
- [v2.0.0](https://github.com/unjs/unplugin/releases/tag/v2.0.0)
278+
279+
### breaking changes
280+
281+
- Drop node 16 & webpack 4 support - by @sxzz [<samp>(72abb)</samp>](https://github.com/unjs/unplugin/commit/72abb5f)
282+
- Drop webpack 4 - by @sxzz in https://github.com/unjs/unplugin/issues/440 [<samp>(19c95)</samp>](https://github.com/unjs/unplugin/commit/19c95b1)
283+
- Drop `meta.build` for esbuild - by @sxzz [<samp>(c9806)</samp>](https://github.com/unjs/unplugin/commit/c980632)
284+
285+
### features
286+
287+
- Support Vite 6 - by @sxzz [<samp>(d5d94)</samp>](https://github.com/unjs/unplugin/commit/d5d944b)
288+
289+
### bug fixes
290+
291+
- Type error - by @sxzz [<samp>(d7026)</samp>](https://github.com/unjs/unplugin/commit/d702641)
292+
- Remove deprecated nodejs api - by @sxzz [<samp>(615b2)</samp>](https://github.com/unjs/unplugin/commit/615b209)
293+
- **esbuild**: Compat esbuild before v0.14.3 - by @sxzz [<samp>(35c78)</samp>](https://github.com/unjs/unplugin/commit/35c78d2)
294+
- **farm**: Serialized communication between js and rust - by @ErKeLost in https://github.com/unjs/unplugin/issues/442 [<samp>(c80f9)</samp>](https://github.com/unjs/unplugin/commit/c80f9ab)
295+
- **rspack**: Plugin.__vfs is undefined - by @thinke5 in https://github.com/unjs/unplugin/issues/439 [<samp>(3c4b7)</samp>](https://github.com/unjs/unplugin/commit/3c4b79e)
296+
- **webpack**: Lazy import webpack - by @sxzz [<samp>(c267c)</samp>](https://github.com/unjs/unplugin/commit/c267c44)
297+
298+
## unstorage
299+
300+
This month, we release 5 new releases (0 major release, 1 minor release and 4 patch releases):
301+
302+
- [v1.14.4](https://github.com/unjs/unstorage/releases/tag/v1.14.4)
303+
- [v1.14.3](https://github.com/unjs/unstorage/releases/tag/v1.14.3)
304+
- [v1.14.2](https://github.com/unjs/unstorage/releases/tag/v1.14.2)
305+
- [v1.14.1](https://github.com/unjs/unstorage/releases/tag/v1.14.1)
306+
- [v1.14.0](https://github.com/unjs/unstorage/releases/tag/v1.14.0)
307+
308+
### fixes
309+
310+
- **s3:** Use `/` as separator ([#545](https://github.com/unjs/unstorage/pull/545))
311+
312+
### documentation
313+
314+
- **cloudflare:** Fix example comments ([#534](https://github.com/unjs/unstorage/pull/534))
315+
316+
### 🌟 new drivers
317+
318+
- [Upstash Redis](https://unstorage.unjs.io/drivers/upstash) ([#500](https://github.com/unjs/unstorage/pull/500))
319+
- [SQL Database (db0)](https://unstorage.unjs.io/drivers/database) ([#476](https://github.com/unjs/unstorage/pull/476))
320+
- [Vercel Blob](https://unstorage.unjs.io/drivers/vercel) ([#472](https://github.com/unjs/unstorage/pull/472))
321+
- [Deno KV](https://unstorage.unjs.io/drivers/deno) ([#521](https://github.com/unjs/unstorage/pull/521))
322+
- [S3](https://unstorage.unjs.io/drivers/s3) ([#361](https://github.com/unjs/unstorage/pull/361))
323+
- [UploadThing](https://unstorage.unjs.io/drivers/uploadthing) ([#390](https://github.com/unjs/unstorage/pull/390))
324+
325+
### enhancements
326+
327+
- **cloudflare-r2-binding:** Allow specify raw type ([#519](https://github.com/unjs/unstorage/pull/519))
328+
- **indexedb:** Support raw storage ([#520](https://github.com/unjs/unstorage/pull/520))
329+
- Typed storage Interface ([#509](https://github.com/unjs/unstorage/pull/509))
330+
- Support raw conversion in runtimes without `Buffer` support ([#364](https://github.com/unjs/unstorage/pull/364))
331+
### fixes
332+
- **cloudflare-r2-binding:** Return `null` for non existing `getItem` ([fb8e00e](https://github.com/unjs/unstorage/commit/fb8e00e))
333+
- **upstash:** Drop `base` prefix from `keyKeys` ([8711a94](https://github.com/unjs/unstorage/commit/8711a94))
334+
- Capture stacktrace of thrown errors ([c704fef](https://github.com/unjs/unstorage/commit/c704fef))
335+
- **http:** Return `arrayBuffer` for `getItemRaw` ([#527](https://github.com/unjs/unstorage/pull/527))
336+
- **localstorage:** Use `base` for `clear` and `getKeys` ([#529](https://github.com/unjs/unstorage/pull/529))
337+
338+
### refactors
339+
340+
- More strict type checks ([c8ed5cf](https://github.com/unjs/unstorage/commit/c8ed5cf))
341+
- **cloudflare-kv-http:** Use new bulk delete api for `clear()` ([0231775](https://github.com/unjs/unstorage/commit/0231775))
342+
- Reuse `localstorage` logic for `session-storage` ([#530](https://github.com/unjs/unstorage/pull/530))
343+
### documentation
344+
- Add notes about nightly channel ([de31652](https://github.com/unjs/unstorage/commit/de31652))
345+
- **netlify:** Add `consistency` option ([#525](https://github.com/unjs/unstorage/pull/525))
346+
- **cloudflare:** Add note about r2 over http ([1f2d444](https://github.com/unjs/unstorage/commit/1f2d444))
347+
348+
## untyped
349+
350+
This month, we release 1 new release (0 major release, 0 minor release and 1 patch release):
351+
352+
- [v1.5.2](https://github.com/unjs/untyped/releases/tag/v1.5.2)
353+
354+
### fixes
355+
356+
- Escape keys in generated types ([#143](https://github.com/unjs/untyped/pull/143))
357+
358+
### refactors
359+
360+
- Implement cli with `citty` ([#150](https://github.com/unjs/untyped/pull/150))

0 commit comments

Comments
 (0)