Emanuele Stoppa
240a70a29f
fix: improve logging for on-demand pages ( #11069 )
2024-05-16 16:13:32 +01:00
Emanuele Stoppa
1f988ed10f
fix(rewrite): match index with params ( #11065 )
...
* fix(rewrite): match index with params
* remove import
2024-05-16 14:52:39 +01:00
Emanuele Stoppa
87f36d4074
[ci] format
2024-05-16 13:44:20 +00:00
Emanuele Stoppa
16f12e426e
fix(i18n): allow to create 404.html and 500.html ( #11062 )
...
* fix(i18n): allow to create 404.html and 500.html
* Update packages/astro/src/i18n/index.ts
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* Update .changeset/lazy-rockets-raise.md
* chore: use better matching
* fix linting
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-05-16 14:43:30 +01:00
n4n5
3a0c02ae03
add error message for svg without dimensions ( #10924 )
...
* add svg
* throw clean error
* add error handling
* revert
* throw clean error
* add changeset
* make it a patch
* Update remoteProbe.ts
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-05-16 12:52:35 +02:00
Elias
303968bd72
[ci] format
2024-05-16 08:27:20 +00:00
Elias
a8f0372ea7
Update generator.ts to allow %23 (#) in dynamic urls ( #10965 )
...
* Update generator.ts to allow %23 (#) in dynamic urls
* added changeset
* fix: Update generator.ts to santize url params as well
* fix: sanitizeParams function
* removed old fix
* fix: added test for decoded # and ?
* fix: formatting of file
* sperated sanitizing of generated paths and ssr dynamic paths
* refactor: using map instead
* Update .changeset/mean-geckos-sell.md
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* doc: added JSDoc for sanitizeParams function
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-05-16 09:26:27 +01:00
Florian Lefebvre
1df24a4a78
[ci] format
2024-05-15 16:50:35 +00:00
Florian Lefebvre
a05ca38c2c
fix: conflict between rewrite and actions middleware ( #11052 )
...
* fix: conflict between rewrite and actions middleware
* Update middleware.ts
* fix: short circuit middleware if locals already defined
* chore(test): remove atkinson font refs
* feat(test): progressive fallbacks
* chore: remove unneeded conditional
---------
Co-authored-by: bholmesdev <hey@bholmes.dev>
2024-05-15 12:49:45 -04:00
Houston (Bot)
5a48d53385
[ci] release ( #11025 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-15 10:42:55 -04:00
Ming-jun Lu
b743dddf3b
[ci] format
2024-05-15 14:34:43 +00:00
Ming-jun Lu
841df1f1b1
fix(rss): fix an issue where trailing slash is not removed even if trailingSlash
is set to false
( #11050 )
...
* refactor(createCanonicalURL): return string instead of URL object
* fix(rss): fix an issue where trailing slash is not removed even if `trailingSlash` is set to `false`
* test(rss): update test case related to trailing slash
* chore: add changeset
2024-05-15 15:33:50 +01:00
Bjorn Lu
530ef95a20
[ci] format
2024-05-15 13:11:54 +00:00
Bjorn Lu
5f353e39b2
Improve prefetch behaviour for browsers ( #10999 )
2024-05-15 21:11:05 +08:00
Ben Holmes
6cc3fb97ec
Actions: support empty args and empty response ( #11041 )
...
* feat: support empty args and empty response
* chore: changeset
* Update .changeset/many-guests-yell.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-05-15 07:42:04 -04:00
Ben Holmes
d0d1710439
Actions: fix minor type issues in documented example ( #11043 )
...
* fix(docs): add type case for `e.target`, say "Preact" explicitly
* fix(docs): Preact -> React
* chore: changeset
* Update .changeset/dirty-planes-punch.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-05-15 06:45:20 -04:00
HiDeoo
086694ac31
Fix getViteConfig()
type definition ( #11046 )
2024-05-15 09:04:47 +01:00
Emanuele Stoppa
e90c98fea1
test: add firefox to the list of browsers to test ( #11036 )
2024-05-15 08:06:44 +01:00
Bkh
cf8dee4d62
docs: fix grammatical mix-up ( #11039 )
2024-05-15 13:20:46 +08:00
Ben Holmes
6f948903fc
[ci] format
2024-05-14 17:30:21 +00:00
Ben Holmes
771d1f7654
actions: Throw error on missing server output ( #11028 )
...
* feat: throw error on missing server output
* chore: changeset
* refactor: use isServerLikeOutput
* feat: add errors-data on actions build output
* chore: add jsdoc
2024-05-14 13:29:27 -04:00
molsson
ad9227c7d1
fix(types): Add name attribute to AnchorHTMLAttributes ( #10981 )
...
* fix(types): Add name attribute to AnchorHTMLAttributes
* Create tiny-toys-exist.md
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-05-14 10:52:38 +02:00
Alexander S
2e2d6b7442
fix(astro): refine assets prefix typing ( #11020 )
2024-05-14 16:40:52 +08:00
Argana Phangquestian
10739fc3de
[ci] format
2024-05-14 08:39:06 +00:00
Argana Phangquestian
5f2dd4518e
fix: add missing attribute popovertargetaction ( #11034 )
...
* fix: add missing attribute popovertargetaction
* add: changeset
2024-05-14 10:38:17 +02:00
Ben Holmes
461cd42a06
[ci] format
2024-05-13 19:29:40 +00:00
Ben Holmes
bd34452a34
Actions: include zod error in message for easier debugging ( #11029 )
...
* refactor: embed zod object in error msg
* chore: changeset
2024-05-13 15:28:48 -04:00
Bjorn Lu
8dfb1a23cc
Fix CSS handling for experimental.directRenderScript ( #11026 )
2024-05-13 14:48:55 -04:00
Ben Holmes
1e33cd85ad
[ci] format
2024-05-13 18:41:27 +00:00
Ben Holmes
18e7f33ccd
Actions: fix custom error message on client ( #11030 )
...
* feat(test): error throwing on server
* feat: correctly parse custom errors for the client
* feat(test): custom errors on client
* chore: changeset
2024-05-13 14:40:37 -04:00
Ben Holmes
c135cd546d
[ci] format
2024-05-13 16:21:32 +00:00
Ben Holmes
eb1d9a447b
Fix isDbError()
for remote errors ( #11027 )
...
* fix: use LibsqlError for remote db errors
* chore: remove unused drizzle.ts
* fix(test): return expected `error` object
* fix: error detail formatting
* feat(test): error messages with remote adapter
* feat(test): add code to test body
* chore: changeset
2024-05-13 12:20:43 -04:00
Shiina
296cd7e229
[ci] format
2024-05-13 14:08:08 +00:00
Shiina
4ea38e7333
Prevents unhandledrejection error when checking for latest Astro version ( #11013 )
...
* fix: prevent error appear when check latest version fail(#11012 )
* Resolve review problem
2024-05-13 10:07:17 -04:00
Houston (Bot)
18b78ec881
[ci] release ( #11019 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-13 07:29:41 -04:00
K.Mitamura
dec82d5c8d
docs: fix arguments in experimental.actions code example ( #11008 )
2024-05-13 07:26:50 -04:00
Ben Holmes
4b88068919
[ci] format
2024-05-13 11:24:46 +00:00
Ben Holmes
7418bb054c
Fix: allow locals
access from actions ( #11006 )
...
* fix: move actions middleware to post
* fix(test): user middleware
* chore: changeset
2024-05-13 07:23:52 -04:00
renovate[bot]
cb2586fa15
fix(deps): update all non-major dependencies ( #11015 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-05-13 16:19:23 +08:00
renovate[bot]
8f3cc76737
chore(deps): update dependency @octokit/action to v7 ( #11016 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 15:48:59 +08:00
Shinya Fujino
a78fa26685
docs: fix indentation in experimental.actions code examples ( #11001 )
2024-05-10 15:27:49 +01:00
liruifengv
fbb42af10d
Update astro.ts ( #10997 )
2024-05-10 08:30:51 +01:00
Houston (Bot)
0b8b6f98a2
[ci] release ( #10993 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-09 14:20:24 -04:00
liruifengv
d8fe43fa23
[ci] format
2024-05-09 17:39:44 +00:00
liruifengv
4161a2a3d0
fix: fix incorrect actions path on windows ( #10990 )
...
* fix: remove actions path leading slash on windows
* add changeset
* use `viteID` get actions path
* update changeset
2024-05-09 13:38:42 -04:00
Bryce Russell
6fa89e84c9
Fix loading of non-index routes that end with index.html
( #10979 )
...
* Add test
* Fix alt pathname
* Add changeset
2024-05-09 13:38:28 -04:00
Armand Philippot
370b9f1612
fix: exec command on Astro new version message ( #10991 )
...
`getExecCommand` is an async function but it wasn't awaited in
`newVersionAvailable` so the message was:
`Run [object Promise] @astrojs/upgrade to update`
2024-05-09 13:37:21 -04:00
Houston (Bot)
e2cdd3c96b
[ci] release ( #10985 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-09 22:40:23 +08:00
Federico Ballarini
4d163811e1
feat(package.json): removed wrong react types ( #10986 )
2024-05-09 21:34:41 +08:00
Emanuele Stoppa
05db5f7818
fix: incorrect type for experimental option ( #10987 )
2024-05-09 14:32:04 +01:00