- Notifications
You must be signed in to change notification settings - Fork736
PermalinkChoose a base ref {{ refName }}default Choose a head ref {{ refName }}default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also orlearn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also.Learn more about diff comparisons here.
base repository:denoland/fresh
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
Uh oh!
There was an error while loading.Please reload this page.
base:2.1.2
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}defaultLoading
...
head repository:denoland/fresh
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
Uh oh!
There was an error while loading.Please reload this page.
compare:2.1.3
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}defaultLoading
- 8commits
- 29files changed
- 3contributors
Commits on Oct 21, 2025
fix: disable static file caching in development (#3561)
When running Fresh 2 in development, the ETag caching was leading toincorrect assets being served. I'd often get stale assets from days agoor separate apps. This problem was especially bad with multiple appsthat run on the same port. For example, I may work on App A on thedefault port 5173. Then boot up App B. I'd get assets from App A when Iwouldn't want them, leading to a frustrating dev experience.
feat: add
@/path alias to generated projects (#3562)Sets up `@/` as the default path alias in newly generated Freshprojects, following the official Deno documentation guidelines. Thisallows developers to use `@/` for absolute imports from the project rootinstead of relative paths. This is especially convenient to removeimport that require deeply traversing up the directory tree.The `@/` alias is now included in the imports section of deno.json forall new projects, enabling cleaner import statements like:```import { Button } from "@/components/Button.tsx";```Fixes#3485fix(vite): exclude test files from production builds (#3559)
The Vite plugin was not filtering out test files from route discovery,causing test files in routes/ (e.g., routes/api/counter_test.ts) to bebundled into production builds, inflating bundle sizes by ~20KB per testfile and including unnecessary test dependencies.Root cause: Vite plugin defaulted ignore patterns to [] while Buildercorrectly defaults to [TEST_FILE_PATTERN].This fix:- Defines TEST_FILE_PATTERN in shared constants.ts for reusability- Exports TEST_FILE_PATTERN from internals_dev.ts for Vite plugin access- Updates Vite plugin default from [] to [TEST_FILE_PATTERN]- Updates Builder to import TEST_FILE_PATTERN from constants.ts- Ensures test files matching /[._]test\.(?:[tj]sx?|[mc][tj]s)$/ areexcluded- Adds integration test to prevent regression- Allows Deno best practice of colocating test files without bundlingthemTest coverage (prevents regression):- Unit test: walkDir respects skip patterns- Unit test: crawlRouteDir excludes test files- Integration test: Vite builds exclude test files from outputFixes#3558
fix: HEAD method not handled properly (#3563)
- It should never contain a response body- It should be equivalent to `GET`
Commits on Oct 23, 2025
- @fresh/core@2.1.3- @fresh/update@2.1.2- @fresh/plugin-vite@1.0.6- @fresh/init@2.2.1
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:git diff 2.1.2...2.1.3
Uh oh!
There was an error while loading.Please reload this page.