paula
216d54a0ae
Start renaming
2026-11-11 11:45:20 -03:00
Bartek Iwańczuk
39b5f06f8a
chore: release 2.3.3 ( #3799 )
...
## Summary
- Bump `@fresh/core` 2.3.2 → 2.3.3
- Bump `@fresh/plugin-vite` 1.1.1 → 1.1.2
- Bump `@fresh/init` 2.3.2 → 2.3.3
- Bump `@fresh/update` 2.3.2 → 2.3.3
Reverts the broken CJS shim (#3798 ) and releases the restored Babel CJS
transform.
2026-04-28 13:28:20 +02:00
Bartek Iwańczuk
4ba300b02d
chore: release 2.3.2 ( #3796 )
...
## Summary
- Bump `@fresh/core` 2.3.1 → 2.3.2
- Bump `@fresh/plugin-vite` 1.1.0 → 1.1.1
- Bump `@fresh/init` 2.3.1 → 2.3.2
- Bump `@fresh/update` 2.3.1 → 2.3.2
Patch release for the CJS detection regression fix (#3793 ).
2026-04-28 09:15:54 +02:00
Bartek Iwańczuk
1955b10003
chore: release @fresh/plugin-vite@1.1.0 and @fresh/plugin-tailwind-v3@1.1.0 ( #3789 )
...
Closes #3784
2026-04-27 16:46:38 +02:00
Bartek Iwańczuk and Claude Opus 4.6
9875146cc4
fix: improve Deno module resolution in Vite plugin ( #3734 )
...
## Summary
Three targeted fixes to Fresh's Vite plugin for better module
resolution, plus new test coverage.
### 1. Workspace import map resolution
Pass the importer's file URL to `loader.resolve()` so bare specifiers
from workspace member packages resolve through the correct import map —
not just the root `deno.json`.
Fixes #3654
### 2. Remote island resolution
Use `this.resolve(spec)` in the `fresh-island::` and
`fresh-client-island::` resolveId handlers (`server_snapshot.ts` /
`client_snapshot.ts`) so JSR remote islands get proper `\0deno::`
specifiers. Without this, remote islands resolved to bare specifiers
that Vite couldn't load.
Fixes #3437
### 3. Babel JSX operator precedence fix
`!ssr && id.endsWith(".tsx") || id.endsWith(".jsx")` → `!ssr &&
(id.endsWith(".tsx") || id.endsWith(".jsx"))`. The missing parentheses
caused `.jsx` files to incorrectly get Preact JSX transforms during SSR.
### Other changes
- Bump `@deno/loader` from ^0.3.10 to ^0.4.0 (needed for workspace
resolution fix)
- Bump `@astral/astral` from ^0.5.5 to ^0.5.6 (fixes `@std/async@1.2.0`
compat)
- Add dev server tests for CJS module import and maxmind CJS (#3653 )
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-03 15:40:46 +02:00
8b0d42b82a
fix: register files generated by Vite plugins in static file cache ( #3534 )
...
Fixes #3487
---------
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com >
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-29 20:04:46 +00:00
Eli
ab14d1044c
refactor(vite): replace old environment APIs ( #3634 )
...
I was perusing the code whilst investigating #3606 and noticed that,
despite the release post claiming that Fresh had ["fully
embrace[d]"](https://deno.com/blog/fresh-and-vite#:~:text=fully%20embraces )
the Vite Environment API, it was still using `ssrLoadModule`. Once I
started looking, I noticed a bunch of other code that wasn't
future-proof (env-wise, not rolldown-wise, which'll bring it's own swath
of deprecations[^1]), so I updated them as well.
The newly added source map tests from #3624 currently fail again because
the ModuleRunner API at the heart of the Environment API relies on
[`process.setSourceMapsEnabled`](https://docs.deno.com/api/node/process/~/Process.setSourceMapsEnabled ),
which is [currently set to
no-op](https://github.com/denoland/deno/pull/22993 ) in Deno.
[^1]: Separately tried to try out rolldown-vite but it seems that Deno
doesn't support aliasing dependencies whatsoever? (I know there's not
official support, but I was going to try to edit the lockfile to hack
around it; however, it seems that there's not alias support in there at
all?)
2025-12-09 13:00:36 +01:00
David Sherret
18e47a86b0
fix(vite): force at least @deno/loader@0.3.10 ( #3631 )
...
Ref: https://github.com/denoland/deno-js-loader/pull/68
2025-11-19 23:05:45 +01:00
Marvin Hagemeister
2c36becff0
chore: release 2.2.0 ( #3627 )
...
- `@fresh/core@2.2.0`
- `@fresh/update@2.2.0`
- `@fresh/init@2.3.0`
- `@fresh/plugin-vite@1.0.8`
2025-11-18 14:09:19 +01:00
Marvin Hagemeister
42d7d9f23b
chore: release 2.1.4 ( #3586 )
...
- @fresh/core@2.1.4
- @fresh/update@2.1.4
- @fresh/init@2.2.2
- @fresh/plugin-vite@1.0.7
2025-10-30 15:57:14 +01:00
Marvin Hagemeister
7b6d6315d1
fix(vite): mark transformed cjs with __esModule ( #3575 )
...
Fixes https://github.com/denoland/fresh/issues/3565
2025-10-24 19:54:37 +02:00
Marvin Hagemeister
5a228625ea
chore: release 2.1.3 ( #3572 )
...
- @fresh/core@2.1.3
- @fresh/update@2.1.2
- @fresh/plugin-vite@1.0.6
- @fresh/init@2.2.1
2025-10-23 13:15:07 +02:00
Marvin Hagemeister
8b7caba444
chore: release 2.1.2 ( #3542 )
...
- @fresh/core@2.1.2
- @fresh/update@2.1.2
- @fresh/plugin-vite@1.0.5
2025-10-08 12:56:08 +02:00
Marvin Hagemeister
5c05d6533f
chore: release 2.1.1 ( #3466 )
...
- @fresh/core@2.1.1
- @fresh/update@2.1.1
- @fresh/plugin-vite@1.0.4
2025-09-19 20:27:35 +02:00
Marvin Hagemeister
de9b8a7c40
chore: release 2.1.0 ( #3443 )
...
- @fresh/core@2.1.0
- @fresh/plugin-vite@1.0.3
- @fresh/update@2.1.0
- @fresh/init@2.0.9
2025-09-15 19:29:04 +02:00
Marvin Hagemeister
4cc0722465
chore: release 2.0.2 ( #3418 )
...
- @fresh/core@2.0.2
- @fresh/plugin-vite@1.0.2
- @fresh/update@2.0.2
- @fresh/init@2.0.8
2025-09-12 19:16:12 +02:00
Marvin Hagemeister
7ce6aeff8b
fix(vite): workaround for FOUC with tailwind ( #3407 )
...
Fixes https://github.com/denoland/fresh/issues/3379
2025-09-12 12:34:23 +02:00
Marvin Hagemeister
0e6bddd06e
chore: release 2.0.1 ( #3404 )
...
- @fresh/core@2.0.1
- @fresh/plugin-vite@1.0.1
- @fresh/update@2.0.1
- @fresh/init@2.0.7
2025-09-12 11:05:03 +02:00
Marvin Hagemeister
fb341e4ab7
chore: release 2.0.0 ( #3371 )
2025-09-09 18:52:36 +02:00
Marvin Hagemeister
cb14abad21
chore: release @fresh/plugin-vite@0.10.2 ( #3366 )
2025-09-08 22:12:54 +02:00
Marvin Hagemeister
69283c81b4
chore: release @fresh/plugin-vite@0.10.1 ( #3361 )
2025-09-08 18:00:06 +02:00
Marvin Hagemeister
2c2257843e
chore: release @fresh/plugin-vite@0.10.0 ( #3359 )
2025-09-08 17:43:07 +02:00
Marvin Hagemeister
4c3ff9b74d
chore: fix demo tasks ( #3354 )
2025-09-08 15:43:07 +02:00
Marvin Hagemeister
a72472095d
chore: releasd @fresh/plugin-vite@0.9.13 ( #3345 )
2025-09-05 16:58:27 +02:00
Marvin Hagemeister
185ab95751
fix(vite): get radix-ui working ( #3344 )
2025-09-05 16:51:22 +02:00
Marvin Hagemeister
b06ef5a855
chore: release 2.0.0-beta.4 and @fresh/plugin-vite@0.9.12 ( #3343 )
2025-09-05 12:23:47 +02:00
Marvin Hagemeister
892aefbf94
chore: release @fresh/plugin-vite@0.9.11 ( #3337 )
2025-09-04 13:06:50 +02:00
Marvin Hagemeister
4138b8ca66
fix(vite): improve commonjs handling ( #3336 )
...
Fixes https://github.com/denoland/fresh/issues/3323
2025-09-04 12:59:13 +02:00
Marvin Hagemeister
fd2ebc63c5
fix(init): setup vite/client types on init ( #3327 )
...
Note that this also requires
https://github.com/denoland/deno/issues/30560 to work. That will be
released in either Deno `2.4.6` or `2.5.0` depending on which one comes
first.
Fixes https://github.com/denoland/fresh/issues/3319
2025-09-03 12:02:52 +02:00
Marvin Hagemeister
bc9eb5dcba
chore: release @fresh/plugin-vite@0.9.10 ( #3317 )
2025-09-02 17:42:00 +02:00
Marvin Hagemeister
fbc8ade0dd
chore: release @fresh/plugin-vite@0.9.9 and @fresh/init@2.0.4 ( #3315 )
2025-09-02 16:16:24 +02:00
Marvin Hagemeister
4d463a8e2c
chore: update vite 7.1.4 ( #3298 )
2025-09-02 14:37:36 +02:00
Marvin Hagemeister
3dc01cfe6c
chore: release 2.0.0-beta.3 ( #3301 )
2025-09-01 17:37:16 +02:00
Marvin Hagemeister
1c097cfd3b
chore: release @fresh/plugin-vite@0.9.7 ( #3297 )
2025-09-01 12:23:02 +02:00
Marvin Hagemeister
8f8a6174ec
chore: release @fresh/plugin-vite@0.9.6 ( #3273 )
2025-08-29 14:35:15 +02:00
Marvin Hagemeister
b41c151de3
fix(vite): serve css imported in islands ( #3272 )
...
Fixes https://github.com/denoland/fresh/issues/3271
2025-08-29 14:30:00 +02:00
Marvin Hagemeister
111fe8063d
fix(vite): use better node -> fetch request polyfill ( #3267 )
2025-08-27 09:29:24 +02:00
Marvin Hagemeister
795ac6da2c
chore: release @fresh/plugin-vite@0.9.5 ( #3264 )
2025-08-26 15:30:02 +02:00
Marvin Hagemeister
671af16a82
chore: release @fresh/plugin-vite@0.9.4 ( #3260 )
2025-08-26 10:26:22 +02:00
Marvin Hagemeister
8717fb8f77
chore: release @fresh/plugin-vite@0.9.3 ( #3251 )
2025-08-25 16:50:11 +02:00
Marvin Hagemeister
280754ee09
fix(vite): update fresh version dependency ( #3250 )
2025-08-25 15:57:07 +02:00
Marvin Hagemeister
19af779873
chore: release @fresh/plugin-vite@0.9.2 ( #3241 )
2025-08-22 14:03:50 +02:00
Marvin Hagemeister
d1f7d49466
fix(vite): importing node:* builtins ( #3245 )
2025-08-22 13:58:39 +02:00
Marvin Hagemeister
5c3fe27046
chore: refactor tests ( #3243 )
2025-08-22 12:14:19 +02:00
Marvin Hagemeister
27c2910b1d
fix(vite): babel transform being applied for non-js files ( #3238 )
2025-08-21 20:03:00 +02:00
Marvin Hagemeister
85143f3c56
chore: release @fresh/plugin-vite@0.9.1 ( #3235 )
2025-08-21 14:38:05 +02:00
Marvin Hagemeister
14fe895ba1
chore: release @fresh/plugin-vite@0.9.0 ( #3228 )
...
Doing a bigger version jump because I think it's close to being ready.
2025-08-19 19:56:48 +02:00
Marvin Hagemeister
afdf5eaf6c
fix(vite): asset handling ( #3225 )
...
This PR reworks asset handling in our vite plugin. Importing assets in
js is now supported.
2025-08-19 16:45:33 +02:00
Marvin Hagemeister
59549c9532
fix(vite): npm resolution + cjs + duplicated preact signals ( #3211 )
2025-08-16 19:26:39 +02:00
Marvin Hagemeister
d026375c3e
fix(vite): error when npm package requires json files ( #3210 )
2025-08-08 14:16:38 +02:00