koyopro
5642ef9029
Fix: The problem getViteConfig() duplicates some config ( #12312 )
...
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-10-29 12:14:20 +08:00
Arpan Patel
0cfc69d499
fix(actions): pass actionAPIContext to action handler instead of APIContext ( #12301 )
...
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-10-28 22:10:18 +08:00
Benjamin MENANT
1d4f6a4989
fix(@astro/mdx): add components property to RenderResult type definition ( #12245 )
2024-10-25 11:17:23 +01:00
Florian Lefebvre
9d6bcdb88f
fix: astro:env warning ( #12286 )
2024-10-23 09:44:49 +01:00
Houston (Bot)
d2b399d668
[ci] release ( #12258 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-22 13:10:39 +01:00
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
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
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
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
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)
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
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
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
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
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
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
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
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
9988dd67e2
Improve default template download speed ( #12154 )
2024-10-10 21:32:49 +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
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
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
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
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
9db755ab7c
fix: don't set statusMessage in HTTP/2 ( #12147 )
2024-10-07 15:27:10 +01: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
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
Julien Cayzac
de35daa851
[CVE 2024-47764] Update package 'cookie' ( #12132 )
2024-10-07 14:45:50 +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
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