Emanuele Stoppa
4353fc5ccf
fix: correctly return 404.astro in i18n ( #12764 )
2024-12-19 11:22:25 +00:00
Matt Kane
45005a581d
[ci] format
2024-12-19 11:12:01 +00:00
Matt Kane
1ec5b44ce3
chore(deps): update unstorage and use new syntax ( #12783 )
2024-12-19 11:10:55 +00:00
Florian Lefebvre
45c3f33387
[ci] format
2024-12-18 14:41:43 +00:00
Florian Lefebvre
c9d51107d0
feat(actions): getActionPath() ( #12721 )
...
* feat(actions): getActionPath()
* feat: take trailing slash into account
* fix
* fix
* Update wise-boxes-develop.md
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
* Update .changeset/wise-boxes-develop.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: Emanuele Stoppa <my.burning@gmail.com>
2024-12-18 14:37:52 +00:00
Matt Kane
36c1e0697d
fix: clear the content layer cache when the Astro config changes ( #12767 )
...
* fix: clear the content layer cache when the Astro config changes
* Use deterministic-object-hash
* Switch back to safe-stringify
* Whitespace
2024-12-18 14:01:56 +00:00
Matt Kane
a581c152fc
[ci] format
2024-12-18 13:57:45 +00:00
Matt Kane
a94e309ebf
[ci] format
2024-12-18 13:56:42 +00:00
Matt Kane
b4fec3c7d1
Sessions API ( #12441 )
...
* wip: experimental sessions
* feat: adds session options (#12450 )
* feat: add session config
* chore: add session config docs
* Fix
* Expand doc
* Handle schema
* Remove example
* Format
* Lock
* Fix schema
* Update packages/astro/src/types/public/config.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/src/types/public/config.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Add link to Sessions RFC in config.ts
* Move session into experimental
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Lock
* feat: prototype session support (#12471 )
* feat: add session object
* Add tests and fix logic
* Fixes
* Allow string as cookie option
* wip: implement sessions (#12478 )
* feat: implement sessions
* Add middleware
* Action middleware test
* Support URLs
* Remove comment
* Changes from review
* Update test
* Ensure test file is run
* ci: changeset base
* ci: exit from changeset pre mode
* Lockfile
* Update base
* fix: use virtual import for storage drivers (#12520 )
* fix: use virtual import for storage drivers
* Don't try to resolve anythign in build
* Fix test
* Polyfill node:url
* Handle custom drivers directly
* No need for path
* Update packages/astro/src/core/session.ts
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Fix jsdoc
* fix: set default storage path
* Update changeset config for now
* Revert config workaround
* Lock
* Remove unneeded ts-expect-error directive
* fix: [sessions] import storage driver in manifest (#12654 )
* wip
* wip
* Export manifest in middleware
* Changeset conf
* Pass session to edge middleware
* Support initial session data
* Persist edge session on redirect
* Remove middleware-related changes
* Refactor
* Remove vite plugin
* Format
* Simplify import
* Handle missing config
* Handle async resolution
* Lockfile
* feat(sessions): implement ttl and flash (#12693 )
* feat(sessions): implement ttl and flash
* chore: add unit tests
* Make set arg an object
* Add more tests
* Add test fixtures
* Add comment
* Remove session.flash for now (#12745 )
* Changeset
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
2024-12-18 13:55:49 +00:00
oliverlynch
3dc02c57e4
feat(assets): Use entity-tags to revalidate cached remote images ( #12426 )
...
* feat(assets): Store etag to refresh cached images without a full download
* Seperate loading and revalidating functions
* Add changeset
* Updates based on requested changes
* Wording changes, use stale cache on failure to revalidate
* Add If-Modified-Since as cache revalidation method
* Update .changeset/red-poems-pay.md
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
---------
Co-authored-by: Matt Kane <m@mk.gg>
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
2024-12-18 13:20:12 +00:00
Ariel K
ca3ff1504a
docs: Fix typos in config.ts ( #12769 )
...
- Replace `ie` with `e.g.`, as we're dealing with examples
- Use brackets to match the styles of previous lines
2024-12-18 11:46:36 +00:00
Alberto Matías Vega
8da2318551
fix: invoke vite.build with up to date configuration during astro:build:setup hook when target is "client" ( #12763 )
...
Co-authored-by: Alberto Matías <alberto.matias@bestsecret.com>
2024-12-17 13:40:36 +00:00
Chris Swithinbank
483da89cf6
Adds types for ?url&inline
& ?url&no-inline
import queries ( #12758 )
...
* Add types for Vite inline/no-inline import queries
* Add changeset
* Remove plain `?no-inline` type
* Update changeset
2024-12-17 11:50:51 +00:00
Houston (Bot)
3ff00a6655
[ci] release ( #12759 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-16 22:02:50 -05:00
Matthew Phillips
95795f85db
Remove debug logging from output ( #12756 )
2024-12-16 16:25:27 -05:00
Houston (Bot)
a44cfb874a
[ci] release ( #12753 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-16 14:51:44 -05:00
Matthew Phillips
391df0e410
Add changeset ( #12755 )
2024-12-16 14:50:11 -05:00
Cody Olsen
75de4a8c73
[ci] format
2024-12-16 19:20:28 +00:00
Cody Olsen
0ac0f25c18
fix: add support for react-compiler-runtime
( #12735 )
2024-12-16 14:19:38 -05:00
Matthew Phillips
039d022b1b
Clean sourcemaps from static output ( #12749 )
...
* Clean sourcemaps from static output
* Add changeset
* Update test to look at frontend sourcemaps
2024-12-16 14:19:11 -05:00
Houston (Bot)
d891d5dff5
[ci] release ( #12748 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-16 12:40:13 -05:00
Matthew Phillips
a7935578af
[ci] format
2024-12-16 17:02:24 +00:00
Matthew Phillips
c879f501ff
Revert "fix custom assetFileNames
issue ( #12449 )" ( #12746 )
...
* Revert "fix custom `assetFileNames` issue (#12449 )"
This reverts commit e6b8017239
.
This change caused source maps to be left in the client folder, exposing them into the server.
* Add changeset
2024-12-16 12:01:37 -05:00
Houston (Bot)
33ae7320e8
[ci] release ( #12716 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-16 16:29:28 +01:00
Florian Lefebvre
25c1e597f1
[ci] format
2024-12-16 14:53:44 +00:00
Florian Lefebvre
564ac6c2f2
feat: route manifest refactor ( #12597 )
...
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-12-16 15:52:54 +01:00
Florian Lefebvre
7c7398c046
fix(cli): let sync throw in check ( #12726 )
2024-12-13 16:37:08 +01:00
Emanuele Stoppa
901c21f4f0
test: make tailwind test more stable ( #12732 )
2024-12-13 14:37:25 +00:00
JoeMorgan
8b1cecd6b4
Add inert attribute to boolean list ( #12729 )
...
* added changeset
* added changeset
2024-12-13 13:59:02 +00:00
Adam Argyle
ee66a45b25
Adds closedby
to dialog interface ( #12728 )
...
* Adds `closedby` to dialog interface
Standards status https://chromestatus.com/feature/5097714453577728
* Add changeset
---------
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2024-12-13 10:40:23 +00:00
Matt Kane
72f30ddbf3
[ci] format
2024-12-13 07:08:08 +00:00
Matt Kane
029661daa9
fix: use atomic writes for data store file operations ( #12715 )
...
* fix: use atomic writes for data store file operations
* Put tmp alongside the target
* Implement locking
* Refactor
* Wording
2024-12-13 07:07:21 +00:00
mtwilliams
799c8676df
[ci] format
2024-12-12 13:30:38 +00:00
mtwilliams
e3bfd93969
fix(i18n): parse params and props correctly with fallback ( #12709 )
...
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-12-12 13:29:46 +00:00
Matt Kane
358eae83b7
chore: fixes the version of astrojs/db ( #12719 )
2024-12-12 10:29:18 +00:00
Magomed Chabaev
eef4b740ff
[ci] format
2024-12-11 16:07:47 +00:00
Magomed Chabaev
14dffcc3af
fix(actions): support trailing slash ( #12657 )
...
* fix(actions): support trailing slash
* refactoring
2024-12-11 16:06:57 +00:00
Emanuele Stoppa
ccc5ad1676
fix(i18n): manual routing with rewrite ( #12718 )
2024-12-11 15:23:50 +00:00
Florian Lefebvre
f1f3bc0432
[ci] format
2024-12-11 15:03:05 +00:00
Florian Lefebvre
51ced3dba8
[ci] format
2024-12-11 15:02:16 +00:00
Florian Lefebvre
110fc01a5b
chore: remove unused imports ( #12696 )
2024-12-11 16:01:06 +01:00
Anton Begehr
dff04a4b15
[ci] format
2024-12-11 12:24:49 +00:00
Anton Begehr
618de283f5
🐛 Fix isDbError()-guard does not work ( #12416 )
...
* isDbError() does not work
Fixes #12400
* lint&format
* Update packages/db/src/runtime/virtual.ts
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* use isDbError instead of "instanceof LibsqlError"
* unused imports
* mv isDbError to utils
* Update .changeset/breezy-radios-grab.md
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-12-11 12:23:53 +00:00
Houston (Bot)
929ce28325
[ci] release ( #12698 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-11 11:07:58 +00:00
Matt Kane
b3dfd9b01b
[ci] format
2024-12-11 11:07:45 +00:00
Matt Kane
99266fa289
chore: refactor query param strip ( #12714 )
2024-12-11 11:06:55 +00:00
Matt Kane
d33c2151a3
[ci] format
2024-12-11 10:22:32 +00:00
Matt Kane
b01c74aecc
fix: strip query string before checking md extension ( #12712 )
2024-12-11 10:21:44 +00:00
Brian Kimball
97c9265754
Add React 19 stable as peer dependency for React integration ( #12678 )
...
* Add React 19 as peer dependency
* Add React 19 as peer dependency
---------
Co-authored-by: bskimball <brian.kimball@bdkonline.com>
2024-12-11 09:02:41 +00:00
Emanuele Stoppa
2aaed2d2a9
fix(middleware): don't import via entrypoint ( #12707 )
...
* fix(middleware): don't import via entrypoint
* fix(middleware): don't import via entrypoint
2024-12-10 20:48:38 +00:00