0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
Commit graph

7953 commits

Author SHA1 Message Date
Ben Holmes
f395ebcc08
refactor: rename "config" file to "virtual" (#10638)
* refactor: rename "config" file to "virtual"

* chore: changeset

* fix(test): config import
2024-04-02 18:13:18 -04:00
Oliver Speir
4f5dc14f31
Move format option from LocalImageProps to ImageSharedProps (#10642)
* move format to ImageSharedProps

* add changeset

* move quality to shared

* Update lovely-trees-wait.md

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

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-04-02 16:24:02 -04:00
Houston (Bot)
c3916b5206
[ci] release (#10651)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-02 16:15:27 -04:00
Matthew Phillips
5f5176b244 [ci] format 2024-04-02 20:08:38 +00:00
Matthew Phillips
b1eda3dc5c
Fix building static sites with Astro DB (#10655)
* Fix building static sites with Astro DB

* Adding a changeset

* Try a different port range
2024-04-02 16:07:18 -04:00
Matthew Phillips
a79e6b12fa [ci] format 2024-04-02 19:39:22 +00:00
Matthew Phillips
195f51f82a
Mark @material-tailwind/react as noExternal (#10654) 2024-04-02 15:38:15 -04:00
Arsh
daef0e394a
chore: remove console.log from test (#10653) 2024-04-02 15:00:36 -04:00
liruifengv
a29b0a3d69 [ci] format 2024-04-02 18:05:42 +00:00
liruifengv
320c309ca9
improves client:only error message (#10470)
* improves `client:only` error message

* add changeset

* Fix condition for rendering component

* Update rendererAliases in component.ts

* Update changeset
2024-04-02 14:02:07 -04:00
Florian Lefebvre
16d3f1897a [ci] format 2024-04-02 17:53:55 +00:00
Florian Lefebvre
ce98563112
feat: make 3rd party integration warning less scary (#10496)
* feat: make 3rd party integration warning less scary

* Create light-bikes-study.md

* Update light-bikes-study.md
2024-04-02 13:52:49 -04:00
Houston (Bot)
fd18a5dda9
[ci] release (#10647)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-02 12:11:32 -04:00
Arsh
953695ec2d [ci] format 2024-04-02 15:38:27 +00:00
Arsh
713f99e849
fix(db): isolate AstroDbError from core utils (#10646)
* fix(db): isolate AstroDbError from core utils

* add changeset
2024-04-02 11:37:28 -04:00
Ming-jun Lu
51112ab3f1
fix(svelte): update import statements and bump peer dependency for v5 (#10645) 2024-04-02 21:58:39 +08:00
Houston (Bot)
f7d6254f8f
[ci] release (#10603)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-02 15:46:43 +08:00
Houston (Bot)
260f4fa191
[ci] update lockfile (#10551)
Co-authored-by: matthewp <matthewp@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-04-02 11:02:18 +08:00
Arsh
f226cb65d1 [ci] format 2024-04-01 22:10:49 +00:00
Arsh
e9afd67139
community onboarding: codebase documentation around runtime (#10612)
* document runtime

* apply suggestions from code review
2024-04-02 03:39:48 +05:30
Ben Holmes
a544f4cc0e [ci] format 2024-04-01 21:03:37 +00:00
Ben Holmes
504d15d772
db: Better error messages when querying remote (#10636)
* feat: clear error messages on remote db error

* refactor: use AstroDbError for correct error name

* refactor: errorMessage -> responseMessage

* chore: changeset

* fix: revert seed file change

* fix: format seed errors as AstroDbError

* fix: correctly log eager seed errors
2024-04-01 17:02:36 -04:00
Matthew Phillips
17badaf55c
Give proper error when seed missing default export (#10635) 2024-04-01 14:18:46 -04:00
Matthew Phillips
ca29764912 [ci] format 2024-04-01 15:41:03 +00:00
Matthew Phillips
157392ee44
Make ASTRO_DATABASE_FILE work with file paths (#10631)
* Make ASTRO_DATABASE_FILE work with file paths

* Use pathToFileURL
2024-04-01 11:39:49 -04:00
Bjorn Lu
da2fb875fc
Make @astrojs/markdown-remark a dep in @astrojs/markdoc (#10632) 2024-04-01 23:39:29 +08:00
Ben Holmes
27e2c24647 [ci] format 2024-04-01 15:17:47 +00:00
Ben Holmes
5a7733dde5
db: Seed on dev server startup (#10599)
* feat: load seed file on dev server startup

* feat: handle logging on dev server restart

* chore: changeset

* feat: support integration seed files

* fix: only run when seed is present, ignore unlink

* fix: load on startup for integration pkg paths
2024-04-01 11:16:46 -04:00
Bjorn Lu
2cf116f80c
Remove deprecated APIs from @astrojs/markdown-remark (#10629)
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-04-01 22:53:54 +08:00
James Garbutt
374efcdff9
Lazy loaded shiki languages during syntax highlighting (#10618) 2024-04-01 22:52:50 +08:00
Matthew Phillips
31590d44ef
Move nft warnings behind verbose logging (#10609)
* Move nft warnings behind verbose logging

* Update packages/integrations/vercel/src/lib/nft.ts

Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>

* Update packages/integrations/vercel/src/lib/nft.ts

Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>

---------

Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-04-01 10:37:54 -04:00
Matthew Phillips
e31bea0704
Fixes issue with head content being pushed into body (#10608)
* Fixes issue with head content being pushed into body

* Update snapshot version

* Upgrade compiler version
2024-04-01 10:30:03 -04:00
James Garbutt
0be26d8b10
feat: rework child rendering to use class (#10624) 2024-04-01 21:25:20 +08:00
Ryan Christian
ad50784adc
refactor: Drop Preact compat hack, remove incorrect alias (#10585)
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-04-01 16:53:59 +08:00
ktym4a
44b3c29ce7 [ci] format 2024-04-01 08:07:09 +00:00
ktym4a
6d034733a8
fix(starlog): Correct layout syntax. (#10627) 2024-04-01 16:06:08 +08:00
Satya Rohith
046d69d517
fix: use ReadableStream for response object if deno (#10495) 2024-04-01 16:05:30 +08:00
Tyler van der Hoeven
b3028caecf
Remove the ssr external for vue (#10601)
* remove the ssr external for vue

* Remove the external line vs comment it out

* add a changeset
2024-03-29 16:04:27 +00:00
Martin Trapp
a16a829f4e
reset history title after push/replace but prior to assignment to location (#10605)
* reset history title after push/replace but prior to assignment to location

* add changeset
2024-03-29 16:02:30 +00:00
duanwilliam
e648c5575a
fix: dont error on nullish prop values in jsx runtime (#10584)
* fix: prevent jsx runtime from erroring on nullish prop values when checking for slot props

* chore: changeset
2024-03-29 10:14:25 +00:00
Houston (Bot)
0ff5d72c78
[ci] release (#10598)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-28 14:20:53 -04:00
TK
5d7449bd73 [ci] format 2024-03-28 18:17:46 +00:00
TK
a573cc199a
feat: allow dynamic route segments in isr.exclude array (#10513)
* Allow dynamic route segments in isr.exclude array

* copy over eslint-disable as well

* add test

* update test: slashes dont need to be escaped

* update changeset

---------

Co-authored-by: lilnasy <69170106+lilnasy@users.noreply.github.com>
2024-03-28 23:46:18 +05:30
Houston (Bot)
c0cae63147 [ci] format 2024-03-28 18:10:50 +00:00
Houston (Bot)
50cc5f01c7
[ci] release (#10597)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-28 14:09:23 -04:00
Ben Holmes
ed1031ba29
db: Rework index config with generated index names (#10589)
* feat: add indexes array config with name gen

* fix: add _idx suffix, remove name from output

* feat(test): new index config

* chore: remove unused type

* chore: changeset

* chore: add sort() for consistent names

* feat(test): consistent column ordering

* feat(test): ensure no queries when migrating legacy to new
2024-03-28 14:09:09 -04:00
Erika
20463a6c1e
fix: bump internal-helpers (#10596) 2024-03-28 13:45:43 -04:00
Houston (Bot)
636ba8c839
[ci] release (#10588)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-28 13:27:19 -04:00
Erika
61e283e5a0
fix(types): Omit data types from polymorphic attributes (#10593)
* fix(types): Omit data types from polymorphic attributes

* chore: changeset
2024-03-28 15:41:03 +01:00
Matthew Phillips
9b08facb27 [ci] format 2024-03-28 14:32:43 +00:00