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

4000 commits

Author SHA1 Message Date
Houston (Bot)
c73d65d7f7
[ci] release (#12178)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-11 13:20:32 -04:00
Emanuele Stoppa
2d10de5f21
fix(routing): actions should redirect the original pathname (#12173)
* fix(routing): actions should redirect the original pathname

* decode header to avoid index out of bounds

* fix e2e test

* Update packages/astro/e2e/actions-blog.test.js

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-10-11 14:47:14 +01:00
Matthew Phillips
a4ffbfaa5c
Ensure router only targets scripts for execution (#12177)
* Ensure router only targets scripts for execution

* Add a test

* Move the test up to the file that's testing

* remove extra prop

* just see if tests pass

* use local file

* smaller file

* use getElementsByTagName again
2024-10-11 09:37:06 -04:00
Takahito Sueda
49c4f64673
Ensure that the generated package.json and tsconfig.json end with a newline. (#12186) 2024-10-11 20:47:46 +08:00
Bjorn Lu
9988dd67e2
Improve default template download speed (#12154) 2024-10-10 21:32:49 +08:00
Houston (Bot)
582f12e1f6
[ci] release (#12148)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-10 12:21:19 +01:00
Louis Escher
c6fd1df695
Fix mts reloads (#12160)
* Add mts file extension to configRE regex

* Add changeset

* Apply suggestions from code review

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-10-09 11:12:22 +01:00
Emanuele Stoppa
710a1a11f4
feat(markdown): add support for shiki option langAlias (#12039)
* feat(shiki): add support for `langAlias`

* chore: apply feedback

* Update packages/markdown/remark/src/types.ts

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

* fix build

* Fix bug

* Apply suggestions from code review

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update .changeset/dirty-socks-sip.md

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-10-09 10:51:38 +01:00
chaegumi
3ac2263ff6
add support parallel builds (#11984)
* 支持并发生成

* feat: Add support parallel builds

* feat: read concurrency config

* changeset

* fix: Explicit undefined is unnecessary on an optional parameter

* pnpm-lock.yaml rebuild

* fix: add innerPrevTimeEnd

* fix: modification time calculation

* update pnpm-lock.yaml

* Rewrite with p-limit

* update

* clean

* Update changeset

* typo [skip ci]

* Apply suggestions from code review

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Apply suggestions from code review

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update packages/astro/src/core/config/schema.ts

* formatting

* merge main and update the lock file

* Update packages/astro/src/@types/astro.ts

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* 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>

---------

Co-authored-by: bluwy <bjornlu.dev@gmail.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-10-09 10:51:03 +01:00
Jan Havlena
e96bcae535
Fixed parsing of x-forwarded-* headers (#12130)
* Fixed parsing of x-forwarded-* headers

* changeset

* remotePort

* port fix

* port fix

* port fix

* Update .changeset/slimy-buses-agree.md

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* Update packages/astro/src/core/app/node.ts

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* Reverted formating change

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-10-09 10:35:58 +01:00
Chris Swithinbank
8e500f2f96
Add css keyword to Tailwind integration (#12161)
* Add `css` keyword to Tailwind integration

* Add changeset
2024-10-08 23:40:49 +02:00
Emanuele Stoppa
bb6d37f94a
fix(routing): default locale when there's a list (#12151)
* fix(routing): default locale when there's a list

* fix(routing): default locale when there's a list
2024-10-07 17:30:18 +01:00
Armand Philippot
50dd88bc66
fix(@astrojs/rss): prevent an error when pubDate is missing (#12137)
* fix(rss): prevent error when `pubDate` is missing

* docs(rss): switch some RSS items to optional
2024-10-07 11:42:19 -04:00
Bjorn Lu
2385d58389
Simplify giget dependency (#12143) 2024-10-07 22:59:16 +08:00
Matt Kane
9db755ab7c
fix: don't set statusMessage in HTTP/2 (#12147) 2024-10-07 15:27:10 +01:00
Houston (Bot)
46cbf10c4b
[ci] release (#12115)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-07 15:41:40 +02:00
Luiz Ferraz
6e06e6ed4f
Fix problems with local libSQL DB (#12089)
Co-authored-by:  Matthew Phillips <361671+matthewp@users.noreply.github.com>
Co-authored-by: Emanuele Stoppa <602478+ematipico@users.noreply.github.com>
2024-10-07 10:17:26 -03:00
Julien Cayzac
de35daa851
[CVE 2024-47764] Update package 'cookie' (#12132) 2024-10-07 14:45:50 +08:00
sammibajrami
af8401ebf9
Fixed an "Uncaught ReferenceError" inside of the @astrojs/vue package (#12116)
* fix(vue): initialized the 'app' variable earlier in the client.js script by assigning the 'appInstance' reference to it so that it is available for the later established 'astro:unmount' event listener

* Add changeset

* fix(vue): reverted the last change and instead moved the 'astro:unmount' event listener to inside of the 'if' statement where the 'app' variable is initialized

---------

Co-authored-by: Matt Kane <m@mk.gg>
2024-10-05 13:48:30 +02:00
Martin Trapp
5bc6223b12
Fix-component-undefined-svelte-v5 (#12102) (#12129)
* - fix: 'component is not defined' error when unmount svelte 5 component

* added changeset

* Moving unmount listener to where the component is defined.

* Update .changeset/eighty-ligers-punch.md



---------

Co-authored-by: Hermit <70563349+hermit99@users.noreply.github.com>
2024-10-05 13:16:14 +02:00
Matt Kane
6e1dfeb76b
fix: clear content layer cache if astro version changes (#12126)
* fix: clear content layer cache if astro version changes

* changeset
2024-10-04 15:10:39 +01:00
Matt Kane
499fbc91a6
fix): allow special characters in Action names (#12124) 2024-10-04 15:08:04 +01:00
Erika
b8673df51c
fix: missing body type on content layer entries (#12123) 2024-10-04 14:15:46 +02:00
Matt Kane
2490cebdb9
fix: correctly serialize Infinity as island props (#12121) 2024-10-04 11:53:29 +01:00
Cristopher
f47b347da8
chore(deps): replace strip-ansi with native module (#12118)
* chore(deps): replace strip-ansi with native module

* chore: changeset

---------

Co-authored-by: Princesseuh <3019731+Princesseuh@users.noreply.github.com>
2024-10-04 11:21:03 +02:00
Armand Philippot
a46839a5c8
docs: update Vite links to use their new domain (#12117)
* docs: update Vite links to use their new domain

See https://github.com/withastro/docs/issues/9548

* update other links with the new Vite domain

* Create strange-cats-notice.md

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-10-03 23:29:52 +02:00
Matt Kane
a54e520d3c
fix: throw a useful error if rendering undefined entry (#12113)
* fix: throw a useful error if rendering undefined entry

* Update .changeset/wise-pumas-fry.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-10-03 19:55:55 +01:00
Florian Lefebvre
f9dd9428c6
fix(vue): useId() collisions (#12112) 2024-10-03 20:52:11 +02:00
Houston (Bot)
34d79527a4
[ci] release (#12098)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-03 14:50:19 +01:00
Emanuele Stoppa
ea225585fd
fix(routing): incorrect assumption when loading the middleware (#12109) 2024-10-03 14:38:23 +01:00
lam eu ler
918953bd09
use shorthash for data url image to prevent ENAMETOOLONG (#12108)
* use shorthash for filename of data url images

* add changeset

* add fixture to test processing of data url images

* run format

* update changeset

* fix test

* Update .changeset/dull-worms-own.md

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-10-03 10:54:01 +01:00
Matt Kane
d3a74da196
fix: handle immutable response object (#12106)
* fix: handle immutable response object

* changeset
2024-10-03 09:21:11 +01:00
Sondre Aasemoen
fbe1bc51d8
feat(sitemap): add xslURL to enable styling (#11485)
* feat(sitemap): add xslURL to enable styling

* Add test

* Update .changeset/proud-horses-cry.md

---------

Co-authored-by: bluwy <bjornlu.dev@gmail.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-10-03 09:01:42 +01:00
Matt Kane
42037f33e6
fix: pass custom statusText in Response (#12105)
* fix: pass custom statusText in Response

* Add changeset
2024-10-02 17:08:36 +01:00
Mark Jaquith
d49a537f2a
Use IE conditional comment placeholders for server island start markers (#12090)
These placeholders are much less likely to be removed by HTML minifiers,
because they have traditionally been used to change the behavior of
site.
2024-10-01 15:58:14 -04:00
Matt Kane
11d447f66b
fix: defer check for schema references to content layer collections (#12097)
* fix: defer check for schema references

* More comments
2024-10-01 16:05:45 +01:00
Houston (Bot)
f06feee7c4
[ci] release (#12074)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-01 15:26:50 +02:00
Reuben Tier
76c5fbd6f3
Fix non-stable versions for astro add (#12095) 2024-10-01 14:18:30 +08:00
Erika
12dae50c77
chore: changeset (#12084) 2024-09-30 19:21:06 +02:00
Martin Trapp
d7779dfae7
View Transitions: Fixes Astro's fade animation to prevent flicker during morph transitions (#12046) 2024-09-26 14:14:00 +01:00
Bjorn Lu
1720c5b1d2
Fix injected endpoint prerender detection (#12043) 2024-09-25 15:14:04 +01:00
Houston (Bot)
7814a6cad1
[ci] release (#12037)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-23 19:26:46 +02:00
Emanuele Stoppa
243ecb6d61
fix(container): apply polyfill (#12042) 2024-09-20 18:09:37 +01:00
Matt Kane
26ea5e814a
fix: restore behavior of absolute images in v4 branch (#12038)
* fix: allow images with absolute path

* Add mroe tests

* changeset
2024-09-20 12:19:47 +01:00
Emanuele Stoppa
5b3ddfadcb
fix(routing): call middleware when rendering 404.astro (#12034) 2024-09-20 10:12:05 +01:00
Houston (Bot)
b4563f8542
[ci] release (#12021)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-19 14:13:53 +01:00
Emanuele Stoppa
8c0cae6d1b
fix(routing): compute APIContext.params when rewriting using next (#12031)
* fix(routing): compute `APIContext.params` when rewriting using `next`

* fix(routing): compute `APIContext.params` when rewriting using `next`
2024-09-19 13:57:47 +01:00
Bjorn Lu
d3bd673392
Check route collision after getStaticPaths (#12028) 2024-09-19 20:43:01 +08:00
Bjorn Lu
40e7a1b05d
Lazily initialize the md and mdx processor (#12026) 2024-09-19 20:40:49 +08:00
François Violette
dd3b753aba
Add selected to the list of boolean attributes (#12027) 2024-09-19 19:51:26 +08:00
Uwe Jäger
9be3e1bba7
Remove dependency on path-to-regexp (#12001)
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-09-19 11:11:48 +02:00
Matt Kane
53cb41e30e
fix: correctly handle head propagation in content layer deferred rendering (#12014)
* chore: run MDX tests against content layer

* Handle head propagation in deferred rendering

* Add changeset

* Update test
2024-09-18 15:15:51 +01:00
Houston (Bot)
8214114a90
[ci] release (#12002)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-18 00:21:35 +02:00
Matthew Phillips
dcd115892a
Make @astrojs/tailwind compat with Astro 5 (#12018) 2024-09-18 00:19:22 +02:00
Artem Zhirov
0b59fe74d5
Fix: prevent island re-rendering when using transition:persist (#11854) (#11915)
https://github.com/withastro/astro/issues/11854
2024-09-17 16:23:48 +02:00
Johannes Spohr
a582cb6124
Fix Svelte view transition state persistence (#12006)
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
2024-09-17 16:11:32 +02:00
Johannes Spohr
082f450944
Fix SolidJS view transition state persistence (#11998)
* Fix SolidJS view transition state persistence

* Add changeset

---------

Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
2024-09-17 15:21:41 +02:00
Johannes Spohr
b75bfc8cc4
Fix vue resetting state when using view transition persistence (#11946)
* Fix vue resetting state when using view transition persistence

* Avoid calling internal apis when forcing vue component update
2024-09-17 14:54:49 +02:00
Armand Philippot
a2f8c5d85f
docs: fix Content Layer RFC Link (#12000) 2024-09-15 16:53:30 -03:00
Houston (Bot)
27d19f612f
[ci] release (#11986)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-13 15:56:33 -04:00
Matthew Phillips
ffba5d716e
Fix getStaticPaths regression (#11993)
* Revert "Remove dependency on path-to-regexp (#11983)"

This reverts commit 633eeaa9d8.

* Add test for regression

* Add a changeset

* Pin path-to-regexp
2024-09-13 15:39:51 -04:00
Reuben Tier
06eff60cab
Add copy support for Wayland via wl-copy (#11964)
* Add wl-copy support

* Add changeset

* set to patch

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-09-13 13:45:30 +02:00
Houston (Bot)
490eed1cd9
[ci] release (#11940)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-13 13:04:37 +02:00
Uwe Jäger
633eeaa9d8
Remove dependency on path-to-regexp (#11983)
Fixes #11956
Closes #11985
Closes 11965
2024-09-13 12:49:44 +02:00
Bjorn Lu
c9ae7b1b89
Handle MDX optimize for root hast node (#11975) 2024-09-12 18:47:55 +08:00
Nikola Hristov
86ad1fd223
Fixes typo. (#11968)
* Fix typo

* Create nine-chairs-decide.md

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-09-11 17:44:30 +02:00
Ben Holmes
7b09c62b56
Actions: add discriminated union support (#11939)
* feat: discriminated union for form validators

* chore: changeset
2024-09-06 16:41:51 -04:00
Houston (Bot)
0d50d7545e
[ci] release (#11936)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-06 12:47:30 -04:00
Matthew Phillips
bd1d4aaf82
Allow passing into the crypto key via ASTRO_KEY (#11879)
* Allow passing into the crypto key via ASTRO_KEY

* Add a changeset

* Add test

* Use the node package

* omg

* Create a new create-key command

* linting

* lint again

* Update the changeset
2024-09-06 12:41:39 -04:00
Florian Lefebvre
e55c668b25
chore: changeset minor (#11938) 2024-09-06 15:23:17 +02:00
Florian Lefebvre
7d70ba3178
feat(create-astro): ts-check comment (#11924) 2024-09-06 14:23:02 +02:00
Lukas Bachlechner
4a44e82bbd
fix: explicitly check for null props in serializeSignals (#11930)
* fix: explicitly check for null props in `serializeSignals`

* chore: add changeset
2024-09-06 13:26:51 +02:00
Erika
c58193a691
fix(add): Use proper export names when adding adapters (#11935)
* fix(add): Use proper export names when adding adapters

* chore: changeset
2024-09-06 11:38:15 +02:00
Houston (Bot)
65bfefb96b
[ci] release (#11909)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-05 03:42:00 +02:00
Gabriel Pereira Woitechen
ca54e3f819
perf(astro/assets): avoid downloading original image when using cache (#11904) 2024-09-04 15:32:03 +02:00
Matthew Phillips
7ff7134b80
Provide an error message when Actions throws in setup (#11886)
* Provide an error message when Actions throws in setup

* Update .changeset/many-turtles-tie.md

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>

---------

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2024-09-03 09:45:57 -04:00
Matt Kane
d63bc50d99
fix: keep data store outside of node_modules during dev (#11902)
* fix: don't keep data store in node_modules during dev

* Lint

* Fix test

* Wait for data store

* Use helper for data store file

* Fix data store file helper

* Lint

* Handle case where Vite already knows about save
2024-09-03 14:25:45 +01:00
Luiz Ferraz
cc820c5d5e
Fix mixed DB token env vars (#11894)
* Fix mixed DB token env vars

* Test env combinations

* Fix linter issues

* Fix linter issues

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-09-03 14:53:29 +02:00
Houston (Bot)
60d8e30008
[ci] release (#11883)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-02 13:19:39 +02:00
Chris Swithinbank
80b4a181a0
Fix user-facing type for i18n.routing.fallbackType (#11900) 2024-09-02 13:01:38 +02:00
Matt Kane
e45070459f
fix: separate image extraction from schema parsing in content layer (#11884)
* fix: separate image extraction from schema parsing in content layer

* rm unused imports
2024-09-01 10:05:43 +01:00
Armand Philippot
8e5257adda
docs(i18n): fix typo in fallbackType JSDoc comment (#11870) 2024-08-30 09:45:31 +01:00
Houston (Bot)
21747e9eae
[ci] release (#11871)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-29 23:28:48 +08:00
Bjorn Lu
9327d56755
Use default import in astro add (#11872) 2024-08-29 23:05:16 +08:00
Matt Kane
d1bd1a11f7
Moves content layer sync to a queue and support selective sync (#11767)
* wip: allow integrations to refresh contel layer

* Use queue for sync jobs

* Remove integration-specific code

* Fix type

* changeset
2024-08-29 15:22:40 +01:00
Houston (Bot)
17f71278f4
[ci] release (#11857)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-29 13:50:49 +02:00
Erika
9da5b3dab2
fix: syntax error in changelog (#11869) 2024-08-29 13:48:51 +02:00
Ben Holmes
5b4070efef
Actions stable release (#11843)
* feat: baseline experimental actions

* feat(test): remove experimental config

* feat: remove getActionProps()

* feat: make actions file non-break

* feat: detect actions usage

* chore: changeset

* feat: improve actions usage check

* refactor: remove define action symbol now that we check server exp

* fix: remove old import

* chore: move actionsIntegration to top import

* fix: warn only when actions are used

* fix: srcDir check

* refactor: split out action plugins to simplify integration

* feat: new integration and plugins

* chore: update error hints

* fix(test): pass default src dir

* feat: add ActionNotFoundError

* fix: handle json parse errors in deserializer

* chore: unused import

* 500 -> 404

* New `astro:schema` module (#11810)

* feat: expose zod from astro:schema

* chore: changeset

* chore: update release strategy in changeset

* fix: move deprecated notice to type def

* fix: update config doc reference

* chore: remove z from astro:actions

* edit: changeset with minor release note remove

* wip: increase button click timeouts

* Revert "wip: increase button click timeouts"

This reverts commit a870bc2dc4bdfd77b8b4fc54b62d8bde01d20c14.

* chore: remove content collections disclaimer

* fix: undo biome change

* agh tabs

* agh newlines

* fix: bad docs merge

* wip: add back timeout extension

* fix(test): astro schema import

* refactor: move static output error to config done

* refactor: usesActions -> isActionsFilePresent

* fix: check whether startup and current value disagree

* chore: unused import

* edit: sell actions a little more

* changeset nit

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-08-29 11:13:49 +01:00
Matt Kane
8bab233937
fix: resolve content layer images without filePath set (#11858) 2024-08-28 21:02:08 +01:00
Matt Kane
0e35afe44f
fix: pass config instead of settings to content layer loaders (#11862)
* fix: pass config instead of settings to content layer loaders

* lint

* changes to changeset from review
2024-08-28 17:05:56 +01:00
Bjorn Lu
440a4be0a6
Use tinyexec (#11845) 2024-08-28 22:52:49 +08:00
Bjorn Lu
6272e6cec0
Use magicast for astro add (#11772) 2024-08-28 22:52:32 +08:00
Emanuele Stoppa
cb356a5db6
feat(i18n): expand fallback system (#11677)
* feat(i18n): expand fallback system

* rebase

* apply feedback

* better changeset

* update tests too

* apply feedback

* Update .changeset/blue-pens-divide.md

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

* update docs

* nitpick

* Apply suggestions from code review

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update .changeset/blue-pens-divide.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Apply suggestions from code review

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update .changeset/blue-pens-divide.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* fix regression

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-08-28 12:16:43 +01:00
Emanuele Stoppa
1c54e63327
feat: add sync variant (#11729)
* feat: add `sync` variant

* fix build

* Update .changeset/afraid-apricots-develop.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-08-28 12:16:06 +01:00
Luiz Ferraz
d6611e8bb0
Add support for LibSQL remote (#11385)
* Add support for remote LibSQL

* Add support for local memory DB

* Add some tests

* Add push support

* Fix switch cascading

* Update .changeset/healthy-boxes-poke.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update packages/db/src/runtime/db-client.ts

[skip ci]

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* Use independent env vars for LibSQL and Studio backends

* Expand comment regarding missing table

* Apply suggestions from code review

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-08-28 12:15:33 +01:00
Martin Trapp
62b0d20b97
Extends virtual module astro:transitions/client to export swapFunctions (#11708)
* extend virtual module astro:transitions/client to exports swapFunctions

* use virtual module in e2e tests

* Update .changeset/new-monkeys-sit.md

* Update .changeset/new-monkeys-sit.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update new-monkeys-sit.md

* Update swap-functions.ts

restoreFocus() bindings are now returned by saveFocus() and do not make sense anymore as a member of the swapFunctions object

* take over suggestion

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update .changeset/new-monkeys-sit.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-08-28 12:09:49 +01:00
Phil
cce0894534
feat: support setting timeout for client:idle (#11743)
* feat: support setting timeout for `client:idle`

* tst: add client:idle timeout e2e test

* Update .changeset/clever-emus-roll.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update .changeset/clever-emus-roll.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* nit: we wait for times, not values!

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-08-28 12:09:19 +01:00
Houston (Bot)
5af8b4f1cb
[ci] release (#11835)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-28 12:51:43 +02:00
Phil
5f2536b51d
fix: handle preact signals in array correctly (#11834)
* fix: handle preact signals in array correctly

* feat: serialize signals in object
2024-08-28 11:41:35 +01:00
Bjorn Lu
88ef1d0e77
Fix MDX layout style ordering (#11818) 2024-08-28 10:52:13 +08:00