Junseong Park
b781f8860c
fix: update wrong action error message ( #12279 )
...
* fix: update wrong action error message
* add changeset
* Update .changeset/seven-elephants-suffer.md
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-10-22 10:25:30 +01:00
Florian Lefebvre
eb41d13162
feat(next): make defineConfig generic ( #12243 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-10-21 18:26:00 +02:00
Luiz Ferraz
e9e8080a81
Add server island route to the front of the route list ( #12263 )
...
* Add server island route to the front of the route list
* Add changeset
2024-10-21 12:13:52 -04:00
Matt Kane
388d2375b6
fix: handle base path with images ( #12272 )
2024-10-21 16:50:30 +01:00
Matt Kane
c2ee963cb6
fix: dynamically load zod-to-ts ( #12273 )
2024-10-21 15:19:58 +01:00
bluwy
166ea961fe
Fix fs-fixture version
2024-10-21 21:03:33 +08:00
haivuw
f32a7a8388
fix: astrodb vite plugin throws in vitest and cannot seed database ( #11435 )
...
* fix: ASTRO_DATABASE_FILE is undefined in virtual module
* changeset
* handle undefined
* Update .changeset/lemon-beans-admire.md
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* use JSON.stringify
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-10-21 12:07:44 +01:00
Ion Căliman
ff522b96a0
fix: Cannot read properties of null (reading 'Symbol(astro.headAndContent)') ( #11839 )
...
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-10-19 11:02:50 +08:00
Emanuele Stoppa
a75bc5e306
fix(routing): actions should redirect the original pathname ( #12173 ) ( #12235 )
...
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-10-18 11:09:22 +01:00
Bjorn Lu
93351bc78a
Support custom mode ( #12150 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-10-17 23:01:35 +08:00
Emanuele Stoppa
58d1d9e000
Merge branch 'main' into next
2024-10-17 15:08:42 +01:00
Houston (Bot)
d6f17044d3
[ci] release ( #12240 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-17 13:58:23 +01:00
Bjorn Lu
c5cd5be36a
Fix test:vite-ci script ( #12246 )
2024-10-17 08:59:50 +01:00
Florian Lefebvre
0bbf2fb526
[ci] format
2024-10-16 13:53:31 +00:00
Florian Lefebvre
8b1a641be9
fix: do not override process.env ( #12227 )
...
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-10-16 15:51:03 +02:00
Emanuele Stoppa
2b6daa5840
fix(container): emit components as partials ( #12239 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-10-16 14:07:59 +01:00
Timon Jurschitsch
a3d30a602a
fix: improve error for inferSize and Image component ( #11823 )
...
* fix: improve error for inferSize and Image component
* add changeset
* move isRemovePath check
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-10-16 12:47:37 +02:00
Houston (Bot)
c929e5d8c8
[ci] release (beta) ( #12170 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-15 19:48:59 +02:00
Chris Swithinbank
157e266141
Merge branch 'main' into next
2024-10-15 19:21:15 +02:00
Houston (Bot)
5a4edebfd2
[ci] release ( #12234 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-15 19:10:48 +02:00
Ben Holmes
67bb22e5a1
[ci] format
2024-10-15 15:14:01 +00:00
Ben Holmes
925cff31bc
Improved rss readme ( #12157 )
...
* docs: improved rss readme
* chore: changeset
* fix: remove empty title
Co-authored-by: Armand Philippot <git@armand.philippot.eu>
* edit: slash wording
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* edit: installation and use
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* edit: see the guide
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* edit: remove confusing guide link
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* edit: clarify what enclosure is used for
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* edit: remove description vs. content blurb
* new: expand xmlns guide to explain usage
---------
Co-authored-by: Armand Philippot <git@armand.philippot.eu>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-10-15 11:13:09 -04:00
Martin Trapp
ff68ba5e1c
Fixes an issue with cssesc in dev mode when setting vite.ssr.noExternal: true ( #12232 )
...
* Fixes an issue with cssesc in dev mode when setting vite.noExternal: true
* Update dirty-bags-double.md
2024-10-15 16:27:05 +02:00
Emanuele Stoppa
51d13e2f6c
feat: accept URL
for entry points ( #12226 )
...
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-10-15 15:07:18 +01:00
bluwy
a393154906
Merge branch 'main' into next
2024-10-15 16:19:58 +08:00
Houston (Bot)
6df5bba870
[ci] release ( #12225 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-15 15:37:22 +08:00
Bjorn Lu
64bb796c0f
Use real filesystem for unit testing ( #12172 )
2024-10-15 15:34:42 +08:00
Reuben Tier
ce1f53cd84
Remove start comand from templates (next) ( #12200 )
2024-10-15 14:43:46 +08:00
renovate[bot]
5ab2d980aa
fix(deps): update all non-major dependencies ( #12218 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-10-15 14:42:58 +08:00
Armand Philippot
79ffa5d9f7
fix(dev-toolbar): false positive in Audit with a11y check on labels ( #12223 )
...
* fix(dev-toolbar): false positive in Audit with a11y check on labels
* test: add e2e test for a11y audit on labelable elements
* docs: complete changeset to explain why this is a problem
2024-10-14 17:14:23 +01:00
Emanuele Stoppa
fb5569583b
fix(middleware): compute client address ( #12222 )
...
* fix(middleware): compute client address
* add unit test
2024-10-14 15:35:24 +01:00
Emanuele Stoppa
d6f03e405d
[ci] format
2024-10-14 13:59:30 +00:00
Emanuele Stoppa
c351352360
fix(i18n): correctly compute the current locale ( #12199 )
...
* fix(i18n): correctly compute the current locale
* Update packages/astro/test/fixtures/i18n-routing-dynamic/src/pages/[language].astro
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* make code more readable
* rebase
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-10-14 14:58:33 +01:00
Ming-jun Lu
07754f5873
fix(sitemap): add missing xslURL
property to SitemapOptions
type ( #12156 )
2024-10-14 20:45:24 +08:00
Houston (Bot)
a33804110d
[ci] release ( #12221 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-14 09:55:46 +01:00
Emanuele Stoppa
59a2fbc213
[ci] format
2024-10-14 08:45:25 +00:00
Emanuele Stoppa
2aa2dfd05d
fix: revert regression of port computation ( #12197 )
...
* fix: revert regression of port computation
* revert tests failing
* address feedback
* revert logic to how it was before
2024-10-14 09:44:39 +01:00
Bjorn Lu
b0493596dc
Fix setOnSetGetEnv parameter name ( #12220 )
...
Co-authored-by: Fugi <Fugiman47@gmail.com>
2024-10-14 15:12:42 +08:00
Houston (Bot)
bbc72a1f31
[ci] release ( #12207 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-12 22:15:46 +08:00
Bjorn Lu
12b0022506
Revert #12173 ( #12206 )
2024-10-12 22:09:12 +08:00
Houston (Bot)
c73d65d7f7
[ci] release ( #12178 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-11 13:20:32 -04:00
Bjorn Lu
650dd22a7b
Fix VT video test fail in firefox ( #12188 )
2024-10-12 00:05:35 +08:00
Emanuele Stoppa
58e22bd042
[ci] format
2024-10-11 13:48:39 +00:00
Emanuele Stoppa
2d10de5f21
fix(routing): actions should redirect the original pathname ( #12173 )
...
* fix(routing): actions should redirect the original pathname
* decode header to avoid index out of bounds
* fix e2e test
* Update packages/astro/e2e/actions-blog.test.js
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-10-11 14:47:14 +01:00
Matthew Phillips
a4ffbfaa5c
Ensure router only targets scripts for execution ( #12177 )
...
* Ensure router only targets scripts for execution
* Add a test
* Move the test up to the file that's testing
* remove extra prop
* just see if tests pass
* use local file
* smaller file
* use getElementsByTagName again
2024-10-11 09:37:06 -04:00
Bjorn Lu
411af55153
[ci] format
2024-10-11 12:49:26 +00:00
Bjorn Lu
2f5b28e938
Use p-queue instead of fastq ( #12189 )
2024-10-11 20:48:31 +08:00
Takahito Sueda
49c4f64673
Ensure that the generated package.json and tsconfig.json end with a newline. ( #12186 )
2024-10-11 20:47:46 +08:00
Bjorn Lu
1f93fca1d3
Fix biome lint warning ( #12187 )
2024-10-11 14:48:11 +08:00
Bjorn Lu
9988dd67e2
Improve default template download speed ( #12154 )
2024-10-10 21:32:49 +08:00
bluwy
9fc86e543a
Merge branch 'main' into next
2024-10-10 21:28:25 +08:00
Houston (Bot)
582f12e1f6
[ci] release ( #12148 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-10 12:21:19 +01:00
Emanuele Stoppa
15fa9babf3
fix(routing): correct redirects in dev ( #12169 )
...
* fix(routing): correct redirects in dev
* simplify code
* address feedback
* move delay inside the function, to keep the comment in one place
2024-10-09 16:24:34 +01:00
Matt Kane
1cd30852a3
fix: don't strip "slug" from content layer data ( #12168 )
...
* fix: don't strip "slug" from content layer data
* fix: catch fallback case
2024-10-09 12:42:29 +01:00
Arpan Patel
b9e8e96354
add info about content intellisense ( #12164 )
2024-10-09 12:36:18 +01:00
Louis Escher
c6fd1df695
Fix mts reloads ( #12160 )
...
* Add mts file extension to configRE regex
* Add changeset
* Apply suggestions from code review
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-10-09 11:12:22 +01:00
Emanuele Stoppa
cf24d6922a
[ci] format
2024-10-09 09:53:00 +00:00
Emanuele Stoppa
710a1a11f4
feat(markdown): add support for shiki
option langAlias
( #12039 )
...
* feat(shiki): add support for `langAlias`
* chore: apply feedback
* Update packages/markdown/remark/src/types.ts
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* fix build
* Fix bug
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/dirty-socks-sip.md
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-10-09 10:51:38 +01:00
chaegumi
3ac2263ff6
add support parallel builds ( #11984 )
...
* 支持并发生成
* feat: Add support parallel builds
* feat: read concurrency config
* changeset
* fix: Explicit undefined is unnecessary on an optional parameter
* pnpm-lock.yaml rebuild
* fix: add innerPrevTimeEnd
* fix: modification time calculation
* update pnpm-lock.yaml
* Rewrite with p-limit
* update
* clean
* Update changeset
* typo [skip ci]
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/src/core/config/schema.ts
* formatting
* merge main and update the lock file
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-10-09 10:51:03 +01:00
Jan Havlena
116c533596
[ci] format
2024-10-09 09:36:51 +00:00
Jan Havlena
e96bcae535
Fixed parsing of x-forwarded-* headers ( #12130 )
...
* Fixed parsing of x-forwarded-* headers
* changeset
* remotePort
* port fix
* port fix
* port fix
* Update .changeset/slimy-buses-agree.md
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Update packages/astro/src/core/app/node.ts
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Reverted formating change
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-10-09 10:35:58 +01:00
Chris Swithinbank
8e500f2f96
Add css
keyword to Tailwind integration ( #12161 )
...
* Add `css` keyword to Tailwind integration
* Add changeset
2024-10-08 23:40:49 +02:00
Emanuele Stoppa
2a1536d091
chore: move lint rules to Biome ( #12145 )
...
* chore: move lint rules to Astro
* better suppression system
* revert
* format code
* address more linting files
* address more linting files
2024-10-08 10:12:40 +01:00
Emanuele Stoppa
bb6d37f94a
fix(routing): default locale when there's a list ( #12151 )
...
* fix(routing): default locale when there's a list
* fix(routing): default locale when there's a list
2024-10-07 17:30:18 +01:00
Armand Philippot
50dd88bc66
fix(@astrojs/rss): prevent an error when pubDate
is missing ( #12137 )
...
* fix(rss): prevent error when `pubDate` is missing
* docs(rss): switch some RSS items to optional
2024-10-07 11:42:19 -04:00
Bjorn Lu
2385d58389
Simplify giget dependency ( #12143 )
2024-10-07 22:59:16 +08:00
Matt Kane
b28bd74087
[ci] format
2024-10-07 14:28:00 +00:00
Matt Kane
9db755ab7c
fix: don't set statusMessage in HTTP/2 ( #12147 )
2024-10-07 15:27:10 +01:00
Houston (Bot)
676b2c66ee
[ci] release (beta) ( #12100 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-07 15:56:30 +02:00
Princesseuh
b75758f883
Merge branch 'main' into next
2024-10-07 15:52:21 +02:00
Houston (Bot)
46cbf10c4b
[ci] release ( #12115 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-07 15:41:40 +02:00
Luiz Ferraz
c87ae80053
[ci] format
2024-10-07 13:18:15 +00:00
Luiz Ferraz
6e06e6ed4f
Fix problems with local libSQL DB ( #12089 )
...
Co-authored-by: Matthew Phillips <361671+matthewp@users.noreply.github.com>
Co-authored-by: Emanuele Stoppa <602478+ematipico@users.noreply.github.com>
2024-10-07 10:17:26 -03:00
renovate[bot]
fef0b8cce1
fix(deps): update all non-major dependencies ( #12140 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-07 17:44:43 +08:00
Julien Cayzac
de35daa851
[CVE 2024-47764] Update package 'cookie' ( #12132 )
2024-10-07 14:45:50 +08:00
renovate[bot]
c8baa387b6
chore(deps): update dependency expect-type to v1 ( #12141 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-07 14:29:16 +08:00
sammibajrami
af8401ebf9
Fixed an "Uncaught ReferenceError" inside of the @astrojs/vue package ( #12116 )
...
* fix(vue): initialized the 'app' variable earlier in the client.js script by assigning the 'appInstance' reference to it so that it is available for the later established 'astro:unmount' event listener
* Add changeset
* fix(vue): reverted the last change and instead moved the 'astro:unmount' event listener to inside of the 'if' statement where the 'app' variable is initialized
---------
Co-authored-by: Matt Kane <m@mk.gg>
2024-10-05 13:48:30 +02:00
Martin Trapp
5bc6223b12
Fix-component-undefined-svelte-v5 ( #12102 ) ( #12129 )
...
* - fix: 'component is not defined' error when unmount svelte 5 component
* added changeset
* Moving unmount listener to where the component is defined.
* Update .changeset/eighty-ligers-punch.md
---------
Co-authored-by: Hermit <70563349+hermit99@users.noreply.github.com>
2024-10-05 13:16:14 +02:00
Hermit
dcc1e895ab
Fix-component-undefined-svelte-v5 ( #12102 )
...
* - fix: 'component is not defined' error when unmount svelte 5 component
* added changeset
* Moving unmount listener to where the component is defined.
* Update .changeset/eighty-ligers-punch.md
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
---------
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
2024-10-05 11:59:01 +02:00
Matt Kane
55e9cd8855
fix: copy server URLs to Vite dev server ( #12127 )
...
* fix: copy server URLs to Vite dev server
* Changeset
2024-10-04 19:33:42 +01:00
Matt Kane
abf9a89ac1
Implement legacy collections using glob ( #11976 )
...
* feat: support pattern arrays with glob
* wip
* feat: emulate legacy content collections
* Fixes
* Lint
* Correctly handle legacy data
* Fix tests
* Switch flag handling
* Fix warnings
* Add layout warning
* Update fixtures
* More tests!
* Handle empty md files
* Lockfile
* Dedupe name
* Handle data ID unslug
* Fix e2e
* Clean build
* Clean builds in tests
* Test fixes
* Fix test
* Fix typegen
* Fix tests
* Fixture updates
* Test updates
* Update changeset
* Test
* Remove wait in test
* Handle race condition
* Lock
* chore: changes from review
* Handle folders without config
* lint
* Fix test
* Update wording for auto-collections
* Delete legacyId
* Sort another fixture
* Rename flag to `legacy.collections`
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Changes from review
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* lockfile
* lock
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-10-04 16:13:51 +01:00
Matt Kane
953e6e0f23
Merge branch 'main' into next
2024-10-04 15:12:44 +01:00
Matt Kane
6e1dfeb76b
fix: clear content layer cache if astro version changes ( #12126 )
...
* fix: clear content layer cache if astro version changes
* changeset
2024-10-04 15:10:39 +01:00
Matt Kane
e8e37fd094
[ci] format
2024-10-04 14:08:54 +00:00
Matt Kane
499fbc91a6
fix): allow special characters in Action names ( #12124 )
2024-10-04 15:08:04 +01:00
Bjorn Lu
423dfc19ad
Bump vite to beta ( #11979 )
2024-10-04 20:58:16 +08:00
Matt Kane
7a1d54a389
Merge branch 'main' into next
2024-10-04 13:26:22 +01:00
Erika
b8673df51c
fix: missing body type on content layer entries ( #12123 )
2024-10-04 14:15:46 +02:00
Matt Kane
8309d7f5dd
[ci] format
2024-10-04 10:54:21 +00:00
Matt Kane
2490cebdb9
fix: correctly serialize Infinity as island props ( #12121 )
2024-10-04 11:53:29 +01:00
Cristopher
f47b347da8
chore(deps): replace strip-ansi with native module ( #12118 )
...
* chore(deps): replace strip-ansi with native module
* chore: changeset
---------
Co-authored-by: Princesseuh <3019731+Princesseuh@users.noreply.github.com>
2024-10-04 11:21:03 +02:00
Florian Lefebvre
657d197371
fix(vue): missing file ( #12120 )
2024-10-04 10:56:34 +02:00
Armand Philippot
a46839a5c8
docs: update Vite links to use their new domain ( #12117 )
...
* docs: update Vite links to use their new domain
See https://github.com/withastro/docs/issues/9548
* update other links with the new Vite domain
* Create strange-cats-notice.md
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-10-03 23:29:52 +02:00
Matt Kane
a54e520d3c
fix: throw a useful error if rendering undefined entry ( #12113 )
...
* fix: throw a useful error if rendering undefined entry
* Update .changeset/wise-pumas-fry.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-10-03 19:55:55 +01:00
Florian Lefebvre
4dc00cc7c9
[ci] format
2024-10-03 18:53:02 +00:00
Florian Lefebvre
f9dd9428c6
fix(vue): useId() collisions ( #12112 )
2024-10-03 20:52:11 +02:00
Houston (Bot)
34d79527a4
[ci] release ( #12098 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-03 14:50:19 +01:00
Emanuele Stoppa
406a21fe46
[ci] format
2024-10-03 13:39:16 +00:00
Emanuele Stoppa
ea225585fd
fix(routing): incorrect assumption when loading the middleware ( #12109 )
2024-10-03 14:38:23 +01:00
lam eu ler
918953bd09
use shorthash for data url image to prevent ENAMETOOLONG ( #12108 )
...
* use shorthash for filename of data url images
* add changeset
* add fixture to test processing of data url images
* run format
* update changeset
* fix test
* Update .changeset/dull-worms-own.md
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-10-03 10:54:01 +01:00
Matt Kane
fdba5f344f
[ci] format
2024-10-03 08:21:59 +00:00
Matt Kane
d3a74da196
fix: handle immutable response object ( #12106 )
...
* fix: handle immutable response object
* changeset
2024-10-03 09:21:11 +01:00
Sondre Aasemoen
fbe1bc51d8
feat(sitemap): add xslURL to enable styling ( #11485 )
...
* feat(sitemap): add xslURL to enable styling
* Add test
* Update .changeset/proud-horses-cry.md
---------
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-10-03 09:01:42 +01:00
Matt Kane
42037f33e6
fix: pass custom statusText in Response ( #12105 )
...
* fix: pass custom statusText in Response
* Add changeset
2024-10-02 17:08:36 +01:00
Emanuele Stoppa
7febf1f6b5
feat(routing): decode pathname early, don't decode params
( #12079 )
...
* feat(routing): decode pathname early
* linting
* Update packages/astro/src/core/fs/index.ts
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* address feedback
* Update .changeset/wet-foxes-walk.md
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* fix changeset
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-10-02 12:06:42 +01:00
Mark Jaquith
d49a537f2a
Use IE conditional comment placeholders for server island start markers ( #12090 )
...
These placeholders are much less likely to be removed by HTML minifiers,
because they have traditionally been used to change the behavior of
site.
2024-10-01 15:58:14 -04:00
Matt Kane
a195629418
Merge branch 'main' into next
2024-10-01 16:06:44 +01:00
Matt Kane
11d447f66b
fix: defer check for schema references to content layer collections ( #12097 )
...
* fix: defer check for schema references
* More comments
2024-10-01 16:05:45 +01:00
Houston (Bot)
ece03449e3
[ci] release (beta) ( #12072 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-01 15:46:45 +02:00
Florian Lefebvre
2eb62d07b5
Merge branch 'main' into next
2024-10-01 15:39:00 +02:00
Houston (Bot)
f06feee7c4
[ci] release ( #12074 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-01 15:26:50 +02:00
Matt Kane
74ace467fc
Format
2024-10-01 13:27:47 +01:00
Reuben Tier
76c5fbd6f3
Fix non-stable versions for astro add ( #12095 )
2024-10-01 14:18:30 +08:00
bluwy
e748c480a7
Merge branch 'main' into next
2024-10-01 11:21:48 +08:00
Erika
12dae50c77
chore: changeset ( #12084 )
2024-09-30 19:21:06 +02:00
Florian Lefebvre
8679954bf6
feat(next): remove CCC ( #12081 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-30 16:04:11 +02:00
Bjorn Lu
5b70610b0f
Update boxen to v8 ( #12094 )
2024-09-30 17:02:39 +08:00
renovate[bot]
928dc3111c
fix(deps): update all non-major dependencies ( #12092 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-30 10:17:49 +08:00
Rohan Godha
21b5e806c5
feat: custom file formats in file content loader ( #12047 )
...
* add custom file format support
* add tests
* lint/format
* changeset
* nits
* finish tests
* add nested json test
* requested changes
* update changeset with @sarah11918 suggestions
* typos/formatting
* add map<id, data> yaml test
* fix tests and rebase
2024-09-29 19:41:15 +01:00
Florian Lefebvre
0a1036eef6
feat(next): codegenDir and update .astro paths ( #11963 )
...
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-26 17:13:17 +02:00
Bjorn Lu
a19530e377
Parse frontmatter ourselves ( #12075 )
2024-09-26 14:59:39 +01:00
renovate[bot]
2594eb088d
fix(deps): update all non-major dependencies ( #12003 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-09-26 14:57:59 +01:00
Martin Trapp
d7779dfae7
View Transitions: Fixes Astro's fade animation to prevent flicker during morph transitions ( #12046 )
2024-09-26 14:14:00 +01:00
Bjorn Lu
acf264d8c0
Replace ora with yocto-spinner ( #12073 )
2024-09-25 16:17:02 +01:00
Bjorn Lu
1720c5b1d2
Fix injected endpoint prerender detection ( #12043 )
2024-09-25 15:14:04 +01:00
Emanuele Stoppa
9693ad4ffa
fix: check origin in static build ( #12070 )
...
* fix: check origin in static build
* address comment
2024-09-25 14:38:32 +01:00
Erika
61d248e581
feat: makes it so astro add does not set output server by default ( #12071 )
...
* feat: makes it so astro add does not set output server by default
* chore: changeset
2024-09-25 14:59:34 +02:00
The web walker
98831ee500
docs: fix typo in code comments ( #11944 )
...
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-09-25 12:46:38 +01:00
Houston (Bot)
7968eabcfc
[ci] release (beta) ( #12017 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-24 11:10:24 +02:00
Princesseuh
d1e5977533
fix: dynamically imported middlewares
2024-09-24 09:51:47 +01:00
Princesseuh
7fa6f782cd
Merge branch 'main' into next
2024-09-24 09:42:32 +01:00
Houston (Bot)
7814a6cad1
[ci] release ( #12037 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-23 19:26:46 +02:00
Emanuele Stoppa
72dc2313ec
[ci] format
2024-09-23 15:42:36 +00:00
Emanuele Stoppa
25a104b451
refactor: dynamically import middleware ( #11550 )
...
* refactor: dynamically import middleware
* update tests
* chore: fix code merge
* address linting
* remove changeset
* feedback
* feedback
* fix test failing
* add suggestion
* change order of resolution to cache the middleware before inserting a route
* address comment
2024-09-23 16:39:06 +01:00
renovate[bot]
4c47c44619
fix(deps): update dependency @oslojs/encoding to v1 ( #12058 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 09:29:19 +01:00
Emanuele Stoppa
243ecb6d61
fix(container): apply polyfill ( #12042 )
2024-09-20 18:09:37 +01:00
Matt Kane
dda78222c3
[ci] format
2024-09-20 11:20:35 +00:00
Matt Kane
26ea5e814a
fix: restore behavior of absolute images in v4 branch ( #12038 )
...
* fix: allow images with absolute path
* Add mroe tests
* changeset
2024-09-20 12:19:47 +01:00
Matt Kane
325a57c543
fix: correctly parse inline loader values ( #12035 )
2024-09-20 10:32:52 +01:00
Emanuele Stoppa
5b3ddfadcb
fix(routing): call middleware when rendering 404.astro
( #12034 )
2024-09-20 10:12:05 +01:00
Erika
ddc3a08e8f
fix: handle trailing slash on the image endpoint ( #12022 )
...
* feat: add trailing slash to import.meta.env for URLs building
* feat: add jsdoc
* feat: add trailing slash to config option directly
* chore: changeset
2024-09-19 17:14:08 +02:00
Matt Kane
10a756ad87
fix: treat images with initial slash as local, and resolve with vite ( #12030 )
...
* fix: allow images with absolute path
* Add mroe tests
* changeset
2024-09-19 14:33:27 +01:00
Houston (Bot)
b4563f8542
[ci] release ( #12021 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-19 14:13:53 +01:00
Emanuele Stoppa
e00a641f3a
[ci] format
2024-09-19 12:58:36 +00:00
Emanuele Stoppa
8c0cae6d1b
fix(routing): compute APIContext.params
when rewriting using next
( #12031 )
...
* fix(routing): compute `APIContext.params` when rewriting using `next`
* fix(routing): compute `APIContext.params` when rewriting using `next`
2024-09-19 13:57:47 +01:00
Matt Kane
83cc37d6fd
chore: remove outdate config from test
2024-09-19 13:46:13 +01:00
Bjorn Lu
d3bd673392
Check route collision after getStaticPaths ( #12028 )
2024-09-19 20:43:01 +08:00
Bjorn Lu
40e7a1b05d
Lazily initialize the md and mdx processor ( #12026 )
2024-09-19 20:40:49 +08:00
François Violette
dd3b753aba
Add selected to the list of boolean attributes ( #12027 )
2024-09-19 19:51:26 +08:00
Uwe Jäger
9be3e1bba7
Remove dependency on path-to-regexp ( #12001 )
...
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-09-19 11:11:48 +02:00
Matt Kane
b0827022af
Merge branch 'main' into next
2024-09-18 16:43:14 +01:00
Matt Kane
8d4eb95086
[ci] format
2024-09-18 14:16:40 +00:00
Matt Kane
53cb41e30e
fix: correctly handle head propagation in content layer deferred rendering ( #12014 )
...
* chore: run MDX tests against content layer
* Handle head propagation in deferred rendering
* Add changeset
* Update test
2024-09-18 15:15:51 +01:00
Houston (Bot)
8214114a90
[ci] release ( #12002 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-18 00:21:35 +02:00
Matthew Phillips
dcd115892a
Make @astrojs/tailwind compat with Astro 5 ( #12018 )
2024-09-18 00:19:22 +02:00
Matthew Phillips
837ee3a4aa
Encode action result in cookie ( #12016 )
...
* Encode action result in cookie
* Add a changeset
2024-09-17 15:13:49 -04:00
Artem Zhirov
0b59fe74d5
Fix: prevent island re-rendering when using transition:persist ( #11854 ) ( #11915 )
...
https://github.com/withastro/astro/issues/11854
2024-09-17 16:23:48 +02:00
Johannes Spohr
00ea675409
[ci] format
2024-09-17 14:12:42 +00:00
Johannes Spohr
a582cb6124
Fix Svelte view transition state persistence ( #12006 )
...
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
2024-09-17 16:11:32 +02:00
Johannes Spohr
daca9951f4
[ci] format
2024-09-17 13:22:35 +00:00
Johannes Spohr
082f450944
Fix SolidJS view transition state persistence ( #11998 )
...
* Fix SolidJS view transition state persistence
* Add changeset
---------
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
2024-09-17 15:21:41 +02:00
Johannes Spohr
b75bfc8cc4
Fix vue resetting state when using view transition persistence ( #11946 )
...
* Fix vue resetting state when using view transition persistence
* Avoid calling internal apis when forcing vue component update
2024-09-17 14:54:49 +02:00
Houston (Bot)
6860beb995
[ci] release (beta) ( #12012 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-17 12:23:49 +02:00
Princesseuh
9481f8f9b3
fix: only bump packages that needs it
2024-09-17 12:13:10 +02:00
Princesseuh
e6cf724ed0
fix: version at beta 0
2024-09-17 11:57:47 +02:00
Princesseuh
efcc4bb28b
fix: attempt to version at beta 1
2024-09-17 11:55:01 +02:00
Houston (Bot)
948ad8eecf
[ci] release (alpha) ( #12010 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-16 17:15:36 -04:00
Armand Philippot
cfdaab257c
docs: update security.checkOrigin
JSDoc comment ( #12011 )
2024-09-16 16:27:22 -04:00
Matthew Phillips
f10a3b7fe6
Fix vitest in Astro 5 ( #12009 )
...
* Fix vitest in Astro 5
* Add a changeset
2024-09-16 15:16:58 -04:00
Armand Philippot
a2f8c5d85f
docs: fix Content Layer RFC Link ( #12000 )
2024-09-15 16:53:30 -03:00
Sarah Rainsberger
2062958d66
Update an error message ( #11999 )
2024-09-15 16:52:46 -03:00
Houston (Bot)
6e1602c7b1
[ci] release (alpha) ( #11988 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-13 16:35:01 -04:00
Matthew Phillips
4724b14431
Merge branch 'main' into next
2024-09-13 16:08:58 -04:00
Houston (Bot)
27d19f612f
[ci] release ( #11986 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-13 15:56:33 -04:00
Matthew Phillips
ec1521066a
[ci] format
2024-09-13 19:40:42 +00:00
Matthew Phillips
ffba5d716e
Fix getStaticPaths regression ( #11993 )
...
* Revert "Remove dependency on path-to-regexp (#11983 )"
This reverts commit 633eeaa9d8
.
* Add test for regression
* Add a changeset
* Pin path-to-regexp
2024-09-13 15:39:51 -04:00
Florian Lefebvre
bf90a5343f
feat(next): TODOs ( #11987 )
...
* feat(next): TODOs
* fix: remove todos
* Updates tests to not assign locals
* Changesets
* Update .changeset/cool-mangos-shop.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/blue-sloths-stare.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/blue-sloths-stare.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/blue-sloths-stare.md
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-13 14:12:33 -04:00
Matthew Phillips
d7a396ca3e
Remove experimental.serverIslands flag ( #11991 )
...
* Remove experimental.serverIslands flag
* update link to the guide
* Add changeset
* Update packages/astro/src/core/errors/errors-data.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/src/core/errors/errors-data.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-13 12:49:37 -04:00
Matthew Phillips
a604a0ca9e
Rename the ViewTransitions component to ClientRouter ( #11980 )
...
* Rename the ViewTransitions component to ClientRouter
* oops, move
* Move it
2024-09-13 10:53:52 -04:00
Florian Lefebvre
3e70853b76
feat(next): underscore redirects ( #11989 )
2024-09-13 16:41:40 +02:00
Erika
d84e444fd3
feat: add default exclude to tsconfigs ( #11982 )
...
* feat: add default exclude to tsconfigs
* feat: add include
2024-09-13 16:24:00 +02:00
Houston (Bot)
f15922d177
[ci] release (alpha) ( #11962 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-13 15:27:42 +02:00
Erika
f7f2338c2b
refactor: rework supportedAstroFeatures ( #11806 )
...
* refactor: rework supportAstroFeatures
* fix: build
* fix: tests
* chore: changeset
2024-09-13 13:58:57 +02:00
Reuben Tier
2d016d4aba
[ci] format
2024-09-13 11:46:18 +00:00
Reuben Tier
06eff60cab
Add copy support for Wayland via wl-copy ( #11964 )
...
* Add wl-copy support
* Add changeset
* set to patch
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-09-13 13:45:30 +02:00
Houston (Bot)
490eed1cd9
[ci] release ( #11940 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-13 13:04:37 +02:00
Uwe Jäger
878f7f60ba
[ci] format
2024-09-13 10:50:34 +00:00
Uwe Jäger
633eeaa9d8
Remove dependency on path-to-regexp ( #11983 )
...
Fixes #11956
Closes #11985
Closes 11965
2024-09-13 12:49:44 +02:00
Emanuele Stoppa
ee38b3a946
refactor(next): send IntegrationRouteData
to integrations ( #11864 )
...
Co-authored-by: Luiz Ferraz <luiz@lferraz.com>
Co-authored-by: Alexander Niebuhr <alexander@nbhr.io>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-09-13 11:44:55 +02:00
Matthew Phillips
d8132626b0
Unflag Server Islands ( #11955 )
...
* Unflag Server Islands
* update example
* Add changeset
* Only append serverIslands route if there is one
* Update .changeset/strange-sheep-film.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* check buildoutput instead
* Update packages/astro/src/core/errors/errors-data.ts
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
* remove flag
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-09-12 11:34:11 -04:00
Bjorn Lu
c9ae7b1b89
Handle MDX optimize for root hast node ( #11975 )
2024-09-12 18:47:55 +08:00
Matt Kane
60211defbf
Export the RenderResult type ( #11974 )
2024-09-12 10:45:11 +01:00
Sarah Rainsberger
7f4e162924
[docs] update legacy collections error messages (again) ( #11972 )
2024-09-12 06:14:07 -03:00
Nikola Hristov
86ad1fd223
Fixes typo. ( #11968 )
...
* Fix typo
* Create nine-chairs-decide.md
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-09-11 17:44:30 +02:00
Florian Lefebvre
74722cb81c
feat(next): reference astro/client from astro/config ( #11925 )
2024-09-11 14:40:15 +02:00
Erika
518433e433
feat(assets): Allow customising the route of the image endpoint ( #11908 )
...
* feat(assets): Allow customizing the route of the image endpoint
* Update packages/astro/src/core/config/schema.ts
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* feat: use undefined instead of default
* fix: strip param correctly on custom endpoint route
* chore: changeset
* nit: unused import
* fix: other unused import
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-09-11 01:04:16 +02:00
Princesseuh
40760a8ace
Merge branch 'main' into next
2024-09-10 15:01:44 +02:00
Houston (Bot)
a1176a1d93
[ci] release (alpha) ( #11954 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-10 08:29:08 -04:00
Matt Kane
4410130df7
fix: add refresh context to schema for loader args ( #11960 )
...
* fix: add refresh context to schema for loader args
* fix negative match test
2024-09-10 13:18:18 +01:00
Sarah Rainsberger
f13c357753
[docs] update legacy collections error messages ( #11961 )
2024-09-10 09:09:43 -03:00
翠 / green
1c64ae304d
[ci] format
2024-09-10 03:12:50 +00:00
翠 / green
8329d17968
fix(css): fix inline query injection for CSS inlining ( #11917 )
2024-09-10 11:11:57 +08:00
Erika
d7e950f35f
feat(hybrid): Clean logging and misc tweaks for hybrid removal ( #11942 )
...
* feat(hybrid): Properly warn on every feature when used in wrong contexts
* fix: smoke tests
* fix: tests
2024-09-09 23:18:32 +02:00
Matt Kane
50a0146e9a
feat: allow arrays of patterns for glob loader ( #11952 )
...
* feat: support pattern arrays with glob
* feat: allow arrays of patterns for content layer
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-09 17:32:46 +01:00
Houston (Bot)
26dc381f71
[ci] release (alpha) ( #11926 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-09 11:09:25 -04:00
Bjorn Lu
46ea29f91d
Fix build.client
and build.server
resolve behaviour ( #11916 )
...
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-09 22:35:34 +08:00
renovate[bot]
b9394fa70c
chore(deps): update all non-major dependencies ( #11948 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-09 13:27:54 +08:00
Sarah Rainsberger
fa4671ca28
[error docs] Update error messages that reference src/content/ ( #11943 )
2024-09-07 16:14:22 -03:00
Erika
50ca656dba
Merge output: hybrid and output: static ( #11824 )
...
* feat: merge hybrid and static
* fix: linting
* fix: get a bunch of tests passing
* fix: make forceServerOutput optional
* fix: more tests passing
* fix: http2 test
* fix: CCC
* fix: get unit tests passing
* fix: lint
* fix: vercel
* fix: build
* fix: build
* fix: db tests
* fix: get all normal tests passing
* fix: e2e tests
* refactor: cleanup code
* fix: more tests
* fix: windows
* fix: apply feedback
* perf: do in parallel
* fix: tests
* fix: tests, for real
* fix: make server islands tests server-rendered
* fix: apply feedback
* nit: remove unnecessary file
* fix: test remove test that abuse prerender logic
* fix: ensure image endpoint is there on dev reload
2024-09-07 01:07:09 +02:00
Ben Holmes
7b09c62b56
Actions: add discriminated union support ( #11939 )
...
* feat: discriminated union for form validators
* chore: changeset
2024-09-06 16:41:51 -04:00
Houston (Bot)
0d50d7545e
[ci] release ( #11936 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-06 12:47:30 -04:00
Matthew Phillips
c0c96452a2
[ci] format
2024-09-06 16:42:29 +00:00
Matthew Phillips
bd1d4aaf82
Allow passing into the crypto key via ASTRO_KEY ( #11879 )
...
* Allow passing into the crypto key via ASTRO_KEY
* Add a changeset
* Add test
* Use the node package
* omg
* Create a new create-key command
* linting
* lint again
* Update the changeset
2024-09-06 12:41:39 -04:00
Florian Lefebvre
7d70ba3178
feat(create-astro): ts-check comment ( #11924 )
2024-09-06 14:23:02 +02:00
Florian Lefebvre
5b4e3abbb1
feat(next): envField jsdoc ( #11927 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-06 14:21:27 +02:00
Lukas Bachlechner
4a95159746
[ci] format
2024-09-06 11:27:38 +00:00
Lukas Bachlechner
4a44e82bbd
fix: explicitly check for null props in serializeSignals
( #11930 )
...
* fix: explicitly check for null props in `serializeSignals`
* chore: add changeset
2024-09-06 13:26:51 +02:00
Erika
c58193a691
fix(add): Use proper export names when adding adapters ( #11935 )
...
* fix(add): Use proper export names when adding adapters
* chore: changeset
2024-09-06 11:38:15 +02:00
Florian Lefebvre
a8a3d2cde8
feat(next): ctx.isPrerendered ( #11875 )
2024-09-05 16:58:23 +02:00
Houston (Bot)
65bfefb96b
[ci] release ( #11909 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-05 03:42:00 +02:00
Gabriel Pereira Woitechen
ca54e3f819
perf(astro/assets): avoid downloading original image when using cache ( #11904 )
2024-09-04 15:32:03 +02:00
Houston (Bot)
70865b3cdc
[ci] release (alpha) ( #11910 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-04 12:44:20 +01:00
Matt Kane
c3dce8363b
Unflag content layer ( #11911 )
...
* Unflag content layer
* Lint
* More detailed changeset
* Update .changeset/heavy-seahorses-poke.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-04 09:40:46 +01:00
Matt Kane
b5d827ba68
Export LoaderContext
types ( #11914 )
...
* Export data store types
* Format
* Change name again!
2024-09-04 08:16:09 +01:00
Florian Lefebvre
38047119ff
feat(next): better tsconfig ( #11859 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-09-03 17:49:09 +02:00
Matthew Phillips
5d7bc70fc3
[ci] format
2024-09-03 13:46:53 +00:00
Matthew Phillips
7ff7134b80
Provide an error message when Actions throws in setup ( #11886 )
...
* Provide an error message when Actions throws in setup
* Update .changeset/many-turtles-tie.md
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
---------
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2024-09-03 09:45:57 -04:00
Matt Kane
5a39da87d3
Merge branch 'main' into next
2024-09-03 14:31:29 +01:00
Matt Kane
f69605174b
[ci] format
2024-09-03 13:26:33 +00:00
Matt Kane
d63bc50d99
fix: keep data store outside of node_modules during dev ( #11902 )
...
* fix: don't keep data store in node_modules during dev
* Lint
* Fix test
* Wait for data store
* Use helper for data store file
* Fix data store file helper
* Lint
* Handle case where Vite already knows about save
2024-09-03 14:25:45 +01:00
Luiz Ferraz
5705200398
[ci] format
2024-09-03 12:54:20 +00:00
Luiz Ferraz
cc820c5d5e
Fix mixed DB token env vars ( #11894 )
...
* Fix mixed DB token env vars
* Test env combinations
* Fix linter issues
* Fix linter issues
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-09-03 14:53:29 +02:00
Houston (Bot)
da473ec0aa
[ci] release (alpha) ( #11903 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-03 12:52:02 +01:00
Matt Kane
334948ced2
feat: allow integrations to refresh content layer data ( #11878 )
...
* Allow integrations to refresh content layer data
This reverts commit 90a862fc94
.
* Add test
* Add changeset
* Add wait in test
* Dispose of queue
* Skip if no content layer collections
* Use spaces in markdown
* fix: don't keep data store in node_modules during dev
* Lint
* Fix test
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Re-order tests
* Wait for data store
* Lint
* Handle case where Vite already knows about save
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-03 12:44:57 +01:00
Matt Kane
4563ffcd89
Fix merge
2024-09-02 17:52:26 +01:00
Matt Kane
a1d78b75aa
Merge branch 'main' into next
2024-09-02 17:40:53 +01:00
Bjorn Lu
3ab3b4efbc
Clean up Astro metadata in vfile.data ( #11861 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-02 21:43:34 +08:00
Bjorn Lu
2bdde80cd3
Set external: true when loading astro config ( #11819 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-02 21:22:54 +08:00
Bjorn Lu
cd542109ba
Remove unused types ( #11895 )
2024-09-02 21:14:57 +08:00
Bjorn Lu
560ef15ad2
Refactor createShikiHighlighter ( #11825 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-02 21:08:25 +08:00
renovate[bot]
8a1abcfd9d
fix(deps): update dependency vitefu to v1 ( #11899 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 19:34:29 +08:00
Houston (Bot)
60d8e30008
[ci] release ( #11883 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-02 13:19:39 +02:00
Chris Swithinbank
80b4a181a0
Fix user-facing type for i18n.routing.fallbackType
( #11900 )
2024-09-02 13:01:38 +02:00
Erika
39d330f6f2
docs: rework docs around errors ( #11802 )
...
* docs: rework docs around errors
* Update packages/astro/src/core/errors/README.md
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
* docs: expand deprecation description
---------
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2024-09-02 11:43:19 +02:00
renovate[bot]
645f4e21a7
fix(deps): update all non-major dependencies ( #11896 )
2024-09-02 10:54:53 +08:00
Matt Kane
e45070459f
fix: separate image extraction from schema parsing in content layer ( #11884 )
...
* fix: separate image extraction from schema parsing in content layer
* rm unused imports
2024-09-01 10:05:43 +01:00
bluwy
edd8ae9084
Remove unused babel dependencies
...
https://github.com/withastro/astro/pull/11789 got lost
2024-09-01 02:03:17 +08:00
Houston (Bot)
534d3edff8
[ci] release (alpha) ( #11853 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-30 16:12:25 -04:00
Alexander Niebuhr
11ebf3bd15
chore: move node and vercel to adapters repo ( #11866 )
2024-08-30 19:43:43 +02:00
Armand Philippot
8e5257adda
docs(i18n): fix typo in fallbackType
JSDoc comment ( #11870 )
2024-08-30 09:45:31 +01:00