Open
Conversation
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(deps): update all non-major dependencies * Discard changes to examples/blog/package.json * fix: lockfile --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* perf: switch to clack spinner This is an incremental change as part of the wider move to clack. * perf: switch to clack for box rendering Switches to using clack for rendering boxes in the terminal. Part of the wider migration to clack. * perf: switch to clack for confirm prompts Switches to using clack for confirm prompts rather than `prompts` package. Part of the wider clack migration. * chore: use new spinner API * chore: use bold confirm messages * fix * fix * upgrade clack * update clack * improve * improve * changeset --------- Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This is similar to #15516 but refactors tests around responses to various scenarios, such as trailing slash behavior.
These test various scenarios where `Astro.locals` is used, such as when passed down from an adapter. Converted to unit tests and removed the fixture.
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Refactor error page rendering tests to unit tests This took ssr-error-pages.test.js which was testing how we handle error pages, like for example rendering the 404.astro route when the page route returned a 400, and then converted those to error tests. Note that the tests are a little verbose at present. Further refactors, especially around routing, will make these smaller. * Fix lint * Update packages/astro/test/units/app/error-pages.test.js Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> --------- Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* fix(content): reload markdown updates in dev * fix lint + comment * test: fix hmr markdown fixture
* feat: improve naming of new adapter api * chore: changesets * Apply suggestions from code review * fix * Update .changeset/light-parrots-find.md * feat: warning * Apply suggestions from code review * Apply suggestion from @florian-lefebvre * Update packages/astro/src/types/public/integrations.ts * Update packages/astro/src/types/public/integrations.ts * Update .changeset/light-parrots-find.md * Apply suggestions from code review Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com> * Update .changeset/bright-symbols-see.md Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com> * Update .changeset/bright-symbols-see.md Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com> --------- Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* move stuff around * deprecate * utils * usage * changesets * Update .changeset/good-clubs-cover.md * Update .changeset/polite-terms-shop.md * changeset * fix: lint
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix: csp dev warning * Update .changeset/silly-eels-remain.md Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com> --------- Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
* feat(fonts): npm provider * misc * jsdocs * provide readFile * Apply suggestions from code review Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com> --------- Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
* fix: avoid SSR renderer imports for API-only builds * fix: map Astro command to Vite env * rebase and fix lock file --------- Co-authored-by: ematipico <estoppa@cloudflare.com>
* option for adding additional langs * tests * changeset * cleanup test * cleanup test * cleanup * clarify changeset * Update .changeset/tangy-tables-jog.md * add more details to changeset * add more details to changeset * Update .changeset/tangy-tables-jog.md * Update .changeset/tangy-tables-jog.md * minor not patch * Apply suggestions from code review --------- Co-authored-by: Justin Francos <jf@justinfrancos.com> Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
* refactor: how code styles are emitted * fix linting and update more tests * fix another test * fixed it * fix another test * apply styles only when needed for shiki * chore: apply solution only to shiki highlighter, when code blocks are in the document * Update .changeset/happy-frogs-glow.md Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com> * add mdx too --------- Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
* chore: fix changeset * Update .changeset/happy-frogs-glow.md Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com> --------- Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
Co-authored-by: astro-security[bot] <astro-security[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Update minimumReleaseAgeExclude config for Starlight * Update pnpm-workspace.yaml Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> --------- Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
β¦15815) * fix(cloudflare): prebundle SSR deps needed for Starlight dev * fix(cloudflare): drop server entry from optimizeDeps * docs(changeset): add cloudflare optimize deps note * Improve changeset * fix(cloudflare): only prebundle content runtime in dev
β¦er output (#15767) * fix(astro): server islands not working in prerendered pages with server output (#15753) * Remove unnecessary fs import and dist cleanup from test * fix: patch server island manifest across build environments When server islands (server:defer) are only used in prerendered pages, the SSR build environment never discovers them β it leaves empty map placeholders in the manifest. The prerender build discovers the islands later but the SSR output is already finalized. Fix by deferring placeholder replacement during build: renderChunk leaves placeholders intact when no islands are known yet, renderChunk saves resolved filenames when processing them in the prerender env, and generateBundle patches the SSR manifest chunk in-memory. A post-build hook also patches the on-disk SSR output and copies island component chunks from the prerender directory to the server output. * refactor server-island post-build patching into plugin hook * refactor: rename deferred server entries environment * fix: remove extra server-islands build environment * chore: resolve lint ci unused exports and directives * refactor: simplify server island map source generation * refactor: share prerender output directory helper * Simplify changeset * chore: restore benchmark template eslint directive * test: allow either quote style in server-islands assertion
Co-authored-by: astrobot-houston <fred+astrobot@astro.build>
β¦ot directories (#15754) Co-authored-by: astrobot-houston <fred+astrobot@astro.build>
Regenerate the dev route-to-CSS map after route rebuilds so newly created pages in dev include layout-imported styles without requiring a server restart.
Co-authored-by: astrobot-houston <fred+astrobot@astro.build>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix(preact): scope useId generation per island Seed Preact's root useId mask with a per-island identifier so separate Astro islands don't generate colliding IDs. Persist the island id for hydration/client-only renders and cover it with a fixture test. * chore: add changeset for preact useId fix
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Princesseuh <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(create-astro): avoid shell mode in process spawn * fix(create-astro): handle Windows package manager shims * Apply suggestion from @matthewp
* Add test that distinguishes Zod input/output shape in JSON schema output * Use input shape when generating JSON schema from Zod * Add changeset * Fix one additional test
* fix(build): emit before-hydration chunk for client environment * Chore: add changeset for hydration fix
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? π Please sponsor : )