Houston (Bot)
c793f194c9
[ci] release ( #10344 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-06 11:07:43 -05:00
Matthew Phillips
a2e9b2b936
Fixes loading .ts configs in astro:db ( #10342 )
2024-03-06 09:50:02 -05:00
Houston (Bot)
1d9fb15a2d
[ci] release ( #10341 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-06 08:53:27 -05:00
Ben Holmes
a60861c960
fix: move db ambient types to separate module ( #10340 )
...
* fix: move ambient types to separate modue
* chore: changeset
2024-03-06 08:30:45 -05:00
Houston (Bot)
038201fbae
[ci] release ( #10337 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-05 16:58:48 -08:00
Fred K. Schott
f2e60a9675
Revert bad release ( #10336 )
...
* Revert "[ci] release (#10332 )"
This reverts commit dd3935b31c
.
* Revert "[ci] set `--tag` on release (#10323 )"
This reverts commit 50215ae731
.
2024-03-05 16:47:15 -08:00
Houston (Bot)
dd3935b31c
[ci] release ( #10332 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-05 16:26:25 -08:00
Fred K. Schott
d6a6b7dff2
add missing changeset ( #10335 )
2024-03-05 16:20:28 -08:00
Arsh
507b4ac246
fix(rendering): allow render instructions to propagate while rendering slots ( #10316 )
...
* fix(rendering): allow render instructions to propagate while rendering slots
* add test
* add changeset
* undo changes to `playwright.config.js`
2024-03-05 21:25:48 +05:30
Florian Lefebvre
29cbb88afd
chore(vercel): update @vercel/nft ( #10305 )
...
* chore(vercel): update @vercel/nft
* Update slimy-berries-mate.md
2024-03-05 15:17:35 +00:00
Houston (Bot)
d1700cf731
[ci] release ( #10314 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-04 13:17:06 -05:00
Florian Lefebvre
992537e79f
fix(astro): static entrypoints build with path with several '.astro' ( #10302 )
...
* fix(astro): static entrypoints build with path with several '.astro'
* feat: improve replacement logic
* fix: logic
* chore: improve changeset
* chore: move test
* Update util.ts
* Update .changeset/stale-ducks-protect.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-03-04 16:48:01 +00:00
Luiz Ferraz
819d20a89c
Fix dynamic prerender conflict ( #10298 )
...
* Reproduce issues
* Handle inconsistency between static, dynamic and rest routes
* Add extra test cases
* Add changeset
* Revert unrelated changes
* Update lockfile
2024-03-04 16:40:32 +00:00
Arsh
19ecccedaa
workaround(node ssr): cancellation support for renderToAsyncIterable ( #10319 )
...
* workaround(node ssr): cancellation support for renderToAsyncIterable
* add changeset
* Update .changeset/nice-pets-tie.md
2024-03-04 21:15:13 +05:30
Arsh
9deb919ff9
fix(i18n): prevent overwriting 404.astro ( #10281 )
...
* fix(i18n): prevent overwriting 404.astro
* add changeset
* add tests
* adjust unit test
2024-03-04 20:25:41 +05:30
Ben Holmes
78ddfadbf9
fix: reference base types ( #10315 )
...
* fix: reference root types
* chore: changeset
* chore: stray console log
2024-03-04 09:14:56 -05:00
Arsh
9ba3e2605d
fix(build): skip only the configured redirects ( #10279 )
...
* fix(build): allow redirect responses to output files
* add changeset
* add test
2024-03-04 11:44:34 +00:00
Houston (Bot)
5afc8f2088
[ci] release ( #10306 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-04 03:09:24 -08:00
Fred K. Schott
cb00c8b692
fix package json types ( #10313 )
2024-03-04 02:59:41 -08:00
Fred K. Schott
93ec9e264a
add new migrations system ( #10312 )
2024-03-04 02:50:58 -08:00
Sandeep Dilip
4bc360cd5f
fix( #8625 ): smooth scrolling in SPA mode on iOS ( #10235 )
...
* fix(#8625 ): smooth scrolling in SPA mode on iOS
* perf(router): run cb every 200ms only when scolling
* refactor(router): suggested changes and fixes
Suggested changes:
- change interval time from 200 to 50ms
- initialize `last*` vars together with the call to `setInterval()`
- clear interval when scroll positions stop changing, independent of
history state
Additional changes:
- remove unused `throttle()` function
- move guarded block to inside `onScrollEnd()` since using history
navigation will trigger our "popstate" callback and fire additional
"scroll" and "scrollend" events, causing redundant expensive calls to
`replaceState()`
* adds changeset
---------
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
2024-03-03 16:59:19 +01:00
Houston (Bot)
2db9031a9f
[ci] release ( #10292 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-02 00:42:07 -08:00
Ben Holmes
3488be9b59
finalize WIP API ( #10280 )
...
* feat: no more readable / writable
* fix: table typegen
* wip: move data seeding
* chore: add scripts to basics
* feat: data() -> seed file
* refactor: ensure precedence of file name
* feat: db execute command
* fix: test imports
* chore: remove old readable error tests
* feat: support local db with `db execute`
* refactor: remove integrations from test for now
* chore: stray comment
* chore: remove `table` config object
* feat: `db.batch`!
* refactor: move migrations/ inside db/
* fix: move ticketing-example to seed file
* fix: disable foreign keys when recreating tables
* refactor: standardize migrations dir
* feat: move to db/config.ts
* feat: file watching for db/config.ts dependencies
* feat: remove unsafeDisableStudio
* chroe: remove bad import
* feat: parse config.ts from cli
* chore: remove async from localDatabaseClient
* fix: update recipes config and seed
* chore: update unit tests
* chore: update tests to dev server
* refactor: collectionToTable -> asDrizzleTable
* chore: tidy up collection -> table error states
* refactor: regexp -> endsWith
* feat: pretty error inserting into table
* refactor: try/catch -> catch()
* feat: expose utils for integration seed files
* fix: add config import to db client modules
* fix: just use generic "seeding database" error
* chore: remove unused link args
* fix: migration queries im,port
* chore: remove irrelevant glob/ example
* feat: format migration file path
* feat: support all config file names
* chore: remove db.batch() for now
* chore: remove `db` object
* core: remove unused integration file
* chore: changeset
* fix: foreign key empty error message
* chore: remove old TODO
* fix: bad context reference
* refactor: seedDev -> seedLocal
* wip: throw some console logs at github
* wip: avoid seeding astro:db imported by seed file
* wip: use anything in db/
* refactor: only seed when loaded within srcDir
* refactor: avoid resolution when not seeding
* chore: remove logs
* refactor: seed within create local db client
* refactor: use normalizePath
* wip: logs
* wip: logs
* refactor: early return
* chore: more logs
* refactor: no batch
* fix: use beforeAll
* refactor: move all tests to base block
* wip: log dev server starting
* chore: remove logs
* wip: demo ready
* chore: remove duplicate recreateTables() call
* Revert "wip: demo ready"
This reverts commit 37585ce5cb
.
* refactor: beforeEach to isolate dev servers
* chore: remove useBundledDbUrl
* refactor: naming and seed scope
* chore: remove stray console logs
* wip: fix windows file import
* wip: try fileURLToPath
* Revert "wip: try fileURLToPath"
This reverts commit 46fd65d61a
.
* Revert "wip: fix windows file import"
This reverts commit 1a669ea646
.
* refactor: dir -> directory
* refactor: move execute file to cli
* refactor: remove seed.dev convention
* wip: attempt fileURLToPath
* wip: debug the file exists
* fix: use mjs??
* chore: remove duplicate seedLocal
* chore: remove log check
* refactor: use in memory db for tests
* chore: clean up test comment
* fix: avoid file writes for db setup on in memory db
* chore: bump db changeset to minor
---------
Co-authored-by: Nate Moore <nate@astro.build>
2024-03-01 19:29:55 -05:00
Erika
a548a3a99c
fix(markdoc & mdx): Proxy crimes ( #10278 )
...
* fix(markdoc & mdx): Proxy cimes
* chore: changeset
2024-03-01 15:48:38 +01:00
Houston (Bot)
87a3d51f2c
[ci] release ( #10286 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-01 12:10:51 +00:00
Erika
5e3e74b61d
fix(audits): Don't warn about loading on data URIs ( #10275 )
2024-03-01 11:41:43 +01:00
Erika
d5277df5a4
fix(node): Safely create requests ( #10285 )
...
* fix(node): Wrap request creation in try catch
* chore: changeset
2024-03-01 10:26:28 +00:00
Houston (Bot)
afd41cc28b
[ci] release ( #10265 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-01 10:31:12 +01:00
Erika
07f89429a1
fix(assets): Solidify Node endpoint ( #10284 )
...
* fix(assets): Solidify Node endpoint
* chore: changeset
2024-03-01 10:23:07 +01:00
Satanshu Mishra
b47dcaa259
fix(node): listen on 0.0.0.0 if server.host is set to true ( #10282 )
...
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
Co-authored-by: Kevin Zuniga Cuellar <46791833+kevinzunigacuellar@users.noreply.github.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-03-01 09:32:22 +01:00
Arsh
e556151603
fix(dev): cosider base
when special-casing /_image
( #10274 )
...
* fix(dev): cosider `base` when special-casing `/_image`
* add changeset
* adjust tests
* Apply suggestions from code review
* add test
2024-03-01 00:08:01 +05:30
Martin Trapp
9bdbed723e
Adds auto completion of astro:
events when adding or removing event listeners on document
( #10263 )
2024-02-28 16:52:08 +01:00
Houston (Bot)
e56c428f3b
[ci] release ( #10236 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-28 13:17:40 +00:00
Furkan Erdem
57655a99db
fix(i18n): localised index pages are overwritten ( #10250 )
...
* fix(i18n): localised index pages are overwritten
* chore: add changeset
* chore: add pnpm lock
2024-02-28 13:08:49 +00:00
Emanuele Stoppa
8ae5d99534
fix: change strategy for route caching ( #10248 )
...
* fix: change strategy for route caching
* use route and component as cache key
2024-02-28 11:59:50 +00:00
Ming-jun Lu
9b00de0a76
Fix TypeScript type definitions for Code
component ( #10251 )
...
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-02-28 10:43:24 +08:00
Martin Trapp
bb644ab99c
chang changeset ( #10253 )
2024-02-27 17:37:29 +00:00
Martin Trapp
fb773c9161
Removes morph animations when setting transition:animate=none ( #10247 )
...
* Removes morph animations when setting transition:animate=none
* Apply suggestions from code review
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-02-27 22:46:32 +05:30
Erika
dbb0d0bd28
Fix Svelte editor tooling not working under relaxed TypeScripts projects ( #10244 )
...
* fix(svelte): Add TypeScript as a peer dep
* Update .changeset/gold-baboons-drum.md
2024-02-27 16:25:59 +01:00
Ming-jun Lu
9c21a9df6b
Improve the message of MiddlewareCantBeLoaded
for clarity ( #10239 )
...
* Improve the message of `MiddlewareCantBeLoaded` for clarity
* Add changeset
2024-02-27 07:17:51 +00:00
Martin Trapp
ade9759cae
Warn when view transitions run on a prefer-reduced-motion device ( #10222 )
...
* Warn when view transitions run on a prefere-reduced-motion device
* ViewTransitions.astro aktualisieren
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-02-26 17:04:57 +01:00
Houston (Bot)
6012163d8f
[ci] release ( #10218 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-26 15:33:39 +00:00
James Ross
e64bd0740b
fix: better assetsInlineLimit runtime type checking ( #10154 )
...
* fix: string assetsInlineLimit
* fix: better handle NaN values for `assetsInlineLimit`
* chore: prettier
* chore: simplify for requested changes
* chore: update changeset
* chore: remove tests
* chore: simplify function
* Apply suggestions from code review
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-02-26 20:12:42 +05:30
Ben Holmes
aa45eb9fa6
fix: correct remote url ( #10223 )
...
* fix: get correct url
* chore: changeset
* fix: respect runtime env
2024-02-26 08:44:43 -05:00
Erika
1eadb1c529
fix(toolbar): Make it so every built-in app can be closed by outside clicks ( #10220 )
...
* fix(toolbar): Make it so every built-in app can be closed by outside clicks
* chore: changeset
* test: add tests
* test: fix test
* ci: don't run bundle-size on dev-toolba
2024-02-26 13:38:19 +00:00
Ming-jun Lu
ae2a10e1a7
Fix an issue where Vercel adapter may create functions for prerendered routes ( #10231 )
...
* fix: fix an issue where Vercel adapter may create functions for prerendered routes
* test: update test cases in `split.test.js`
* chore: add changeset
* refactor: apply suggested changes from code review
* Apply suggestions from code review
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-02-26 18:58:49 +05:30
Matthew Phillips
afcb9d3311
Fix hydration scripts missing from dynamic slot usage ( #10219 )
2024-02-26 08:38:11 +00:00
Matthew Phillips
4db82d9c7d
Prevent errors in rendering from crashing server ( #10221 )
...
* Prevent errors in rendering from crashing server
* Add changeset
* Make the reject an error
* Simplify
* Update .changeset/breezy-pears-admire.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-02-26 08:36:43 +00:00
前端子鱼
84502b4190
fix: svelte 5 mount/hydrate api change. ( #10224 )
2024-02-26 16:10:47 +08:00
Arsh
8fb32f390d
prevent warning: Astro.request.headers
is not available in "static" output mode ( #10196 )
2024-02-24 17:05:16 +05:30
Ben Holmes
5d4ff093a2
Improved error logging from config ( #10207 )
...
* fix: better error messaging on seed()
* chore: collection -> table for errors
* chore: changeset
2024-02-23 17:01:33 -05:00
Arsh
6aa660ae7a
fix(dev): remove params for prerendered pages ( #10199 )
...
* fix(dev): remove params for prerendered pages
* add test
* add changset
* deduplicate param removal
* format
* adjust tests
2024-02-23 20:56:34 +05:30
Houston (Bot)
3de7b2c7ec
[ci] release ( #10213 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-23 09:31:55 -05:00
Matthew Phillips
a013182d32
Fixes edge middleware calling nested routes ( #10215 )
2024-02-23 09:13:10 -05:00
Martin Trapp
459f74bc71
Adds an error message for non-string transition:name values ( #10205 )
2024-02-23 09:00:52 -05:00
Furkan Erdem
8cd38f0245
Fix(node): Custom headers are not present in responses from standalone Node server in preview mode ( #10208 )
...
* fix(node): add user specified headers to preview server responses
* docs: clarify comment
* style: new line
* test: remove test
* chore: add changeset
2024-02-23 08:23:33 -05:00
Matthew Phillips
f85ace2e66
@astrojs/db prerelease
2024-02-23 08:15:00 -05:00
Nworm
903eace233
fix(core): build failure caused by read-only files ( #10195 )
...
* fix(core): build failure caused by read-only files
* test: fix fixtures/build-readonly-file
* other: format code
2024-02-23 11:36:53 +00:00
Houston (Bot)
3411e05ee4
[ci] release ( #10203 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-22 14:37:35 -05:00
Erika
c692d0c66a
fix: try the simple solution ( #10200 )
2024-02-22 14:21:31 -05:00
Houston (Bot)
0b4e5298d2
[ci] release ( #10192 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-22 11:17:25 -05:00
Matthew Phillips
3cc2010927
Fix cssesc from breaking browser code ( #10194 )
...
* Fix cssesc from breaking browser code
* Include specific thing instead
* Update .changeset/quick-bottles-march.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* Fix ISR
* Remove query stripping altogether
* Warn on client usage
* Fix build
* oops
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-02-22 11:11:41 -05:00
Erika
c856c72940
fix(errors): Remove duplicate logging of errors ( #10197 )
...
* fix(errors): Remove duplicate logging of errors
* chore: changeset
2024-02-22 16:41:05 +01:00
Bjorn Lu
598f30c7cd
Improve Astro style HMR for imported styles ( #10166 )
2024-02-22 22:19:06 +08:00
Bjorn Lu
7c5fcd2fa8
Improve optimizeDeps.entries
to avoid server endpoints ( #10143 )
2024-02-22 18:36:06 +08:00
Houston (Bot)
2c2519204a
[ci] release ( #10177 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-21 14:40:40 -06:00
Emanuele Stoppa
6343f6a438
Revert "Add option to prefix sitemap" ( #10179 )
...
* Revert "Add option to prefix sitemap (#9846 )"
This reverts commit 9b78c99275
.
* changeset
* feedabck
* fix incorrect merging
2024-02-21 14:27:00 +00:00
Piotr Losiak
ec7d2ebbd9
fix(sitemap): url when rest parameter is used in page file names ( #9975 )
...
* fix(sitemap): url when rest parameter is used in page file names
* Update .changeset/sour-ties-sparkle.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* Apply suggestions from code review
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-02-21 07:43:22 +00:00
Emanuele Stoppa
a46249173e
fix(i18n): move transformation outside the user schema ( #10169 )
...
* fix(i18n): move transformation outside the user schema
* fix condition
* cleanup
* ops
* fix regression
2024-02-21 07:42:06 +00:00
Houston (Bot)
052d3271d4
[ci] release ( #10131 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-20 20:18:30 +05:30
Arsh
5acc3135ba
refactor: pipeline lifetime ( #9795 )
...
* Base Environment
* SSRRoutePipeline -> AppEnvironment
* BuildPipeline -> BuildEnvironment
* DevPipeline -> DevEnvironment
* per-request pipeline
* internal middleware: i18n
* delete callEndpoint
* pipeline access for internal middleware
* Address review comments
`environment.ts` is now lives directly in `src/core`, rather than `src/core/render`.
`environment.createPipeline` is removed. `Pipeline.create` is used instead.
Constructors with positional arguments are replaced by `Environment.create` with named arguments.
Clarifies the use of `HiddenPipeline`.
* migrate some of `RenderContext`'s responsibilities to `Pipeline`
* delete renderPage
* RenderContext.params -> Pipeline.params
* delete `RenderContext`
* `Pipeline` -> `RenderContext`
* `Environment` -> `Pipeline`
* `AppEnvironment` -> `AppPipeline`
* `BuildEnvironment` -> `BuildPipeline`
* `DevEnvironment` -> `DevPipeline`
* provide locals directly to renderContext
* add changeset
2024-02-20 20:10:13 +05:30
ktym4a
80f8996514
Fix to get Integration Data even when a page is transitioned by ViewTransition ( #10079 )
...
* Fix to get Integration Data even when a page is transitioned by ViewTransition.
* add test case
* add changeset
* fix test
* Fix typo
2024-02-20 14:09:20 +01:00
Ming-jun Lu
b92d35f102
Fix an issue where audit fails to initialize when encountered <a>
inside <svg>
( #10163 )
...
* Fix an issue where audit fails to initialize when encountered `<a>` inside `<svg>`
* Add changeset
2024-02-20 11:22:05 +01:00
Emanuele Stoppa
d50dddb71d
fix(i18n): make i18n.routing
fields optional ( #10165 )
...
* fix(i18n): make `i18n.routing` fields optional
* update user config
* Update packages/astro/src/core/config/schema.ts
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
---------
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2024-02-20 10:17:40 +00:00
ktym4a
9b78c99275
Add option to prefix sitemap ( #9846 )
...
* Add option to prefix sitemap
* Fix call resolve twice
* let to const
* Apply suggestions from code review
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* change changeset patch to minor
* use node:test
* Update changeset
* Add regex validation for prefix
* Update .changeset/eighty-falcons-tease.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update prefix regex in SitemapOptionsSchema
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-02-20 08:36:09 +00:00
Bjorn Lu
3c73441eb2
Fix Astro HMR style-only change detection ( #10139 )
2024-02-19 21:56:13 +08:00
Bjorn Lu
1da9c5f2f3
Remove server-destroy dependency ( #10132 )
2024-02-15 22:59:03 +08:00
Mohamed
1f598b3724
fix(cli): load polyfill before loading config during astro add
( #10105 )
...
* Adds crypto import to Vercel adapter
* Update the 'crypto' import to 'node:crypto'
* load polyfills before loading config
* add changeset
* load polyfills for `astro info`, `astro preferences` etc
* update changeset
* clarify impact
---------
Co-authored-by: lilnasy <69170106+lilnasy@users.noreply.github.com>
2024-02-15 07:42:03 -07:00
Houston (Bot)
141f2fb757
[ci] release ( #10109 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-15 12:00:03 +01:00
Oliver Speir
91f75afbc6
Add inferSize
to getImage so width and height are optional for remote images ( #9976 )
...
* add remote image dimension probing, and param for getImage options, and new astro error
* add inferSize parameter to getImage, which probes remote image size, and respective types to picture and image component
* add fixture and tests
* add changeset
* attempt to fix pnpm-lock.yaml
* fix pnpm-lock.yaml again
* pnpm-lock spacing
* fix pnpm-lock AGAIN
* better description of error for docgen
* improve failed to probe error message and correct required dimensions error
* increase timeout for mdx tests
* increasing mdx timeout to 2min to see if it passes, will reduce if it does
* setting mdx timeout to 70 seconds
* Update packages/astro/src/assets/services/service.ts
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
* refactor to move logic to getImage instead of validateOptions and to not add a third type to image and picture
* fix broken link created by docs PR
* remove the probe-image-size library due to its use of node APIs
* undo all changes to service.ts that were left after moving inferSize logic to getImage
* update error message
* remove probe-image-size library all together, update error message, add vendored version of complete image-size library instead of refactored version
* Update .changeset/tame-cameras-change.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/tame-cameras-change.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* reword the error message based on Sarah's previous review
* remove probe-image-size from pnpmlock
* fix lockfile?
* update error message name
* move image-size into vendor folder
* add eslint ignore to a line in image-size
* test if change to mdx test timeout was needed
* Update .changeset/tame-cameras-change.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* update changset syntax
* patch parse heif to account for filetype block being out of order
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-02-15 10:24:03 +01:00
Bjorn Lu
787e6f5247
Update to Vite 5.1 ( #10120 )
2024-02-15 17:20:38 +08:00
Arsh
4bcc249a9f
fix(dev): preload matched routes sequentially ( #10116 )
...
* fix(dev): preload matched routes sequentially
* add changeset
2024-02-14 17:27:53 -05:00
Hippo
51b6ff7403
Fix invalid URLs being returned from getRegistry
, synchronize all copies ( #10117 )
2024-02-14 17:27:18 -05:00
Erika
476b79a611
Rename Astro app to astro:home ( #10112 )
...
* Rename Astro app to astro:home
* Create silent-hotels-approve.md
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-02-14 16:37:37 +01:00
Matthew Phillips
d469bebd7b
Improve Node.js performance using an AsyncIterable ( #9614 )
...
* Improve Node.js performance using an AsyncIterable
* Oops
* Get rid of extra abstraction
* Update .changeset/hip-cherries-behave.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* Check if already resolved
* Resolve on done
* Get rid of unneeded "done"
* Done when length is zero
* Let errors resolve
* Update packages/astro/src/runtime/server/render/astro/render.ts
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Move doctype to top-level
* Document the new function
* Update .changeset/hip-cherries-behave.md
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Update .changeset/hip-cherries-behave.md
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-02-14 10:14:05 -05:00
Martin Trapp
b340f8fe3a
Re-encode view-transition-names ( #10099 )
...
* Fixes an issue with view transition names containing spaces or punctuation.
* reworked, more robust approach
* better readability and also escapes the escape character (_)
* update changeset
* add comemnts to describe the re-encoding
* updated changeset
* typos
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* simplify decoding it ever required.
* better coverage and now also checks animation behavior
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-02-14 14:07:31 +00:00
Erika
7443929381
feat(audits): Add UI with list of audits ( #10074 )
...
* feat(audits): Add UI with list of audits
* style: slightly better UI
* requested design changes
* chore: changeset
* add test
* remove unwanted file
2024-02-14 14:46:36 +01:00
Erika
6884b103c8
feat(audits): Add initial perf audits ( #10015 )
...
* feat(audits): Add initial perf audits
* feat(audits): Setup dev astro-island
* fix(audits): Don't take scroll into account when getting an element's position
* nit: lint
* Fix tests
* chore: changeset
* maybe: Move this.hydrator outside the perf check
* Update packages/astro/e2e/dev-toolbar.test.js
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* address feedback
* address feedback
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-02-14 14:01:53 +01:00
Ben Holmes
748b2e87cd
Refine content collection warnings ( #10001 )
...
* feat: remove nonexistent collection warning
* fix: remove markdown syntax from console.warn
* fix: respect configured collections in types when dir is missing
* chore: changeset
* chore: revert test schema
* docs: "Removes"
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
---------
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2024-02-14 10:09:31 +00:00
Luiz Ferraz
227cd83a51
Fixes regression on routing priority for multi-layer index pages ( #10096 )
...
* Reproduce regression
* Simplify sorting algorithm
* Add changeset
* Fix changeset typo
* Rename assertion utility function
* Fix index detection
* Add changeset for index fix
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-02-14 10:06:38 +00:00
Houston (Bot)
e24db1d8a6
[ci] release ( #10092 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-13 14:25:59 -07:00
Arsh
71273edbb4
qol(islands): improve hydration errors ( #10075 )
...
* improve error messages for island hydration
* add changeset
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-02-13 10:28:28 -07:00
YS.Y
73bd900754
Fixes audit when multiple role
values exist. ( #9857 )
...
* fix: Fixing the issue of errors caused by multiple values in the role, when multiple roles exist, check each role.
fix #9856
* Update .changeset/eight-flowers-remain.md
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-02-13 11:27:33 -06:00
Florian Lefebvre
2ffc5721bc
fix(vercel): trailing slash conflict ( #10082 )
2024-02-13 11:36:22 +00:00
Ming-jun Lu
d9266c4467
Fix an issue where ReadableStream wasn't canceled in dev mode ( #9971 )
...
* Fix an issue where ReadableStream wasn't canceled in dev mode
* Add changeset
* add test
---------
Co-authored-by: lilnasy <69170106+lilnasy@users.noreply.github.com>
2024-02-13 11:28:14 +00:00
Arsh
8106178043
qol(routing): improve endpoint error message ( #10072 )
...
* Clarify error messages in endpoint routing.
* add changeset
2024-02-12 20:55:46 +05:30
Houston (Bot)
7371e1b5fc
[ci] release ( #10029 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-12 14:25:50 +00:00
Marawan Mohamed
dac759798c
Fix and update shikiji core ( #10063 )
...
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-02-12 21:26:25 +08:00
Arsh
1810309e65
fix(integration api): improve module resolution ( #10060 )
...
* fix(integration api): improve module resolution
* add changeset
2024-02-09 08:22:04 -07:00
Emanuele Stoppa
989ea63bb2
fix(i18n): regression where emitted URLs had //
( #10067 )
...
* fix(i18n): regression
* fix(i18n): regression
* fix bug regression
* remove double changeset
2024-02-09 14:58:09 +00:00
Erika
14ce8a6ebf
feat(markdoc): Add support for using a custom component for images ( #9958 )
...
* feat(markdoc): Add support for using a custom component for images
* chore: changeset
* test: add test
* Update .changeset/shaggy-spies-sit.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-02-08 07:54:40 +01:00
ktym4a
8fb67c81bb
Change view transitions rule ( #9991 )
...
* WIP: change view transitions rule
* Apply suggestions from code review
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
* add changeset
* Apply suggestions from code review
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
---------
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
2024-02-07 23:49:10 +01:00
Houston (Bot)
ef00224a86
[ci] release ( #10018 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-07 23:55:29 +05:30
Arsh
3fc76efb2a
fix(astro:content): include required type declarations ( #10022 )
...
* include types/content.d.ts
* add changeset
* Update .changeset/cool-walls-fail.md
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-02-07 23:48:09 +05:30
StandardGage
20ca3154fb
Fix Issues with passing void elements to React with experimentalReactChildren
flag set ( #9849 )
...
* Create simple react element if element has no children
* Fix for when element has text
* add changeset
* minor -> patch
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-02-07 23:38:44 +05:30
Arsh
0699f34d5c
feat(vercel): middleware verification ( #9987 )
...
* feat(vercel): verification for edge middleware
* add changeset
* Apply suggestions from code review
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-02-07 21:39:39 +05:30
Emanuele Stoppa
037e4f12dd
fix(i18n): don't consider URLs that start with the name of the defaut locale ( #10016 )
2024-02-07 14:42:51 +00:00
Houston (Bot)
fa9218e836
[ci] release ( #10014 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-07 15:38:45 +01:00
Chris Swithinbank
e6b5306a7d
Move astro:content
types declaration to manual ambient module ( #10013 )
...
* Move `astro:content` types declaration to manual ambient module
* Add changeset
---------
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-02-07 13:58:11 +00:00
Arsh
e2fe51c828
feat(vercel): ISR ( #9714 )
...
* feat(vercel): isr
* bypass token
* exclusion of certain paths
* add test
* remove search params in dev mode
* Apply suggestions from code review
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Apply suggestions from code review
* Apply suggestions from code review
* fix missing await
* escape src for regex
* cleanup
* revalidate -> expiration
* update type docs
* always exclude /_image
* add changeset
* Apply suggestions from code review
* always create serverless function for /_image
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Apply suggestions from code review
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-02-07 19:06:37 +05:30
Ben Holmes
ce4283331f
Fix: support strict()
on content collection schemas when slug
is present ( #10003 )
...
* fix: use correct data object when parsing schema
* feat(test): add `strict()` to slug schema test
* chore: changeset
* docs: "Adds support for"
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
---------
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2024-02-07 07:26:16 -05:00
Houston (Bot)
e4999083bf
[ci] release ( #9973 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-06 16:28:12 +00:00
Emanuele Stoppa
18ac0940ea
fix(i18n): fix regression in current locale ( #9998 )
...
* fix(i18n): fix regression in current locale
* Update .changeset/shy-wolves-ring.md
* Update packages/astro/test/i18n-routing.test.js
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* Update .changeset/six-fishes-beg.md
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* fix test case
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-02-06 16:13:15 +00:00
Happydev
c53a31321a
Revert "fix(compiler): Support dynamic slot names ( #9605 )" ( #9999 )
...
* Revert "fix(compiler): Support dynamic slot names (#9605 )"
This reverts commit 8ce40a417c
.
* chore: changeset
* Update .changeset/weak-pans-sit.md
* chore: bump compiler version
* fix failing test
We were expecting the source code to produce an error, but in
2.4.0 of the compiler, that generates valid code
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-02-06 16:44:02 +01:00
Matthew Phillips
81acac24a3
Fix HMR in MDX deps in Content Collections ( #9956 )
...
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-02-06 22:56:22 +08:00
Florian Lefebvre
3c0876cbed
feat(astro): improve astro:content
types ( #9906 )
...
* feat: improve stro:content types
* fix: do not change tsconfig
* "astro/zod" -> "zod"
* `CollectionConfig` parameter extends `BaseSchema`
* fix: update import to zod
* feat: add fallbacks for every export
* Update .changeset/young-bulldogs-tickle.md
---------
Co-authored-by: lilnasy <69170106+lilnasy@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-02-05 11:53:18 -06:00
Marco Campos
8b8f26fdf2
FIX: allow rss feeds to have an enclosure with length of 0 ( #9967 )
...
* fix: allow rss feeds to have an enclosure with length of 0
* chore: add changeset
* fix: typo on test
* fix: update changeset description
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-02-04 20:42:26 +01:00
Houston (Bot)
57ab98f531
[ci] release ( #9948 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-02 15:59:15 -05:00
Matthew Phillips
bc1742df94
Revert "Provide better ignores for Vercel's file tracer ( #9885 )" ( #9955 )
...
* Revert "Provide better ignores for Vercel's file tracer (#9885 )"
This reverts commit 49e0c24d7f
.
* Changeset
2024-02-02 15:43:30 -05:00
ktym4a
6c894af5ab
Fix: 404.html load correctly on preview ( #9907 )
...
* Move vite 404 middleware
* Add custom 404.html rendering test for preview routing
* add a changest
* add TODO comment
2024-02-02 22:28:08 +05:30
Emanuele Stoppa
9f0d89fa7e
fix: don't log warning if i18nDomains
isn't enabled ( #9932 )
...
* fix: don't log warning if isn't enabled
* fix regression
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-02-02 13:40:00 +00:00
Houston (Bot)
2ac371404d
[ci] release ( #9926 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-01 17:15:45 -05:00
Nate Moore
9d2fdb293d
Improve astro sync
error handling ( #9888 )
...
* fix(#9711 ): improve `astro sync` error handling
* Update .changeset/healthy-jokes-deny.md
* update unit tests
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-02-01 16:59:14 -05:00
Arsh
1568afb78a
fix(middleware): load while retrieving ssr manifest for prerendering ( #9938 )
...
* fix(middleware): load while retrieving ssr manifest for prerendering
* add test
* add changeset
2024-02-01 16:46:42 -05:00
Arsh
4467441896
fix(NodeApp): fix responses with null bodies never completing ( #9931 )
...
* fix(NodeApp): fix responses with null bodies never completing
* add changeset
* add test
* chore(tests): restore correct assertions
* adjust incorrect test
* added Astro.redirect and Response.redirect test cases
* updated incorrect HTTP status
* adjust api-routes.test.js after cherry-pick
* bup markdoc test timeout
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Friedemann Sommer <friedemannsommer@users.noreply.github.com>
2024-02-01 16:24:21 -05:00
Kristian Binau
27ea080e24
fix: use publicDir & base for 'include your base in url' error message ( #9841 )
...
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-02-01 23:13:58 +08:00
Larry Ivan Villegas Costas
d52529e094
Add a name property for DetailsHTMLAttributes ( #9918 )
...
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-02-01 23:02:47 +08:00
Houston (Bot)
2561c99598
[ci] release ( #9904 )
...
* [ci] release
* Update packages/astro/CHANGELOG.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/integrations/vercel/CHANGELOG.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/CHANGELOG.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-02-01 10:04:19 +00:00
Arsh
2f6d1faa6f
fix(NodeApp): end with "Internal server error" on mid-stream error ( #9908 )
...
* fix(NodeApp): end with "Internal server error" on mid-stream error
* add changeset
* add test
* Apply suggestions from code review
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-02-01 07:02:40 +00:00
Nate Moore
aaedb848b1
Silently ignore adapters that don't export start()
( #9911 )
2024-01-31 13:51:56 -06:00
Matthew Phillips
49e0c24d7f
Provide better ignores for Vercel's file tracer ( #9885 )
...
* Provide better ignores for Vercel's file tracer
* Improve the changeset
2024-01-31 10:30:35 -05:00
Fabian Kachlock
7be5f94dcf
fix: content types reference to config on windows ( #9877 )
...
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-31 23:28:23 +08:00
Matthew Phillips
fad4f64aa1
Implements build.format: 'preserve' ( #9764 )
...
* Implements build.format: 'preserve'
* Restructure test
* Add a test for base
* Update .changeset/tame-flies-confess.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* Add trailing slash + i18n testing
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/tame-flies-confess.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* tiny punctuation/conjunction nit fixes
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-31 14:39:20 +00:00
Oliver Speir
d4b886141b
Allow images in content collections folder to be used without relative import prefix ( #9755 )
...
* adds the ./ prefix to the import statement for user
* remove accidental new line added
* add tests
* add changeset
* Update young-eyes-film.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-31 13:59:06 +00:00
Bjorn Lu
7d937c1589
Add CLI shortcuts ( #9159 )
...
* Add CLI shortcuts
* Update changeset
* Remove server urls shortcut
* feat: improve CLI shortcut formatting
* chore: remove unused import
* Cleanup
* Cleanup
---------
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-01-31 13:57:34 +00:00
Erika
58f9e393a1
Add ComponentProps
util ( #9839 )
...
* chore: changeset
* Update .changeset/cuddly-moons-hang.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-31 13:56:44 +00:00
Emanuele Stoppa
041fdd5c89
feat(i18n): domain support ( #9143 )
...
* i18n(domains): validation and updated logic (#9099 )
* feat(i18n): domain with lookup table (#9112 )
* chore: add changelog, fix types and enable experimental support in node/vercel
* rebase and update lock file
* chore: fix failing test
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
* Update .changeset/tidy-carrots-jump.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* wip
* chore: rebase, conflicts and tests
* update lock file
* chore: correct configuration
* chore: correct configuration
* fix: regressions
* chore: fix conflicts and add more tests
* chore: add more validation
* chore: more tests and add more restrictions
* fix changeset
* change and revert adapters
* add another restriction
* lock file update
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* wat
* fix syntax error
* fix config example
* Fix for #9673 (#9680 )
* Fix for #9673
* 🦋 add changeset file
* Update breezy-plants-smoke.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* ⚡ ️ simplified normalizeConfigPath
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* Fix env var replacement for export const prerender (#9807 )
* feat(alpinejs): allow customizing the Alpine instance (#9751 )
* feat(alpinejs): allows customzing the Alpine instance
* chore: add e2e tests
* fix: rename script
* Update index.ts
* fix: lockfile
* [ci] format
* chore: use correct lock file
* chore: rebase
* fix regressions in tests
* fix regressions in tests
* fix build
* add description
* fix missing types
* chore: fix tests, again :D
* eslint
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* chore: address feedback
* chore: fix regressions
* chore: refactor naming
* Update packages/astro/src/core/app/index.ts
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* chore: address feedback
* update lock file
* chore: infer routing from options, not strategy
* merge from main
* merge from main
* Experimental support in vercel adapter
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/tidy-carrots-jump.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* better changesets
* Updates both experimental.i18nDomains and i18ndomains for experimental strategy
* fix link syntax
* consistent tabs/spaces
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* apply suggestion
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Lou Cyx <git@lou.cx>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Florian Lefebvre <ematipico@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-31 13:55:03 +00:00
Houston (Bot)
43391ac60d
[ci] release ( #9879 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-31 10:40:01 +00:00
Arsh
37369550ab
fix(dev): prevent comma-separating multiple Set-Cookie headers ( #9884 )
...
* fix(dev): prevent comma-separating multiple Set-Cookie headers
* add changeset
* add test
2024-01-31 06:07:25 +00:00
Nate Moore
13c3b712c7
Improves YAML error handling consistency ( #9882 )
...
* fix: improves yaml error handling consistency
* chore: add changeset
2024-01-30 17:16:31 -06:00
Arsh
a40a0ff588
fix(ssg): consider trailingSlash for url ( #9878 )
...
* fix(ssg): consider trailingSlash for url
* add changeset
2024-01-30 22:46:10 +05:30
Friedemann Sommer
e9027f194b
Fix endpoint response with immutable header ( #9876 )
...
* add test
* added runtime endpoint test for `new Response`
* added `try..catch` for reroute directive handling
Fixes #9871
* added changeset
* replaced `try..catch` with HTTP status code check
based on the suggestion of @lilnasy
* updated changeset description
* added more tests for the endpoint reroute header
* fixed grammar in `renderEndpoint` comment
* updated endpoint tests to check for the reroute directive header in lower-case
* updated changeset description
2024-01-30 22:45:26 +05:30
Houston (Bot)
3a50cbf6ed
[ci] release ( #9843 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-30 15:41:06 +00:00
ktym4a
44c957f893
Fix a bug that Japanese files were not displayed correctly. ( #9866 )
...
* Fix: Fix a bug that Japanese files were not displayed correctly.
* chore: generate change description
* Update .changeset/cool-colts-watch.md
* add test case for non-UTF-8 file name
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-01-29 16:42:44 +00:00
Arsh
0a06d87a1e
fix(i18n): use define
to deliver config to virtual module ( #9838 )
...
* fix(i18n): use import.meta.env to deliver config to virtual module
* add changeset
* prevent destructing i18n config unless enabled
* use defined variable instead
* Update packages/astro/src/i18n/vite-plugin-i18n.ts
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-01-29 21:13:14 +05:30
Emanuele Stoppa
00ba9f1947
fix(i18n): compute current locale from route instead of request ( #9865 )
...
* fix(i18n): compute current locale from route instead of request
* Update .changeset/large-kangaroos-camp.md
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-01-29 14:47:40 +00:00
Chris Swithinbank
70fdf1a5c6
Expose ContentConfig
type from astro:content
( #9840 )
...
* Expose `ContentConfig` type from `astro:content`
* Add changeset
2024-01-27 06:44:37 +00:00
Houston (Bot)
a407eb5ac2
[ci] release ( #9837 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-26 17:33:19 -06:00
Erika
1885cea308
fix(toolbar): Fix loading third-party apps using absolute paths ( #9834 )
...
* fix(toolbar): Fix loading third-party apps using absolute paths
* chore: changeset
* fix: pass entrypoint correctly
* Update .changeset/real-lamps-design.md
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-26 17:22:56 -06:00
Tugrul Ates
e4370e9e9d
fix(audit): mark widget roles as interactive ( #9825 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-26 16:41:23 -06:00
Emanuele Stoppa
a3df9d83ca
fix(core): don't noop shared modules ( #9828 )
...
* fix(core): don't noop shared modules
* address feedback
* add test
* changeset
* check astro pages
* address feedback
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-26 17:17:32 +00:00
Houston (Bot)
8281ebddaa
[ci] release ( #9802 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-26 13:30:42 +00:00
liruifengv
bd880e8437
fix: fix transition:name
can be unicode ( #9822 )
...
* fix: fix `transition:name` can be unicode
* delete prefix -
* use for func
* add changeset
* Update .changeset/cold-bobcats-shave.md
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
* fix review issue
* fix review issue
* add comment
* add \ to regex
* fix some issue
* delete unused import
* remove a rule
* remove valid rule --
* Update transition.ts
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
* Update transition.ts
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
* Update transition.ts
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
* Update transition.ts
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
* Update transition.ts
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
* Update transition.ts
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
* Update transition.ts
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
* format
* use cssesc to escape name
* test: add e2e test
* add charset for layout
* use the raw value for e2e test
* use cssesc instead of toValidIdent
* uncomment
---------
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-26 10:44:54 +01:00
Arsh
dc75180aa6
refactor: singular middleware ( #9776 )
...
* per-route middleware -> singular middleware
* add changeset
* emit middleware.mjs only when user middleware exists
* Apply suggestions from code review
2024-01-26 01:08:15 +05:30
Arsh
f3d22136e5
fix(dev): dont reroute endpoint responses ( #9830 )
...
* fix(dev): dont reroute endpoint responses
* factor out header name as a const
* add test case
* add changeset
2024-01-25 18:06:30 +00:00
Erika
d688954c5a
fix(errors): Add more information to some error messages ( #9818 )
...
* fix(errors): Add more information to some error messages
* chore: changeset
* Apply suggestions from code review
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-25 10:45:53 -05:00
Marvin
a12196d6b5
feat(node): add trailingSlash support ( #9080 )
...
* feat(node): add trailing slash support
* add changeset
* test(node): add base route test in trailing-slash.js
detected an infinite loop in base path when trailingSlash: never
* fix(node): avoid infinite redirect when trailingSlash: never
* address test failures after rebase pt.1
* address test failures after rebase pt.2
---------
Co-authored-by: lilnasy <69170106+lilnasy@users.noreply.github.com>
2024-01-25 10:23:27 +00:00
Florian Lefebvre
fecba30a1a
fix(create-astro): @astrojs/check and typescript addition ( #9813 )
...
* fix(create-astro): @astrojs/check and typescript addition
* Update packages/create-astro/src/actions/typescript.ts
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Update packages/create-astro/src/messages.ts
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* fix: remove useless block
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-24 16:20:47 -06:00
Erika
2a44c8f932
feat: Add telemetry for toolbar apps ( #9816 )
...
* feat: server side event
* feat: send events to server
* fix: use proper event
* fix: remove unnecessary changes
* chore: changeset
* Update .changeset/spicy-tips-remember.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* fix: use id
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-24 15:13:51 -05:00
Arsh
3435b7f1e1
fix(vercel): make Astro.cookies work again ( #9809 )
...
* addCookieHeaders
* add changeset
2024-01-24 22:47:33 +05:30
Arsh
267c5aa2c7
refactor: unsplit astro:i18n
module ( #9790 )
...
* unsplit virtual module
* add changeset
* elaborate on Unreachable exception
* i18nNotEnabled error
2024-01-24 21:11:26 +05:30
Florian Lefebvre
1153331cbb
feat(alpinejs): allow customizing the Alpine instance ( #9751 )
...
* feat(alpinejs): allows customzing the Alpine instance
* chore: add e2e tests
* fix: rename script
* Update index.ts
* fix: lockfile
2024-01-24 14:43:03 +00:00
Bjorn Lu
b3f313138b
Fix env var replacement for export const prerender ( #9807 )
2024-01-24 14:42:24 +00:00
Lou Cyx
5d7db1dbb0
Fix for #9673 ( #9680 )
...
* Fix for #9673
* 🦋 add changeset file
* Update breezy-plants-smoke.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* ⚡ ️ simplified normalizeConfigPath
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-24 14:40:02 +00:00
William Killerud
457e8b6422
fix(rss): apply refinement at the point of parsing ( #9797 )
2024-01-24 13:37:06 +08:00
Houston (Bot)
eaf483fe73
[ci] release ( #9785 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-23 19:27:10 -05:00
Luiz Ferraz
5b29550996
Fix regression on dynamic sibling trees and index inside rest parameter folders ( #9786 )
...
* fix: Fix regression on dynamic sibling trees and index inside rest parameter folders
* Add extra test scenarios
* Make `/[foo].astro` also win over `/[foo]/[...rest].astro`
* Make `/[foo].astro` also win over `/[foo]/[...rest].astro`
* Update tests
* Remove commented out code
* Update .changeset/six-shrimps-glow.md
* Fix sorting cycle
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-23 19:23:10 -05:00
cin
e6945bcf23
Fix .html
file escaping ( #9606 )
...
* fix: escape bug
* chore: add changeset
* fix: add test case
* fix: add test case
* fix: ut bug
* fix: ut bug
* Update .changeset/metal-garlics-exercise.md
* fix(html): properly handle escape sequences
* Update .changeset/metal-garlics-exercise.md
Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com>
* fix(html): properly handle attributes with escaped characters
* chore: improve tests
* chore: update lockfile
* chore: update changeset
* Update packages/astro/src/vite-plugin-html/transform/index.ts
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com>
2024-01-23 17:46:28 -06:00
Oliver Speir
df37366556
MDX remark image props ( #9753 )
...
* rearrange plugins and add props to Image component
* add tests and update lockfile
* add changeset
* re-rearrange plugin order, gfm/smartypants then user defined then image related then shiki/prism
* make more generic
* add more/better tests
* remove unused logger
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-01-23 18:18:09 -05:00
Steven Benner
ccc05d5401
Fix build failure when image file name includes special characters ( #9781 )
...
The latest version of `vite-plugin-markdown` uses a regular
expression that includes the file path via string concatenation.
However the file path is not escaped for use in a regular
expressions. So if a markdown document includes a reference to an
image file name which includes certain special characters it will
cause the build to fail.
This patch escapes regex special characters in the file path string
being injected into the regular expression. While I found that not
all special characters will cause this problem, it seems safer to
simply escape all regex specials. I also added test to verify this.
Related to: Commit 165cfc154b
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-01-23 18:16:56 -05:00
Tugrul Ates
e22cb8b10c
fix: accept the 'switch' aria role during a11y checks ( #9792 )
...
* fix: accept the 'switch' aria role during a11y checks
* add changeset
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-01-23 16:31:39 -05:00
Arsh
075706f26d
refactor: remove endpoint handling infra ( #9775 )
...
* remove endpoint handling infra
* add changeset
2024-01-23 19:33:51 +05:30
Stefano
9aa7a5368c
fix: vite security issue ( #9773 )
2024-01-23 20:48:20 +08:00
Houston (Bot)
bfd30041cf
[ci] release ( #9772 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-22 18:37:25 -05:00
Arsh
05adaaa2d2
fix(vercel): edge middleware ( #9585 )
...
* create vercel edge middleware
remove getVercelOutput
* handle node built-in modules
* edge function to node fetch
* adjust tests
* add test
* add changeset
* function paths as constants
* ensure node built-in modules are namespaced with `node:`
* x-astro-path as constant
* appease linter
* add comments for ASTRO_PATH_HEADER and ASTRO_LOCALS_HEADER
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-23 05:04:48 +05:30
Erika
eed0e8757c
fix: handle error at load for apps ( #9768 )
...
* fix: handle error at load for apps
* Revert "fix: handle error at load for apps"
This reverts commit df9e98a8c4
.
* fix: handle errors in load and init
* chore: changeset
* fix: build
2024-01-22 15:37:03 -05:00
Houston (Bot)
2b5f1d6be8
[ci] release ( #9728 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-22 15:11:07 -05:00
Degreat
2f81cffa9d
normalize class property ( #9723 )
...
* normalize class property
* Add changeset
* properly type return value
* normalize styles, rename function
* properly describe change
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-22 20:00:00 +00:00
Emanuele Stoppa
1fba85681e
fix: add missing attribute to button ( #9762 )
...
* fix: add missing attribute to button
* feedback
2024-01-22 19:05:31 +00:00
Emanuele Stoppa
3ecb3ef643
fix(i18n): pass build.format
when computing the redirect ( #9739 )
...
* fix(i18n): pass `build.format` when computing the direct
* Update .changeset/fifty-pots-greet.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* update tests
* add more tests
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-22 13:28:31 +00:00
Tak Tran
73d7440200
Fix dot files not being copied over on non-root builds ( #9740 ) ( #9741 )
...
* Fix dot files not being copied over on non-root builds (#9740 )
When running `astro build` outside of where the astro files are, dotfiles are not copied over because the `includeDotfiles` parameter is not passed in.
* update changeset
* Update changeset description
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-01-22 12:07:59 +00:00
Florian Lefebvre
7356336d18
fix(rss): rssSchema definition to allow calling standard zod object methods ( #9746 )
...
* fix(rss): rssSchema definition to allow calling standard zod object methods
* fix: condition
2024-01-22 12:07:29 +00:00
Bjorn Lu
a505190933
Make @astrojs/markdown-remark
browser-safe ( #9738 )
2024-01-20 18:59:40 +08:00
Bjorn Lu
53c69dcc82
Fix @astrojs/markdown-remark
bundling for non-node runtimes ( #9736 )
2024-01-19 22:38:33 +08:00
Blede
8d2e5db096
fix getRelativeLocaleUrl when redirectToDefaultLocale is false ( #9730 )
...
* fix getRelativeLocaleUrl when redirectToDefaultLocale is false
* Added tests
* Fixed getLocaleRelativeUrlList
2024-01-19 14:02:23 +00:00
Bjorn Lu
ea6cbd06a2
Refactor style-only HMR cache and performance ( #9712 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-19 16:44:17 +08:00
Happydev
8ce40a417c
fix(compiler): Support dynamic slot names ( #9605 )
...
* chore: try new compiler version
* update mergeSlots function
* chore: update lock file
* add tests
* simplify `mergeSlots` code
* update compiler version
* update lock file
* fix failing test
We were expecting the source code to produce an error, but in
2.4.0 of the compiler, that generates valid code
* chore: changeset
* chore: update deps
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@astro.build>
2024-01-18 13:56:49 -06:00
Martin Trapp
9e01f9cc1e
makes the output of 'astro preferences list' more verbose ( #9381 )
...
* makes astro preference list more verbose
* adds changeset
* refactor: improve global flag language
* Update .changeset/selfish-donuts-approve.md
---------
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-18 13:38:46 -06:00
Houston (Bot)
138ae524ec
[ci] release ( #9727 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-18 12:04:07 -06:00
Luiz Ferraz
a4b696def3
Fix regression in the routing priority of index routes ( #9726 )
...
* fix: Fix regression in the routing priority of index routes
* chore: Add changeset
* Update .changeset/smart-rules-train.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-18 12:58:39 -05:00
Houston (Bot)
2292d0b580
[ci] release ( #9709 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-18 10:30:19 +00:00
Bjorn Lu
7e1db8b4ce
Avoid vite 5.1 warning ( #9719 )
2024-01-18 16:38:49 +08:00
André Alves
b325fada56
@astrojs/sitemap: Fixes generated URLs when using a base
with a SSR adapter ( #9704 )
...
* Fix base path formatting for ssr adapters
* Update .changeset/curly-seals-count.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-17 13:33:23 +00:00
Luiz Ferraz
fd17f4a40b
Implement priority overrides for injected routes and redirects ( #9439 )
...
* Implement priority overrides for injected routes and redirects
* Fix ordering for route specificity
* Don't mix rules on tests
* Detailed collision detection
* Add changeset
* Remove TODO
* Add comments to clarify default values
* Update terminology
* Revert unrelated changes
* WIP
* Refactor
* Fix typo and typing
* chore: default to legacy
* chore: use experimental flag instead of option
* fix: do not throw an error on collisions
* chore: fix regression
* chore: use `continue` instead of `return`
* chore: fix tests but one
* chore: Update test
* chore: Change remaining new error to warning
* chore: Test collision warnings
* docs: Update docs of new config
* docs: Improve changesets
* chore: rename experimental flag
* chore: update changeset and docs
* Sarah editing pass
* nit: Align Markdown table
* defined definitions!
Co-authored-by: Luiz Ferraz <luiz@lferraz.com>
* added logging info to docs for experimental flag
* Yan final boss review
Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
* chore: Update flag name in tests
* chore: Update flag name in tests
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
2024-01-17 13:28:18 +00:00
Emanuele Stoppa
f1a6126806
feat(i18n): disable redirect to default language ( #9638 )
...
* feat(i18n): disable redirect
* feat(i18n): add option to disable redirect to default language
* chore: add schema validation
* docs
* changeset
* Update packages/astro/src/core/config/schema.ts
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* chore: address feedback
* fix test
* Update .changeset/cyan-grapes-suffer.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Fix discord fetch code (#9663 )
* Force re-execution of Partytown's head snippet on view transitions (#9666 )
* Remove the header script before a view transition takes place to force a reload on the next page
* Add changeset
* Save another char
* [ci] format
* fix(assets): Implement all hooks in the passthrough image service (#9668 )
* fix(assets): Implement all hooks in the passthrough image service
* chore: changeset
* refactor(toolbar): Rename every internal reference of overlay/plugins to toolbar/apps (#9647 )
* refactor(toolbar): Rename every internal reference of overlay/plugins to toolbar/apps
* refactor: rename vite plugin
* fix: update import
* nit: add setting fallback
* Disable file watcher for internal one-off vite servers (#9665 )
* Use node:test and node:assert/strict (#9649 )
* [ci] format
* fix(i18n): emit an error when the index isn't found (#9678 )
* fix(i18n): emit an error when the index isn't found
* changeset
* Update .changeset/proud-guests-bake.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* rename
* Update packages/astro/src/core/errors/errors-data.ts
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* feat(i18n): add option to disable redirect to default language
* chore: rebase
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* lock file update
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
Co-authored-by: Martin Trapp <martrapp@users.noreply.github.com>
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Bjorn Lu <bluwy@users.noreply.github.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-17 13:25:44 +00:00
Oliver Speir
165cfc154b
Allow remark plugins to affect getImage call for .md files ( #9566 )
...
* pass hProperties to getImage for optimized imgs
* fix to allow multiple images to have hProps added
* update test to reflect new expected result
* add comment back in
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
* add srcset
* works on multiple images
* fix tests, fix images.ts type and remove console logs
* add warning back to images.ts again lol
* update changeset to be user oriented
* Update calm-socks-shake.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* pass alt through getImage
* added fixture and test
* update lockfile
* fix lockfile again (had installed an extra package during testing and had sharp33 installed)
* update test to reflect passing alt through getImage
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-17 13:13:31 +00:00
Degreat
e9a72d9a91
Bump shikiji, use transformers API, expose transformers API ( #9643 )
...
* Bump shikiji, use transformers API, expose transformers API
* update astro config schema
* include shikiji-core
* Use default import
* address css-variables theme
* Remove shikiji markdoc
* Improve schema transformers handling
* Fix tests
* Update changeset
* bump shikiji version
* Update .changeset/six-scissors-worry.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update wording
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-17 13:13:05 +00:00
Ben Holmes
8521ff77fb
[Content collections] Remove "unsupported file type" warning ( #9671 )
...
* feat: remove "unsupported file type" warning for CC
* chore(test): remove unsupported file type unit
* chore: remove unused imports
* chore: changeset
* chore: changeset edits
* edit: add note on underscores to exclude content
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* edit: front-load "removes the requirement"
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-17 13:12:37 +00:00
Ross Robino
a5f1682347
feat: add experimental client prerender ( #9644 )
...
* feat: add experimental client prerender
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* docs: add more details about effects of the feature
* add changeset
* add tests
* edit jsdoc and changeset with suggestions
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* Update packages/astro/src/prefetch/index.ts
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* Update .changeset/sixty-dogs-sneeze.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/sixty-dogs-sneeze.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/sixty-dogs-sneeze.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-01-17 13:11:58 +00:00
Emanuele Stoppa
d6edc75408
Adapter enhancements ( #9661 )
...
* quality of life updates for `App` (#9579 )
* feat(app): writeResponse for node-based adapters
* add changeset
* Apply suggestions from code review
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Apply suggestions from code review
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* add examples for NodeApp static methods
* unexpose createOutgoingHttpHeaders from public api
* move headers test to core
* clientAddress test
* cookies test
* destructure renderOptions right at the start
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Fallback node standalone to localhost (#9545 )
* Fallback node standalone to localhost
* Update .changeset/tame-squids-film.md
* quality of life updates for the node adapter (#9582 )
* descriptive names for files and functions
* update tests
* add changeset
* appease linter
* Apply suggestions from code review
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* `server-entrypoint.js` -> `server.js`
* prevent crash on stream error (from PR 9533)
* Apply suggestions from code review
Co-authored-by: Luiz Ferraz <luiz@lferraz.com>
* `127.0.0.1` -> `localhost`
* add changeset for fryuni's fix
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Luiz Ferraz <luiz@lferraz.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* chore(vercel): delete request response conversion logic (#9583 )
* refactor
* add changeset
* bump peer dependencies
* unexpose symbols (#9683 )
* Update .changeset/tame-squids-film.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Luiz Ferraz <luiz@lferraz.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-17 13:10:43 +00:00
Oliver Speir
3a4d5ec800
Update a11y.ts ( #9567 )
...
* improve error message and allow for aria-label, aria-labelledby, img alt and svg title
* add checks for input
* Update packages/astro/src/runtime/client/dev-overlay/plugins/audit/a11y.ts
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Update .changeset/orange-trainers-learn.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-17 13:10:08 +00:00
Bjorn Lu
1539e04a8e
Simplify HMR for circular imports and CSS ( #9706 )
2024-01-17 11:27:21 +08:00
Houston (Bot)
6c64b149f8
[ci] release ( #9669 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-16 11:45:09 +00:00
Erika
39050c6e1f
fix: image proxy not working correctly ( #9659 )
...
* fix: image proxy not working correctly
* fix: only take in valid images
* test: add tests
* Create slimy-mayflies-vanish.md
* nit: remove erika-ism
2024-01-15 12:17:41 -05:00
Bjorn Lu
1bf0ddd277
Add fallback compile for astro script and style load ( #9664 )
2024-01-15 23:26:42 +08:00
An Li
d38b2a4fe8
fix(ViewTransition): Disables View Transition form handling when the action
property points to an external URL.( #9674 ) ( #9693 )
2024-01-15 08:28:40 +01:00
Arsh
35d54b3ddb
fix(transitions router): attempt to find the clicked element within an open shadow root ( #9685 )
...
* implementation
* add test
* add changeset
2024-01-13 02:04:25 +05:30
Emanuele Stoppa
091097e60e
fix(i18n): emit an error when the index isn't found ( #9678 )
...
* fix(i18n): emit an error when the index isn't found
* changeset
* Update .changeset/proud-guests-bake.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* rename
* Update packages/astro/src/core/errors/errors-data.ts
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-12 14:14:26 +00:00
Bjorn Lu
d02a3c48a3
Disable file watcher for internal one-off vite servers ( #9665 )
2024-01-12 11:19:08 +08:00
Erika
74008cc238
fix(assets): Implement all hooks in the passthrough image service ( #9668 )
...
* fix(assets): Implement all hooks in the passthrough image service
* chore: changeset
2024-01-11 13:29:59 -05:00
Martin Trapp
cdf8ce0627
Force re-execution of Partytown's head snippet on view transitions ( #9666 )
...
* Remove the header script before a view transition takes place to force a reload on the next page
* Add changeset
* Save another char
2024-01-11 19:26:49 +01:00
Houston (Bot)
7a275c1648
[ci] release ( #9625 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-11 16:32:08 +08:00
Martin Trapp
a3b5695176
Don't try to load partytown scripts in the main thread during view transitions ( #9658 )
2024-01-11 13:12:45 +08:00
Bjorn Lu
e72efd6a9a
Use esbuild for env replacement ( #9652 )
2024-01-11 12:06:14 +08:00
Erika
50f39183cf
fix: pin Sharp at old version ( #9653 )
...
* fix: pin Sharp at old version
* chore: changeset
* fix: try out a bigger range
* chore: lockfile
* fix: try again with just one version...
* fix: lockfile
* chore: use caret versions
* chore: changeset
2024-01-10 10:46:36 -05:00
Arsh
d7f1903cde
fix(vercel): fallback to static 404.html ( #9648 )
2024-01-10 14:52:29 +00:00
Arsh
a700a20291
qol(cookies): warn when cookies are set after the headers have been sent ( #9627 )
2024-01-10 14:51:50 +00:00
Emanuele Stoppa
a4f90d95ff
fix(redirects): correctly compute the status code in redirects ( #9657 )
2024-01-10 13:47:07 +00:00
Bjorn Lu
5cba637c4e
Improve env var handling in SSR ( #9637 )
2024-01-09 16:29:43 +08:00
Martin Trapp
cdb7bfa662
Fixes an issue where view transitions to the 404-page did not work ( #9642 )
...
* Add new e2e test
* Ensure cloned Response keeps its headers
* Add change set
* Update changeset
* Update .changeset/big-knives-own.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* Update packages/astro/src/vite-plugin-astro-server/route.ts
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-01-08 16:23:17 +01:00
Bjorn Lu
8b9c4844f7
Fix tsconfig alias with import.meta.glob ( #9560 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-08 11:06:41 +08:00
Florian Lefebvre
24663c9695
fix(rss): make title optional if description is provided ( #9610 )
...
* fix(rss): make title optional if description is provided
* feat(rss): simplify schema
* fix(rss): update tests to match new behavior
* Update packages/astro-rss/test/pagesGlobToRssItems.test.js
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
* Update packages/astro-rss/test/pagesGlobToRssItems.test.js
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
* feat: make link and pubDate optional
* feat: improve item normalization
* Update shy-spoons-sort.md
* Fix test fail
* Update .changeset/shy-spoons-sort.md
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-01-06 07:47:29 +00:00
Elian
651f45b401
Adds automatic, seasonally appropriate messages from Houston ( #9476 )
...
* feat: allow Houston to wear Scarfs
* refactor: allow 1 object to be passed instead of separate
* set messages back to original state / add ties
* refactor to getClothes method
* refactor: add clothes per season
* refactor: add messages with timing too
* refactor to new file
* refactor: use `hat` & `tie` instead of `clothes`
* refactor: use `getSeasonalHouston` only once
* chore: upgrade dependencies
* fix mistake in date
* feat(create-astro): refactor seasonal logic
* chore: remove unused entrypoint
* refactor: simplify seasonal data
* chore: add changeset
---------
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-05 15:00:47 -06:00
Houston (Bot)
75084b49d0
[ci] release ( #9609 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-06 02:15:45 +05:30
Bjorn Lu
a1bb5fea55
Fix class property Vue hydration error ( #9620 )
2024-01-05 15:03:47 -05:00
Nate Moore
a1c31665cb
Ensure appEntrypoint
is referenced in Vue components ( #9490 )
...
* fix(#6827 ): ensure `appEntrypoint` is referenced in Vue components
* chore: add test
* chore: add changeset
* fix: windows handling
* Update packages/integrations/vue/src/index.ts
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* chore: address review feedback
* chore: update lockfile
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-01-05 13:30:53 -06:00
Arsh
22a5405b4a
fix(vercel): include 404.html as fallback in the static adapter ( #9591 )
...
* include 404.html as fallback
* add changeset
* include only when 404.astro exists
* add test
* route.component -> route.pathname
2024-01-05 23:57:48 +05:30
Bjorn Lu
5156c74050
Fix limitInputPixels type ( #9622 )
...
* Fix limitInputPixels type
* Use sharp options
2024-01-05 14:47:00 +00:00
임동현(Ivan)
401fd3e8c8
feat: Add APIRoute second generic ( #9618 )
2024-01-05 21:58:49 +08:00
Jacob Lamb
47b951b388
chore: UpdatepossibleConfigFiles
( #9600 )
...
* Add `.ts` to list of `possibleConfigFiles`
* Add more options
* Create many-rules-kick.md
* Update .changeset/many-rules-kick.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-05 10:17:20 +00:00
Arsh
bd8fa7acd2
chore(vercel): deprecate speedInsights
( #9598 )
...
* deprecate speedInsights config
* add changeset
2024-01-04 16:37:13 +00:00
Marvin
2e4d110a87
[solidjs integration] Update solidjs dependency ( #9355 )
...
* update solidjs dependency
* update lockfile
* solidjs integration: update vite-plugin-solid
* update lockfile
* solidjs integration: decrease required version to match vite plugin
* Update moody-years-worry.md
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-04 16:25:53 +00:00
Houston (Bot)
e862d070b4
[ci] release ( #9580 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-04 15:16:31 +00:00
Patrick Miller
37021044dd
Render async SolidJS components ( #6791 )
...
* Render async SolidJS components
* Add renderer-specific hydration script to allow for proper SolidJS hydration
* Add support for Solid.js 1.8.x
* Address documentation feedback
* Rebuild pnpm lock file based on main branch
* Address PR feedback from ematipico
---------
Co-authored-by: Johannes Spohr <johannes.spohr@futurice.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-04 11:37:08 +00:00
Bjorn Lu
3b4e629ac8
Improve astro add deps error reporting ( #9593 )
2024-01-04 11:16:53 +00:00
Martin Trapp
82bad5d620
Fixes page titles in the browser's drop-down for back / forward navigation when using view transitions ( #9586 )
...
* Fixes titles in the browser's dropdown for back / forwards traversals through the browser history
* Improve names of constants
* Reword the changset description
2024-01-04 11:15:35 +00:00
Alex Jet
0903ef9049
feat: add preact-ssr-prepass ( #9524 )
...
* feat: add preact-ssr-prepass
* added more info to changelog
* fix example in changelog
* fix changelog description
* fix tab in code of changelog
* Update .changeset/blue-bobcats-remain.md
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-04 11:01:08 +00:00
Arsh
9fd24a546c
fix(routing): trailingSlash on endpoints ( #9597 )
...
* fix(routing): applies trailingSlash on endpoints
* add changeset
* add test
* Update .changeset/funny-lobsters-promise.md
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-01-04 10:59:48 +00:00
Erika
fbc2697653
feat: update extended client:visible to use an object instead of a string ( #9596 )
...
* Revert "feat: support setting rootMargin for `client:visible` (#9363 )"
This reverts commit 769826edbd
.
* feat: update extended `client:visible` to use an object instead of a string
* Apply suggestions from code review
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* test: add a test
* nit: comment
* test: write the test some other way to try to convince playwright
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-03 19:44:04 -05:00
Jenna Smith
da307e4a08
feat: add extendable CSSProperties
interface ( #9587 )
...
* feat: add extendable `CSSProperties` interface
* Update .changeset/slow-kiwis-own.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-03 09:39:17 -05:00
Bjorn Lu
fe719e27a8
Add reverted aria audit rules for dev toolbar ( #9377 )
...
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-01-03 13:34:21 +00:00
Mads Erik Forberg
769826edbd
feat: support setting rootMargin for client:visible
( #9363 )
...
* feat: support setting rootMargin for `client:visible`
This support adding optional `rootMargin` to the `IntersectionObserver` options.
This gives the developer the optional choice to hydrate a bit before the astro-island enters the viewport.
* chore: update type for client:visible
* chore: added changeset
* chore: update types
* fix: check if value is string
* Update stupid-peas-juggle.md
* fix: update .changeset/stupid-peas-juggle.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-03 13:20:07 +00:00
Alex Sherwin
f33fe3190b
Allow setting all cookie package serialize/parse options ( #9063 )
...
* #9062 : allow setting all cookie package serialize/parse options
* 9062: fix scripts to original arrangement
* feat: only add specific properties
* Update tiny-days-dance.md
* Add examples to the changeset
* Update .changeset/tiny-days-dance.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/tiny-days-dance.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/tiny-days-dance.md
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Update .changeset/tiny-days-dance.md
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-01-03 13:19:41 +00:00
Bjorn Lu
08402ad584
Add limitInputPixels option for sharp image service ( #9546 )
...
* Add limitInputPixels option for sharp image service
* Fix types
* Update docs
Co-authored-by: sarah11918 <sarah11918@users.noreply.github.com>
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: sarah11918 <sarah11918@users.noreply.github.com>
2024-01-03 13:19:04 +00:00
简静凡
e44f6acf99
enhance(prefetch): Adds a 'load'
prefetch strategy, and ignores 3g
in slow connection detection ( #9513 )
...
* [enhance:prefetch] add global ignoreSlowConnection and add none to defaultStrategy enum
* changeset
* change defaultStrategy enum 'none' to 'all', and fix e2e test
* test:e2e prefetch
* update changeset
* rename defaultStrategy.all to defaultStrategy.load
* fix: remove global ignoreSlowConnection config and ignore 3g in slow connection detection
* fix: Revert variable name changes
* Split changeset
---------
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-03 13:07:58 +00:00
Bjorn Lu
2a8b9c56b9
Support --open with url string ( #9573 )
...
* Support --open with url string
* Update jsdoc
* Fix typo
* Document server.open
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-03 13:07:31 +00:00
Austin Merrick
607303be19
Move create-astro async tasks to end ( #9470 )
...
* Upgrade @astrojs/cli-kit
* Add tasks to context
* Change steps to use tasks
* Do tasks at end
* Add changeset
* Make labels more consistent
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Update .changeset/chatty-penguins-sin.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-03 13:06:57 +00:00
Bjorn Lu
b8a6fa8917
Error on preview if outDir missing ( #9544 )
...
* Error on preview if outDir missing
* Update .changeset/four-moles-burn.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-03 13:05:51 +00:00
Bjorn Lu
ab6049bd58
Set default NODE_ENV for JS API ( #9575 )
2024-01-03 15:54:30 +08:00
Martin Trapp
d48ab90fb4
Fix history navigation to hash fragment on Firefox when using view transitions ( #9563 )
...
* Fix history navigation to hash fragment on Firefox when using view transitions
* Edit changeset
* Improve changeset, add co-authors
2024-01-02 22:18:52 +01:00