|
| 1 | +--- |
| 2 | +title: Monthly updates (January 2025) |
| 3 | +description: 30 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 | + - capnp-es |
| 12 | + - consola |
| 13 | + - crossws |
| 14 | + - db0 |
| 15 | + - giget |
| 16 | + - h3 |
| 17 | + - httpxy |
| 18 | + - mlly |
| 19 | + - nanotar |
| 20 | + - node-fetch-native |
| 21 | + - nypm |
| 22 | + - pathe |
| 23 | + - pkg-types |
| 24 | + - srvx |
| 25 | + - unbuild |
| 26 | + - unhead |
| 27 | +publishedAt: 2025-01-28T01:13:24.053Z |
| 28 | +modifiedAt: 2025-01-28T01:13:24.053Z |
| 29 | +--- |
| 30 | + |
| 31 | +## capnp-es |
| 32 | + |
| 33 | +This month, we release 3 new releases (0 major release, 0 minor release and 3 patch releases): |
| 34 | + |
| 35 | +- [v0.0.7](https://github.com/unjs/capnp-es/releases/tag/v0.0.7) |
| 36 | +- [v0.0.6](https://github.com/unjs/capnp-es/releases/tag/v0.0.6) |
| 37 | +- [v0.0.5](https://github.com/unjs/capnp-es/releases/tag/v0.0.5) |
| 38 | + |
| 39 | +### fixes |
| 40 | + |
| 41 | +- **rpc:** Conditionally use `FinalizationRegistry` ([#7](https://github.com/unjs/capnp-es/pull/7)) |
| 42 | + |
| 43 | +### documentation |
| 44 | + |
| 45 | +- Update to use local install (resolves [#9](https://github.com/unjs/capnp-es/pull/9)) |
| 46 | + |
| 47 | +## consola |
| 48 | + |
| 49 | +This month, we release 1 new release (0 major release, 1 minor release and 0 patch release): |
| 50 | + |
| 51 | +- [v3.4.0](https://github.com/unjs/consola/releases/tag/v3.4.0) |
| 52 | + |
| 53 | +### enhancements |
| 54 | + |
| 55 | +- Use upstream `@clack/prompts` ([#332](https://github.com/unjs/consola/pull/332)) |
| 56 | + |
| 57 | +### fixes |
| 58 | + |
| 59 | +- Calculate box width without escape sequence chars ([#336](https://github.com/unjs/consola/pull/336)) |
| 60 | + |
| 61 | +## crossws |
| 62 | + |
| 63 | +This month, we release 2 new releases (0 major release, 0 minor release and 2 patch releases): |
| 64 | + |
| 65 | +- [v0.3.3](https://github.com/unjs/crossws/releases/tag/v0.3.3) |
| 66 | +- [v0.3.2](https://github.com/unjs/crossws/releases/tag/v0.3.2) |
| 67 | + |
| 68 | +### enhancements |
| 69 | + |
| 70 | +- Allow throwing error with `.response` prop in `upgrade` ([#113](https://github.com/unjs/crossws/pull/113)) |
| 71 | + |
| 72 | +### fixes |
| 73 | + |
| 74 | +- **types:** `peer.request` always has `.headers` if defined ([e915f8d](https://github.com/unjs/crossws/commit/e915f8d)) |
| 75 | +- **types:** Mark `peer.request` as always defined ([8fbb59b](https://github.com/unjs/crossws/commit/8fbb59b)) |
| 76 | + |
| 77 | +### documentation |
| 78 | + |
| 79 | +- Fix typos ([#84](https://github.com/unjs/crossws/pull/84), [#85](https://github.com/unjs/crossws/pull/85)) |
| 80 | +- Add tip for using `destr` for JSON parsing ([#109](https://github.com/unjs/crossws/pull/109)) |
| 81 | + |
| 82 | +## db0 |
| 83 | + |
| 84 | +This month, we release 2 new releases (0 major release, 0 minor release and 2 patch releases): |
| 85 | + |
| 86 | +- [v0.2.3](https://github.com/unjs/db0/releases/tag/v0.2.3) |
| 87 | +- [v0.2.2](https://github.com/unjs/db0/releases/tag/v0.2.2) |
| 88 | + |
| 89 | +### enhancements |
| 90 | + |
| 91 | +- Export database instances ([#132](https://github.com/unjs/db0/pull/132)) |
| 92 | +- Add `node-sqlite3` connector ([#147](https://github.com/unjs/db0/pull/147)) |
| 93 | +- Support `RETURNING` clause ([#139](https://github.com/unjs/db0/pull/139)) |
| 94 | +- **pglite:** Use async init ([#130](https://github.com/unjs/db0/pull/130)) |
| 95 | + |
| 96 | +### fixes |
| 97 | + |
| 98 | +- Add missing `mysql` to `connectors` map ([#127](https://github.com/unjs/db0/pull/127)) |
| 99 | +- Always add `{ success: true }` to select results ([#118](https://github.com/unjs/db0/pull/118)) |
| 100 | + |
| 101 | +## giget |
| 102 | + |
| 103 | +This month, we release 1 new release (0 major release, 0 minor release and 1 patch release): |
| 104 | + |
| 105 | +- [v1.2.4](https://github.com/unjs/giget/releases/tag/v1.2.4) |
| 106 | + |
| 107 | +### documentation |
| 108 | + |
| 109 | +- Correct function name ([#156](https://github.com/unjs/giget/pull/156)) |
| 110 | +- Add github actions example for private repo ([#197](https://github.com/unjs/giget/pull/197)) |
| 111 | + |
| 112 | +## h3 |
| 113 | + |
| 114 | +This month, we release 2 new releases (0 major release, 1 minor release and 1 patch release): |
| 115 | + |
| 116 | +- [v1.14.0](https://github.com/unjs/h3/releases/tag/v1.14.0) |
| 117 | +- [v1.13.1](https://github.com/unjs/h3/releases/tag/v1.13.1) |
| 118 | + |
| 119 | +### enhancements |
| 120 | + |
| 121 | +- **session:** Allow using with crossws hooks ([#960](https://github.com/unjs/h3/pull/960)) |
| 122 | + |
| 123 | +### fixes |
| 124 | + |
| 125 | +- **proxy:** Ignore incoming `accept-encoding` header ([#914](https://github.com/unjs/h3/pull/914)) |
| 126 | +- **proxy:** Pass `host` for local targets ([#946](https://github.com/unjs/h3/pull/946)) |
| 127 | + |
| 128 | +### documentation |
| 129 | + |
| 130 | +- Fix typos ([#917](https://github.com/unjs/h3/pull/917), [#918](https://github.com/unjs/h3/pull/918), [#919](https://github.com/unjs/h3/pull/919)) |
| 131 | +- Remove duplicate list ([#939](https://github.com/unjs/h3/pull/939)) |
| 132 | + |
| 133 | +## httpxy |
| 134 | + |
| 135 | +This month, we release 2 new releases (0 major release, 0 minor release and 2 patch releases): |
| 136 | + |
| 137 | +- [v0.1.7](https://github.com/unjs/httpxy/releases/tag/v0.1.7) |
| 138 | +- [v0.1.6](https://github.com/unjs/httpxy/releases/tag/v0.1.6) |
| 139 | + |
| 140 | +### fixes |
| 141 | + |
| 142 | +- Preserve double slashes in url ([#70](https://github.com/unjs/httpxy/pull/70)) |
| 143 | + |
| 144 | +### documentation |
| 145 | + |
| 146 | +- Remove unsupported `followRedirects` option ([#66](https://github.com/unjs/httpxy/pull/66)) |
| 147 | +- Improve example ([#16](https://github.com/unjs/httpxy/pull/16)) |
| 148 | +- Fix typo in readme ([#36](https://github.com/unjs/httpxy/pull/36)) |
| 149 | + |
| 150 | +## mlly |
| 151 | + |
| 152 | +This month, we release 1 new release (0 major release, 0 minor release and 1 patch release): |
| 153 | + |
| 154 | +- [v1.7.4](https://github.com/unjs/mlly/releases/tag/v1.7.4) |
| 155 | + |
| 156 | + |
| 157 | + |
| 158 | +## nanotar |
| 159 | + |
| 160 | +This month, we release 1 new release (0 major release, 1 minor release and 0 patch release): |
| 161 | + |
| 162 | +- [v0.2.0](https://github.com/unjs/nanotar/releases/tag/v0.2.0) |
| 163 | + |
| 164 | +### enhancements |
| 165 | + |
| 166 | +- **parse:** Support `filter` option ([1eddc34](https://github.com/unjs/nanotar/commit/1eddc34)) |
| 167 | +- **parse:** Support `metaOnly` option ([181bee5](https://github.com/unjs/nanotar/commit/181bee5)) |
| 168 | + |
| 169 | +### fixes |
| 170 | + |
| 171 | +- Return `ParsedTarFileItem` type after parsing ([#21](https://github.com/unjs/nanotar/pull/21)/[#25](https://github.com/unjs/nanotar/pull/25)) |
| 172 | +- **parse:** Handle no zero in `_readString` ([#20](https://github.com/unjs/nanotar/pull/20)) |
| 173 | +- **parse:** Trim `mode` ([#18](https://github.com/unjs/nanotar/pull/18)) |
| 174 | +- **parse:** Set data to `undefined` for dir entries ([71917b8](https://github.com/unjs/nanotar/commit/71917b8)) |
| 175 | + |
| 176 | +### documentation |
| 177 | + |
| 178 | +- Added jsdocs to exported functions ([#10](https://github.com/unjs/nanotar/pull/10)) |
| 179 | + |
| 180 | +## node-fetch-native |
| 181 | + |
| 182 | +This month, we release 2 new releases (0 major release, 0 minor release and 2 patch releases): |
| 183 | + |
| 184 | +- [v1.6.6](https://github.com/unjs/node-fetch-native/releases/tag/v1.6.6) |
| 185 | +- [v1.6.5](https://github.com/unjs/node-fetch-native/releases/tag/v1.6.5) |
| 186 | + |
| 187 | +### fixes |
| 188 | + |
| 189 | +- Improve `DISABLE_NODE_FETCH_NATIVE_WARN` behavior ([#128](https://github.com/unjs/node-fetch-native/pull/128)) |
| 190 | + |
| 191 | +### documentation |
| 192 | + |
| 193 | +- Remove proxy banner ([7b46934](https://github.com/unjs/node-fetch-native/commit/7b46934)) |
| 194 | + |
| 195 | +## nypm |
| 196 | + |
| 197 | +This month, we release 2 new releases (0 major release, 1 minor release and 1 patch release): |
| 198 | + |
| 199 | +- [v0.5.1](https://github.com/unjs/nypm/releases/tag/v0.5.1) |
| 200 | +- [v0.5.0](https://github.com/unjs/nypm/releases/tag/v0.5.0) |
| 201 | + |
| 202 | +### enhancements |
| 203 | + |
| 204 | +- Normalize `packageManager` field when parsing ([#184](https://github.com/unjs/nypm/pull/184)) |
| 205 | + |
| 206 | +### 🔥 performance |
| 207 | + |
| 208 | +- Avoid lazy import ([#182](https://github.com/unjs/nypm/pull/182)) |
| 209 | + |
| 210 | +### fixes |
| 211 | + |
| 212 | +- Correctly detect `corepack` for fallback ([#179](https://github.com/unjs/nypm/pull/179)) |
| 213 | + |
| 214 | +## pathe |
| 215 | + |
| 216 | +This month, we release 3 new releases (1 major release, 0 minor release and 2 patch releases): |
| 217 | + |
| 218 | +- [v2.0.2](https://github.com/unjs/pathe/releases/tag/v2.0.2) |
| 219 | +- [v2.0.1](https://github.com/unjs/pathe/releases/tag/v2.0.1) |
| 220 | +- [v2.0.0](https://github.com/unjs/pathe/releases/tag/v2.0.0) |
| 221 | + |
| 222 | +### fixes |
| 223 | + |
| 224 | +- **format:** Allow calls with partial arguments ([#198](https://github.com/unjs/pathe/pull/198)) |
| 225 | +- Use `node:path` export types ([#199](https://github.com/unjs/pathe/pull/199)) |
| 226 | +- **extname:** Handle inputs ending with dot ([#203](https://github.com/unjs/pathe/pull/203)) |
| 227 | + |
| 228 | +### enhancements |
| 229 | + |
| 230 | +- Add `matchesGlob(path, pattern)` ([#195](https://github.com/unjs/pathe/pull/195)) |
| 231 | +- Add `reverseResolveAlias(path, aliases)` ([#173](https://github.com/unjs/pathe/pull/173)) |
| 232 | +### fixes |
| 233 | +- **basename:** Ignore trailing seperator ([#180](https://github.com/unjs/pathe/pull/180)) |
| 234 | +- **utils/filename:** Handle files beginning with a period or without ext ([#185](https://github.com/unjs/pathe/pull/185)) |
| 235 | +- **parse:** ⚠️ Fix root handling to be consistent with node ([#194](https://github.com/unjs/pathe/pull/194)) |
| 236 | +- **join:** ⚠️ Preserve normalized UNC paths ([#196](https://github.com/unjs/pathe/pull/196)) |
| 237 | +- ⚠️ Set `delimiter` to `;` in windows ([#176](https://github.com/unjs/pathe/pull/176)) |
| 238 | + |
| 239 | +### documentation |
| 240 | + |
| 241 | +- Fix typo ([#163](https://github.com/unjs/pathe/pull/163)) |
| 242 | +- Add jsdocs for `pathe/utils` ([#170](https://github.com/unjs/pathe/pull/170)) |
| 243 | +- **docs:** Fix TS casing ([#181](https://github.com/unjs/pathe/pull/181)) |
| 244 | + |
| 245 | +## pkg-types |
| 246 | + |
| 247 | +This month, we release 1 new release (0 major release, 0 minor release and 1 patch release): |
| 248 | + |
| 249 | +- [v1.3.1](https://github.com/unjs/pkg-types/releases/tag/v1.3.1) |
| 250 | + |
| 251 | +### fixes |
| 252 | + |
| 253 | +- Detect `bun.lock` ([#210](https://github.com/unjs/pkg-types/pull/210)) |
| 254 | + |
| 255 | +## srvx |
| 256 | + |
| 257 | +This month, we release 1 new release (0 major release, 0 minor release and 1 patch release): |
| 258 | + |
| 259 | +- [v0.1.4](https://github.com/unjs/srvx/releases/tag/v0.1.4) |
| 260 | + |
| 261 | +### fixes |
| 262 | + |
| 263 | +- **node:** Access req headers with lowerCase ([#21](https://github.com/unjs/srvx/pull/21)) |
| 264 | + |
| 265 | +### refactors |
| 266 | + |
| 267 | +- **node:** Improve body streaming ([#26](https://github.com/unjs/srvx/pull/26)) |
| 268 | + |
| 269 | +## unbuild |
| 270 | + |
| 271 | +This month, we release 2 new releases (0 major release, 1 minor release and 1 patch release): |
| 272 | + |
| 273 | +- [v3.3.1](https://github.com/unjs/unbuild/releases/tag/v3.3.1) |
| 274 | +- [v3.3.0](https://github.com/unjs/unbuild/releases/tag/v3.3.0) |
| 275 | + |
| 276 | +### fixes |
| 277 | + |
| 278 | +- **rollup:** Improve external detection ([#488](https://github.com/unjs/unbuild/pull/488)) |
| 279 | + |
| 280 | +### enhancements |
| 281 | + |
| 282 | +- Allow specifying dependencies to inline in `inlineDependencies` ([#480](https://github.com/unjs/unbuild/pull/480)) |
| 283 | +### fixes |
| 284 | +- **rollup:** Resolve aliases using pathe utils ([#483](https://github.com/unjs/unbuild/pull/483)) |
| 285 | + |
| 286 | +### refactors |
| 287 | + |
| 288 | +- Inline `withTrailingSlash` util ([#482](https://github.com/unjs/unbuild/pull/482)) |
| 289 | + |
| 290 | +## unhead |
| 291 | + |
| 292 | +This month, we release 4 new releases (0 major release, 0 minor release and 4 patch releases): |
| 293 | + |
| 294 | +- [v1.11.18](https://github.com/unjs/unhead/releases/tag/v1.11.18) |
| 295 | +- [v1.11.17](https://github.com/unjs/unhead/releases/tag/v1.11.17) |
| 296 | +- [v1.11.16](https://github.com/unjs/unhead/releases/tag/v1.11.16) |
| 297 | +- [v1.11.15](https://github.com/unjs/unhead/releases/tag/v1.11.15) |
| 298 | + |
| 299 | +### bug fixes |
| 300 | + |
| 301 | +- **schemaOrg**: Resolve nodes with custom nodes - by @harlan-zw [<samp>(0f1c9)</samp>](https://github.com/unjs/unhead/commit/0f1c9ff5) |
| 302 | +- **vue2**: `head()` not called with vm context - by @harlan-zw [<samp>(6a58d)</samp>](https://github.com/unjs/unhead/commit/6a58dc0c) |
| 303 | + |
| 304 | +### 🏎 performance |
| 305 | + |
| 306 | +- Avoid inlining dependencies - by @harlan-zw [<samp>(01cc7)</samp>](https://github.com/unjs/unhead/commit/01cc778a) |
0 commit comments