Florian Lefebvre
4a784be83a
Merge branch 'main' into feat/fonts
2025-03-10 14:07:12 +01:00
Florian Lefebvre
0f3419c4c1
feat(fonts): as prop ( #13366 )
...
* feat(fonts): as prop
* chore: comment
2025-03-10 14:06:50 +01:00
Martin Trapp
249d52a3ff
Extend the simulated viewTransition object with the property ( #13381 )
2025-03-10 10:48:50 +00:00
Emanuele Stoppa
61ba33283b
[ci] format
2025-03-10 08:40:34 +00:00
Emanuele Stoppa
3ce4ad965f
docs: document utility functions ( #13367 )
...
* fix(assets): remove export of internal function
* Apply suggestions from code review
Co-authored-by: Armand Philippot <git@armand.philippot.eu>
---------
Co-authored-by: Armand Philippot <git@armand.philippot.eu>
2025-03-10 08:39:36 +00:00
Bjorn Lu
d83f92a204
Replace internal cssScopeTo implementation to vite.cssScopeTo ( #13347 )
...
* Replace internal cssScopeTo implementation to vite.cssScopeTo
* Fix test
* Fix more tests
* Again
* Again :(
* Fix weird name
* Add changeset
2025-03-06 05:47:59 +00:00
Sarah Rainsberger
7f596cff67
[docs] move location of an Actions error ( #13368 )
...
Co-authored-by: ArmandPhilippot <59021693+ArmandPhilippot@users.noreply.github.com>
2025-03-05 17:30:51 -04:00
Florian Lefebvre
75b1f5b877
feat(fonts): css vars ( #13362 )
...
* feat(fonts): css vars
* feat: tests and fix
* chore: add todos
2025-03-05 15:30:55 +01:00
Emanuele Stoppa
afc59bbfc4
[ci] format
2025-03-05 14:19:55 +00:00
Emanuele Stoppa
a793636928
fix(assets): remove export of internal function ( #13363 )
...
Co-authored-by: florian-lefebvre <69633530+florian-lefebvre@users.noreply.github.com>
2025-03-05 14:19:06 +00:00
Hugo Korte
a05e6ab720
bugfix(svelte): fix colliding id's generated from $props.id
( #13339 )
...
* bugfix(svelte): fix colliding id's generating from $props.id by utilizing the new `uidPrefix` option exposed for both server and client side rendering.
* bugfix(svelte): changeset
* Add server side ID prefix, not sure how to do this on the client.
* Discard changes to packages/integrations/svelte/client.svelte.js
* Update .changeset/flat-cherries-rule.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* feat: context
* revert peerDep bump
* revert html variable seperation
* feat: rename
* fix lockfile
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2025-03-05 12:55:30 +01:00
Florian Lefebvre
f62a7b73f6
Merge branch 'main' into feat/fonts
2025-03-05 11:39:29 +01:00
Emanuele Stoppa
042d1de901
docs: document asset utilities ( #13355 )
...
* docs: document asset utilities
* Apply suggestions from code review
Co-authored-by: Junseong Park <39112954+jsparkdev@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
* chore: add defaults
* chore: add changeset
---------
Co-authored-by: Junseong Park <39112954+jsparkdev@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
2025-03-05 08:16:39 +00:00
Florian Lefebvre
d8e07435cb
feat(fonts): refactor loading logic ( #13353 )
...
* feat: improve loop
* feat: simplify cache
* feat: extract initialize logic
* fix: circular dependency
* fix: circular dependency
* feat: test
* chore: remove comment
* feat: address reviews
* chore: logs
* fix: normalize path
* test
* chore: remove logs
2025-03-04 18:23:44 +01:00
Houston (Bot)
c67a35138c
[ci] release ( #13350 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-04 14:40:29 +00:00
Emanuele Stoppa
f61d4420e8
[ci] format
2025-03-04 13:50:37 +00:00
Emanuele Stoppa
0025df37af
refactor(core): move actions inside core ( #13262 )
...
* refactor(core): remove middleware from actions
* chore: fix tests
* chore: skip e2e test due to db issues
* chore: import actions later during server life cycle
* chore: rename to just use the word "actions"
* chore: address review
* Update packages/astro/src/actions/loadActions.ts
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* chore: remove gotcha
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: bholmesdev <51384119+bholmesdev@users.noreply.github.com>
Co-authored-by: JacobNWolf <27933270+JacobNWolf@users.noreply.github.com>
Co-authored-by: matthewp <361671+matthewp@users.noreply.github.com>
Co-authored-by: florian-lefebvre <69633530+florian-lefebvre@users.noreply.github.com>
2025-03-04 13:43:39 +00:00
Emanuele Stoppa
e8c26d5bdb
ci: add new command for vite ecosystem CI ( #13357 )
2025-03-04 11:48:59 +00:00
renovate[bot]
fe8cacdf6e
[ci] format
2025-03-04 10:59:04 +00:00
renovate[bot]
16d6d41b2e
fix(deps): update all non-major dependencies ( #13346 )
...
* fix(deps): update all non-major dependencies
* chore: fix type issue
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2025-03-04 10:58:12 +00:00
arnottferels
5c0e0eaa90
feat(partytown): allow overriding copyLibFiles.dest
in astro:build:done
hook with the lib
option ( #13109 )
...
* Support overriding copyLibFiles.dest in stro:build:done hook with lib option, defaulting to ~partytown. Remove leading '/' to match ileURLToPath.
* Support overriding copyLibFiles.dest in stro:build:done hook with lib option, defaulting to ~partytown. Remove leading '/' to match ileURLToPath.
* Update .changeset/plenty-coins-destroy.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* Update packages/integrations/partytown/src/index.ts
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* feat(stro:server:setup): add option for config.lib path
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: florian-lefebvre <69633530+florian-lefebvre@users.noreply.github.com>
Co-authored-by: twodft <64566069+twodft@users.noreply.github.com>
Co-authored-by: ematipico <602478+ematipico@users.noreply.github.com>
2025-03-04 07:27:55 +00:00
Florian Lefebvre
a84a8b5d2a
Merge branch 'main' into feat/fonts
2025-03-03 16:35:50 +01:00
Florian Lefebvre
4eef143486
feat(fonts): fallbacks ( #13331 )
...
* feat(fonts): fallbacks
* feat: local
* fix: test
* feat: isGenericFontFamily test
* feat: generateFallbackCSS test
* feat: docs
* feat: simplify
* fix
* feat: improve schema
* Discard changes to examples/basics/astro.config.mjs
* feat: address reviews
2025-03-03 16:34:52 +01:00
Paul Valladares
a001a75d6e
fix: resolve Astro DB seed failure with paths containing spaces ( #13343 )
2025-03-03 14:57:51 +00:00
Matthew Phillips
55ef4f574f
[ci] format
2025-03-03 14:36:17 +00:00
Matthew Phillips
84e94cc85c
Prevent rerunning scripts already ran in router ( #12985 )
...
* Prevent rerunning scripts already ran in router
In a long session you might navigate between several pages, some contain
the script and some not, but nevertheless the script should run a total
of 1 time.
This also helps with smaller bundled scripts in production, where some
are inlined.
* Add changeset
* better key
* more concise
* review changes
* move stuff around
* fix types
* take Martin's suggestion
* run detection when executing scripts
* adds an e2e test for data-astro-rerun
* fix support for data-astro-rerun
---------
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
2025-03-03 09:35:14 -05:00
Matt Kane
fac32ad98d
fix: generate correct responsive srcsets on Vercel ( #13351 )
...
* fix: generate correct responsive srcsets on Vercel
* [skipci] Apply suggestions from code review
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2025-03-03 14:32:04 +00:00
Matt Kane
21c233c3c9
[ci] format
2025-03-03 10:57:12 +00:00
Matt Kane
50e2e0b374
fix: escape img attributes in Markdown ( #13349 )
2025-03-03 10:56:18 +00:00
Houston (Bot)
8483502bb2
[ci] release ( #13337 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-28 16:59:28 +00:00
renovate[bot]
f15aa9d4e8
fix(deps): update dependency @netlify/functions to v3 ( #13261 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-28 15:52:48 +00:00
Matt Kane
9c7afbe620
[ci] format
2025-02-28 15:33:51 +00:00
Matt Kane
b5dabe9878
feat: add support session typing ( #13320 )
...
* feat: add support session typing
* Add type tests
* Fix test
* Remove unused import
2025-02-28 15:32:57 +00:00
Emanuele Stoppa
5d8f71c369
[ci] format
2025-02-28 14:40:31 +00:00
Emanuele Stoppa
5e7646efc1
chore: bump compiler
and upgrade
packages ( #13330 )
...
Co-authored-by: Matt Kane <m@mk.gg>
Co-authored-by: ascorbic <213306+ascorbic@users.noreply.github.com>
Co-authored-by: TheOtterlord <64310361+TheOtterlord@users.noreply.github.com>
Co-authored-by: MoustaphaDev <81974850+MoustaphaDev@users.noreply.github.com>
2025-02-28 14:39:38 +00:00
Emanuele Stoppa
8f632efe99
fix(assets): export again asset utilities ( #13336 )
2025-02-28 14:39:25 +00:00
Emanuele Stoppa
74ea5113c8
chore: upgrade pnpm to v10 ( #13328 )
...
Co-authored-by: florian-lefebvre <69633530+florian-lefebvre@users.noreply.github.com>
2025-02-28 14:08:25 +00:00
Florian Lefebvre
08eff8cd9e
Merge branch 'main' into feat/fonts
2025-02-27 16:30:05 +01:00
renovate[bot]
2a0fa86bac
fix(deps): update dependency fast-xml-parser to v5 ( #13300 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-27 13:41:27 +00:00
Houston (Bot)
9aa5ac1019
[ci] release ( #13318 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-27 13:26:41 +00:00
Emanuele Stoppa
53508aa7ec
[ci] format
2025-02-27 10:45:15 +00:00
Emanuele Stoppa
80926fadc0
chore(deps): update esbuild
and vite
versions ( #13323 )
...
Co-authored-by: Jisu-Woniu <31986081+Jisu-Woniu@users.noreply.github.com>
Co-authored-by: natemoo-re <7118177+natemoo-re@users.noreply.github.com>
Co-authored-by: florian-lefebvre <69633530+florian-lefebvre@users.noreply.github.com>
Co-authored-by: ascorbic <213306+ascorbic@users.noreply.github.com>
2025-02-27 10:44:13 +00:00
Florian Lefebvre
c515886407
Merge branch 'main' into feat/fonts
2025-02-27 11:08:05 +01:00
Emanuele Stoppa
5b6df02c88
[ci] format
2025-02-26 16:30:27 +00:00
Emanuele Stoppa
5f72a58935
fix(core): double encoding during match of routes ( #13303 )
...
Co-authored-by: florian-lefebvre <69633530+florian-lefebvre@users.noreply.github.com>
2025-02-26 16:29:32 +00:00
Luiz Ferraz
2154adaead
[ci] format
2025-02-26 11:41:56 +00:00
Luiz Ferraz
5be12b2bc9
feat(astro): Exposes extra APIs for script and testing ( #12052 )
...
Co-authored-by: Matt Kane <m@mk.gg>
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: matthewp <361671+matthewp@users.noreply.github.com>
Co-authored-by: sarah11918 <5098874+sarah11918@users.noreply.github.com>
Co-authored-by: ematipico <602478+ematipico@users.noreply.github.com>
Co-authored-by: bluwy <34116392+bluwy@users.noreply.github.com>
Co-authored-by: ascorbic <213306+ascorbic@users.noreply.github.com>
Co-authored-by: florian-lefebvre <69633530+florian-lefebvre@users.noreply.github.com>
2025-02-26 11:41:02 +00:00
Martin Trapp
eb472313fd
[ci] format
2025-02-26 10:55:59 +00:00
Martin Trapp
9e7c71d19c
fixes property shadowing for form.attributes ( #13313 )
...
Co-authored-by: ematipico <602478+ematipico@users.noreply.github.com>
2025-02-26 10:55:01 +00:00
Emanuele Stoppa
2cdeaea64c
[ci] format
2025-02-26 10:35:49 +00:00