0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-03 22:57:08 -05:00
Commit graph

4558 commits

Author SHA1 Message Date
Ben
46f5ce01dd feat: astro:env allow schema keys to include numbers (#11437)
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-07-18 09:29:02 +01:00
Ben Holmes
5ea0cfa44c feat: ActionReturnType (#11443)
* feat: ActionReturnType util

* feat(test): ActionReturnType

* chore: changeset
2024-07-18 09:29:02 +01:00
Ben Holmes
60fe112b3d Fix: Actions accept type completions (#11436)
* fix: `accept` type completions

* chore: changeset

* Edit: fix -> fixes astro:actions

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>

* feat(test): accept types

---------

Co-authored-by: bholmesdev <bholmesdev@gmail.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-07-18 09:29:02 +01:00
Ben Holmes
0c35b94ae1 [ci] format 2024-07-18 09:29:02 +01:00
Ben Holmes
908c3d8301 Actions: expand isInputError to accept unknown (#11439)
* feat: allow type `unknown` on `isInputError`

* chore: move ErrorInferenceObject to internal utils

* chore: changeset

* deps: expect-type

* feat: first types test

* chore: add types test to general test command

* refactor: use describe and it for organization
2024-07-18 09:29:02 +01:00
Florian Lefebvre
18ed0813f6 [ci] format 2024-07-18 09:29:02 +01:00
Florian Lefebvre
9284a68ecf feat: astro:env validateSecrets (#11337)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-07-18 09:29:02 +01:00
Houston (Bot)
7d660c2918 [ci] release (#11409)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-18 09:29:02 +01:00
Matthew Phillips
42b2216bb9 Revert "Fix attribute rendering for boolean values (#11369)" (#11408)
* Revert "Fix attribute rendering for boolean values (#11369)"

This reverts commit e6de11f4a9.

* Add a changeset
2024-07-18 09:29:02 +01:00
Houston (Bot)
34f23b4fb0 [ci] release (#11351)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-18 09:29:02 +01:00
Emanuele Stoppa
49e3f3e9ef [ci] format 2024-07-18 09:29:01 +01:00
Emanuele Stoppa
57b659bd20 fix(rewrite): correctly update the status code during a rewrite (#11352)
* fix(rewrite): correctly update the status code during a rewrite

* rebase

* remove `.only`

* remove log
2024-07-18 09:29:01 +01:00
Emanuele Stoppa
6bdd633695 fix(i18n): update strategy when defining manually astro i18n middleware (#11362) 2024-07-18 09:29:01 +01:00
Ming-jun Lu
12206b5b39 fix(overlay): adjust the color of punctuations (#11388)
* fix(overlay): adjust the color of punctuations

* chore: add changeset
2024-07-18 09:29:01 +01:00
renovate[bot]
5b811be97c fix(deps): update all non-major dependencies (#11383)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-07-18 09:29:01 +01:00
Bjorn Lu
830e88b61f Fix attribute rendering for boolean values (#11369) 2024-07-18 09:29:01 +01:00
Sarah Rainsberger
66d2e373bd [docs] update compressHTML entry for readability (#11345) 2024-07-18 09:29:01 +01:00
Emanuele Stoppa
96baf22ab9 [ci] format 2024-07-18 09:29:01 +01:00
Emanuele Stoppa
8f755e2cd1 fix: check experimental flag when using the rewrite function (#11349)
* fix: check experimental flag when using the rewrite function

* apply feedback
2024-07-18 09:29:01 +01:00
Houston (Bot)
6b80e775d9 [ci] release (#11346)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-18 09:29:01 +01:00
Bjorn Lu
12c2bf871c Fix getPackage resolve path (#11347) 2024-07-18 09:29:01 +01:00
Emanuele Stoppa
5ebe041f0e skip client directives via option 2024-06-27 10:53:25 +01:00
Emanuele Stoppa
ed69f8f98e fix: prevent client hydration when rendering via Container API 2024-06-26 13:51:00 +01:00
Emanuele Stoppa
0df81422a8
fix(container): breakdown files to avoid importing vite (#11327)
* fix(container): breakdown files to avoid importing `vite`

* chore: update imports inside tests

* restore code

* format
2024-06-26 13:16:07 +01:00
Houston (Bot)
d9e6190a0d
[ci] release (#11336)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-26 11:29:13 +02:00
Bjorn Lu
f1b78a4960
Remove resolve package and refactor db & studio exports (#11331) 2024-06-26 11:19:16 +02:00
Zakher Masri
9752a0b275
[ui] fix margin around devtool tooltip icon in rtl (#11338) 2024-06-26 13:52:51 +08:00
Matthew Phillips
8fdbf0e45b
Remove non-fatal errors from telemetry (#11339) 2024-06-25 12:34:20 -04:00
Simon He
16af927e14 [ci] format 2024-06-25 13:33:31 +00:00
Simon He
02c37c7b8c
refactor(plugin-content): code refactor (#11312) 2024-06-25 21:32:31 +08:00
Florian Lefebvre
86515f445e [ci] format 2024-06-25 12:52:47 +00:00
Florian Lefebvre
41121fbe00
fix(astro): astro sync and astro:env (#11326) 2024-06-25 14:51:55 +02:00
Emanuele Stoppa
4c4741b42d
Revert "bug: removes type override from defineAction" (#11335)
* Revert "bug: removes type override from defineAction (#11292)"

This reverts commit 7f8f347995.

* changeset
2024-06-25 12:31:13 +01:00
Dillon Walsh
6ebc6c85de [ci] format 2024-06-25 11:18:01 +00:00
Dillon Walsh
e79859129b
Update CompressHTML Whitespace issue #7502 (#11298) 2024-06-25 12:17:14 +01:00
Houston (Bot)
ce310f8292
[ci] release (#11297)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-24 12:49:52 -04:00
renovate[bot]
47e78d4752
fix(deps): update all non-major dependencies (#11318)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-06-24 22:33:33 +08:00
Emanuele Stoppa
7c59f043b2 [ci] format 2024-06-24 12:22:19 +00:00
Emanuele Stoppa
44c61ddfd8
fix(routing): return correct status code for 500.astro and 404.astro (#11308)
* fix(routing): return correct status code for `500.astro` and `404.astro`

* changeset

* fix regression

* use `route` instead
2024-06-24 13:21:27 +01:00
Bjorn Lu
ae3b096892 [ci] format 2024-06-21 16:14:12 +00:00
Bjorn Lu
b6afe6a782
Handle encoded image paths in markdown (#11310) 2024-06-21 17:13:21 +01:00
Simon He
89b46b8e6e
refactor(plugin-analyzer): code refactor (#11307)
* refactor(plugin-analyzer): code refactor

* chore: changeset

* chore: update

* chore: update

* chore: update
2024-06-21 14:18:52 +01:00
Martin Trapp
04121f4530 [ci] format 2024-06-21 04:59:06 +00:00
Martin Trapp
0622567326
Fall back to page reload when redirected to a cross origin URL (#11302)
* fall back to page reload when redirected to a cross origin URL

* Make redirect work with dynamically assigned ports

* undo
2024-06-21 06:58:18 +02:00
Mark Gaze
e67d7e66a9 [ci] format 2024-06-20 12:31:41 +00:00
Mark Gaze
9056d8dd05
Add a test to ensure that types.d.ts is valid (#11277) 2024-06-20 13:30:43 +01:00
Houston (Bot)
58a321193e
[ci] release (#11276)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-20 11:58:37 +01:00
Matt Kane
fd3645fe83
fix: allow cookies to be set in rewritten responses (#11280)
* fix: allow cookies to be set in rewritten responses

* Merge cookies

* Add support for endpoints and more tests
2024-06-20 11:08:17 +01:00
Jacob Jenkins
7f8f347995
bug: removes type override from defineAction (#11292)
* bug: removes type override

* add changeset

* Update .changeset/quiet-doors-eat.md

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-06-20 08:34:11 +01:00
Luiz Ferraz
42a6eceab6 [ci] format 2024-06-19 15:53:24 +00:00