Houston (Bot)
163cfd67f5
[ci] release ( #12650 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-09 16:38:09 +01:00
Matt Kane
a203d5dd58
fix: catch image errors correctly ( #12695 )
2024-12-09 15:10:17 +00:00
Florian Lefebvre
2b53588772
[ci] format
2024-12-09 12:30:37 +00:00
Florian Lefebvre
a9373c0c9a
fix: do not freeze process.env in dev ( #12585 )
...
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-12-09 13:29:44 +01:00
Sarah Rainsberger
e21c7e67fd
[error message] updates docs link ( #12653 )
2024-12-06 09:14:06 -04:00
Emanuele Stoppa
72c1d5d531
[ci] format
2024-12-06 10:32:09 +00:00
Emanuele Stoppa
8f8f15ca1d
fix(routing): don't attach locals to request ( #12647 )
...
* fix(routing): don't attach locals to request
* apply feedback
2024-12-06 10:31:23 +00:00
Bjorn Lu
a71e9b93b3
Fix frontmatter parsing with utf8 bom ( #12664 )
2024-12-06 18:08:39 +08:00
Bjorn Lu
f13417bfbf
Only parse frontmatter at top of file ( #12646 )
2024-12-05 22:50:29 +08:00
Sean van Zuidam
87231b1168
Bugfix/extra whitespace in code ( #12570 )
...
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-12-05 22:50:17 +08:00
Houston (Bot)
a5b17359c1
[ci] release ( #12617 )
...
* [ci] release
* Update packages/astro/CHANGELOG.md
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-12-05 13:26:19 +00:00
Emanuele Stoppa
e216250146
fix(ssr): duplicate custom headers ( #12518 )
...
* fix(ssr): duplicate custom headers
* rebase
2024-12-05 13:18:00 +00:00
Matthew Phillips
d14d967b5f
[ci] format
2024-12-05 13:11:43 +00:00
Matthew Phillips
306c9f9a9a
Keep clientAddress on cloned requests ( #12613 )
...
* Keep clientAddress on cloned requests
User observed that calling actions resulted in an error about not having
clientRequest available.
This is because the user had a middleware that cloned the request, which
loses all of the symbols.
The fix is to pass the clientAddress directly into the RenderContext.
This deprecates the `clientAddressSymbol`, but we need to keep it for
now because some adapters set the clientAddress that way.
Note that similar fixes should be done for other symbol usage on the
Request object (locals is one).
* changeset
* fix build stuff
* Update packages/astro/src/core/render-context.ts
* Update changeset
2024-12-05 13:10:21 +00:00
Kun Yan
5b9b618183
fix(@astrojs/rss): use standard rss content type, add utf-8 charset ( #12644 )
...
* fix(@astrojs/rss): use standard rss content type, add utf-8 charset
* Update .changeset/loud-cobras-rhyme.md
---------
Co-authored-by: Matt Kane <m@mk.gg>
2024-12-05 13:04:18 +00:00
Matt Kane
86abfa5c81
[ci] format
2024-12-05 13:02:20 +00:00
Matt Kane
48ca399788
fix: correctly copy to clipboard in astro info
( #12641 )
...
* fix: correctly copy to clipboard on mac
* Add platform-specific clipboard handling for Linux
* Wording
* Update .changeset/angry-pumas-act.md
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Use console.info
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-12-05 13:01:13 +00:00
Chris Swithinbank
03958d9392
Improve Zod error messages and user config error messages ( #12634 )
...
* Upstream Zod error map improvements from Starlight
* Update tests
* Use Zod error map when validating user config
* Update user config error formatting for error map
* Tweak colours
* Separate colour and indentation steps for clarity
* Fix broken link to experimental flag documentation
* Add changeset
* Update tests
* Fix one more test
* Use existing utility for bold and other Markdown formatting
* Extract codeRegex to top level
* Don’t dim text and tweak indentation
2024-12-05 13:48:00 +01:00
Sarah Rainsberger
8704c5439c
[docs] update error message URLs ( #12645 )
2024-12-05 08:35:20 -04:00
Emanuele Stoppa
9cda184bec
[ci] format
2024-12-05 12:26:14 +00:00
Emanuele Stoppa
ff18b9c185
chore: better warning ( #12642 )
...
* chore: better warning
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-12-05 12:25:01 +00:00
Matt Kane
22e405a044
fix: use correct datastore location in test environment ( #12640 )
2024-12-05 11:25:49 +00:00
Bjorn Lu
8a551c1272
Clean up content layer sync in build and sync api ( #12633 )
2024-12-05 18:13:36 +08:00
mtwilliams
10fdf3d23b
[ci] format
2024-12-05 06:24:19 +00:00
mtwilliams
6b6e18d7a0
fix(i18n): pass search params to fallback ( #12547 )
...
* fix(i18n): pass search params to fallback
* test(i18n): add test for search param fix
* test(i18n): resolve mantainer comments
2024-12-05 06:23:30 +00:00
Matt Kane
dec0305b75
fix: don't apply duplicate class to images ( #12631 )
...
* fix: don't apply duplicate class to images
* Fromat
2024-12-04 18:26:17 +00:00
Arpan Patel
176fe9f113
[ci] format
2024-12-04 16:50:10 +00:00
Arpan Patel
e6b8017239
fix custom assetFileNames
issue ( #12449 )
...
* fix custom assetFileNames issue
* fix error
* fix asset name
* handle edge cases fo multiple asset dirs
* add tests
* format
* add changeset
* improve changeset
* add missing files for tests
* Update neat-papayas-brake.md
improve changeset
2024-12-04 16:49:22 +00:00
Sarah Rainsberger
350b3da9cf
[docs] removes link in config reference ( #12630 )
2024-12-04 15:39:23 +00:00
Emanuele Stoppa
74bfad07af
fix: experimental svg types ( #12625 )
...
* fix: experimental svg types
* apply suggestion
2024-12-04 15:38:50 +00:00
Matt Kane
348c71ecdc
fix(db): import base virtual module ID ( #12628 )
2024-12-04 15:04:06 +00:00
Emanuele Stoppa
24edead67a
chore: use the /repro
route for reproduction ( #12627 )
2024-12-04 14:19:02 +00:00
Matt Kane
b073014136
[ci] format
2024-12-04 12:35:28 +00:00
Matt Kane
0e4fecbb13
fix: handle uppercase image file extensions ( #12623 )
2024-12-04 12:34:24 +00:00
Bjorn Lu
29bcdf5296
Improve serverEntrypoint codegen ( #12566 )
...
* Remove fileurl handling
* fix
2024-12-04 10:33:01 +00:00
kyr0
62939add0b
Remove misleading warning when using a custom renderer ( #12461 )
...
* fix: this message adds no value to developers; it checks against a static list of renderers while Astro allows to dynamically add custom renderers
* feat: added framework-custom example to demonstrate the use of custom renderers with the log message fixed
* chore: changeset added and package lock updated
* chore: fix lint issue, but keeping arguments commented out for reference (real-world use)
* chore: removed the example and updated the changeset accordingly
* test: added fixture and test to prove the new behaviour
* test: removing this specific test since it's only guarding if we ever revert this PR
* Update test
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-12-04 10:29:12 +00:00
Emanuele Stoppa
f56d349ccc
ci: update repro link ( #12620 )
...
* ci: update repro link
* Apply suggestions from code review
2024-12-04 09:42:16 +00:00
Arpan Patel
19b3ac0036
fix(upgrade): verify astro
installation before upgrade to prevent false success ( #12576 )
2024-12-04 15:17:07 +08:00
Houston (Bot)
44af543c0d
[ci] release ( #12606 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-03 23:28:40 +01:00
Erika
52c8f98b74
feat: make basics link point to final article ( #12600 )
2024-12-03 13:05:40 -05:00
Emanuele Stoppa
2ee8412bbc
[ci] format
2024-12-03 17:04:13 +00:00
Emanuele Stoppa
9b5f3a702d
refactor: use vitest
for benchmarks ( #12605 )
...
* refactor: use `vitest` for benchmarks
* increase timeout
* increase timeout
* Restore correct label
2024-12-03 17:03:24 +00:00
Emanuele Stoppa
30722870da
chore: update examples to use latest node ( #12603 )
2024-12-03 16:53:32 +00:00
Matt Kane
557fdae9f3
chore: add null check ( #12607 )
2024-12-03 16:50:26 +00:00
Matt Kane
072492982b
fix: include undefined in types for getEntry with content layer ( #12601 )
2024-12-03 16:16:42 +00:00
Armand Philippot
c17a364b10
[ci] format
2024-12-03 15:42:14 +00:00
Armand Philippot
3be8eaba0b
fix(examples): update Sass usage in Starlog example ( #12596 )
...
* fix: replace Sass @imports with @use
* fix: move nested rules under top-level declarations
2024-12-03 15:41:25 +00:00
Houston (Bot)
7a02982455
[ci] release ( #12595 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-03 13:28:23 +01:00
Kid
92c269b0f0
fix: devtools warnings about dev toolbar form fields ( #12590 )
...
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-12-03 13:08:30 +01:00
Erika
4f2fd0a0d6
fix: cleanup peer deps ranges ( #12594 )
2024-12-03 13:07:55 +01:00