Juraj Kapsz
4dbd545304
fix: picture fallback check ( #10783 )
2024-04-15 16:52:39 +08:00
Bjorn Lu
88ee63a3ba
Remove MDX processor on buildEnd ( #10770 )
2024-04-15 15:56:53 +08:00
Erika
308b5d8c12
fix(add): Fixes astro add modifying baseUrl by accident ( #10774 )
...
* fix(add): Fixes `astro add` modifying `baseUrl` by accident
* chore: changeset
* test: add test
* fix: tsconfig not being a json maybe is a mistake, I don't know!
* test: fix
* Update packages/astro/test/fixtures/tsconfig-handling/baseUrl/tsconfig.json
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-04-12 13:56:54 -04:00
Houston (Bot)
3ff6b403db
[ci] release ( #10757 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-12 11:31:46 -04:00
Erika
c75ededdb4
fix(vercel): Fix srcset generation not working on Vercel ( #10756 )
...
* fix(vercel): Fix `srcset` generation not working on Vercel
* chore: changeset
* fix: remove densities and widths from the HTML attributes
* nit: better changeset
* nit: add formats
2024-04-12 16:07:27 +02:00
Chris Swithinbank
d1080ea81d
Add useful links to @astrojs/db
package.json ( #10764 )
...
Co-authored-by: Reuben Tier <64310361+TheOtterlord@users.noreply.github.com>
2024-04-11 23:18:57 +02:00
horo
742866c566
Limit imports in flight for getCollection
( #10708 )
2024-04-11 22:40:14 +08:00
Emanuele Stoppa
c6d59b6fb7
fix(i18n): fallback SSR ( #10755 )
...
* fix(i18n): fallback SSR
* Update .changeset/old-pugs-jog.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-04-11 14:51:10 +01:00
Houston (Bot)
66bc1041d4
[ci] release ( #10739 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-11 13:24:47 +02:00
Erika
908645d9dd
fix: rewrite Node.js changeset ( #10753 )
...
* fix: rewrite Node.js changeset
* Update .changeset/empty-rules-type.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-04-11 13:21:20 +02:00
Arsh
d51951ce62
fix(cli): call path.replace only if it is a function ( #10745 )
...
* fix(cli): call `path.replace` only if it is a function
* add changeset
2024-04-11 10:26:46 +01:00
Oliver Speir
7e825604dd
Update a11y-no-noninteractive-tabindex rule for dev tool bar ( #10750 )
...
* fix: a11y-no-noninteractive-tabindex
* add changeset
2024-04-11 09:03:56 +01:00
Arsh
994337c99f
fix(rendering): remove render instructions from slot expressions ( #10747 )
2024-04-11 08:07:21 +05:30
604qgc
ccafa8d230
Adds dataLanguage property to the replacement <pre> element. ( #10538 )
...
* Update highlight.ts
* Create cold-snakes-train.md
* Update Code.astro
Solution for use-case described in withastro/roadmap#276 (https://github.com/withastro/roadmap/discussions/276 )
* roll-back initial fix
* new fix
* update changeset
* Update packages/markdown/remark/src/rehype-prism.ts
* Update .changeset/cold-snakes-train.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/cold-snakes-train.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/cold-snakes-train.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/cold-snakes-train.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-04-10 12:55:31 -04:00
Ming-jun Lu
39988ef8e2
feat(toolbar): allow the user to change the placement ( #10591 )
...
* feat(toolbar): add `placement` to settings
* feat(toolbar): update `settings.placement` with `<select>`
* feat(toolbar): adjust position based on `settings.placement`
* test(toolbar): add a test case for `settings.placement`
* refactor(toolbar): extract select element from settings app
* feat(toolbar): allow select element to have colors
* test(toolbar): fix failed test case
* refactor(toolbar): add `placement` property to window element
* refactor(toolbar): notify apps when placement changes
* test(toolbar): fix failed test case
* refactor(toolbar): extract `synchronizePlacementOnUpdate` function
* chore: add changeset
* chore: update changeset
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-04-10 16:40:38 +02:00
Emanuele Stoppa
440681e7b7
feat(i18n): manual routing ( #10193 )
...
* feat(i18n): manual routing
* one more function
* different typing
* tests
* fix merge
* throw error for missing middleware
* rename function
* fix conflicts
* lock file update
* fix options, error thrown and added tests
* rebase
* add tests
* docs
* lock file black magic
* increase timeout?
* fix regression
* merge conflict
* add changeset
* chore: apply suggestions
* apply suggestion
* Update .changeset/little-hornets-give.md
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
* chore: address feedback
* fix regression of last commit
* update name
* add comments
* fix regression
* remove unused code
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* chore: update reference
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* chore: improve types
* fix regression in tests
* apply Sarah's suggestion
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-04-10 15:38:17 +01:00
Farzad
9e14a78cb0
Accept common cookie attributes when deleting a cookie ( #10671 )
...
* Accept common cookie attributes when deleting a cookie
* Fix AstroCookieSetOptions IDE annotations
* Use AstroCookieSetOptions to construct AstroCookieDeleteOptions
* Update .changeset/shaggy-cats-film.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-04-10 10:18:54 -04:00
Emanuele Stoppa
683d51a5ee
feat: upgrade the minimum Node.js maintainance LTS version ( #10689 )
...
* feat: upgrade the minimum Node.js maintainance LTS version
* chore: update minimum npm version
* chore: revert npm change
* chore: address Erika's feedback
* chore: apply further suggestions
* Update .changeset/empty-rules-type.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-04-10 14:53:55 +01:00
Emanuele Stoppa
2e53b5fff6
feat: add origin check for CSRF protection ( #10678 )
...
* feat: add origin check for CSRF protection
* add tests
* chore: documentation
* changeset and grammar
* chore: add casing check
* split function
* better naming
* make the whole object experimental
* remove unused type
* update changeset
* manually apply Sarah's suggestions
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-04-10 14:53:32 +01:00
liruifengv
e2cd7f4291
fix: Fixed errorOverlay theme toggle bug. ( #10661 )
...
* fix: save `localStorage.astroErrorOverlayTheme` when detected dark mode
* add changeset
* Fix theme toggle in ErrorOverlay
* update changeset
2024-04-10 11:58:19 +01:00
Houston (Bot)
0fec72b35c
[ci] release ( #10729 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-09 21:00:07 -04:00
Arsh
8a30f257b1
fix(dev): break implicit rerouting loop ( #10737 )
...
* fix(dev): infinite implicit rerouting
* test adapter
* changeset
2024-04-10 06:25:33 +05:30
Matthew Phillips
2d2ff58bb9
Fix db seeding when srcDir is root ( #10720 )
2024-04-09 09:11:32 -04:00
Emanuele Stoppa
f508c4b7d5
fix: regression for astro attributes escaping ( #10728 )
2024-04-09 12:37:06 +01:00
Emanuele Stoppa
b21b3ba307
fix(devtool): do not trigger interaction check for div
and span
( #10719 )
...
* fix(devtool): do not trigger interaction check for `div` and `span`
* add test
* add tests
* Rephrase changeset
* remove log
* add reference link
* Update .changeset/swift-coats-teach.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-04-09 12:36:48 +01:00
Houston (Bot)
f4f383d04e
[ci] release ( #10680 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-09 14:42:19 +08:00
horo
5e044a5eaf
Increase log severity when a page's getStaticPaths
fails ( #10707 )
2024-04-09 11:19:26 +08:00
Matthew Phillips
28e7535e5c
Provide better messaging when renaming a table ( #10600 )
...
* Provide better messaging when renaming a table
* Update based on review
2024-04-08 09:21:41 -04:00
Bjorn Lu
fa0f593890
Fix script inline with directRenderScript ( #10686 )
2024-04-08 18:53:50 +08:00
Bjorn Lu
799f6f3f29
Refactor MDX transformJSX handling ( #10688 )
2024-04-08 13:35:41 +08:00
Bjorn Lu
4ea042c388
Remove unused config in Vue JSX integration ( #10687 )
2024-04-08 13:35:34 +08:00
Bjorn Lu
a15975e41c
Skip prerender chunk in static output ( #10695 )
2024-04-08 13:33:09 +08:00
Nate Moore
93d353528f
Improve dev toolbar notification contrast on hover ( #10657 )
...
* fix(#10399 , PLT-1786): improve notification contrast on hover
* chore: add changeset
2024-04-05 17:39:24 -05:00
apetta
1d26e9c7f7
Add disableremoteplayback attribute to VideoHTMLAttributes interface ( #10693 )
...
* Add disableremoteplayback attribute to VideoHTMLAttributes interface
* Move disableremoteplayback from VideoHTMLAttributes to MediaHTMLAttributes
* Create olive-camels-greet.md
* Update packages/astro/astro-jsx.d.ts
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-04-05 15:17:35 +02:00
Matthew Phillips
4bf8bd3848
Prevent errors in finding workspaceId from interrupting link prompts ( #10681 )
2024-04-04 15:13:46 -04:00
fightingcat
14f1d49a10
Expose Babel config for @astro/react. ( #10675 )
2024-04-04 13:57:20 -04:00
Houston (Bot)
e2a780a46d
[ci] release ( #10674 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-04 13:11:24 -04:00
Martin Trapp
ca6bb1f31e
Generates missing popstate events for Firefox when navigating to hash targets on the same page. ( #10679 )
2024-04-04 19:05:10 +02:00
Matthew Phillips
1662aa8a85
Fix compatibility for @astrojs/db with cloudflare ( #10677 )
...
* Fix compatibility for @astrojs/db with cloudflare
* Use a manual implementation
* Update lockfile
2024-04-04 12:42:47 -04:00
Erika
0464563e52
fix(install-package): Automatically exit in CI instead of waiting for input ( #10669 )
2024-04-04 15:08:41 +08:00
Bjorn Lu
db7f9c8703
Remove unnecessary recmaInjectImportMetaEnv
plugin for MDX ( #10673 )
2024-04-04 15:07:40 +08:00
Houston (Bot)
0899d342cd
[ci] release ( #10670 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-03 16:52:33 -04:00
Ben Holmes
90cfade88c
feat: automatic Markdoc partial resolution ( #10649 )
...
* wip: react counter example
* feat: resolve markdoc partials by file path
* test: components within partials
* test: html within partial
* chore: changeset
* fix: respect user configured partials
* test: basic partials
* chore: lock
* chore: fix lock
* chore: minor -> patch
* fix: use --parallel for dev server timeout error
* refactor: move component tests to separate file
* fix: build indent fixture
* fix: check before addWatchFile
* refactor: rootRelative -> relativePartial
* deps: use workspace react integration
* refactor: split test files by fixture
* refactor: switch to preact to avoid react prod build error
* feat: use vite pluginContext
* fix: handle missing ./
* chore: bump timeout
2024-04-03 16:48:53 -04:00
Houston (Bot)
8ca8943ce2
[ci] release ( #10656 )
2024-04-03 22:42:23 +05:30
Arsh
55ddb2ba48
fix(app/node): include x-forwarded-port
header in url ( #10666 )
...
* fix(app/node): include `x-forwarded-port` header in url
* add changeset
* add test
2024-04-03 18:57:23 +05:30
Nikola R. Hristov
317d18ef8c
Disable sharp
libvips
cache. ( #10616 )
...
* Disable `sharp` `libvips` cache.
* Update sharp.ts
* Add changeset
* Apply suggestions from code review
* Add issue to comment in sharp.ts
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-04-03 12:11:58 +02:00
Jacob Lamb
a9a3694a98
fix: update vercel node support status ( #10611 )
...
* Update adapter.ts
* Create clever-houses-yawn.md
* Update adapter.ts
* Update adapter.ts
* Update adapter.ts
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* Update .changeset/clever-houses-yawn.md
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-04-03 07:03:17 +01:00
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
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
195f51f82a
Mark @material-tailwind/react as noExternal ( #10654 )
2024-04-02 15:38:15 -04: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
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
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
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
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
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
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
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
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)
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
0fd36bdb38
Fix inline stylesheets in content collection cache ( #10543 )
...
* Fix inline stylesheets in content collection cache
* Refactor for better reusability
* Update .changeset/tricky-cobras-mate.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-03-28 10:31:41 -04:00
Erika
fbdc10f90f
fix(assets): Fixes assets generation when using custom paths and configs ( #10567 )
...
* fix(assets): Fixes assets generation when using custom paths and configs
* fix: tests
* fix: make sure remote files don't end up in nested folders by accident
* test: add a whole bunch of tests
* chore: changeset
2024-03-28 13:43:41 +01:00
Arsh
a05953538f
fix(dev): consider pages' route priority when matching request to a page ( #10582 )
...
* fix(dev): consider pages' route priority when matching request to a page
* add test
* add changeset
2024-03-28 02:07:02 +05:30
Houston (Bot)
7d3b61c56d
[ci] release ( #10586 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-27 16:33:25 -04:00
Matthew Phillips
62a1d6df69
For --force-reset use conditional drop table query ( #10587 )
2024-03-27 16:30:59 -04:00
Ben Holmes
713abb2998
chore(db): Rename all collection usage to tables ( #10460 )
...
* chore: rename `collection` field to `table`
* chore: remove deprecated ResolvedCollectionConfig type (only used by studio)
* chore: collection -> table in migration-queries
* chore: update tests
* chore: last renames
* chore: bump migration version
* chore: remove deprecated collection field
* chore: droptablequeries
* chore(test): collection -> tables
* chore: revert collection -> table change on migration file
* chore: revert migration version change
* chore: changeset
2024-03-27 15:51:26 -04:00
Houston (Bot)
06a6c1a567
[ci] release ( #10578 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-27 15:24:37 -04:00
Matthew Phillips
f5df12cfeb
Provide guidance when --remote is omitted ( #10579 )
...
* Provide guidance when --remote is omitted
* Only restrict to server mode
* Use an AstroError
* Update code
2024-03-27 15:20:11 -04:00
Matthew Phillips
764d67fc3f
Prevent importing db core from db runtime ( #10568 )
...
* Prevent importing db core from db runtime
* Move runtime errors into runtime
* Add changeset
2024-03-27 09:04:39 -04:00
Houston (Bot)
bb7707e171
[ci] release ( #10556 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-26 17:24:02 -04:00
apetta
348c1ca132
Patch for Astro VS Code Plugin type errors ( #10562 )
...
* Update Code.astro
Adding 'as any' to suppress Astro VS Code extension complaining
* Changes to Picture.astro to stop Astro VS Code extension complaining
* Couple more changes for supressing type errors
* fix(types): Fixes type errors in component properly
* chore: changeset
---------
Co-authored-by: Princesseuh <3019731+Princesseuh@users.noreply.github.com>
2024-03-26 17:20:28 -04:00
Ben Holmes
b5a80405b9
Fix db.run()
type signature in production ( #10566 )
...
* deps: bump drizzle to latest patch
* chore: changeset
* feat(test): db.run output
2024-03-26 13:43:04 -04:00
Ming-jun Lu
5f7e9c47e0
fix(sitemap): fix missing base path in sitemap-index.xml
( #10557 )
...
* fix(sitemap): fix missing base path in `sitemap-index.xml`
* test(sitemap): update test cases in `base-path.test.js`
* chore: add changeset
2024-03-26 10:11:44 -04:00
Simon Knott
34fa8e131b
fix: ensure outDir doesn't lead to bundlers bloating Lambda size ( #10550 )
...
* fix: ensure outDir doesn't lead to bundlers bloating Lambda size
* add changeset
* Update packages/astro/src/assets/vite-plugin-assets.ts
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-03-26 11:44:04 +01:00
Admir Šaheta
54c2f9707f
Fix: Type error on <Image />
component when strict TypeScript rules are used with library type checking. ( #10549 )
...
* hotfix:ts-explicit-error
* add:changeset
* update:changeset
* Update .changeset/blue-dolls-melt.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* add:types-htmlattribute-extends
* Update .changeset/blue-dolls-melt.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* Update blue-dolls-melt.md
* addition: allow specifying null type
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-03-26 10:44:17 +01:00
Kyle Nguyen
c585528f44
fix: use Shiki's isSpecialLang
to allow ansi
codeblocks ( #10540 )
...
* fix: use `isSpecialLang` instead of hardcode
Hardcoding this value makes it impossible to use Shiki's `ansi` feature
* Add changeset
2024-03-25 15:44:08 -04:00
Houston (Bot)
1cd2a74022
[ci] release ( #10522 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-22 12:35:50 -04:00
Matthew Phillips
6576f5d458
Require that ASTRO_STUDIO_REMOTE_DB_URL is defined at runtime ( #10533 )
...
* Require that ASTRO_STUDIO_REMOTE_DB_URL is defined at runtime
* Add changeset
* Fix build
2024-03-22 11:52:38 -04:00
Martin Trapp
8306ce1ff7
Fixes a style issue of client:only
components in DEV mode during view transitions. ( #10532 )
...
* Fix DEV-mode-only style issue of client:only components during view transitions.
* reworded changeset
* fixed quotes
2024-03-22 15:36:40 +01:00
Bjorn Lu
627e47d67a
Improve Astro JSX rendering ( #10473 )
2024-03-21 23:25:09 +08:00
Houston (Bot)
cf8f2cafa0
[ci] release ( #10521 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-21 10:31:45 -04:00
Matthew Phillips
30ce9a0c47
Revert "Removing embedding appToken from CI ( #10497 )" ( #10520 )
...
* Revert "Removing embedding appToken from CI (#10497 )"
This reverts commit 2fc7231df2
.
* Changeset
2024-03-21 10:21:35 -04:00
Houston (Bot)
e457bb2e90
[ci] release ( #10508 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-20 16:38:59 -04:00
Matthew Phillips
980020c5e0
Ensure --force-reset drops previous tables ( #10506 )
...
* Ensure --force-reset drops previous tables
* Remove unused import
* Do suggestions
2024-03-20 14:42:41 -04:00
Houston (Bot)
fdceed5889
[ci] release ( #10503 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-20 20:46:06 +05:30
Arsh
cfbaa8a767
deprecation(vercel): vercel-edge-middleware.js file ( #10476 )
...
* deprecation(vercel): `vercel-edge-middleware.js` file
* add changeset
* `Astro.locals.waitUntil()` -> `Astro.locals.vercel.edge.waitUntil()`
* export edge locals interface
2024-03-20 20:03:17 +05:30
Erika
8e4e554cc2
chore: update Babel version ( #10504 )
...
* chore: update Babel version
* Create sharp-cobras-drive.md
2024-03-20 14:43:36 +01:00
Ben Holmes
f0fc78c873
db: expose isDbError()
utility ( #10498 )
...
* feat: expose isDbError
* test: foreign key constraint error detection
* fix(test); use isDbError
* chore: changeset
2024-03-20 07:27:48 -04:00
Bjorn Lu
19e42c3681
Pass meta to shiki transformers ( #10494 )
2024-03-20 19:15:07 +08:00
Houston (Bot)
17b4991cff
[ci] release ( #10488 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-20 08:41:00 +00:00
Ben Holmes
4831051260
Fix: remove db.transaction()
from types until supported ( #10501 )
...
* fix: remove transaction from db types
* fix: transaction() runtime error
* chore: changeset
2024-03-20 08:27:48 +00:00
Matthew Phillips
2fc7231df2
Removing embedding appToken from CI ( #10497 )
2024-03-19 14:48:01 -04:00
James Garbutt
2ebcf94d0a
chore(db): Add missing github-slugger dependency & tests ( #10405 )
...
* chore: add missing github-slugger dependency
* test: add column-queries data loss tests
* chore: remove unused vars
* test: assert length rather than message content
2024-03-19 17:10:33 +00:00
Andrés Correa Casablanca
28e33a2f9c
fix: do not append trailing slash to subresource urls ( #10491 )
...
* fix: do not append traling slash to subresource urls
Signed-off-by: Andres Correa Casablanca <andreu@kindspells.dev>
* test: fix broken test
Signed-off-by: Andres Correa Casablanca <andreu@kindspells.dev>
* refactor: packages/integrations/node/src/serve-static.ts
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
---------
Signed-off-by: Andres Correa Casablanca <andreu@kindspells.dev>
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-03-19 21:13:08 +05:30
firefoxic
e4a6462751
fix: void elements ( #10493 )
...
* Fix void elements
HTML is not XML. It doesn't have self-closing tags, it has void element tags that don't need closing slashes.
Now generated void elements (e.g. link with path to style file) do not pass validation, which can be easily fixed by simply removing two characters.
* Add changeset
* Apply suggestions from code review
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-03-19 20:21:08 +05:30
Ben Holmes
ad57a02c33
db: Expose aggregation helpers ( #10479 )
...
* deps: drizzle 0.30
* feat: expose drizzle aggregation helpers
* chore: changeset
2024-03-19 08:56:48 +00:00
Satya Rohith
2330f22d6c
fix(packages/create-astro): wait for writeFile to complete in updateFiles ( #10487 )
...
* fix(packages/create-astro): wait for writeFile to complete in updateFiles
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
* changeset
---------
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-03-19 08:07:42 +00:00
Houston (Bot)
7eac778cce
[ci] release ( #10483 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-18 21:05:27 -07:00
Fred K. Schott
124cdd64f2
remove token wait time ( #10477 )
2024-03-18 20:45:47 -07:00
Houston (Bot)
0ddc327ee8
[ci] release ( #10471 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-18 22:36:58 +05:30
Arsh
c12666166d
qol(endpoints): helpful error message when a response is not provided ( #10455 )
...
* qol(endpoints): helpful error message when a response is not provded
* add changeset
* add test
2024-03-18 20:06:46 +05:30
Arsh
83f9105cd5
fix(node): handle offshoot promise rejections ( #10454 )
...
* fix(node): handle offshoot promise rejections
* add test
* add changeset
* Update packages/integrations/node/test/errors.test.js
2024-03-18 19:44:46 +05:30
Arsh
fcece36586
fix(rendering): allow framework renders to be cancelled ( #10448 )
2024-03-18 19:29:24 +05:30
Mark Gaze
6a9a35ee15
Fix issue with JSON schema generation when schema is a function ( #10426 )
2024-03-18 14:14:18 +01:00
Matthew Phillips
37a485b4d1
Create new token when current has expired ( #10435 )
...
* Create new token when current has expired
* Add changeset
* Rename renew timer function:
* Handle creating a new token on renewal
2024-03-18 08:05:36 -04:00
Ben Holmes
219c49473f
fix type error in seed
stub on initial setup ( #10457 )
...
* fix: move db type to base types for seed stub
* chore: changeset
* fix(test): bad NOW import
2024-03-18 07:55:39 -04:00
Houston (Bot)
4dcfa2bd90
[ci] release ( #10453 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-15 16:24:46 -04:00
Martin Trapp
1900a8f9bc
Fixes an TypeError when using without ( #10456 )
2024-03-15 19:04:41 +01:00
Ben Holmes
5b48cc0fc8
feat(db): Run db type generation on astro sync
( #10438 )
...
* feat: db typegen on astro sync
* fix: avoid requiring db to be installed
* fix: make typegen optional for backwards compat
* chore: changeset
* fix: required -> optional
* fix: remove flags from sync API signature
2024-03-15 13:58:45 -04:00
Ben Holmes
0989cd3284
feat(db): execute
command logs ( #10439 )
...
* feat: db execute success and error logs
* chore: changeset
2024-03-15 13:58:36 -04:00
Erika
f8e0ad3c52
fix(toolbar): Fixes small misc issues ( #10442 )
...
* fix(toolbar): Fixes small misc issues
* test: update test to test for the audit ui as well
* chore: changeset
* nit: address feedback
2024-03-15 13:26:37 +01:00
Nworm
3776ecf0aa
fix(routing): partially dynamic segments are being truncated ( #10379 )
...
* fix(routing): partially dynamic segments are being truncated and affecting routing.
* test: fix "/static should be higher priority than /static-"
* Update .changeset/five-colts-rescue.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* test: fix the check that was wrongly deleted.
* other: improve code readability.
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-03-15 10:27:07 +00:00
Houston (Bot)
464bea398b
[ci] release ( #10446 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-14 14:58:33 -04:00
Matthew Phillips
098623c261
Prefer getting app token from runtime env ( #10445 )
2024-03-14 14:53:25 -04:00
Ben Holmes
5166e9715a
chore: remove duplicate astro:db log ( #10441 )
...
* chore: remove duplicate astro:db log
* chore: changeset
2024-03-14 14:39:53 -04:00
Houston (Bot)
7d8565db33
[ci] release ( #10444 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-14 14:36:01 -04:00
Arsh
238f047b9d
fix(db): separate utils for runtime ( #10443 )
...
* fix(db): separate utils for runtime
* add changeset
* use safeFetch from runtime utils
2024-03-14 14:28:51 -04:00
Houston (Bot)
f92ff40fd3
[ci] release ( #10430 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-14 09:01:22 -07:00
Fred K. Schott
1076864cc4
wait for token to propagate ( #10431 )
2024-03-14 08:57:40 -07:00
Erika
ee07e62942
fix(vue): Add default options to not transform assets ( #10419 )
...
* fix(vue): Add default options to not transform assets
* fix: oops merge correctly
* chore: changeset
* nit: address feedback
2024-03-14 09:54:05 +01:00
Fred K. Schott
4e24628aac
add missing regions to link command ( #10432 )
2024-03-13 16:17:17 -07:00
Arsh
128c7a3639
fix(app): provide adapter locals to error pages ( #10427 )
2024-03-14 02:02:14 +05:30
Houston (Bot)
c70aa6849f
[ci] release ( #10416 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-13 15:58:51 -04:00
Fred K. Schott
189ec47c1e
add region support to db calls ( #10428 )
2024-03-13 12:50:55 -07:00
Alex Nguyen
8edc42aa7c
prevent URLs in attributes being escaped ( #9820 )
...
* prevent URLs in `content` attributes being escapedk
* removed content check
* Update .changeset/quick-islands-ring.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* add check for '&' in string
* Update .changeset/quick-islands-ring.md
* manual `canParse`
* add test
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: lilnasy <69170106+lilnasy@users.noreply.github.com>
2024-03-13 22:24:09 +05:30
Erika
2db25c05a4
fix(db): Add a safe db fetch wrapper ( #10420 )
...
* fix(db): Add a safe db fetch wrapper
* chore: changeset
2024-03-13 17:12:52 +01:00
Arsh
96c8bca19a
fix(db): validate column type before column schema ( #10409 )
...
* fix(db): validate column type before column schema
* add changeset
* Add test for text foreign keys
---------
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2024-03-13 09:49:28 -04:00
Arsh
055fe293c6
fix(redirects): escape Location
header ( #10410 )
2024-03-13 14:57:39 +05:30
Houston (Bot)
0b0e244d1e
[ci] release ( #10402 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-12 09:50:49 -04:00
Ben Holmes
a084d8cec6
feat: split config types to separate build ( #10401 )
...
* feat: split config types to separate build
* chore: changeset
* fix: drizzle property exports
2024-03-12 09:44:15 -04:00
Houston (Bot)
24ee74a37f
[ci] release ( #10397 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-12 07:45:51 -04:00
Ben Holmes
41ca94e513
chore: remove drop table check for added table ( #10396 )
...
* chore: remove drop table check for added table
* chore: remove drop table from test
* chore: changeset
2024-03-12 07:30:45 -04:00
Ming-jun Lu
629c9d7c4d
Fix an issue where dev toolbar x-ray didn't escape props content ( #10400 )
...
* fix(toolbar): fix an issue where x-ray didn't escape props content
* test(toolbar): add a test case related to x-ray
* chore: add changeset
2024-03-12 12:30:11 +01:00
Matthew Phillips
a49892349e
Set new Astro Studio production URL ( #10395 )
2024-03-11 15:35:51 -07:00
Darius
f76dcb769f
export DB types ( #10374 )
...
* export DB types
* refactor: move schemas to separate file
* chore: changeset
* chore: add typesVersions
---------
Co-authored-by: bholmesdev <hey@bholmes.dev>
2024-03-11 18:06:52 -04:00
Houston (Bot)
33bfe6ed05
[ci] release ( #10383 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-11 16:09:08 -04:00
Ben Holmes
236cdbb611
New CLI help reference for studio and db commands ( #10390 )
...
* feat: new, formatted astro db help
* feat: add "studio commands" section to cli
* chore: changeset
* Update packages/db/src/core/cli/print-help.ts
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
* Update .changeset/thirty-bags-live.md
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
---------
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2024-03-11 15:54:49 -04:00
Martin Trapp
02aeb01cb8
Fixes broken transition types ( #10392 )
...
* Fixes broken transition types
* adds changeset
* adds changeset
2024-03-11 15:45:43 -04:00
Ben Holmes
9667ee990c
fix: remove runtime/config suggestion for db config exports ( #10391 )
...
* chore: remove runtime/config from package json
* fix: use relative path to dist
* chore: changeset
* Revert "fix: use relative path to dist"
This reverts commit 16c0cc296e
.
* Revert "chore: remove runtime/config from package json"
This reverts commit c1b4678998
.
* refactor: types null
* fix: exclude config.ts from tsc
* chore: update consts
* chore: comment on intellisense
2024-03-11 15:44:58 -04:00
Fred K. Schott
8a23ee530c
add handling for success=false responses ( #10387 )
2024-03-11 12:32:20 -07:00
Chris Swithinbank
38abae47b5
Fix db for projects without a seed file or with integrations ( #10385 )
...
* Add fixture and tests for integration with no user db config
* Create database tables when integration seed files load
* Defer running seed function until all modules are loaded
* Update package name
* Add test & fixture for a project with no seed file
* `recreateTables()` from `seedLocal()` (and move it out of main runtime module)
* Fix typo after rebase
* FREEZE DON’T MOVE
* Move `seedLocal` export back to runtime
* Simplify seed file normalization
* Clean up test files
* Add build tests for no-seed and integration-only fixtures
* Add changeset
2024-03-11 20:07:53 +01:00
Matthew Phillips
cd5e8d4b93
Fix use of db.batch in Stackblitz ( #10384 )
...
* Fix use of db.batch in Stackblitz
* Update .changeset/rare-items-protect.md
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-03-11 11:12:52 -04:00
Chris Swithinbank
8cceab587d
Use static imports for integration seed files in astro:db
( #10381 )
...
* Use static imports for integration seed files in `astro:db`
* Add changeset
* Add build test for integrations fixture
* chore: comment on top-level seed imports
* fix: random db id for tests
* fix: set db id from build before
* wip: remove reset on env variable
* wip: move random db id env to top of test file
* refactor: remove unlink from db startup
* chore: remove random db id completely??
---------
Co-authored-by: bholmesdev <hey@bholmes.dev>
2024-03-11 09:51:15 -04:00
Houston (Bot)
0e074fb390
[ci] release ( #10365 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-11 10:25:30 +00:00
Fred K. Schott
41dca1e413
handle undefined snapshot from API ( #10378 )
2024-03-10 23:56:01 -07:00
Arsh
dc87214141
feat: middleware and virtual routes ( #10206 )
...
* add test
* app
* dev
* api route -> page
* adjust test
* add changeset
* remove `any`
* DEFAULT_404_COMPONENT constant
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-03-08 22:09:12 +05:30
Bjorn Lu
8107a2721b
Treeshake unused Astro scoped styles ( #10291 )
2024-03-08 23:03:02 +08:00
Erika
78bafc5d66
fix(tsconfigs): Add jsx: 'preserve'
to the base template ( #10368 )
...
* fix(tsconfigs): Add `jsx: 'preserve'` to the base template
* chore: changeset
2024-03-08 13:45:43 +00:00
Zhang Zhipeng
1ea0a25b94
Add multiple cdn v2 ( #10189 )
...
* feat: add multiple cdn
* add multiple cdn test
* assetsPrefix not empty string
* add changeset
* simplify code
* change docs
* replace getFileExtension with node path.extname
* Adapt node extname
* multiple image test
* wip space
* update docs
* update docs, assetsPrefix type
* update docs
* update docs
* chore: update types and rename to `fallback`
* enhance changelog
* change docs
* update change defaultAeestsPrefix to fallback key test
* move utility to a new to avoid importing `node:path` inside vite plugins
* 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>
* chore: address Bjorn's comments
* kill the variable
* kill the variable /2
* Fix CI fail
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* uniform code sample
* add `.` string for fit getAssetsPrefix
* Fix extension function
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-03-08 13:10:07 +00:00
Bjorn Lu
e3f02f5fb1
Add experimental.directRenderScript
option ( #10102 )
...
* Add `experimental.directRenderScript` option
* Support inlining scripts
* Use compiler preview release
* Address feedback
* Fix
* Add enable by default note
* Fix build
* Dedupe rendered scripts
* Fix test
* Update deps
* Update .changeset/cool-jobs-fetch.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update jsdoc
* Typo
* resolve merge conflicts
* Fix examples check fail
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-03-08 13:03:02 +00:00
StandardGage
c081adf998
Allow Code Component to have custom props and extra class styles ( #9960 )
...
* Create simple react element if element has no children
* Fix for when element has text
* add changeset
* Add additionalProps to Code component and ShikiHighlighter.highlight()
* Add changeset
* Create simple react element if element has no children
* Fix for when element has text
* add changeset
* Add additionalProps to Code component and ShikiHighlighter.highlight()
* Add changeset
* reverted accidental changes
* remove unnecessary parts
* Add HTMLAttributes type to additionalProps
* Update .changeset/calm-bags-deliver.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* extend HTMLAtts instead
* add suggestions
* feat: address reviews
* chore: remove empty line
* feat: move attributes to options
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-03-08 13:02:53 +00:00
Erika
5c7862a9fe
feat(audits): Add new UI ( #10217 )
...
* feat(audits): Add selected style for audits
* feat(audits): Fully add new style
* feat: new iteration
* chore: changeset
* feat: separate audits by category
* fred pass
* feat: new UI
* refactor: fix everything
* fix: recreate UI on further lints
* fix: remove unnecessary changes
* chore: lockfile
* fix: tryout for descriptions
* fix: remove change, will do in other PR
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* test: fix
* nit: format styles
---------
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-03-08 12:10:38 +01:00
Erika
2013e70bce
feat(audits): Handle mutations ( #10268 )
...
* feat(audits): Handle mutations
* chore: changeset
* nit: add comments
2024-03-08 11:56:23 +01:00
Oliver Speir
0204b7de37
Reload scripts ( #9977 )
...
* do not add astroExec if data-astro-reload attr exists
* add changeset
* Update .changeset/rare-coins-jump.md
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
* change to data-astro-rerun
* Update .changeset/rare-coins-jump.md
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* add example to changeset
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-03-08 10:55:41 +00:00
Alexander Niebuhr
65692fa7b5
feat: experimental content collection JSON schemas ( #10145 )
...
* feat: experimental content collection JSON schemas
* solves review comments
* solves review comments
* updates changeset
* updates path
* fixes formatting
* removes unrelated changes
* adds test
* fixes lockfile
* chore: fixes package name
* improves code branching depth
* resolves docs comments
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
* Update packages/astro/src/content/types-generator.ts
* Update .changeset/slow-items-heal.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-03-08 10:54:51 +00:00
Matthew Phillips
9cd84bd19b
Allow islands to be re-rendered with new props on page transition ( #10136 )
...
* Allow islands to be re-rendered with new props on page transition
* Adjust the expected styles
* Restore test expectation
* Add changeset and final change
* linting
* Implement transition:persist-props behavior
* Fix lockfile
* Fix expectations
* App is hyrid
* Update .changeset/lovely-nails-cough.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/lovely-nails-cough.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/lovely-nails-cough.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-03-08 10:54:16 +00:00
Erika
3307cb34f1
Add new levels of notification for dev toolbar apps ( #10252 )
...
* Add new levels of notification
* feat: proper support
* chore: changeset
* fix: remove unrelated change
* test: add test
* feat: implement new icons
* fix: go back to previous layout
* fix: custom app number
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-03-08 11:53:48 +01:00
Remco Haszing
a31bbd7ff8
fix(markdown): don’t generate mdast html nodes ( #10104 )
...
* fix(markdown): don’t generate mdast html nodes
`html` nodes from mdast are converted to `raw` hast nodes. These nodes
are then not processed by proper rehype plugins. Typically if a remark
plugin generates `html` nodes, this indicates it should have actually
been a rehype plugin.
This changes the remark plugins that generate `html` nodes into rehype
nodes. These were `remarkPrism` and `remarkShiki`.
Closes #9909
* Apply suggestions from code review
* refactor(mdx): move user defined rehype plugins after syntax highlighting
* fix(mdx): fix issue in mdx rehype plugin ordering
* docs: explain why html/raw nodes are avoided in changeset
This also includes some hints on what users could do to upgrade of they
rely on these nodes.
* Fix MDX rehype plugin ordering
* refactor(remark): restore remarkPrism and remarkShiki
They aren’t used anymore, but removing would be a breaking change.
* chore: mark deprecated
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/thirty-beds-smoke.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-03-08 10:53:39 +00:00
Bjorn Lu
5a9528741f
Move to shiki and stabilize dual themes support ( #10130 )
...
* Update to shiki
* Stabilize shikiConfig.experimentalThemes
* Add changeset
* Fix merge issues
2024-03-08 10:53:19 +00:00
Erika
959ca5f9f8
feat(toolbar): Allow every element to have every color ( #10186 )
...
* feat(toolbar): Allow every element to have every color
* chore: changeset
* fix: add validatio
* fix: ok but what happened even
* nit: cooler messages
* fix: toggles
2024-03-08 11:52:50 +01:00
Nicolas Mattia
ac766647b0
fix(config): prevent vite from loading config ( #10360 )
2024-03-08 12:22:58 +08:00
Houston (Bot)
82d81a1485
[ci] release ( #10362 )
...
* [ci] release
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-03-07 19:53:37 -06:00
Chris Swithinbank
3f27e09628
Rename defineDB
to defineDb
( #10364 )
...
* Rename `defineDB` to `defineDb`
* Add changeset
* Improve changeset
2024-03-07 19:21:03 -06:00
Chris Swithinbank
b6ccaa6dc7
Revert "[ci] release ( #10359 )" ( #10363 )
...
This reverts commit 76c21b19d2
.
2024-03-08 01:45:27 +01:00
Houston (Bot)
76c21b19d2
[ci] release ( #10359 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-07 14:55:50 -05:00
Nate Moore
7001ae48db
db: scaffold db files when using astro add db
( #10349 )
...
* feat(add): scaffold db files
* refactor: no `recursive` needed
2024-03-07 13:50:23 -06:00
Ben Holmes
988aad6705
Add batch support ( #10361 )
...
* deps: drizzle preview
* feat: db.batch and method run handling
* refactor: use db.batch in test fixture
* deps: bump to drizzle 0.29.5
* chore: changeset
* fix: unpin drizzle version
* fix: db execute should uh... execute
2024-03-07 14:49:46 -05:00
Chris Swithinbank
2e4958c8a7
Add integrations API for db config/seed files ( #10321 )
...
* Add integrations API for adding db config/seed files
* Fix seeding when user seed file is present
* Add basic test and fixture for integrations API
* Freeze that lockfile
* Test to see if this is a Windows fix
* Don’t import.meta.glob integration seed files
* Make integration seed files export a default function
* style: rejiggle
* Fix temporary file conflicts
* Remove changes to Astro’s core types, type utility method instead
* Use `astro:db` instead of `@astrojs/db`
* Revert unnecessarily cautious temporary path name
This reverts commit ef2156e41b
.
* Add changeset
* Fix entrypoints and `asDrizzleTable` usage in changeset
* Getting Nate in on the co-author action
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Fix user seed file in integrations fixture
* Update `seedLocal()` after merge
* Provide empty `seedFiles` array in `db execute`
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-03-07 20:19:17 +01:00
Ben Holmes
06fe94e29d
Add --remote
flag for remote connection ( #10352 )
...
* feat: check for --remote
* chore: remove bad ticketing example cols
* fix: get seed file working with build
* Revert "fix: get seed file working with build"
This reverts commit 92830a106164b0997c820a3e0bf2a582018084a0.
* fix: seed from build instead of runtime
* refactor: move recreateTables out of runtime
* Revert "refactor: move recreateTables out of runtime"
This reverts commit d01a802ad7915fabc4c4ac35b2d907eae0538d95.
* fix: in-memory db for test fixture
* chore: changeset
* refactor: generate random db name instead
* refactor: use yargs-parser for flag
* chore: remove in-memory db logi
* refactor: rename random id flag for clarity
* feat: support --remote in dev
* feat: support --remote on shell
* refactor: inline db client
* feat: support --remote on db execute
* chore: stray console log
* chore: remove recreateTables from runtime
* chore: update seeding for new signature
* chore: remove unused error imports
2024-03-07 13:38:43 -05:00
Nate Moore
2aec2cdc21
Adds create-astro
fallback values for package versions ( #10255 )
...
* fix(create-astro): add fallback when registry fails to return the current package version
* feat(create-astro): inline most current package versions as fallback
* test(create-astro): update typescript tests to check for undefined
* test(create-astro): properly reset fixtures
* refactor: read dependencies from workspace root
* refactor: error on missing values
2024-03-07 12:14:48 -06:00
Chris Swithinbank
bad9b583a2
Update seed to use export default function() instead of top-level await ( #10334 )
...
* Update fixtures seed files to export default function
* Call default export when running seed files
* Add changeset
2024-03-07 13:04:16 -05:00
Ben Holmes
5a9dab286f
Fix: drizzle vs. config runtime export conflict ( #10357 )
...
* fix: drizzle vs config export problem
* chore: remove drizzle runtime export
* chore: changeset
2024-03-07 12:55:33 -05:00
Matthew Phillips
9f422e9bd3
db: rename experimentalVersion to version ( #10348 )
...
* db: rename experimentalVersion to version
* Fix tests
* Update .changeset/fluffy-bobcats-arrive.md
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-03-07 11:37:36 -05:00
Arsh
33583e8b31
fix(rendering): prevent removal of necessary <astro-slot>
elements ( #10317 )
...
* fix(rendering): prevent removal of necessary `<astro-slot>` elements
* add test
* add changeset
* missed a spot
* adjust test
* assume `supportsAstroStaticSlot`
* bring back accidentally removed `markHTMLString` call
2024-03-07 21:55:03 +05:30
Houston (Bot)
3de48e8f62
[ci] release ( #10354 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-07 15:31:00 +00:00
Emanuele Stoppa
8ce9fffd44
fix(routing): regression on partial dynamic routes ( #10355 )
...
* fix(routing): regression on partial dynamic routes
* Update .changeset/eight-spoons-nail.md
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-03-07 14:48:39 +00:00
Arsh
f33cce8f6c
fix(Astro global): parity with ctx.site
( #10325 )
...
* move `createResult()` into `RenderContext`
* `Astro.site`-`ctx.site` parity
* shared `clientAdress()` implementation
* remove base from `manifest.site`
* astro global tests
* add api context tests
* add changeset
* flaky test
* error on `Astro.response.headers` reassignment
2024-03-07 14:44:53 +00:00
Ross Robino
fdd5bf277e
fix: client prerender fallback ( #10295 )
...
* fix: client prerender fallback
* Use Speculation Rules prefetch as prerender fallback instead of link tag, improve changeset
* Update .changeset/warm-spoons-fetch.md
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-03-07 13:31:30 +00:00
Ming-jun Lu
d121311a3f
Fix an issue where getCollection
might return undefined
( #10356 )
...
* Fix an issue where `getCollection` might return `undefined`
* Add changeset
2024-03-07 13:30:42 +00:00
Emanuele Stoppa
f973aa9110
fix(toolbar): add anchor element to interactive elements ( #10343 )
...
* fix(toolbar): add anchor element to interactive elements
* chore: apply better logic
* add test
2024-03-07 11:18:09 +00:00
Houston (Bot)
e88eeb0337
[ci] release ( #10351 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-06 23:54:18 -08:00
Luiz Ferraz
393ad9b2aa
Include virtual declaration in package ( #10350 )
...
* Include virtual declaration in package
* Update .changeset/good-rats-bathe.md
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-03-06 17:00:22 -06:00
Houston (Bot)
c793f194c9
[ci] release ( #10344 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-06 11:07:43 -05:00
Matthew Phillips
a2e9b2b936
Fixes loading .ts configs in astro:db ( #10342 )
2024-03-06 09:50:02 -05:00
Houston (Bot)
1d9fb15a2d
[ci] release ( #10341 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-06 08:53:27 -05:00
Ben Holmes
a60861c960
fix: move db ambient types to separate module ( #10340 )
...
* fix: move ambient types to separate modue
* chore: changeset
2024-03-06 08:30:45 -05:00
Houston (Bot)
038201fbae
[ci] release ( #10337 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-05 16:58:48 -08:00
Fred K. Schott
f2e60a9675
Revert bad release ( #10336 )
...
* Revert "[ci] release (#10332 )"
This reverts commit dd3935b31c
.
* Revert "[ci] set `--tag` on release (#10323 )"
This reverts commit 50215ae731
.
2024-03-05 16:47:15 -08:00
Houston (Bot)
dd3935b31c
[ci] release ( #10332 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-05 16:26:25 -08:00
Fred K. Schott
d6a6b7dff2
add missing changeset ( #10335 )
2024-03-05 16:20:28 -08:00
Arsh
507b4ac246
fix(rendering): allow render instructions to propagate while rendering slots ( #10316 )
...
* fix(rendering): allow render instructions to propagate while rendering slots
* add test
* add changeset
* undo changes to `playwright.config.js`
2024-03-05 21:25:48 +05:30
Florian Lefebvre
29cbb88afd
chore(vercel): update @vercel/nft ( #10305 )
...
* chore(vercel): update @vercel/nft
* Update slimy-berries-mate.md
2024-03-05 15:17:35 +00:00
Houston (Bot)
d1700cf731
[ci] release ( #10314 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-04 13:17:06 -05:00
Florian Lefebvre
992537e79f
fix(astro): static entrypoints build with path with several '.astro' ( #10302 )
...
* fix(astro): static entrypoints build with path with several '.astro'
* feat: improve replacement logic
* fix: logic
* chore: improve changeset
* chore: move test
* Update util.ts
* Update .changeset/stale-ducks-protect.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-03-04 16:48:01 +00:00
Luiz Ferraz
819d20a89c
Fix dynamic prerender conflict ( #10298 )
...
* Reproduce issues
* Handle inconsistency between static, dynamic and rest routes
* Add extra test cases
* Add changeset
* Revert unrelated changes
* Update lockfile
2024-03-04 16:40:32 +00:00
Arsh
19ecccedaa
workaround(node ssr): cancellation support for renderToAsyncIterable ( #10319 )
...
* workaround(node ssr): cancellation support for renderToAsyncIterable
* add changeset
* Update .changeset/nice-pets-tie.md
2024-03-04 21:15:13 +05:30
Arsh
9deb919ff9
fix(i18n): prevent overwriting 404.astro ( #10281 )
...
* fix(i18n): prevent overwriting 404.astro
* add changeset
* add tests
* adjust unit test
2024-03-04 20:25:41 +05:30
Ben Holmes
78ddfadbf9
fix: reference base types ( #10315 )
...
* fix: reference root types
* chore: changeset
* chore: stray console log
2024-03-04 09:14:56 -05:00
Arsh
9ba3e2605d
fix(build): skip only the configured redirects ( #10279 )
...
* fix(build): allow redirect responses to output files
* add changeset
* add test
2024-03-04 11:44:34 +00:00
Houston (Bot)
5afc8f2088
[ci] release ( #10306 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-04 03:09:24 -08:00
Fred K. Schott
cb00c8b692
fix package json types ( #10313 )
2024-03-04 02:59:41 -08:00
Fred K. Schott
93ec9e264a
add new migrations system ( #10312 )
2024-03-04 02:50:58 -08:00
Sandeep Dilip
4bc360cd5f
fix( #8625 ): smooth scrolling in SPA mode on iOS ( #10235 )
...
* fix(#8625 ): smooth scrolling in SPA mode on iOS
* perf(router): run cb every 200ms only when scolling
* refactor(router): suggested changes and fixes
Suggested changes:
- change interval time from 200 to 50ms
- initialize `last*` vars together with the call to `setInterval()`
- clear interval when scroll positions stop changing, independent of
history state
Additional changes:
- remove unused `throttle()` function
- move guarded block to inside `onScrollEnd()` since using history
navigation will trigger our "popstate" callback and fire additional
"scroll" and "scrollend" events, causing redundant expensive calls to
`replaceState()`
* adds changeset
---------
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
2024-03-03 16:59:19 +01:00
Houston (Bot)
2db9031a9f
[ci] release ( #10292 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-02 00:42:07 -08:00
Ben Holmes
3488be9b59
finalize WIP API ( #10280 )
...
* feat: no more readable / writable
* fix: table typegen
* wip: move data seeding
* chore: add scripts to basics
* feat: data() -> seed file
* refactor: ensure precedence of file name
* feat: db execute command
* fix: test imports
* chore: remove old readable error tests
* feat: support local db with `db execute`
* refactor: remove integrations from test for now
* chore: stray comment
* chore: remove `table` config object
* feat: `db.batch`!
* refactor: move migrations/ inside db/
* fix: move ticketing-example to seed file
* fix: disable foreign keys when recreating tables
* refactor: standardize migrations dir
* feat: move to db/config.ts
* feat: file watching for db/config.ts dependencies
* feat: remove unsafeDisableStudio
* chroe: remove bad import
* feat: parse config.ts from cli
* chore: remove async from localDatabaseClient
* fix: update recipes config and seed
* chore: update unit tests
* chore: update tests to dev server
* refactor: collectionToTable -> asDrizzleTable
* chore: tidy up collection -> table error states
* refactor: regexp -> endsWith
* feat: pretty error inserting into table
* refactor: try/catch -> catch()
* feat: expose utils for integration seed files
* fix: add config import to db client modules
* fix: just use generic "seeding database" error
* chore: remove unused link args
* fix: migration queries im,port
* chore: remove irrelevant glob/ example
* feat: format migration file path
* feat: support all config file names
* chore: remove db.batch() for now
* chore: remove `db` object
* core: remove unused integration file
* chore: changeset
* fix: foreign key empty error message
* chore: remove old TODO
* fix: bad context reference
* refactor: seedDev -> seedLocal
* wip: throw some console logs at github
* wip: avoid seeding astro:db imported by seed file
* wip: use anything in db/
* refactor: only seed when loaded within srcDir
* refactor: avoid resolution when not seeding
* chore: remove logs
* refactor: seed within create local db client
* refactor: use normalizePath
* wip: logs
* wip: logs
* refactor: early return
* chore: more logs
* refactor: no batch
* fix: use beforeAll
* refactor: move all tests to base block
* wip: log dev server starting
* chore: remove logs
* wip: demo ready
* chore: remove duplicate recreateTables() call
* Revert "wip: demo ready"
This reverts commit 37585ce5cb
.
* refactor: beforeEach to isolate dev servers
* chore: remove useBundledDbUrl
* refactor: naming and seed scope
* chore: remove stray console logs
* wip: fix windows file import
* wip: try fileURLToPath
* Revert "wip: try fileURLToPath"
This reverts commit 46fd65d61a
.
* Revert "wip: fix windows file import"
This reverts commit 1a669ea646
.
* refactor: dir -> directory
* refactor: move execute file to cli
* refactor: remove seed.dev convention
* wip: attempt fileURLToPath
* wip: debug the file exists
* fix: use mjs??
* chore: remove duplicate seedLocal
* chore: remove log check
* refactor: use in memory db for tests
* chore: clean up test comment
* fix: avoid file writes for db setup on in memory db
* chore: bump db changeset to minor
---------
Co-authored-by: Nate Moore <nate@astro.build>
2024-03-01 19:29:55 -05:00
Erika
a548a3a99c
fix(markdoc & mdx): Proxy crimes ( #10278 )
...
* fix(markdoc & mdx): Proxy cimes
* chore: changeset
2024-03-01 15:48:38 +01:00
Houston (Bot)
87a3d51f2c
[ci] release ( #10286 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-01 12:10:51 +00:00
Erika
5e3e74b61d
fix(audits): Don't warn about loading on data URIs ( #10275 )
2024-03-01 11:41:43 +01:00
Erika
d5277df5a4
fix(node): Safely create requests ( #10285 )
...
* fix(node): Wrap request creation in try catch
* chore: changeset
2024-03-01 10:26:28 +00:00
Houston (Bot)
afd41cc28b
[ci] release ( #10265 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-01 10:31:12 +01:00
Erika
07f89429a1
fix(assets): Solidify Node endpoint ( #10284 )
...
* fix(assets): Solidify Node endpoint
* chore: changeset
2024-03-01 10:23:07 +01:00
Satanshu Mishra
b47dcaa259
fix(node): listen on 0.0.0.0 if server.host is set to true ( #10282 )
...
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
Co-authored-by: Kevin Zuniga Cuellar <46791833+kevinzunigacuellar@users.noreply.github.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-03-01 09:32:22 +01:00
Arsh
e556151603
fix(dev): cosider base
when special-casing /_image
( #10274 )
...
* fix(dev): cosider `base` when special-casing `/_image`
* add changeset
* adjust tests
* Apply suggestions from code review
* add test
2024-03-01 00:08:01 +05:30
Martin Trapp
9bdbed723e
Adds auto completion of astro:
events when adding or removing event listeners on document
( #10263 )
2024-02-28 16:52:08 +01:00
Houston (Bot)
e56c428f3b
[ci] release ( #10236 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-28 13:17:40 +00:00
Furkan Erdem
57655a99db
fix(i18n): localised index pages are overwritten ( #10250 )
...
* fix(i18n): localised index pages are overwritten
* chore: add changeset
* chore: add pnpm lock
2024-02-28 13:08:49 +00:00
Emanuele Stoppa
8ae5d99534
fix: change strategy for route caching ( #10248 )
...
* fix: change strategy for route caching
* use route and component as cache key
2024-02-28 11:59:50 +00:00
Ming-jun Lu
9b00de0a76
Fix TypeScript type definitions for Code
component ( #10251 )
...
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-02-28 10:43:24 +08:00
Martin Trapp
bb644ab99c
chang changeset ( #10253 )
2024-02-27 17:37:29 +00:00
Martin Trapp
fb773c9161
Removes morph animations when setting transition:animate=none ( #10247 )
...
* Removes morph animations when setting transition:animate=none
* Apply suggestions from code review
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-02-27 22:46:32 +05:30
Erika
dbb0d0bd28
Fix Svelte editor tooling not working under relaxed TypeScripts projects ( #10244 )
...
* fix(svelte): Add TypeScript as a peer dep
* Update .changeset/gold-baboons-drum.md
2024-02-27 16:25:59 +01:00
Ming-jun Lu
9c21a9df6b
Improve the message of MiddlewareCantBeLoaded
for clarity ( #10239 )
...
* Improve the message of `MiddlewareCantBeLoaded` for clarity
* Add changeset
2024-02-27 07:17:51 +00:00
Martin Trapp
ade9759cae
Warn when view transitions run on a prefer-reduced-motion device ( #10222 )
...
* Warn when view transitions run on a prefere-reduced-motion device
* ViewTransitions.astro aktualisieren
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-02-26 17:04:57 +01:00
Houston (Bot)
6012163d8f
[ci] release ( #10218 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-26 15:33:39 +00:00
James Ross
e64bd0740b
fix: better assetsInlineLimit runtime type checking ( #10154 )
...
* fix: string assetsInlineLimit
* fix: better handle NaN values for `assetsInlineLimit`
* chore: prettier
* chore: simplify for requested changes
* chore: update changeset
* chore: remove tests
* chore: simplify function
* Apply suggestions from code review
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-02-26 20:12:42 +05:30
Ben Holmes
aa45eb9fa6
fix: correct remote url ( #10223 )
...
* fix: get correct url
* chore: changeset
* fix: respect runtime env
2024-02-26 08:44:43 -05:00
Erika
1eadb1c529
fix(toolbar): Make it so every built-in app can be closed by outside clicks ( #10220 )
...
* fix(toolbar): Make it so every built-in app can be closed by outside clicks
* chore: changeset
* test: add tests
* test: fix test
* ci: don't run bundle-size on dev-toolba
2024-02-26 13:38:19 +00:00
Ming-jun Lu
ae2a10e1a7
Fix an issue where Vercel adapter may create functions for prerendered routes ( #10231 )
...
* fix: fix an issue where Vercel adapter may create functions for prerendered routes
* test: update test cases in `split.test.js`
* chore: add changeset
* refactor: apply suggested changes from code review
* Apply suggestions from code review
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-02-26 18:58:49 +05:30
Matthew Phillips
afcb9d3311
Fix hydration scripts missing from dynamic slot usage ( #10219 )
2024-02-26 08:38:11 +00:00
Matthew Phillips
4db82d9c7d
Prevent errors in rendering from crashing server ( #10221 )
...
* Prevent errors in rendering from crashing server
* Add changeset
* Make the reject an error
* Simplify
* Update .changeset/breezy-pears-admire.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-02-26 08:36:43 +00:00
前端子鱼
84502b4190
fix: svelte 5 mount/hydrate api change. ( #10224 )
2024-02-26 16:10:47 +08:00