Commit graph

4409 commits

Author SHA1 Message Date
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
matthewp
f206bde0ff [ci] format 2023-08-30 14:09:54 +00: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
Yan Thomas
e33d951af1
Remove draft pages info from mdx integration guide (#8281) 2023-08-30 07:25:29 -04:00
Yan Thomas
264bbba4e0
Add missing backtics to scopedStyleStrategy value (#8275) 2023-08-29 18:36:28 -04: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
matthewp
b0e021d41b [ci] format 2023-08-29 19:47:49 +00: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
Martin Trapp
a78175c1b8
added e2e tests for history navigation to fragment positions (#8265) 2023-08-29 11:30:52 -04: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
natemoo-re
51e67e0ab0 [ci] format 2023-08-29 14:32:02 +00: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
natemoo-re
04fa5a1453 [ci] format 2023-08-28 21:05:20 +00: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
ematipico
ba7b23b9e0 [ci] format 2023-08-28 16:21:11 +00:00
Emanuele Stoppa
c7921e9e1b
refactor: use new Astro internals (#8254)
* refactor: use new Astro internals

* chore: update tests

---------

Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-08-28 17:19:04 +01: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
matthewp
57e9a28063 [ci] format 2023-08-28 15:59:37 +00: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
Mainak Das
cc740fb103
docs: Fix typo in react integration README (#8243) 2023-08-27 16:35:29 +02:00
Erika
3674584e02
fix: require.resolve call not finding @astrojs/check (#8237) 2023-08-26 11:26:20 +02:00
natemoo-re
3ad5a2a287 [ci] format 2023-08-25 23:11:22 +00:00
Nate Moore
2bdce4c4a0
feat(create-astro): --fancy (#8235) 2023-08-25 18:09:30 -05: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
ElianCodes
cd69aa7347 [ci] format 2023-08-25 17:08:19 +00:00
shelton louis
6cfaf75af9
chore: Write read me for the Markdoc config. (#7989)
Co-authored-by: Elian ️ <hello@elian.codes>
Co-authored-by: Ben Holmes <hey@bholmes.dev>
2023-08-25 19:06:04 +02: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
ematipico
3bae77dde1 [ci] format 2023-08-25 14:59:35 +00:00
Emanuele Stoppa
f91acd8fca
refactor: internal refactor to use the Logger (#8227) 2023-08-25 15:57:47 +01:00
André Alves
2c07656c8d
Update config error message for outDir infinity loop error (#8220)
Co-authored-by: Elian ️ <hello@elian.codes>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-08-25 15:25:59 +01: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
ematipico
a35c21cfc8 [ci] format 2023-08-25 11:25:46 +00:00
Emanuele Stoppa
46d0a0b006
fix(ssr): correctly call the middleware when rendering error pages (#8200) 2023-08-25 12:23:58 +01:00
matthewp
660e6f80f4 [ci] format 2023-08-24 18:46:59 +00: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
natemoo-re
d87837e32b [ci] format 2023-08-24 18:44:16 +00: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
matthewp
4bbcbac0b7 [ci] format 2023-08-24 14:40:44 +00:00
Matthew Phillips
ebaccf8c1a Revert "Revert "View Transition: swap attributes of document's root element (#8206)""
This reverts commit e942855329.
2023-08-24 10:23:44 -04:00
Matthew Phillips
e942855329 Revert "View Transition: swap attributes of document's root element (#8206)"
This reverts commit 52606a3909.
2023-08-24 10:23:01 -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
Bjorn Lu
048846fd53
Update breaking dependencies (#8201) 2023-08-24 16:34:33 +08:00
ematipico
0eb7f19729 [ci] format 2023-08-23 15:03:12 +00: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
bluwy
17d9aab39a [ci] format 2023-08-23 12:31:38 +00:00
Bjorn Lu
273335cb01
Fix Astro components parent-child render order (#8187) 2023-08-23 20:29:34 +08:00
Bjorn Lu
353dcb23e8
Update non-major dependencies (#8199) 2023-08-23 19:52:13 +08:00
Jothish JJ
1e8942c438
Add h3 for Installing dependencies manually (#8155) 2023-08-23 11:40:19 +01: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
Bjorn Lu
b8ad9a2499
Remove turbolinks integration (#8186) 2023-08-22 20:23:34 +08:00
ematipico
f224c539c8 [ci] format 2023-08-22 10:19:52 +00: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
b4ef0b9a8c
Set Markdoc integration version to a minor (#8177) 2023-08-21 12:35:51 -04:00
Emanuele Stoppa
d08c83ee3f
fix(@astrojs/node): handler should work with express (#8176) 2023-08-21 17:29:38 +01:00
Sarah Rainsberger
d44052141b
[docs] deprecate build.split and build.excludeMiddleware in config ref (#8158) 2023-08-21 14:33:32 +01:00
Emanuele Stoppa
d43ca69c1d Merge remote-tracking branch 'origin/main' into next 2023-08-21 14:21:53 +01:00
natemoo-re
a0500e09a6 [ci] format 2023-08-21 14:17:04 +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
natemoo-re
bae5e46fbc [ci] format 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
Sarah Rainsberger
15471e6b4f
[docs] JSX framework integration READMEs (#8151) 2023-08-21 09:47:28 -03: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
Sarah Rainsberger
fd6261dad4
[docs] update scopedStyleStragegy default and description (#8148) 2023-08-18 19:32:10 -03: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
matthewp
be2d60285e [ci] format 2023-08-18 19:45:55 +00: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
Sarah Rainsberger
a7b7b10839
[error messages] Update image errors-data.ts (#8126)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-18 18:46:29 +02:00
Princesseuh
632d1b6842
fix(polyfills): Use object shape for Stackblitz polyfill list 2023-08-18 18:39:10 +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
natemoo-re
ae766f31fe [ci] format 2023-08-18 15:30:30 +00: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
Erika
3e834293d4
feat: add polyfills for stackblitz (#8130)
* feat: add polyfills for Stackblitz

* chore: changeset
2023-08-18 15:13:35 +02: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
natemoo-re
821918bc0c [ci] format 2023-08-18 12:29:31 +00: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
Arsh
8a5b0c1f3a
Switch build.inlineStylesheets default to auto (#8118)
* switch inlineStylesheets default

* use previous default for astro/test

* use previous default for content-collections-render.test.js

* integrations: node, deno, mdx, markdown

* typedocs: switch inlineStylesheets default

* Update example to show non-default

* add changeset

* reword changeset

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-08-18 07:52:06 +01:00
natemoo-re
c7de971b10 [ci] format 2023-08-17 21:53:48 +00:00
Nate Moore
1f6497c334
fix(dev): open to base path (#8123) 2023-08-17 16:51:08 -05:00
Alexander Niebuhr
2540feedb0
feature(@astrojs/cloudflare): port functionPerRoute (#8078)
* port functionPerRoute to cloudflare

* add changeset

* port bugfix to next

* update changeset

* Update packages/astro/src/core/build/generate.ts

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* update changeset

* update README

* add TODO comment

* Update .changeset/wise-cameras-agree.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update .changeset/wise-cameras-agree.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update .changeset/nasty-garlics-listen.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* update README

* Update .changeset/wise-cameras-agree.md

Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>

* Update packages/integrations/cloudflare/README.md

Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>

---------

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>
2023-08-17 16:40:28 -05:00
Nate Moore
fa6b68a776
fix(#6965): fix build stats (#8122) 2023-08-17 15:34:36 -05:00
Sarah Rainsberger
442f946116
[error msg] add hybrid option to a getStaticPaths error message (#8120) 2023-08-17 16:32:27 -03:00
Martin Trapp
b290f0a997
only update our own history entires during back navigation through view transitions (#8116) 2023-08-17 12:18:30 -04:00
Emanuele Stoppa
bbf0b7470b
refactor: use pipeline in Development mode (#8115) 2023-08-17 16:33:56 +01:00
Bjorn Lu
cdebbded0c
Fix cloudflare test (#8117) 2023-08-17 23:24:01 +08:00
Matthew Phillips
ea7ff5177d
astro: namespace for middleware and components (#8101)
* `astro:` namespace for middleware and components

* Update errors to use namespace

* Create a namespace module just for the astro: stuff
2023-08-17 09:28:42 -04:00
Martin Trapp
da6e3da1ce
fix: reinsert attribute to specify direction of ViewTransition (forward / back) (#8109) 2023-08-17 09:28:21 -04:00
Matthew Phillips
4843bff0d2 Fix more conflicts 2023-08-17 09:01:50 -04:00
Matthew Phillips
cbb77af978 Merge branch 'main' into next 2023-08-17 08:54:28 -04:00
Erika
2484dc4080
config: remove ~/assets alias (#8113)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Mia Kanashi <chad@redpilled.dev>
2023-08-17 14:22:26 +02:00
Julien Barbay
d6b4943764
feat(assets): support remote images (#7778)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Princesseuh <princssdev@gmail.com>
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-08-17 13:10:50 +02:00
ematipico
2145960472 [ci] format 2023-08-17 08:37:38 +00:00
Colin McDonnell
dff0f0f8dd
Detect Bun package manager in create-astro (#7944)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-17 09:35:19 +01:00
Arsh
097a8e4e91
Prerendering corner cases (#8070)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-17 09:34:31 +01:00
Elian ☕️
4967c69221
chore: update codesamples for Vercel v3 adapter (#8111) 2023-08-17 09:01:12 +01:00
Elian ☕️
7a625d9bad
chore: update codesamples for Netlify v3 adapter (#8112) 2023-08-17 09:00:46 +01:00
Nate Moore
5b4b782451
fix(solid): update babel-preset-solid (#8107) 2023-08-16 15:59:36 -05:00
Martin Trapp
0e0fa605d1
Fix 8083 (#8105)
* override wrong positions in browser history

* Lost events are taken into account during throttling
2023-08-16 16:38:18 -04:00
natemoo-re
e0d1439f2a [ci] format 2023-08-16 19:39:52 +00:00