Matt Rossman
345cb4aeb9
Support AVIF input assets ( #8380 )
...
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Princesseuh <princssdev@gmail.com>
2023-09-11 19:28:35 +02:00
Masaki Koyanagi
23f9536de0
chore: correct description of attribute
option in scopedStyleStrategy
( #8506 )
...
* chore: correct description of `attribute` option in `scopedStyleStrategy`
* chore: fix typo (specifity -> specificity)
2023-09-11 18:26:45 +02:00
Emanuele Stoppa
5e1099f686
fix: minify HTML for redirects when emitted as HTML files ( #8504 )
2023-09-11 15:11:57 +01:00
Matthew Phillips
fa77fa63d9
Prevent style removal of client:only components ( #8472 )
2023-09-11 08:39:22 -04:00
Martin Trapp
0ca332ba4a
Bugfixes for back navigation in the view transition client-side router ( #8491 )
...
* Bugfixes for back navigation in the view transition client-side router
* re-introduced pushState on self links as required for update of browser's address bar
* format
2023-09-11 07:58:52 -04:00
bb010g
78b82bb392
fix(astro): support content/config.mts
( #8484 )
...
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-09-11 13:54:56 +02:00
Oscar Lee-Vermeren
a6a516d944
fix(types): make image.service
optional ( #8492 )
2023-09-11 13:52:25 +02:00
Marc
435b105498
Fix: lang unspecified code blocks ( #8461 )
2023-09-11 12:45:21 +01:00
Houston (Bot)
0a2567c288
[ci] release ( #8465 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-08 10:08:35 -04:00
Matthew Phillips
7eea37a075
Fix multi-layout head injection ( #8449 )
...
* Fix multi-layout head injection
* Tracing fix
* Improved walk
* Upgrade the compiler version
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-09-08 10:00:07 -04:00
Houston (Bot)
98d501bde6
[ci] release ( #8442 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-08 13:55:26 +02:00
Nate Moore
85fe213fe0
fix(react): support void children in experimentalReactChildren ( #8455 )
2023-09-07 15:54:39 -05:00
Martin Trapp
f66053a1ea
Transition only between pages where both have ViewTransitions enabled ( #8441 )
...
* added e2e test regarding loss of router
* only navigate to pages from which we can navigate back
* location does not change before deferred pushState
* initialize history state
* test cases adapted to new semantics (only traverse to pages w/ ViewTransigs)
* type URL instead of Location
* + changeset
2023-09-07 14:21:57 -04:00
Erika
7ea32c7fbf
feat: pass our domains and remote config to the Vercel config ( #8452 )
...
* feat: pass our domains and remote config to Vercel'S
* chore: changeset
* test: update test to test for this
* docs: update README
2023-09-07 18:12:00 +02:00
Nate Moore
3f49aa97ab
fix(svelte): unmount islands properly on navigation ( #8448 )
2023-09-07 09:49:59 -05:00
Bjorn Lu
f3f62a5a20
Refactor mdx remark plugins ( #8430 )
2023-09-07 22:28:02 +08:00
Mohammed Elhaouari
0fa483283e
Fix "Cannot read properties of null" in cli/telemetry ( #8443 )
...
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-09-07 10:39:42 +02:00
Ryan Carniato
a525d5db17
fix hydration in solid renderer ( #8365 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-09-06 17:22:58 -05:00
Houston (Bot)
88c76a9a42
[ci] release ( #8439 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-06 16:35:56 -05:00
Nate Moore
b92d066b73
fix( #8434 ): fix renderToFinalDestination handling ( #8440 )
2023-09-06 15:38:48 -05:00
Erika
b3cf1b3276
fix: imports for images with uppercase extensions not working ( #8437 )
2023-09-06 20:52:52 +02:00
Erika
6df4f3bd9d
fix: MDX errors not having stack trace and a confusing name ( #8438 )
...
* fix(mdx): Fix errors having weird names and no stack trace
* chore: changeset
2023-09-06 20:36:50 +02:00
Houston (Bot)
14273d8f44
[ci] release ( #8415 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-06 09:56:58 -04:00
Sarah Rainsberger
bd8aa9a996
[docs] Typo fix in Cloudflare README ( #8429 )
...
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2023-09-06 10:26:27 -03:00
aswind7
b81ff8fcef
trim project name of the user input ( #8427 )
...
* fix: remove duplicate import
* project name should be trimed
* update changeset
2023-09-06 09:22:18 -04:00
Matthew Phillips
67e8348594
Fix React dev mode using a base ( #8428 )
2023-09-06 09:13:36 -04:00
Barthélémy Ledoux
1947ef7a99
fix: no asset plugin w/ img is imported with query ( #8353 )
...
* fix: no asset plugin w/ img is imported with query
* add changeset
* add test for the new feature
* remove exp
* use removeQueryString instead of `includes('?')`
it's more explicit
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-09-06 15:01:01 +02:00
Erika
48ff7855b2
fix: make sharp an optional dep ( #8416 )
...
* fix: make sharp an optional dep
* chore: lockfile
* chore: changeset
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-09-06 14:52:13 +02:00
Jacob Lamb
d2f2a11cdb
Improve Package Detection ( #8306 )
2023-09-06 17:15:10 +08:00
Slawek Kolodziej
9ffa1a84e8
fix: include route prefix in vercel func names, fix #8401 ( #8408 )
...
* fix: include route prefix in vercel func names
* chore: add changeset
* chore: update pnpm lockfile
* refactor: simplify logic that generates vercel func names
* fix: properly remove entryFile prefix from func name
* refactor: change how vercel function names are generated
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-09-06 05:43:53 +01:00
Matteo Manfredi
61ad70fdc5
fix: fix remote astro:assets
caching logic ( #8424 )
2023-09-05 19:28:00 -05:00
Bjorn Lu
923a443cb0
Fix markdown page HMR ( #8418 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-09-05 14:35:56 -05:00
Martin Trapp
8935b3b467
Fix scroll position when navigating back from page w/o ViewTransitions ( #8332 )
...
Co-authored-by: Justin Beaty <51970393+justinbeaty@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-09-05 15:05:55 -04:00
Arsh
7d95bd9baa
Allow vite to refer to inlined CSS ( #8351 )
...
* fix(client build): keep inlined stylesheets
* add changesets
* appease linter
* eslint: allow variables beginning with an underscore to be unused
* remove eslint-ignore that's no longer needed
* ready for review
2023-09-05 23:31:15 +05:30
Erika
5126c6a40f
fix: missing imageConfig type in astro:assets ( #8414 )
2023-09-05 15:11:05 +02:00
Chris Swithinbank
93a1231f14
Add location data to MDX compile errors ( #8405 )
2023-09-05 12:48:39 +02:00
Houston (Bot)
e43ae88528
[ci] release ( #8372 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-04 10:09:43 +01:00
Nate Moore
362491b8da
Fix pipeline beforeHydrationScript
handling ( #8388 )
2023-09-04 09:11:47 +01:00
Matteo Manfredi
06e7256b58
fix: remove double }
( #8370 )
...
* fix: remove extra `}`
* changeset: add
2023-09-01 21:03:50 -04:00
Houston (Bot)
e34175be34
[ci] release ( #8356 )
2023-09-01 18:26:05 -05:00
Nate Moore
c5633434f0
Ensure chunkFileNames
do not include invalid characters ( #8366 )
2023-09-01 18:13:32 -05:00
Erika
405ad95017
fix: tsc complaining about astro imports again ( #8367 )
2023-09-01 23:20:42 +02:00
Nate Moore
0ce0720c7f
Wrap JSON.parse
in try
/catch
( #8363 )
...
* fix(telemetry): wrap JSON.parse in try/catch
* fix: always write the store
* chore(lint): fix
2023-09-01 14:19:12 -05:00
Matteo Manfredi
6b1e798146
feat: add progress to asset generation ( #8357 )
2023-09-01 20:29:57 +02:00
Chris Swithinbank
b74dacdb6a
Uppercase endpoint examples in adapter READMEs ( #8346 )
2023-09-01 17:11:55 +02:00
Houston (Bot)
1b9de31737
[ci] release ( #8335 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-01 15:19:30 +01:00
Erika
0eb09dbab1
fix(vercel): Don't output an error message for failing to resolve sharp ( #8354 )
...
* fix(vercel): Don't output an error message for failing to resolve sharp
* chore: changeset
2023-09-01 16:14:15 +02:00
Emanuele Stoppa
5f2c55bb54
fix(@astrojs/vercel): slowness and symbolic link ( #8348 )
2023-09-01 14:33:04 +01:00
Martin Trapp
f21599671a
Respect the download attribute in links when using view transitions ( #8339 )
...
* Respect the download attribute in links when using view transitions
* cleanup
2023-08-31 17:51:03 -04:00
Fred K. Schott
d3a6f9f836
add leading and trailing slash sanitization for params ( #8276 )
...
* add leading and trailing slash sanitization for params
* chore: fix lint
* refactor: use shared trimSlashes util
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@astro.build>
2023-08-31 13:05:39 -05:00
Houston (Bot)
84427f33c1
[ci] release ( #8330 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-31 13:42:22 -04:00
Emanuele Stoppa
b21038c193
fix: exclude redirects when running functionPerRoute
( #8320 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-31 12:34:50 -05:00
Nate Moore
5f3a44aeef
Improve astro info
command ( #8327 )
...
* feat(astro): improve info command
* chore: update browser field
2023-08-31 12:33:53 -05:00
Matthew Phillips
7a894eec3e
Prevent View Transition fallback from waiting on looping animations ( #8331 )
...
* Prevent View Transition fallback from waiting on looping animations
* Filter out infinite animations
2023-08-31 13:32:45 -04:00
Justin Beaty
af41b03d05
View Transitions: use history.scrollRestoration="manual" ( #8231 )
...
* View Transitions: use history.scrollRestoration="manual"
* Update changeset
* Set scrollRestoration to manual before popState
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
2023-08-31 12:20:26 -04:00
Emanuele Stoppa
c58472756e
fix(@astrojs/vercel): include astro feature map and adapter features to the static adapter ( #8318 )
2023-08-31 17:01:43 +01:00
Houston (Bot)
61ac0eb3d8
[ci] release ( #8326 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-31 11:36:25 -04:00
Matthew Phillips
0752cf3688
Prevent React hook call warnings when used with MDX ( #8324 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-31 11:31:01 -04:00
Matthew Phillips
8fff0e9aeb
Update Vercel warning verbiage ( #8328 )
...
* Update Vercel warning verbiage
* Changeset and suggestion of functionPerRoute: false
2023-08-31 11:06:09 -04:00
Emanuele Stoppa
dc29e0f797
fix(@astrojs/vercel): warn user when functionPerRoute
is true
( #8319 )
2023-08-31 15:36:37 +01:00
Houston (Bot)
1efd51fb47
[ci] release ( #8304 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-30 16:31:20 -04:00
Emanuele Stoppa
d4a6ab7339
fix(ssr): inline middleware during the build, not rely on file system ( #8300 )
...
* fix(ssr): inline middleware during the build, not rely on file system
* feedback
* chore: fix lint
---------
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-30 12:56:10 -05:00
Houston (Bot)
d01c336c4d
[ci] release ( #8302 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-30 19:20:51 +02:00
Erika
4e88ffd813
Update CodeSandbox config for Node 18 and new editor ( #8292 )
...
* config: update config for codesandbox
* feat: update create-astro to remove .codesandbox folder
* chore: changeset
* fix: use node18
2023-08-30 18:52:21 +02:00
Houston (Bot)
2a94614433
[ci] release ( #8296 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-30 18:14:12 +02:00
Erika
d9bd7cf5ce
fix: tsc errors in components ( #8293 )
...
* fix: tsc errors in components.ts
* chore: changeset
2023-08-30 17:54:04 +02:00
Houston (Bot)
f8c171c944
[ci] release ( #8288 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-30 10:35:16 -04:00
Matthew Phillips
ef37f9e290
Revert "[ci] release ( #8285 )" ( #8290 )
...
This reverts commit b4e67a0b1b
.
2023-08-30 10:31:24 -04:00
Houston (Bot)
b4e67a0b1b
[ci] release ( #8285 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-30 10:13:29 -04:00
Emanuele Stoppa
c32f52a624
chore: add warnings to console for deprecated options ( #8283 )
2023-08-30 10:10:28 -04:00
Matthew Phillips
1d2389cb6f
Fix astro check failure on first try ( #8287 )
2023-08-30 10:08:06 -04:00
Sarah Rainsberger
a0955f769f
[docs] remove experimental from image configs ( #8282 )
2023-08-30 10:12:45 -03:00
Houston (Bot)
5598feb718
[ci] release ( #8279 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-30 13:38:28 +02:00
Emanuele Stoppa
c2d92dc293
chore: exit from next
mode ( #8278 )
2023-08-30 09:20:49 +01:00
Houston (Bot)
28a49f8e0d
[ci] release (rc) ( #8272 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-29 15:50:45 -04:00
Matthew Phillips
16f09dfff7
Fix video persistence regression ( #8271 )
...
* Fix video persistence regression
* Adding a changeset
2023-08-29 15:46:06 -04:00
Houston (Bot)
834a00d2d3
[ci] release (rc) ( #8267 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-29 14:18:54 -04:00
Matthew Phillips
e7f872e91e
Prevent ViewTransition script from being added by mistake ( #8268 ) ( #8270 )
...
* Prevent ViewTransition script from being added by mistake
* Add the 2-legacy branch to CI
2023-08-29 14:00:47 -04:00
Erika
8450379db8
fix: settings requiring service to be set when settings domains or remotePatterns ( #8266 )
2023-08-29 17:54:24 +02:00
Houston (Bot)
6f47c6c919
[ci] release (rc) ( #8256 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-29 10:58:09 -04:00
Nate Moore
1f58a7a1be
Unmount framework components when islands are destroyed ( #8264 )
...
* fix(view-transitions): update persistence logic for improved unmount behavior
* feat(astro): add `astro:unmount` event
* feat(vue): automatically unmount islands
* feat(react): automatically unmount islands
* feat(react): automatically unmount islands
* feat(solid): automatically dispose of islands
* feat(svelte): automatically destroy of islands
* feat(svelte): automatically destroy of islands
* feat(solid): automatically dispose of islands
* feat(preact): automatically unmount islands
* chore: update changeset
* fix: rebase issue
* chore: add clarifying comment
* chore: remove duplicate changeset
* chore: add changeset
2023-08-29 09:30:11 -05:00
Erika
9e021a91c5
feat: add generic to type params to Astro global ( #8263 )
...
* feat: add generic to type params to Astro global
* chore: changeset
2023-08-29 16:04:25 +02:00
Nate Moore
0c7b42dc67
Update telemetry notice ( #8234 )
...
* chore: enable telemetry notice
* chore: update telemetry date, notify
* chore(telemetry): refactor telemetry notices
* chore: add changeset
* chore: improve debugging
* chore: update debug
* fix: logical error
* chore(lint): remove unused input
* chore: improve telemetry debug
* chore: improve telemetry tests
* chore: allow isCI to be stubbed
* chore: stub process.env
* chore: stub process.env
* chore: add env to class
* chore: act like we're not on CI
* test: didn't commit the env stub properly
* chore: tweak wording
2023-08-28 16:03:01 -05:00
Matthew Phillips
1db4e92c12
Allow fallback animations on html element ( #8258 )
...
* Allow fallback animations on html element
* Add fallback attr after swap
* Break apart addModern and addFallback into separate functions
2023-08-28 14:41:00 -04:00
Houston (Bot)
0a97524e38
[ci] release (rc) ( #8238 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-28 12:23:04 -04:00
Matthew Phillips
52f0837bde
Vercel adapter default changes ( #8239 )
...
* Vercel adapter default changes
* Update .changeset/silly-dolphins-try.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Fix tests
* chore: correctly export `pageModule` when using `functionPerRoute`
* Update .changeset/silly-dolphins-try.md
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Update .changeset/silly-dolphins-try.md
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Make throw be the entrypoint
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-08-28 12:10:28 -04:00
Erika
ffc9e2d3de
feat(paginate): Return exact types from paginate() ( #8229 )
...
* feat(paginate): Return exact types from paginate()
* chore: changeset
* fix(types): Fix infer utils while I'm here
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-28 12:02:05 -04:00
Matthew Phillips
1048aca550
Lazily initialize ResponseWithEncoding ( #8253 )
...
* Lazily initialize ResponseWithEncoding
* Fix things
* Add a TODO about removing the workaround
* Remove unused lint ignore
* Use canplaythrough instead
* Use an inline script
* Check the readystate first
* Download the video locally
* Capture consoles
* More debugging
* Use autoplay instead of a ready event
2023-08-28 11:57:21 -04:00
Erika
46c4c0e053
feat(cli): Add docs error link to errors in the CLI ( #8251 )
2023-08-28 15:15:14 +02:00
Florian Lefebvre
ed39fbf168
fix(deno): add start to options interface and extract to new file ( close #8221 ) ( #8245 )
...
* fix(deno): add start to options and extract to new file
* Reword changeset
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2023-08-28 02:51:28 +05:30
Erika
3674584e02
fix: require.resolve call not finding @astrojs/check ( #8237 )
2023-08-26 11:26:20 +02:00
Houston (Bot)
23096dbee8
[ci] release (rc) ( #8233 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-25 14:10:30 -04:00
Matthew Phillips
a824863ab1
Use .js to import logger' ( #8232 )
2023-08-25 14:06:53 -04:00
Houston (Bot)
2b5d739bd9
[ci] release (rc) ( #8215 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-25 12:52:51 -04:00
Bjorn Lu
4bd2fac8da
Publish missing react vnode-children.js file ( #8228 )
2023-08-25 23:28:23 +08:00
Matthew Phillips
44f7a28728
Unflag View Transition support ( #8218 )
...
* Unflag View Transition support
* Add a changeset
* Update .changeset/grumpy-pens-melt.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-08-25 11:20:17 -04:00
Jacob Groß
acf652fc1d
feat(ViewTransitions): use scrollend
instead of scroll
where supported ( #8156 )
...
* feat(ViewTransitions): use `scrollend` instead of `scroll` where supported
The [scrollend](https://developer.chrome.com/blog/scrollend-a-new-javascript-event/#event-details ) mechanism seems like a better way to record the scroll position compared to throttling, so we could use it whenever a browser supports it.
Additionally, I've removed the `{passive}` flag from the `scroll` event, as it does nothing ([source](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener?retiredLocale=de#improving_scrolling_performance_with_passive_listeners:~:text=You%20don%27t%20need%20to%20worry%20about%20the%20value%20of%20passive%20for%20the%20basic%20scroll%20event.%20Since%20it%20can%27t%20be%20canceled%2C%20event%20listeners%20can%27t%20block%20page%20rendering%20anyway .)).
* Create long-chefs-jump.md
* fix typo / update comment
2023-08-25 08:43:52 -04:00
Matthew Phillips
a8f35777e7
Finalize View Transition event names ( #8181 )
...
* Finalize View Transition event names
* Use hyphenated names
2023-08-24 14:44:48 -04:00
Nate Moore
e45f302934
Update built-in view transitions ( #8207 )
...
* feat: rename morph => initial
* feat: update slide, fade animations, add none
* chore: add changeset
* fix: bump compiler
* feat: disable root transition by default
* chore: update changeset
* chore: fix build
* feat(transitions): crossfade => fade
* feat(transitions): remove opinionated default
* chore: update changeset
* feat(transitions): set root to fade
* feat: remove opinionated root style
* chore: remove unused easings
* feat: refactor transition logic, ensure defaults are wrapped in @layer
* Update .changeset/five-geese-crash.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/five-geese-crash.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/five-geese-crash.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update five-geese-crash.md
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-08-24 13:42:12 -05:00
Martin Trapp
c37632a20d
View Transitions: adding data-astro-reload to anchor element forces browser default behavior for navigation ( #8217 )
2023-08-24 13:36:58 -04:00
Emanuele Stoppa
fd5fa86e9c
Merge remote-tracking branch 'origin/main' into next
2023-08-24 15:05:39 +01:00
Houston (Bot)
608b2d732d
[ci] release ( #8205 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-24 10:04:16 -04:00
Erika
55c10d1d56
fix: add back code to update user's env.d.ts with proper types ( #8214 )
2023-08-24 15:55:11 +02:00
Martin Trapp
52606a3909
View Transition: swap attributes of document's root element ( #8206 )
...
* swap attributes of the root element
* + changeset
2023-08-24 09:09:22 -04:00
Emanuele Stoppa
44bd0cd825
Merge remote-tracking branch 'origin/main' into next
2023-08-24 13:02:27 +01:00
Emanuele Stoppa
0be8d9bfa9
docs: better documentation for runtime
( #8190 )
2023-08-23 16:00:56 +01:00
Houston (Bot)
ee06c4fe5c
[ci] release ( #8172 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-23 22:12:09 +08:00
Bjorn Lu
cb95aa5f8e
Update rss package to return a response ( #8198 )
2023-08-23 21:09:11 +08:00
Bjorn Lu
273335cb01
Fix Astro components parent-child render order ( #8187 )
2023-08-23 20:29:34 +08:00
Bjorn Lu
632579dc20
Prevent bundling sharp ( #8196 )
2023-08-23 17:52:53 +08:00
Martin Trapp
9142178b11
Mt scroll behavior ( #8184 )
...
* The scrolling behavior of ViewTransition is now more similar to the expected browser behavior
* format
* removed browser detection
2023-08-22 13:33:49 -04:00
Martin Trapp
fddd4dc71a
Fixes in the client-side router ( #8166 )
...
* Fixes in the client-side router
* reverted function declaration after review (#8166 )
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-22 12:59:17 -04:00
Martin Trapp
cfc465ddeb
fix: self link does not trigger page reload ( #8182 )
2023-08-22 11:17:30 -04:00
Houston (Bot)
9f1881455a
[ci] release (rc) ( #8147 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-22 10:19:18 -04:00
bluwy
a93e061cfb
Fix turbolink changeset
2023-08-22 21:03:40 +08:00
Emanuele Stoppa
2d50d50b6a
Merge remote-tracking branch 'origin/main' into next
2023-08-22 14:02:15 +01:00
André Alves
5821323285
add: config error if outDir
is inside publicDir
( #8152 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-22 11:17:47 +01:00
Bjorn Lu
732111cdce
Deprecate drafts feature ( #8099 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-08-22 16:11:59 +08:00
Chris Swithinbank
179796405e
Use more permissive type for defineCollection
schema option ( #8163 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-21 19:48:50 +02:00
Emanuele Stoppa
f003e73643
feat: style scoped hash is lowercase ( #8180 )
2023-08-21 13:43:48 -04:00
Matthew Phillips
6011d52d38
RC Release candidate ( #8179 )
...
* RC Release candidate
* Use the rc tag
2023-08-21 13:11:26 -04:00
Emanuele Stoppa
d08c83ee3f
fix(@astrojs/node): handler should work with express
( #8176 )
2023-08-21 17:29:38 +01:00
Emanuele Stoppa
d43ca69c1d
Merge remote-tracking branch 'origin/main' into next
2023-08-21 14:21:53 +01:00
Nate Moore
adf9fccfdd
Stringify shouldn't throw on user object during rendering ( #8127 )
...
* fix(#7923 ): do not throw on user { type } object
* chore: remove unused type export
* chore: guess it wasn't unused
2023-08-21 14:17:04 +01:00
Nate Moore
2ae9d37f0a
fix(dev): open to base path ( #8123 )
2023-08-21 14:17:04 +01:00
Nate Moore
42785c7b78
fix( #6965 ): fix build stats ( #8122 )
2023-08-21 14:17:03 +01:00
Martin Trapp
33b8910cfd
only update our own history entires during back navigation through view transitions ( #8116 )
2023-08-21 14:16:36 +01:00
Martin Trapp
a87cbe4003
fix: reinsert attribute to specify direction of ViewTransition (forward / back) ( #8109 )
2023-08-21 14:16:36 +01:00
Bjorn Lu
be6bbd2c86
Remove deprecated APIs ( #8170 )
2023-08-21 21:04:15 +08:00
Bjorn Lu
e79e3779df
Remove pre-shiki v0.14 theme names ( #8169 )
2023-08-21 21:02:30 +08:00
Erika
95120efbe8
fix(assets): Add missing type for imageConfig export ( #8171 )
2023-08-21 12:35:49 +02:00
Bjorn Lu
767eb68666
Deprecate simple objects from endpoints ( #8132 )
2023-08-21 13:55:56 +08:00
Houston (Bot)
34c39a0c96
[ci] release ( #8145 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-18 17:13:25 -04:00
Matthew Phillips
531cc3e490
Fix missing package file regression ( #8149 )
2023-08-18 17:08:18 -04:00
Arsh
4c15c06969
fix(node): delegate preview's not found and error handling to core/app ( #8141 )
...
* fix(node): delegate preview's not found and error handling to core/app
* add changeset
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-18 15:51:46 -05:00
Nate Moore
81545197a3
Replace class:list
implementation with clsx
( #8142 )
...
* chore: replace `class:list` implementation with `clsx`
* chore: remove Set support from `class:list` test
* chore: better class:list test
* Update packages/astro/src/runtime/server/render/component.ts
2023-08-18 15:25:57 -05:00
Arsh
04caa99c48
fix(data collections): normalize file paths for DataEntry.id ( #8144 )
...
* normalize file paths for DataEntry.id
* add changeset
2023-08-18 15:42:53 -04:00
Houston (Bot)
5e6bd6ab5d
[ci] release (beta) ( #8140 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-18 18:49:34 +02:00
Erika
db39206cbb
fix: polyfill File using undici instead of node:buffer ( #8139 )
...
* fix: polyfill File using undici instead of node:buffer
* chore: changeset
2023-08-18 18:23:51 +02:00
Houston (Bot)
e5c13881f1
[ci] release (beta) ( #8073 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-18 11:46:47 -04:00
Houston (Bot)
e3c030e5d3
[ci] release ( #8138 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-18 10:36:25 -05:00
André Alves
97c8760d78
Fix 404 response leading to an infinite loop when there is no 404 page ( #8136 )
...
* fix: 404 response leads to infinite loop
* chore: changeset
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-18 10:27:44 -05:00
Nate Moore
8c0a4ed106
fix(react): add missing export ( #8137 )
2023-08-18 10:26:07 -05:00
Houston (Bot)
5c190d06f1
[ci] release ( #8096 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-18 10:31:52 -04:00
Arsh
f50d02c201
changeset(next): inlineStylesheets default switch is major ( #8133 )
2023-08-18 14:56:21 +01:00
Erika
3e834293d4
feat: add polyfills for stackblitz ( #8130 )
...
* feat: add polyfills for Stackblitz
* chore: changeset
2023-08-18 15:13:35 +02:00
Matthew Phillips
43140b87ab
Add missing mdx changeset ( #8131 )
2023-08-18 09:03:56 -04:00
Erika
c2c71d90c2
fix: better error when Sharp can't be resolved (ex: pnpm) ( #8128 )
...
* fix: better error when Sharp can't be resolved (ex: pnpm)
* chore: changeset
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-08-18 15:02:55 +02:00
Nate Moore
b12c8471f4
Stringify shouldn't throw on user object during rendering ( #8127 )
...
* fix(#7923 ): do not throw on user { type } object
* chore: remove unused type export
* chore: guess it wasn't unused
2023-08-18 07:26:52 -05:00
Bjorn Lu
dbc97b121f
Export experimental JS API ( #7979 )
...
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-08-18 16:52:04 +08:00