-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fc640d9
commit 3844d00
Showing
1 changed file
with
290 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,290 @@ | ||
--- | ||
title: Monthly updates (January 2024) | ||
description: 24 releases this month! What's new in the UnJS ecosystem? | ||
authors: | ||
- name: | ||
picture: | ||
twitter: | ||
category: | ||
- releases | ||
packages: | ||
- crossws | ||
- defu | ||
- get-port-please | ||
- h3 | ||
- ipx | ||
- listhen | ||
- magicast | ||
- mlly | ||
- nypm | ||
- pathe | ||
- scule | ||
- unenv | ||
- unhead | ||
- untyped | ||
- unwasm | ||
publishedAt: 2024-01-31T12:36:27.889Z | ||
modifiedAt: 2024-01-31T12:36:27.889Z | ||
--- | ||
|
||
## crossws | ||
|
||
This month, we release 2 new releases (0 major release, 1 minor release and 1 patch release): | ||
|
||
- [v0.1.1](https://github.com/unjs/crossws/releases/tag/v0.1.1) | ||
- [v0.1.0](https://github.com/unjs/crossws/releases/tag/v0.1.0) | ||
|
||
### refactors | ||
|
||
- Import bun types from @types/bun ([ba40b53](https://github.com/unjs/crossws/commit/ba40b53)) | ||
|
||
## defu | ||
|
||
This month, we release 1 new release (0 major release, 0 minor release and 1 patch release): | ||
|
||
- [v6.1.4](https://github.com/unjs/defu/releases/tag/v6.1.4) | ||
|
||
### fixes | ||
|
||
- Merge objects with `Module` type ([#121](https://github.com/unjs/defu/pull/121)) | ||
|
||
### refactors | ||
|
||
- Move `isPlainObject` to `_utils` to allow testing ([e922a16](https://github.com/unjs/defu/commit/e922a16)) | ||
- Make `isPlainObject` logic more readable ([e458b63](https://github.com/unjs/defu/commit/e458b63)) | ||
|
||
### documentation | ||
|
||
- Fix typo ([#116](https://github.com/unjs/defu/pull/116)) | ||
|
||
## get-port-please | ||
|
||
This month, we release 1 new release (0 major release, 0 minor release and 1 patch release): | ||
|
||
- [v3.1.2](https://github.com/unjs/get-port-please/releases/tag/v3.1.2) | ||
|
||
### fixes | ||
|
||
- Accept ipv6 as valid hostname ([d537a51](https://github.com/unjs/get-port-please/commit/d537a51)) | ||
- Use closed ranges as port ranges ([#66](https://github.com/unjs/get-port-please/pull/66)) | ||
- Ranges now work even if port is unset in options ([#72](https://github.com/unjs/get-port-please/pull/72)) | ||
- Don't use a random port by default if the user specified any port ([#65](https://github.com/unjs/get-port-please/pull/65)) | ||
|
||
### refactors | ||
|
||
- Correct typos in `GetPortError` message ([#77](https://github.com/unjs/get-port-please/pull/77)) | ||
- Fix typo in error message ([#73](https://github.com/unjs/get-port-please/pull/73)) | ||
- Improve log when using alternative port ([#78](https://github.com/unjs/get-port-please/pull/78)) | ||
- Update fallback message ([1f45050](https://github.com/unjs/get-port-please/commit/1f45050)) | ||
|
||
## h3 | ||
|
||
This month, we release 2 new releases (0 major release, 1 minor release and 1 patch release): | ||
|
||
- [v1.10.1](https://github.com/unjs/h3/releases/tag/v1.10.1) | ||
- [v1.10.0](https://github.com/unjs/h3/releases/tag/v1.10.0) | ||
|
||
### fixes | ||
|
||
- **setResponseHeaders:** Fix types to allow partial header names ([#607](https://github.com/unjs/h3/pull/607)) | ||
- **setCookie:** Allow cookies with the same name but different options ([#606](https://github.com/unjs/h3/pull/606)) | ||
- **getRequestWebStream:** Reuse buffered body if available ([#616](https://github.com/unjs/h3/pull/616)) | ||
- **getSession:** Use semaphore lock for unseal operation ([#612](https://github.com/unjs/h3/pull/612)) | ||
- **getRequestIP:** Use first address of `x-forwarded-for` header ([#618](https://github.com/unjs/h3/pull/618)) | ||
- Avoid setting default `content-type` for responses with 304 status ([#641](https://github.com/unjs/h3/pull/641)) | ||
|
||
### refactors | ||
|
||
- Use `H3Event.node.res` for internal types ([#626](https://github.com/unjs/h3/pull/626)) | ||
|
||
### documentation | ||
|
||
- Fix `getRequestHeaders` signuture ([#613](https://github.com/unjs/h3/pull/613)) | ||
- Fix typo in examples ([#631](https://github.com/unjs/h3/pull/631)) | ||
|
||
### enhancements | ||
|
||
- **validate:** Provide validate error in `data` ([#594](https://github.com/unjs/h3/pull/594)) | ||
### fixes | ||
- **readRawBody:** Check `req.rawBody` before `req.body` ([#604](https://github.com/unjs/h3/pull/604)) | ||
### documentation | ||
- Add `h3-compression` to community packages ([#524](https://github.com/unjs/h3/pull/524)) | ||
- Add examples ([#539](https://github.com/unjs/h3/pull/539)) | ||
|
||
### types | ||
|
||
- Add generics to `isError` and update `DataT` default generic param ([#582](https://github.com/unjs/h3/pull/582)) | ||
- **setResponseHeaders:** Add autocompletion for header names ([#601](https://github.com/unjs/h3/pull/601)) | ||
|
||
## ipx | ||
|
||
This month, we release 2 new releases (1 major release, 1 minor release and 0 patch release): | ||
|
||
- [v3.0.0](https://github.com/unjs/ipx/releases/tag/v3.0.0) | ||
- [v2.1.0](https://github.com/unjs/ipx/releases/tag/v2.1.0) | ||
|
||
### enhancements | ||
|
||
- **node-fs:** Add support for multiple dirs ([#203](https://github.com/unjs/ipx/pull/203)) | ||
|
||
### fixes | ||
|
||
- Missing `maxAge` default ([#197](https://github.com/unjs/ipx/pull/197)) | ||
- **server:** Set `cache-control` header only after processing image ([#200](https://github.com/unjs/ipx/pull/200)) | ||
- Improve data parsing for unstorage ([#204](https://github.com/unjs/ipx/pull/204)) | ||
|
||
### refactors | ||
|
||
- Jpeg progressive setting via sharpOptions ([#198](https://github.com/unjs/ipx/pull/198)) | ||
|
||
## listhen | ||
|
||
This month, we release 2 new releases (0 major release, 1 minor release and 1 patch release): | ||
|
||
- [v1.6.0](https://github.com/unjs/listhen/releases/tag/v1.6.0) | ||
- [v1.5.6](https://github.com/unjs/listhen/releases/tag/v1.5.6) | ||
|
||
### enhancements | ||
|
||
- Experimental websocket support with [unjs/crossws](https://crossws.unjs.io) ([#158](https://github.com/unjs/listhen/pull/158)) | ||
|
||
### fixes | ||
|
||
- Apply default `localhost` in internal `generateURL` util ([6c76d31](https://github.com/unjs/listhen/commit/6c76d31)) | ||
- **dev:** Fix absolute paths imports on windows ([#142](https://github.com/unjs/listhen/pull/142)) | ||
|
||
### documentation | ||
|
||
- Update h3 example ([#147](https://github.com/unjs/listhen/pull/147)) | ||
- Fix h3 example ([#150](https://github.com/unjs/listhen/pull/150)) | ||
|
||
## magicast | ||
|
||
This month, we release 1 new release (0 major release, 0 minor release and 1 patch release): | ||
|
||
- [v0.3.3](https://github.com/unjs/magicast/releases/tag/v0.3.3) | ||
|
||
### enhancements | ||
|
||
- Support `ArrowFunctionExpression` ([#98](https://github.com/unjs/magicast/pull/98)) | ||
|
||
## mlly | ||
|
||
This month, we release 1 new release (0 major release, 1 minor release and 0 patch release): | ||
|
||
- [v1.5.0](https://github.com/unjs/mlly/releases/tag/v1.5.0) | ||
|
||
### enhancements | ||
|
||
- Strip comment for syntax detection with `stripComments` option ([#196](https://github.com/unjs/mlly/pull/196)) ([#217](https://github.com/unjs/mlly/pull/217)) | ||
- **findExports:** Extract name of default exports ([#179](https://github.com/unjs/mlly/pull/179)) | ||
- **interopDefault:** Support `preferNamespace` ([5d23c98](https://github.com/unjs/mlly/commit/5d23c98)) | ||
|
||
### fixes | ||
|
||
- **analyze:** Ignore comments for imports detection ([#155](https://github.com/unjs/mlly/pull/155)) | ||
- **lookupNodeModuleSubpath:** Handle conditions and nested exports ([#210](https://github.com/unjs/mlly/pull/210)) | ||
- **analyze:** Allow `import` statement after `}` ([#166](https://github.com/unjs/mlly/pull/166)) | ||
- **interopDefault:** Skip nullish values for `default` and explicitly return non-objects as-is ([14eb72d](https://github.com/unjs/mlly/commit/14eb72d)) | ||
- **findExports:** Support multiple variables in single export ([#211](https://github.com/unjs/mlly/pull/211)) | ||
|
||
### types | ||
|
||
- **fileURLToPath:** Accept url as input ([34f6026](https://github.com/unjs/mlly/commit/34f6026)) | ||
|
||
## nypm | ||
|
||
This month, we release 1 new release (0 major release, 0 minor release and 1 patch release): | ||
|
||
- [v0.3.6](https://github.com/unjs/nypm/releases/tag/v0.3.6) | ||
|
||
### enhancements | ||
|
||
- Allow installing multiple dependencies ([#107](https://github.com/unjs/nypm/pull/107)) | ||
|
||
## pathe | ||
|
||
This month, we release 1 new release (0 major release, 0 minor release and 1 patch release): | ||
|
||
- [v1.1.2](https://github.com/unjs/pathe/releases/tag/v1.1.2) | ||
|
||
### fixes | ||
|
||
- Trim root folder `/` when calculating relative paths ([#142](https://github.com/unjs/pathe/pull/142)) | ||
- Check `process.cwd` before calling it ([#147](https://github.com/unjs/pathe/pull/147)) | ||
- Uppercase windows drive letters ([#151](https://github.com/unjs/pathe/pull/151)) | ||
- **resolveAlias:** Handle aliases ending with trailing slash ([#155](https://github.com/unjs/pathe/pull/155)) | ||
- **relative:** Handle different windows drive letters ([#158](https://github.com/unjs/pathe/pull/158)) | ||
|
||
## scule | ||
|
||
This month, we release 1 new release (0 major release, 1 minor release and 0 patch release): | ||
|
||
- [v1.2.0](https://github.com/unjs/scule/releases/tag/v1.2.0) | ||
|
||
### enhancements | ||
|
||
- Add `flatCase` and `trainCase` ([#68](https://github.com/unjs/scule/pull/68)) | ||
|
||
### fixes | ||
|
||
- **isUppercase:** Assume characters lowercase by default ([#71](https://github.com/unjs/scule/pull/71)) | ||
|
||
## unenv | ||
|
||
This month, we release 1 new release (0 major release, 1 minor release and 0 patch release): | ||
|
||
- [v1.9.0](https://github.com/unjs/unenv/releases/tag/v1.9.0) | ||
|
||
### enhancements | ||
|
||
- Experimental deno preset ([#155](https://github.com/unjs/unenv/pull/155)) | ||
- Experimental cloudflare preset ([#156](https://github.com/unjs/unenv/pull/156)) | ||
- Experimental vercel preset ([#157](https://github.com/unjs/unenv/pull/157)) | ||
- **deno:** Add `process.env` polyfill ([a34f3e0](https://github.com/unjs/unenv/commit/a34f3e0)) | ||
|
||
## unhead | ||
|
||
This month, we release 1 new release (0 major release, 0 minor release and 1 patch release): | ||
|
||
- [v1.8.10](https://github.com/unjs/unhead/releases/tag/v1.8.10) | ||
|
||
### bug fixes | ||
|
||
- **schema-org:** avoid re-casting valid w3c date times ([bc363b2](https://github.com/unjs/unhead/commit/bc363b2)), closes [#296](https://github.com/unjs/unhead/issues/296) | ||
- mark `VueHeadMixin` as not deprecated ([6089dfc](https://github.com/unjs/unhead/commit/6089dfc)), closes [#291](https://github.com/unjs/unhead/issues/291) | ||
- useScript missing script API's return in proxy ([#302](https://github.com/unjs/unhead/issues/302)) ([c42c57d](https://github.com/unjs/unhead/commit/c42c57d)) | ||
- **ssr:** `omitLineBreaks` option ([#297](https://github.com/unjs/unhead/issues/297)) ([85bc860](https://github.com/unjs/unhead/commit/85bc860)) | ||
|
||
## untyped | ||
|
||
This month, we release 2 new releases (0 major release, 0 minor release and 2 patch releases): | ||
|
||
- [v1.4.2](https://github.com/unjs/untyped/releases/tag/v1.4.2) | ||
- [v1.4.1](https://github.com/unjs/untyped/releases/tag/v1.4.1) | ||
|
||
### fixes | ||
|
||
- Make sure leading comments have value before assigning ([7a94141](https://github.com/unjs/untyped/commit/7a94141)) | ||
|
||
### types | ||
|
||
- Improve types for `$resolve` function ([#97](https://github.com/unjs/untyped/pull/97)) | ||
|
||
## unwasm | ||
|
||
This month, we release 5 new releases (0 major release, 0 minor release and 5 patch releases): | ||
|
||
- [v0.3.7](https://github.com/unjs/unwasm/releases/tag/v0.3.7) | ||
- [v0.3.6](https://github.com/unjs/unwasm/releases/tag/v0.3.6) | ||
- [v0.3.5](https://github.com/unjs/unwasm/releases/tag/v0.3.5) | ||
- [v0.3.4](https://github.com/unjs/unwasm/releases/tag/v0.3.4) | ||
- [v0.3.3](https://github.com/unjs/unwasm/releases/tag/v0.3.3) | ||
|
||
### fixes | ||
|
||
- **plugin:** Allow mixed exports for top level binding ([1c4efcd](https://github.com/unjs/unwasm/commit/1c4efcd)) | ||
|
||
### enhancements | ||
|
||
- Automatically provide imports object using import map ([#11](https://github.com/unjs/unwasm/pull/11)) |