993c085952
expose file url to markdown renderer
2023-10-11 11:46:58 -05:00
Alexander Niebuhr
3f231cefed
port https://github.com/withastro/docs/pull/4980 ( #8799 )
2023-10-11 07:06:20 +02:00
lilnasy
a8b979ef40
[ci] format
2023-10-10 16:40:46 +00:00
Arsh
bd5aa1cd35
fix(transitions router): no-op on the server ( #8771 )
...
* fix(transitions router): no-op on the server
* factor out onPopState
* add e2e test case
* Apply suggestions from code review
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
* use supportsViewTransitions
* add changeset
* warn on navigate() use during ssr
* switch supportsViewTransitions to import.meta.env
* correct typo
* bring back import.meta.env
* !import.meta.env.SSR -> inBrowser
* Apply suggestions from code review
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
* 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>
2023-10-10 22:08:35 +05:30
alexanderniebuhr
03e6979c28
[ci] format
2023-10-10 16:11:20 +00:00
Mikkel Ricafrente
75781643a2
fix(cloudflare): runtime types for Cloudflare caches ( #8782 )
...
* fix cachestorage reference in cloudflare integration
* add cachestorage to serverdirectorymode
* add changeset
* remove global caches type
* update unlucky-avocados-brake.md
2023-10-10 18:08:17 +02:00
Houston (Bot)
9cd6a6657b
[ci] release ( #8768 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-10 22:30:52 +08:00
Arsh
c071458257
chore: removed adapters cleanup ( #8726 )
...
* update ci, readme, comments, remote workspaces
* fix hosted test fixture
* keep adapter config typedocs
2023-10-10 19:36:35 +05:30
Alexander Niebuhr
0ab6bad7df
fix(cloudflare): esbuild settings for cloudflare ( #8788 )
...
---------
Co-authored-by: Jonathan Dunlap <595843+jadbox@users.noreply.github.com>
2023-10-10 09:16:32 +02:00
alexanderniebuhr
90d70eb7c4
[ci] format
2023-10-09 17:16:02 +00:00
Jonathan Dunlap
054c5c6447
fix(cloudflare): support for 'cloudflare:*' imports ( #8766 )
...
* chore: add 'cloudflare:sockets' to external list
* chore: add Changeset
* patch: wildcard cloudflare packages
* chore: updated Readme for cloudflare module support
* Update .changeset/heavy-elephants-tan.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/integrations/cloudflare/README.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Alexander Niebuhr <alexander@nbhr.io>
2023-10-09 19:13:46 +02:00
ematipico
7ea27f6319
[ci] format
2023-10-09 16:00:28 +00:00
Arsh
c4a7ec4255
fix(windows): ensure drive letter is uppercase ( #8741 )
2023-10-09 16:58:09 +01:00
bluwy
a0dc79b946
[ci] format
2023-10-09 14:23:53 +00:00
Florian Lefebvre
160d1cd755
feat(tailwind): create a tailwind.config.mjs file by default ( #8638 )
2023-10-09 22:21:26 +08:00
Martin Trapp
29cdfa0248
Fix transition attributes on islands ( #8776 )
...
* Fix transition attributes on islands
* Incorporate comments from review
2023-10-09 16:19:46 +02:00
Martin Trapp
c24f70d916
Fix flickering during view transitions ( #8772 )
...
* Fix for #8711
* more descriptive changeset
* chores, while we are at it ...
2023-10-09 16:15:23 +02:00
Bjorn Lu
33d0be50be
Fix snapshot release permissions ( #8777 )
2023-10-09 20:47:06 +08:00
Bjorn Lu
93b092266f
Make CSS chunk names less confusing ( #8754 )
2023-10-09 17:29:28 +08:00
Makito
eaed844ea8
fix(assets): add the missing await
to getHTMLAttributes ( #8773 )
2023-10-07 21:22:47 +02:00
Martin Trapp
30de324361
Revert fix #8472 ( #8767 )
2023-10-06 23:17:27 +02:00
Matthew Phillips
2262814a92
Give snapshot releases the issues: write permission
2023-10-06 16:11:29 -04:00
Matthew Phillips
f9131003d7
Give the snapshot release the right permissions
2023-10-06 16:00:29 -04:00
Matthew Phillips
d51cf5e707
Snapshot release: prevent setting output
2023-10-06 15:50:36 -04:00
Matthew Phillips
e5e6cf16eb
Add debugging information on preview releases
2023-10-05 14:14:05 -04:00
Matthew Phillips
41f93e0ccb
Print the publish output when it fails
2023-10-05 13:58:03 -04:00
Bjorn Lu
4e5cafa5d2
Fix git tag release ( #8752 )
2023-10-05 18:45:41 +08:00
Bjorn Lu
ec82e73efa
Fix provenance release ( #8749 )
2023-10-05 18:29:36 +08:00
Houston (Bot)
584d6f0680
[ci] release ( #8738 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-05 11:10:06 +01:00
Jacob Lamb
78adbc4433
Update Netlify SSR link ( #8700 )
2023-10-05 07:18:45 +01:00
Nate Moore
d78806dfe0
fix( #8746 ): improve error message for dynamic component usage ( #8747 )
2023-10-04 15:07:21 -05:00
Bjorn Lu
aa265d7302
Remove unused CSS output files when inlined ( #8743 )
2023-10-04 21:18:39 +08:00
bluwy
b18d4bf3b1
[ci] format
2023-10-04 10:31:04 +00:00
Arsh
21e0757ea2
chore: remove undici polyfill ( #8729 )
2023-10-04 18:28:36 +08:00
bluwy
272ad45958
[ci] format
2023-10-04 10:26:21 +00:00
Chris
21f4826576
Fixes: Shiki syntax highlighting adds is:raw attribute to the HTML output ( #8715 )
...
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-10-04 18:23:58 +08:00
Kobe Ruado
71618f4074
Fix markdown rehype plugin example ( #8733 )
2023-10-04 17:55:02 +08:00
natemoo-re
240d8ff7c9
[ci] format
2023-10-03 21:00:07 +00:00
Nate Moore
357270f2a3
Improve astro info
compatability ( #8730 )
...
* Improve `astro info` compatability
* Update packages/astro/src/cli/info/index.ts
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
* chore: add changeset
* feat(info): add copy to clipboard support on Unix machines with xclip installed
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2023-10-03 15:57:31 -05:00
Florian Lefebvre
f277ba8b70
feat: expose partytown types ( close #8723 ) ( #8740 )
2023-10-03 23:16:49 +08:00
Emanuele Stoppa
6f60da805e
feat: add provenance to packages ( #8737 )
2023-10-03 15:25:25 +01:00
Bjorn Lu
d1c75fe158
Fix tsconfig.json
update causing the server to crash ( #8736 )
2023-10-03 14:36:38 +01:00
Genteure
f9477aade1
fix: typo in error deprecation message ( #8708 )
...
Co-authored-by: Alexander Niebuhr <alexander@nbhr.io>
2023-10-02 18:36:15 +02:00
Houston (Bot)
78fda5c3ec
[ci] release ( #8722 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-02 23:55:56 +08:00
Bjorn Lu
455af3235b
Fix CSS styles on windows ( #8724 )
2023-10-02 23:17:34 +08:00
Ray
6db2687ef0
fix(deno): link to adapter repo ( #8712 )
2023-10-02 16:33:24 +02:00
alexanderniebuhr
5fb6a266f8
[ci] format
2023-10-02 14:08:47 +00:00
Alexander Niebuhr
3dd65bf889
feat(cloudflare): add local mockings for CF bindings ( #8655 )
...
* feat(cloudflare): add D1 database binding
* feat(cloudflare): add local mocking for R2 bindings (#8656 )
* feat(cloudflare): add local mocking for KV bindings (#8657 )
* feat(cloudflare): add local mocking for Caches bindings (#8664 )
* feat(cloudflare): add local mocking for DO bindings (#8690 )
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-10-02 16:04:57 +02:00
matthewp
22fae5211a
[ci] format
2023-10-02 12:54:01 +00:00
Matthew Phillips
4c2bec681b
Fixes View transition styles being missing when component used multiple times ( #8710 )
2023-10-02 08:51:53 -04:00
Houston (Bot)
a067c2a2c7
[ci] release ( #8699 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-02 16:34:57 +08:00
Alexander Niebuhr
0b22bb9af4
fix(cloudflare): broken link in docs ( #8709 )
2023-09-30 06:49:04 +02:00
Erika
47ea310f01
feat: resolve images through the file systems on applicable runtimes ( #8698 )
...
* feat: add a node image endpoint
* test: fix
2023-09-29 23:14:40 +02:00
Erika
db83237dd3
refactor(markdown): Move astro:assets
-specific code out of the main Vite plugin ( #8704 )
2023-09-29 23:14:09 +02:00
Martin Trapp
148b5b8769
Fix preloading stylesheets in view transitions ( #8707 )
...
* Fix preload of stylesheets (VT)
* Fix preload of stylesheets (VT)
2023-09-29 20:03:19 +02:00
Bjorn Lu
345808170f
Fix duplicated Astro and Vite injected styles ( #8706 )
2023-09-29 21:55:46 +08:00
Bjorn Lu
31c59ad8b6
Fix hydration on slow connection ( #8680 )
2023-09-29 21:54:46 +08:00
Dario Piotrowicz
c3572fd5e0
fix(cloudflare): target es2022 instead of es2020 to fix esbuild incompatibility issues ( #8682 )
...
* fix(cloudflare): target es2022 instead of es2020 to fix esbuild incompatibility issues
* add changeset
* update changeset
* fix(cloudflare): change build target to es2022
---------
Co-authored-by: Alexander Niebuhr <alexander@nbhr.io>
2023-09-28 20:56:01 +02:00
Alexander Niebuhr
77d37853cb
fix(cloudflare): sneaky docs ( #8694 )
...
* fix(cloudflare): sneaky docs
* resolve docs review comments
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* resolve docs review comments
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-09-28 20:26:47 +02:00
Matthew Phillips
eb530e9b61
Remove the Deno example ( #8697 )
2023-09-28 14:17:46 -04:00
Houston (Bot)
2d33b9362d
[ci] release ( #8695 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-28 14:12:22 -04:00
Matthew Phillips
2167ffd72f
Revert "[ci] release ( #8671 )" ( #8696 )
...
This reverts commit eada8ab8fa
.
2023-09-28 13:57:54 -04:00
Matthew Phillips
0ba32e4402
Adds a stub version number for the old netlify adapter
2023-09-28 13:27:57 -04:00
lilnasy
c4c616c0a5
[ci] format
2023-09-28 17:19:21 +00:00
Arsh
cfd895d877
fix(rerouting): check that the new route is different ( #8648 )
...
* fix(rerouting): check that the new route is different
* add tests
* changeset grammar
2023-09-28 22:46:15 +05:30
Houston (Bot)
eada8ab8fa
[ci] release ( #8671 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-09-28 13:14:13 -04:00
matthewp
3c93476078
[ci] format
2023-09-28 16:23:05 +00:00
Matthew Phillips
824dd4670a
Support content collections with % in filename ( #8684 )
...
* Support content collections with % in filename
* Add changeset
* Unused eslint thing
* Update packages/astro/src/core/build/static-build.ts
Co-authored-by: Alexander Niebuhr <alexander@nbhr.io>
---------
Co-authored-by: Alexander Niebuhr <alexander@nbhr.io>
2023-09-28 12:20:25 -04:00
alexanderniebuhr
0e35457c0f
[ci] format
2023-09-28 16:07:09 +00:00
Alexander Niebuhr
f6ba533df6
chore(cloudflare): refactor structure, optimize patterns ( #8654 )
...
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: 100gle <loogle.space@gmail.com>
2023-09-28 18:04:49 +02:00
Arsh
23e7b259eb
chore(ci): pin CI Node version to 18.17.1 ( #8693 )
...
* chore(ci): pin E2E Node version to 18.17.1
* pin for the "test" as well
* ...for windows, not ubuntu
* ...for windows, not macos
2023-09-28 20:49:45 +05:30
ElianCodes
8617259fc9
[ci] format
2023-09-28 13:50:31 +00:00
Elian ☕️
ec249f7a98
update all the readme's for expressive code ( #8691 )
...
Co-authored-by: HiDeoo <HiDeoo@users.noreply.github.com>
Co-authored-by: Genteure <Genteure@users.noreply.github.com>
Co-authored-by: Bryce Russell <brycetrussell@gmail.com>
Co-authored-by: Reuben Tier <TheOtterlord@users.noreply.github.com>
Co-authored-by: Hippo <hippotastic@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Kevin Zuniga Cuellar <kevinzunigacuellar@users.noreply.github.com>
2023-09-28 15:48:03 +02:00
ElianCodes
0ab19ba615
[ci] format
2023-09-28 12:43:03 +00:00
Elian ☕️
e9b77cbf19
Update codesample for Alpine README ( #8689 )
...
Co-authored-by: HiDeoo <HiDeoo@users.noreply.github.com>
Co-authored-by: Genteure <Genteure@users.noreply.github.com>
Co-authored-by: Bryce Russell <brycetrussell@gmail.com>
Co-authored-by: Reuben Tier <TheOtterlord@users.noreply.github.com>
Co-authored-by: Hippo <hippotastic@users.noreply.github.com>
2023-09-28 14:40:08 +02:00
Adit Sachde
f5c617e3a3
Match the .well-known directory when generating routes.json ( #7776 )
...
* Match the .well-known directory when generating routes.json
* add changeset
* Update .changeset/clean-planets-retire.md
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-09-27 18:34:29 -04:00
matthewp
c0708c921c
[ci] format
2023-09-27 22:21:43 +00:00
Arsh
408b50c5ea
fix(redirects): attempt to get only params in dev mode ( #8647 )
...
* fix(redirects): attempt to get only params in dev mode
* fixtures/ssr-redirect => fixtures/redirects
* add tests
* Update pnpm-lock.yaml
2023-09-27 18:19:06 -04:00
Michaili K
e797b68160
Fix assets not getting optimized when outDir
is outside the CWD ( #8670 )
...
* Fix assets not getting optimized when `outDir` is outside the CWD
* Add missing import
* Add changeset
* Fix import, again.
* Use getOutDirWithinCwd in the serverRoot declaration
2023-09-27 18:18:36 -04:00
Matthew Phillips
87d5b841af
New code ( #8559 )
2023-09-27 17:06:11 -04:00
Matthew Phillips
4ed410db50
Remove Netlify adapter from core ( #8574 )
...
* New link
* More explicit
* Add placeholder package.json
* lockfile
* add keyworkds
2023-09-27 16:48:26 -04:00
matthewp
a10a798c18
[ci] format
2023-09-27 19:25:02 +00:00
Matthew Phillips
e6be2d8146
Add View Transitions announcer ( #8621 )
...
* Add View Transitions announcer
* fix astro check
* Append the text in a setTimeout
* Use 60 for the timeout
* Add comment on magic number
* Add a changeset
* Update .changeset/small-rules-relax.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Bring back announce logic
* Remove mention of env file
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-09-27 15:21:56 -04:00
delucis
5121740de7
[ci] format
2023-09-27 19:19:41 +00:00
Chris Swithinbank
9b0114c7d3
Support integrations added in updateConfig() in astro:config:setup ( #8672 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-09-27 21:17:27 +02:00
Bjorn Lu
e8495c853b
Fix logLevel passed to Vite build ( #8678 )
2023-09-27 22:30:30 +08:00
martrapp
aad756297c
[ci] format
2023-09-27 13:33:07 +00:00
Martin Trapp
63bc37f2b6
API for clientside router ( #8571 )
...
* refactored CSR into goto() function
* first refectoring for router API
* added test
* added comments to fixture
* rename + preliminary changeset
* changeset: now 'minor' and featuring Mathew's example from the docs
* moved for simpler diff
* update after #8617
* fixed ts-errors
* more comprehensible handling of intra-page state
* sync with main
* synch from next_tm
2023-09-27 15:30:13 +02:00
Nolan Lawson
9fe4b95969
fix: print image path for NoImageMetadata ( #8666 )
2023-09-26 21:51:57 +08:00
Houston (Bot)
60684fad72
[ci] release ( #8663 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-25 15:54:55 -04:00
matthewp
7fc700e30d
[ci] format
2023-09-25 14:17:53 +00:00
Matthew Phillips
69fbf95b22
Head propagation graph walking on new pages ( #8646 )
...
* Head propagation graph walking on new pages
* Add changeset
* Avoid the bang
* Add TODOs about handling in resolveId
2023-09-25 10:14:37 -04:00
ematipico
306649c5a4
[ci] format
2023-09-25 13:47:26 +00:00
Simon Knott
008f7647c4
fix(netlify): bundle netlify functions as ESM to support top-level await ( #8661 )
2023-09-25 15:45:13 +02:00
Arsh
954cadc1e5
fix(deno): do not set vite.ssr.noExternal ( #8652 )
...
* fix(deno): safely set external specifiers
* noExternal does not need to be manually set at all
2023-09-25 19:13:43 +05:30
Houston (Bot)
211bfe3b00
[ci] release ( #8635 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-25 18:28:54 +08:00
Rishi Raj Jain
863f5171e8
fix: generated redirect page canonical lacks of site prefix ( #8591 )
2023-09-25 09:54:58 +02:00
Marco Schumacher
2365c12464
fix(cloudflare): added config for _routes.json generation ( #8459 )
...
* added config for _routes.json generation
* added changeset
* renamed test file
* updated comments
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* worked on tests
* worked on docs
* worked on docs
* worked on tests
* updated pnpm-lock.yaml
* worked on tests
* moved the _worker.js in cloudflareSpecialFiles statement
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Alexander Niebuhr <alexander@nbhr.io>
2023-09-24 08:32:03 +02:00
Alexander Niebuhr
4c4ad9d167
chore(core): improve the logging of assets feature ( #8615 )
...
* improve assets logging
* changeset
* fix typo
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* improve log message
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* update log message
* update changeset
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-09-23 18:15:49 +02:00
matthewp
1d4f91b033
[ci] format
2023-09-22 22:14:57 +00:00
Matthew Phillips
cb838b84b4
fix getDataEntryById to lookup by base name ( #8645 )
2023-09-22 18:12:51 -04:00
natemoo-re
421257fc1c
[ci] format
2023-09-22 21:03:31 +00:00
Jacob Lamb
139b0f54d9
Refine CLI flag descriptions for clarity ( #8545 )
...
* Refine CLI flag descriptions for clarity
* Update README.md
* Update README.md
* Update README.md
* Update help.ts
* Update packages/create-astro/src/actions/help.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/create-astro/README.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/create-astro/README.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update README.md
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-09-22 16:00:38 -05:00
matthewp
4f2bf2156f
[ci] format
2023-09-22 18:15:46 +00:00
Matthew Phillips
f36c4295be
Warn on empty content collections ( #8640 )
...
* Warn on empty content collections
* Update packages/astro/src/core/errors/errors-data.ts
Co-authored-by: Reuben Tier <64310361+TheOtterlord@users.noreply.github.com>
---------
Co-authored-by: Reuben Tier <64310361+TheOtterlord@users.noreply.github.com>
2023-09-22 14:12:36 -04:00
Martin Trapp
974d5117ab
fix: no deletion of scripts during view transition ( #8636 )
2023-09-22 12:01:22 -04:00
ematipico
0352dec47b
[ci] format
2023-09-22 15:00:18 +00:00
Adrian Lyjak
faeead4232
feat(@astrojs/cloudflare): Add support for wasm module imports ( #8542 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-09-22 16:58:00 +02:00
bluwy
b1310e6f13
[ci] format
2023-09-22 14:49:43 +00:00
Paul Valladares
a3bee1477e
Update: Improve manual install guide of @astrojs/tailwind
integration ( #8619 )
2023-09-22 22:47:40 +08:00
bluwy
f35a55bd4f
[ci] format
2023-09-22 13:20:50 +00:00
Reuben Tier
b64dd45c0d
Fix behaviour regression in create-astro ( #8634 )
2023-09-22 21:18:46 +08:00
Yan Thomas
bd00ad776d
Fix subheading inconsistency ( #8623 )
2023-09-22 14:57:27 +02:00
Erika
63141f3f3e
fix: properly generate code for multiple images in same markdown file ( #8633 )
2023-09-22 14:28:03 +02:00
Erika
de7a7fbdc3
nit: optimize images ( #8629 )
2023-09-22 12:04:39 +02:00
Matthew Phillips
da00425a5f
Revert "fix: islands are not being rendered correctly ( #8580 )" ( #8624 )
...
This reverts commit 8d361169b8
.
2023-09-22 09:39:27 +02:00
Houston (Bot)
4e1e8dc5c6
[ci] release ( #8597 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-21 14:32:12 -04:00
matthewp
fe29ce2731
[ci] format
2023-09-21 17:10:10 +00:00
Erika
bdd267d089
fix(markdown): Fix Markdown images breaking the build ( #8598 )
...
* fix(markdown): Fix Markdown images breaking the build
* chore: changeset
* Update packages/astro/src/core/errors/errors-data.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Fix tla chunking
* One directory up
* Down we go
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2023-09-21 13:07:33 -04:00
Bjorn Lu
5a988eaf60
Fix Astro HMR from a CSS dependency ( #8609 )
...
* Fix Astro HMR from a CSS dependency
* Improve css test
* Create wise-donuts-tickle.md
2023-09-21 12:53:37 -04:00
Martin Trapp
e8c997db99
Clean-up router implementation ( #8617 )
...
* Update regarding review comments from #8571
* Update regarding review comments from #8571 (2)
* Update regarding review comments from #8571 (3)
* Update regarding review comments from #8571 (4)
2023-09-21 10:21:29 -04:00
matthewp
a576ba9c37
[ci] format
2023-09-21 12:58:10 +00:00
Matthew Phillips
bcad715ce6
Ensure cookies are attached when middleware changes the Response ( #8612 )
...
* Ensure cookies are attached when middleware changes the Response
* fix test
2023-09-21 08:55:05 -04:00
ematipico
defab70cb2
[ci] format
2023-09-21 08:37:23 +00:00
Timon Jurschitsch
e522a5eb41
Remove AstroError if content directory is empty ( #8382 )
...
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-09-21 10:34:20 +02:00
Arsh
4398e92987
fix(middleware): undo config's path to URL encoding ( #8614 )
...
* fix(middleware): undo config's path to URL encoding
* add changeset
* middleware-dev => "middleware space"
2023-09-21 07:35:33 +02:00
FredKSchott
b4034aabea
[ci] format
2023-09-20 16:52:04 +00:00
Fred K. Schott
ed54d46449
improve telemetry ( #8600 )
2023-09-20 09:50:04 -07:00
matthewp
0119a271ae
[ci] format
2023-09-20 13:20:38 +00:00
Matthew Phillips
8f8b9069dd
Prevent body scripts from re-executing on navigation ( #8603 )
...
* Prevent body scripts from re-executing on navigation
* Adding changeset
* Run script replacement logic before head
* Rename doc to newDocument
2023-09-20 09:18:02 -04:00
Martin Trapp
2d7f5429a5
test: since we check the media-type, data-astro-reload has fewer use cases ( #8605 )
2023-09-20 17:50:56 +08:00
Bjorn Lu
70f2a80039
Fix alias plugin causing CSS ordering issue ( #8592 )
2023-09-20 17:45:11 +08:00
ematipico
c49e865f4f
[ci] format
2023-09-20 08:30:38 +00:00
Arsh
2e1d5f8739
fix(node): report render error to the terminal ( #8599 )
2023-09-20 10:27:46 +02:00
J. B. Rainsberger
1f1c47d909
Improved the spelling of a word in the Portfolio template. ( #8576 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-09-19 16:33:33 -05:00
ematipico
767599522c
[ci] format
2023-09-19 09:53:20 +00:00
Alexander Niebuhr
5b0b3c9a8e
fix(@astrojs/cloudflare): support for nodejs_compat ( #8595 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2023-09-19 11:51:06 +02:00
Houston (Bot)
9b84a7ef96
[ci] release ( #8590 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-19 17:21:05 +08:00
bluwy
86acd0f1d5
[ci] format
2023-09-19 09:11:23 +00:00
Jacob Lamb
1d5b3f079d
feat(create-astro): Update flag behavior for template and project-name ( #8551 )
2023-09-19 17:09:27 +08:00
Rishi Raj Jain
d0e513f214
fix: Vercel serverless adapter logs too much ( #8581 )
2023-09-18 19:22:55 +08:00
Rishi Raj Jain
0586e20e83
fix: redirect page type icon not properly displayed ( #8579 )
2023-09-18 17:59:19 +08:00
ematipico
6024955882
[ci] format
2023-09-18 09:47:02 +00:00
Alexander Niebuhr
3da5d8404e
feat(@astro/cloudflare): improve DX for runtime typing ( #8560 )
2023-09-18 10:44:19 +01:00
Miguel Carneiro
c9bbd304ca
Tailwind configuration file changed from cjs
to ts
( #8583 )
2023-09-18 17:41:38 +08:00
Erika
95b5f6280d
fix(assets): Fix misc types issues ( #8568 )
...
* fix(assets): Fix misc types issues
* fix: remove unnecessary change
* chore: changeset
2023-09-18 11:39:21 +02:00
Rishi Raj Jain
8d361169b8
fix: islands are not being rendered correctly ( #8580 )
2023-09-18 17:35:27 +08:00
Houston (Bot)
fca6892f8d
[ci] release ( #8540 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-14 12:44:09 -04:00
matthewp
8376f24b47
[ci] format
2023-09-14 12:17:20 +00:00
Matthew Phillips
b79e11f3c4
Change functionPerRoute to false by default ( #8546 )
...
* Change functionPerRoute to false by default
* Update test that depends on functionPerRoute
* Update .changeset/cool-pianos-smell.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/cool-pianos-smell.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/integrations/vercel/README.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/integrations/vercel/README.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/cool-pianos-smell.md
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-09-14 08:15:11 -04:00
Bjorn Lu
74dc3edb30
Improve MDX rendering performance ( #8533 )
2023-09-14 20:05:38 +08:00
Chris
2e8726feec
[@astrojs/vercel] Individually enable Speed Insights and Web Analytics ( #8021 )
...
* Individually enable Speed Insights and Web Analytics
* Update pnpm-lock.yaml
* Remove .only on tests
* Fix build
* Move `beforeSend` out of config
* Address feedback from review
* Update README.md
* Add back the `analytics` property and add deprecation warning when used
* Add migration guide for the deprecated `analytics` property
* Update packages/integrations/vercel/README.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update README.md
* Fix external dependency issue
* Simplify plugin and reduce scope
* Update .changeset/sixty-teachers-tap.md
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Apply feedback from review
* Move exposeEnv to speed-insights since it's only used there
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-09-14 08:02:11 -04:00
Bjorn Lu
7522bb4914
Improve markdown rendering performance ( #8532 )
2023-09-14 18:22:16 +08:00
Jacob Lamb
61ac5c9eaa
chore(astro): update readme ( #8530 )
...
* chore(astro): update readme
* Update packages/astro/README.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-09-13 16:19:30 -05:00
Martin Trapp
f95febf96b
Fix for checking media type in CSR ( #8537 )
...
* bugfix checking media-type
* bugfix checking media-type
* Update packages/astro/components/ViewTransitions.astro
.* is longest possible run, but a dollar won't harm us :)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* make typescript happy
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-09-13 16:17:07 -05:00
Princesseuh
eb3c33cff7
[ci] format
2023-09-13 19:18:07 +00:00
Andrew Moore
45364c3452
feat: added types to allow the creation of user space content services ( #7607 )
...
* feat: added types to astro:content to allow user space content services
* Create small-apes-clap.md
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-09-13 21:16:00 +02:00
Erika
91380378ce
feat(vercel): Use Sharp in dev instead of Squoosh by default ( #8445 )
...
* feat(vercel): Use Sharp in dev instead of Squoosh by default
* fix(build):
* nit: adjust with feedback
* fix: imports
* Update packages/integrations/vercel/README.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* docs: small change in other part of the README
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-09-13 18:40:02 +02:00
Martin Clementz
6c6f1aef43
chore: check if ssr works on netlify ( #8002 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-09-13 18:30:23 +02:00
Princesseuh
de8d6ad237
[ci] format
2023-09-13 16:29:09 +00:00
Ben Holmes
a8d72ceaee
[MDX] Support img
component prop for optimized images ( #8468 )
...
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-09-13 18:27:03 +02:00
Erika
ecc65abbf9
feat(assets): Allow users to set a custom endpoint to use for image optimization ( #8467 )
...
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-09-13 18:15:58 +02:00
Erika
c92e0acd71
feat(types): Add types for the object form of style ( #8464 )
2023-09-13 17:57:59 +02:00
Lars Kappert
d93987824d
feat(markdown): Add support for imageReference
paths when collecting images ( #8475 )
2023-09-13 17:29:39 +02:00
Erika
2c4fc878be
Support AVIF input assets ( #8518 )
2023-09-13 17:27:16 +02:00
btea
9552ef1481
chore(create-astro): Added create project using pnpm
( #8340 )
2023-09-13 16:58:18 +02:00
Erika
4e395a6cab
config: migrate us to moduleResolution: 'node16' ( #8519 )
2023-09-13 16:49:22 +02:00
Erika
b85c8a78a1
feat: better errors for images ( #8536 )
2023-09-13 16:44:15 +02:00
natemoo-re
3be8b67f89
[ci] format
2023-09-13 14:43:40 +00:00
Nate Moore
ed952b4cea
Improve create-astro
startup performance ( #8456 )
...
* feat(create-astro): improve performance
* test: fix test by wrapping promise values
* chore: remove uneeded deps
* Update ten-kings-smash.md
* chore: update lockfile
2023-09-13 09:40:53 -05:00
Jacob Lamb
f02dc9f7bf
chore(create-astro): Remove npm 6.x note ( #8529 )
...
* chore(create-astro): Remove npm 6.x note
* Add missing space
2023-09-13 08:56:34 -05:00
Houston (Bot)
c23ddb9ab3
[ci] release ( #8501 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-12 14:29:39 -04:00
natemoo-re
93d5bef3e4
[ci] format
2023-09-12 17:52:22 +00:00
Nate Moore
aac51bd00b
chore: disallow node builtins in runtime ( #8523 )
2023-09-12 12:50:06 -05:00
matthewp
a02707a8b2
[ci] format
2023-09-12 16:56:23 +00:00
Martin Trapp
43bc5f2a55
Vt follow redirects ( #8522 )
...
* View Transitions redirects WIP
* transition across redirects
* added changeset
---------
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-09-12 12:54:32 -04:00
Martin Trapp
2db9762eb0
Restore horizontal scroll position on history navigation (view transitions) ( #8505 )
2023-09-12 11:37:28 -04:00
bluwy
4105491732
[ci] format
2023-09-12 09:58:47 +00:00
Okuto Oyama
644825845c
Removed <style>
with type="text/css"
from inline output at build time ( #8480 )
2023-09-12 17:56:52 +08:00
Erika
bf341d6762
revert: avif support ( #8511 )
2023-09-11 23:00:43 +02:00
Erika
cda7d80ac5
chore: revert avif change ( #8509 )
2023-09-11 20:29:36 +02:00
Erika
f41157e955
chore: do a minor for avif support ( #8508 )
2023-09-11 20:20:55 +02:00
lilnasy
fdf9b66f9b
[ci] format
2023-09-11 18:07:37 +00:00
Alexander Niebuhr
2c96144696
feat(@astrojs/cloudflare): add runtime support to astro dev
( #8426 )
...
* add necessary libs
* cleanup stale code
* add base feature-set of runtime to `astro dev`
* fix lockfile
* remove future code
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
* remove future code
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
* remove future code
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
* remove future code
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
* remove future code
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
* address review comments
* fix linting issue
* add docs & tests
* fix test paths
* add changeset
* update README.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* fix docs & make adapter options optional
* fix package resolve mode
* fix pnpm-lock
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-09-11 23:34:44 +05:30
Princesseuh
b384cf4f7d
[ci] format
2023-09-11 17:30:40 +00:00
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
matthewp
c934b087d7
[ci] format
2023-09-11 12:41:49 +00:00
Matthew Phillips
fa77fa63d9
Prevent style removal of client:only components ( #8472 )
2023-09-11 08:39:22 -04:00
Bjorn Lu
1ed21d10db
Clear caches older than 5 days ( #8494 )
2023-09-11 20:05:17 +08: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
matthewp
b65e84d888
[ci] format
2023-09-08 14:02:12 +00: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
Erika
50c0a803e3
refactor: move type utils into a single file ( #8462 )
2023-09-08 14:58:37 +02: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
matthewp
5c23bf1c90
[ci] format
2023-09-07 18:24:12 +00: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
natemoo-re
8a08cb8d2a
[ci] format
2023-09-06 22:25:23 +00: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
0b8fbe2062
Update README.md ( #8433 )
2023-09-06 16:27:25 -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
natemoo-re
eb7615f25a
[ci] format
2023-09-06 15:25:56 +00:00
Nate Moore
c06b41a6b8
Update Prettier ( #8420 )
...
* chore: fix prettier config
* chore: format
* chore(prettier): format `.astro` files
2023-09-06 10:23:44 -05: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
Matthew Phillips
fa826f84b2
Temporarily pin Node 20 version in CI ( #8431 )
2023-09-06 09:33:00 -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
matthewp
59672ad4e7
[ci] format
2023-09-06 13:24:09 +00: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
matthewp
2272f8d3c4
[ci] format
2023-09-06 13:15:40 +00: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
bluwy
35dff8246d
[ci] format
2023-09-06 09:17:34 +00:00
Jacob Lamb
d2f2a11cdb
Improve Package Detection ( #8306 )
2023-09-06 17:15:10 +08:00
ematipico
eb8c4cc2fc
[ci] format
2023-09-06 04:46:18 +00: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
Bjorn Lu
837ad16491
Skip cloudflare CLI tests if fail to start ( #8417 )
...
* Skip cloudflare CLI tests if fail to start
* Fix port
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-09-05 14:35:41 -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
lilnasy
cde0cc4093
[ci] format
2023-09-05 18:03:21 +00: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
Shinya Fujino
8352ee0a9a
Fix some formatting problems and description in astro.ts ( #8410 )
2023-09-05 08:36:02 -03:00
Chris Swithinbank
93a1231f14
Add location data to MDX compile errors ( #8405 )
2023-09-05 12:48:39 +02:00
Julien Déramond
fd6ce9a99a
fix: funcitonPerRoute
→ functionPerRoute
in vercel integ package ( #8406 )
2023-09-05 07:28:23 +01:00
Ikko Eltociear Ashimine
b6066e109c
refactor: fix typo in astro.ts ( #8385 )
...
Co-authored-by: Elian ☕ ️ <hello@elian.codes>
2023-09-04 17:56:16 +02:00
bluwy
c48d4765c1
[ci] format
2023-09-04 15:12:28 +00:00
李瑞丰
d92ab06544
Update examples & uppercase endpoints & fix response ( #8391 )
...
Co-authored-by: liruifeng <liruifeng@troila.com>
2023-09-04 23:10:39 +08:00
Michael Oliver
77922ae5db
chore: use z.coerce.date()
to pass input through new Date(input)
. ( #8383 )
2023-09-04 18:46:24 +08:00
giovanni
535a458999
fix: remove duplicate import ( #8393 )
...
Co-authored-by: jesse <qfei.shao@gmail.com>
2023-09-04 18:42:46 +08: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
李瑞丰
8d12659ce8
Fix benchmark import path ( #8389 )
2023-09-04 11:19:53 +08:00
matthewp
dc8bcb6ae7
[ci] format
2023-09-02 01:06:06 +00: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
natemoo-re
d8ecae2c54
[ci] format
2023-09-01 23:15:14 +00: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
Princesseuh
7a91600a9e
[ci] format
2023-09-01 18:32:11 +00: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
ematipico
cc99b2814f
[ci] format
2023-09-01 13:35:21 +00: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
natemoo-re
a4780e97f6
[ci] format
2023-08-31 18:08:08 +00: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
natemoo-re
d7579f36d7
[ci] format
2023-08-31 17:37:00 +00: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
matthewp
f36bce043f
[ci] format
2023-08-31 15:32:51 +00: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
Erika
7c67fa77b2
config: set proper default config on framework-react example ( #8289 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-30 17:03:16 +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
Matthew Phillips
206a89d43e
3.0.1 release
2023-08-30 10:20:00 -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
Emanuele Stoppa
c2d92dc293
chore: exit from next
mode ( #8278 )
2023-08-30 09:20:49 +01: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
bluwy
6606245b35
[ci] format
2023-08-25 13:02:36 +00:00
Bjorn Lu
0ae3b7a7ba
Improve stress test benchmark ( #8225 )
2023-08-25 21:00:51 +08: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
f1c610636a
Merge pull request #8188 from withastro/next
...
Astro 3.0
2023-08-24 10:38:14 -04: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
Emanuele Stoppa
df568b3efc
chore: update @astrojs/language-server
( #8213 )
2023-08-24 10:04:01 -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
Arjun
85f2c2464c
refactor: replace header with div ( #8204 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-23 14:44:52 -05: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
Paul Valladares
a571a1ac07
Fix(examples): changed inline-style to regular selector ( #8185 )
...
* fix: changed inline-style to a regular selector
* fix: fixed typo
* fix: removed styles from noscript tags
2023-08-23 07:11:12 +05:30
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
9751f01817
chore: update lock file
2023-08-22 14:02:37 +01:00
Emanuele Stoppa
2d50d50b6a
Merge remote-tracking branch 'origin/main' into next
2023-08-22 14:02:15 +01:00
Emanuele Stoppa
ad245897f6
chore: update bug report to use the astro info
command ( #8175 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-22 14:01:29 +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
6011d52d38
RC Release candidate ( #8179 )
...
* RC Release candidate
* Use the rc tag
2023-08-21 13:11:26 -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
1f54deff22
chore: lock file
2023-08-21 14:24:08 +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
Ben Elan
31a280e438
chore(gitpod): resolve potential globbing and word splitting issue ( #8124 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
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
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
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
Ben Elan
1b656233b3
chore(gitpod): resolve potential globbing and word splitting issue ( #8124 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-17 15:35:52 -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
Nel
9dd09e2c6a
Fix #7056 Splashing Navigation Menu in portfolio template ( #7078 )
...
* Fix #7056 Splashing Navigation Menu in portfolio template
* Add menu back to no-JS view
* Fix desktop view in non-JS & menu styling
* chore: force ci
---------
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-16 15:04:53 -05:00
natemoo-re
e0d1439f2a
[ci] format
2023-08-16 19:39:52 +00:00
Nate Moore
e6e1de4f08
[create-astro] verify connectivity and --template ( #8102 )
...
* feat(create-astro): verify that --template exists
* feat: verify internet connectivity
* chore: skip connectivity check on --dry-run
* chore: fix lint
2023-08-16 14:37:43 -05:00
Nate Moore
42ed85b3e2
Fix flaky Cloudflare test ( #8103 )
...
* chore: fix flaky CF test
* chore: increase wrangler timeout
2023-08-16 13:28:57 -05:00
Adam Heath
79d35bbb90
Fix missing async/await in vite-plugin-integrations-container on astro:server:setup hook ( #8104 )
...
* All astro integrations hooks are defined as returning void|Promise, so
all calls need to deal with a possible async/await pattern. One was
missed in vite-plugin-integrations-container.
This plugin is definitely used by the astro-dev when using a node
adapter, but I am not sure about other such scenarios. I did a search
through the code base, and all other runHook* calls are properly
awaited.
* chore: make test async
---------
Co-authored-by: Nate Moore <nate@astro.build>
2023-08-16 12:57:00 -05:00
Reuben Tier
db5e8ad8af
Update build.inlineStylesheets docs ( #8061 )
...
Co-authored-by: Elian ☕ ️ <hello@elian.codes>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-16 12:52:40 -05:00
matthewp
fb31ce55d9
[ci] format
2023-08-16 17:44:01 +00:00
Matthew Phillips
16a3fdf931
Add experimentalReactChildren option to React integration ( #8082 )
...
* wip: support true react vnodes in renderer
* Add new experimentalReactChildren option to React integration
* Update the test
* Add docs
* Update packages/integrations/react/server.js
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Update with a better test
* Update .changeset/yellow-snakes-jam.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/integrations/react/README.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/integrations/react/README.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-08-16 13:40:57 -04:00
Emanuele Stoppa
ca4cf01100
refactor: build pipeline ( #8088 )
...
* refactor: build pipeline
* refactor: build pipeline
* fix: manifest not extensible and correct directory for renderers.mjs
* fix: correctly resolve output directory
* fix: correctly compute encoding and body
* chore: update documentation
* refactor: change how tests are run
* refactor: fix test regressions!!
2023-08-16 16:45:21 +01:00
Bjorn Lu
788825bd8b
Refactor dependency usage ( #8076 )
2023-08-16 22:26:19 +08:00
Nate Moore
7177f7579b
Cleanup dotfiles in dist ( #8092 )
...
* fix(#7933 , plt-789): cleanup dotfiles during build
* chore: add changeset
2023-08-16 09:20:38 -05:00
Arsh
0ad6a5e2d8
chore(test): remove duplicates fixtures ( #8098 )
2023-08-16 12:17:18 +01:00
Erika
b76c166bdd
feat: unflag experimental.assets ( #7921 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-08-16 10:21:05 +02:00
Eric Mika
0bf2cca5d7
Filter out Svelte's unknown class prop console warnings ( #7291 )
...
* Filter out Svelte's unexpected class prop console warnings
Astro's hydration code passes a `class` prop to Svelte components, inducing Svelte to log a warning about an unknown prop. Preempting this by exporting a `class` prop from the Svelte component isn't a viable workaround since `class` is a reserved identifier in JS.
This PR implements the console-filtering workaround suggested by @HiDeoo in #5665 , borrowing the `useConsoleFilter` approach from the [preact integration](a1c0cbe604/packages/integrations/preact/src/server.ts (L72-L94)
).
It would probably be better to generalize console filtering so it could be shared across multiple integrations.
Ideally there would be a way to handle this in Svelte, but as was pointed out in the issue thread even they resort to [similar cringe-inducing hackery](https://github.com/sveltejs/kit/blob/master/packages/kit/src/runtime/client/client.js#L1974-L1996 ) in sveltekit.
* Only filter Svelte console warnings in dev builds
* Add changeset
* Fix lint error.
---------
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-15 17:31:01 -05:00
natemoo-re
0b59bc944b
[ci] format
2023-08-15 22:21:05 +00:00
Nate Moore
483ecd5027
chore: update to use getEntry ( #8093 )
2023-08-15 17:18:28 -05:00
Houston (Bot)
53ad9efde4
[ci] release ( #8090 )
...
* [ci] release
* Update packages/create-astro/CHANGELOG.md
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-15 16:12:45 -05:00
Martin Trapp
56e7c5177b
Handle noscript tags in head during ViewTransitions ( #8091 )
2023-08-15 16:26:37 -04:00
natemoo-re
76a2ba270d
[ci] format
2023-08-15 17:27:28 +00:00
Nate Moore
04755e8465
fix(create-astro): update install step ( #8089 )
2023-08-15 12:25:24 -05:00
Alexander Zaytsev
709f40538b
Add Transloadit to the Gold Sponsors list ( #8074 )
...
Co-authored-by: Darius <19603573+itsMapleLeaf@users.noreply.github.com>
2023-08-15 12:18:02 -05:00
natemoo-re
a37b2242d0
[ci] format
2023-08-15 17:13:43 +00:00
Nate Moore
74df833708
Update wrangler ( #8081 )
...
* chore: update wrangler
* chore(cloudflare): update tests to support wrangler@3
* chore(cloudflare): update debug message
* chore: force ci
2023-08-15 12:10:51 -05:00
Houston (Bot)
087270c61f
[ci] release ( #8064 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-15 22:35:58 +08:00
Greg Cobb
a12027b6af
fix: Removed extra double quotes from computed style in shiki code component ( #8035 )
2023-08-15 22:29:16 +08:00
hbgl
560e459246
Stream request body instead of buffering it in memory ( #8084 )
...
Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
2023-08-15 15:26:18 +01:00
bluwy
3755424f93
[ci] format
2023-08-15 13:17:37 +00:00
Bjorn Lu
5d1d0aeda6
Document SSG format and trailingSlash consistency ( #8068 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-08-15 21:15:29 +08:00
Bjorn Lu
fa29e4a36f
Remove deepmerge-ts for simpler implementation ( #8086 )
2023-08-15 21:11:00 +08:00
Emanuele Stoppa
e12a101842
chore: merge
2023-08-15 09:24:34 +01:00
Emanuele Stoppa
7530d5689d
Merge remote-tracking branch 'origin/main' into next
2023-08-15 09:24:06 +01:00
Bjorn Lu
68efd4a8b2
Export astro/compiler-runtime and cleanup exports ( #8085 )
2023-08-15 16:21:28 +08:00
Sergey Shishkin
c19987df0b
Export AstroConfigType properly as type and not as a Zod schema value ( #7702 )
2023-08-15 08:30:39 +01:00
natemoo-re
1e9902177d
[ci] format
2023-08-14 19:25:29 +00:00
Alexander Niebuhr
7b77b34cef
fix(@astrojs/cloudflare): unsynced astro asset support flag ( #8079 )
...
* fix astro assets support in cloudflare
* add changeset
2023-08-14 14:23:36 -05:00
Nate Moore
44cf30a252
chore: slim create-astro deps ( #8077 )
2023-08-14 14:23:14 -05:00
natemoo-re
a34a48826c
[ci] format
2023-08-14 16:29:04 +00:00
Robin Neal
da517d4055
fix: remove react identifierPrefix from client:only ( #8075 )
...
This was causing React components rendered with client:only
to be prefixed with null. While not technically causing any
issues, it is unintended and could be considered a bug.
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-14 11:26:03 -05:00
natemoo-re
7d7920ea91
[ci] format
2023-08-14 15:53:38 +00:00
Nate Moore
3e46634fd5
Support flags for astro add
( #8032 )
...
* astro add cli pass down arguments to install cmd
* add changeset
* feat: pass common flags down to install command
* Update .changeset/soft-colts-heal.md
---------
Co-authored-by: Elod Tobak <tobakelod@gmail.com>
2023-08-14 10:50:49 -05:00
Matthew Phillips
4477bb41c8
Update types to specify that compress defaults to true ( #8072 )
...
* Update types to specify that compress defaults to true
* Update astro.ts
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-08-14 11:10:37 -04:00
Nate Moore
5208a3c8fe
fix: remove ./dist/jsx/* exports ( #8030 )
2023-08-14 09:22:01 -05:00
James Garbutt
d1f7143f9c
fix(astro): strongly type Astro.self ( #7866 )
...
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Princesseuh <princssdev@gmail.com>
2023-08-14 16:04:45 +02:00
Houston (Bot)
19f9edf977
[ci] release (beta) ( #8067 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-14 08:46:22 -05:00
Erika
afc45af202
feat(assets): Add support for passing non-awaited imports to the Image component and getImage
( #8066 )
...
* feat(assets): Add support for passing non-awaited imports to the Image component and `getImage`
* test: add test
2023-08-14 15:29:42 +02:00
Bjorn Lu
2aa6d8ace3
Add changeset for internal helper package ( #8062 )
2023-08-14 08:22:44 -05:00
Elian ☕️
c5b60fadb8
chore: Update README.md ( #8065 )
2023-08-14 13:26:28 +02:00
Martin Trapp
bee284cb77
docs: fix github search link in README.md ( #8063 )
...
Co-authored-by: Elian ☕ ️ <hello@elian.codes>
2023-08-14 11:22:13 +02:00
Samuel Plumppu
41cfde9a7d
fix: Cleanup blog template images ( #8051 )
2023-08-14 15:53:10 +08:00
Houston (Bot)
f39a80c583
[ci] release ( #8043 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-11 14:02:47 -04:00
matthewp
06fa76cec6
[ci] format
2023-08-11 17:57:40 +00:00
Matthew Phillips
4a145c4c7d
Fix same-page transition with different query params ( #8042 )
2023-08-11 13:54:31 -04:00
Houston (Bot)
e1a886530f
[ci] release ( #8023 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-11 11:22:23 -04:00
Arsh
718d8f5472
docs(netlify): remove comma ( #8040 )
...
* docs(netlify): remove comma
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* them -> these functions
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-08-11 20:10:00 +05:30
lilnasy
6fafb3d15d
[ci] format
2023-08-11 14:11:56 +00:00
Arsh
f974c95a27
Add Incremental Static Regeneration support for the Netlify's on-demand builders adapter ( #7975 )
...
* feat(netlify): expose builders ttl as a local
* add changeset
* docs(netlify): caching using on-demand builders
* reword readme section
* Update packages/integrations/netlify/package.json
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* include builders-types.d.ts in the distribution
* document caveat regarding query params
* update changeset
* mutation -> function
* locals.netlify -> locals.runtime
* update types and changeset
* Apply suggestions from code review
Co-authored-by: Elian ☕ ️ <hello@elian.codes>
* Apply suggestions from code review
Co-authored-by: Elian ☕ ️ <hello@elian.codes>
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Elian ☕ ️ <hello@elian.codes>
2023-08-11 19:39:44 +05:30
matthewp
6a9fb2d95d
[ci] format
2023-08-11 14:00:50 +00:00
Matthew Phillips
6b57628d12
Prevent Vercel NFT from scanning /dev ( #8039 )
...
* Prevent Vercel NFT from scanning /dev
* Add a comment
2023-08-11 09:58:32 -04:00
matthewp
2bdcba2aa7
[ci] format
2023-08-11 12:59:13 +00:00
Matthew Phillips
405913cdf2
Prevent script re-execution on page evaluation ( #8033 )
2023-08-11 08:56:12 -04:00
Emanuele Stoppa
87d4b18437
fix: middleware entry point to not be set ( #8036 )
...
* fix: middleware entry point to not be set
* chore: update tests
2023-08-11 12:24:12 +01:00
natemoo-re
fa3e839843
[ci] format
2023-08-10 18:25:25 +00:00
Jerry_wu
b16cb787fd
Support --host
for Node adapter preview ( #6928 )
...
* supporting a network address access a website when an user set host = true in Node environment
* fix bug
* sumbit test code
* optimism
* delect white space
* test
* fix test
* fix test error
* test
* test
* test
* fix test error
* Optimizing code based on the comments
* optimize test
* fix: rebase issues
* chore: format
* chore: add changeset
* chore: format
* chore: format
* chore: lint
---------
Co-authored-by: wuls <linsheng.wu@beantechs.com>
Co-authored-by: Nate Moore <nate@astro.build>
2023-08-10 13:22:50 -05:00
natemoo-re
f7a901e7c4
[ci] format
2023-08-10 16:36:09 +00:00
Nate Moore
8292c41311
fix( #5637 ): fix yarn berry support for create-astro ( #8028 )
2023-08-10 12:33:37 -04:00
Nate Moore
1b8d302099
Ensure dev server restart respects base
removal ( #8027 )
...
* fix(#6067 ): dev server restart respects base removal
* chore: remove baseCss
2023-08-10 10:52:21 -05:00
Shinya Fujino
3bc74dd4a9
Remove unnecessary hyphen from svg tag ( #8025 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-10 10:31:50 -05:00
Shinya Fujino
210f8d9f79
Update path to image in public/ to suppress warning ( #8026 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-10 10:31:37 -05:00
natemoo-re
0d3aa89dcf
[ci] format
2023-08-10 15:21:42 +00:00
Alexander Niebuhr
ffcfcddb75
feat(@astrojs/cloudfalre): add cloudflare envs to Astro.locals
( #7541 )
...
* add support for advanced mode
* add support for directory mode
* use asset fallback as in cloudflare's docs
* update locals
* come up with new runtime in `Astro.locals`
* add overwrite protection
* minor cleanup
* changeset
* address review comments
* move overwrite protection to adapter
* fix types
* fix comment
* resolve review comments
* update changeset
* add test
* redo ts
* fix integration test port
* updated tests, add new port
* add TODO comment
* update changeset
* add JSDoc
* Update packages/integrations/cloudflare/src/runtime.ts
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-10 10:19:00 -05:00
bluwy
22c944712c
[ci] format
2023-08-10 14:16:37 +00:00
Bjorn Lu
c23377caaf
Fix getCollection return new instance in prod ( #8022 )
2023-08-10 22:13:32 +08:00
Martin Trapp
86bee28121
View Transitions: do not animate same page navigation, but animate hash links to different pages ( #8013 )
...
* Links with hash marks are now supported if they lead to a different page
* treat links to same page equally, independent of hash or not
* Links to the same page do not trigger view transitions
* special treatment for trailing hash
* view transitions: simpler rule to exclude in-page links
2023-08-10 10:07:13 -04:00
Houston (Bot)
fc30b8539c
[ci] release ( #8017 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-10 21:25:28 +08:00
ematipico
6936c173c0
[ci] format
2023-08-10 12:42:09 +00:00
Oliver Speir
4c9d1cb8f2
Update content-types.template.d.ts ( #8010 )
...
Provides more useful information when hovering variables typed with CollectionEntry<"collectionName">
* Does not change the functionality of existing code
* Flatten<AnyEntryMap[C]> is the same as AnyEntryMap[C][keyof AnyEntryMap[C]]
* Both will produce a union of all note entry types within the "collectionName" key
2023-08-10 13:39:36 +01:00