Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@astrojs/[email protected]
Minor Changes
#10363
b6ccaa6dc76027f4230d6e7dfecc75b5d8b97267
Thanks @delucis! - Changes the seed file format to require exporting a default function instead of running seed code at the top level.To migrate a seed file, wrap your existing code in a default function export:
#10363
b6ccaa6dc76027f4230d6e7dfecc75b5d8b97267
Thanks @delucis! - Introduceastro build --remote
to build with a remote database connection. Runningastro build
plain will use a local database file, and--remote
will authenticate with a studio app token.#10363
b6ccaa6dc76027f4230d6e7dfecc75b5d8b97267
Thanks @delucis! - Adds support for integrations providingastro:db
configuration and seed files, using the newastro:db:setup
hook.To get TypeScript support for the
astro:db:setup
hook, wrap your integration object in thedefineDbIntegration()
utility:Use the
extendDb
method to register additionalastro:db
config and seed files.Integration config and seed files follow the same format as their user-defined equivalents. However, often while working on integrations, you may not be able to benefit from Astro’s generated table types exported from
astro:db
. For full type safety and autocompletion support, use theasDrizzleTable()
utility to wrap your table definitions in the seed file.#10363
b6ccaa6dc76027f4230d6e7dfecc75b5d8b97267
Thanks @delucis! - Add support for batch queries withdb.batch()
. This includes an internal bump to Drizzle v0.29.#10364
3f27e096283b6b477c4a66d0a7df52feaa3f4233
Thanks @delucis! - Renames the Astro DBdefineDB()
helper todefineDb()
astro:db
to usedefineDb
with a lowercase “b”.Patch Changes
#10363
b6ccaa6dc76027f4230d6e7dfecc75b5d8b97267
Thanks @delucis! - Fix runtime export error when building with the node adapter#10363
b6ccaa6dc76027f4230d6e7dfecc75b5d8b97267
Thanks @delucis! - RenameexperimentalVersion
toversion
[email protected]
4.4.15
Patch Changes
#10317
33583e8b31ee8a33e26cf57f30bb422921f4745d
Thanks @lilnasy! - Fixes an issue where elements slotted within interactive framework components disappeared after hydration.#10349
7001ae48dbd8f342e62b71f1ba1ede23bfd93c35
Thanks @natemoo-re! - Adds scaffolded files when runningastro add db
[email protected]
Patch Changes
b6ccaa6dc76027f4230d6e7dfecc75b5d8b97267
Thanks @delucis! - Fixes an issue where TypeScript and@astrojs/check
versions would occassionally print asundefined
.