#11144803dd80 Thanks @ematipico! - The integration now exposes a function called getContainerRenderer, that can be used inside the Container APIs to load the relative renderer.
import { experimental_AstroContainer as AstroContainer } from 'astro/container';
import ReactWrapper from '../src/components/ReactWrapper.astro';
import { loadRenderers } from 'astro:container';
import { getContainerRenderer } from '@astrojs/react';
#11144803dd80 Thanks @ematipico! - The integration now exposes a function called getContainerRenderer, that can be used inside the Container APIs to load the relative renderer.
import { experimental_AstroContainer as AstroContainer } from 'astro/container';
import ReactWrapper from '../src/components/ReactWrapper.astro';
import { loadRenderers } from 'astro:container';
import { getContainerRenderer } from '@astrojs/react';
Add a RichText component to easily render `rich_text_field` metafields. Thank you @bastienrobert for the original implementation. Example usage: (#2144) by @blittle
Add a RichText component to easily render `rich_text_field` metafields. Thank you @bastienrobert for the original implementation. Example usage: (#2144) by @blittle
#111988b9a499 Thanks @florian-lefebvre! - Fixes a case where astro:envgetSecret would not retrieve environment variables properly in dev and build modes
The astro:env API lets you configure a type-safe schema for your environment variables, and indicate whether they should be available on the server or the client. Import and use your defined variables from the appropriate /client or /server module:
---
import { PUBLIC_APP_ID } from 'astro:env/client';
import { PUBLIC_API_URL, getSecret } from 'astro:env/server';
const API_TOKEN = getSecret('API_TOKEN');
To define the data type and properties of your environment variables, declare a schema in your Astro config in experimental.env.schema. The envField helper allows you define your variable as a string, number, or boolean and pass properties in an object:
// astro.config.mjs
import { defineConfig, envField } from 'astro/config';
#111988b9a499 Thanks @florian-lefebvre! - Fixes a case where astro:envgetSecret would not retrieve environment variables properly in dev and build modes
The astro:env API lets you configure a type-safe schema for your environment variables, and indicate whether they should be available on the server or the client. Import and use your defined variables from the appropriate /client or /server module:
---
import { PUBLIC_APP_ID } from 'astro:env/client';
import { PUBLIC_API_URL, getSecret } from 'astro:env/server';
const API_TOKEN = getSecret('API_TOKEN');
To define the data type and properties of your environment variables, declare a schema in your Astro config in experimental.env.schema. The envField helper allows you define your variable as a string, number, or boolean and pass properties in an object:
// astro.config.mjs
import { defineConfig, envField } from 'astro/config';
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the patch-minor group with 7 updates:
5.4.0
5.5.0
2024.4.2
2024.4.3
4.9.2
4.10.1
4.2.17
4.2.18
3.3.0
3.3.1
0.6.1
0.6.2
3.4.3
3.4.4
Updates
@astrojs/svelte
from 5.4.0 to 5.5.0Release notes
Sourced from
@astrojs/svelte
's releases.Changelog
Sourced from
@astrojs/svelte
's changelog.Commits
48d5309
[ci] release (#11186)803dd80
feat(container): provide a virtual module to load renderers (#11144)464b0a1
fix(deps): update all non-major dependencies (#11151)f9b6f4f
chore(deps): update all non-major dependencies (#10958)05d58ef
fix(deps): update all non-major dependencies (#10901)8d5f3e8
chore(deps): update all non-major dependencies (#10833)Updates
@shopify/hydrogen-react
from 2024.4.2 to 2024.4.3Release notes
Sourced from
@shopify/hydrogen-react
's releases.Changelog
Sourced from
@shopify/hydrogen-react
's changelog.Commits
60534dc
[ci] release 2024-04 (#2104)86c1291
Add memorization to parsing of data in rich text component (#2199)9539264
Support new lines in\<RichText>
component (#2198)712885b
update generated docsa739f35
fix verion typo (#2050)da7c4d0
Add subcategories for Cart and Caching utilities, and Media components. (#2158)ea2c3d4
Improve monorepo DX (#2154)30d18bd
Add Rich Text Component (#2144)edc1892
Remove references to Discord9bce950
Shopify cookie fix again (#2143)Updates
astro
from 4.9.2 to 4.10.1Release notes
Sourced from astro's releases.
... (truncated)
Changelog
Sourced from astro's changelog.
... (truncated)
Commits
2da877b
[ci] release (#11201)734b98f
feat(astro): update astro env setup (#11206)8c45391
fix(astro:) config reference typo (#11205)368e4ce
[ci] format8b9a499
fix(astro): getSecret in dev and build (#11198)48d5309
[ci] release (#11186)97fbe93
fix: merge userConfig insidegetViteConfig
(#11194)a64428d
[ci] format6e29a17
Make Astro.url in format: 'preserve' match dev (#11191)58b10a0
Fix throwAstroUserError
in mdx (#11192)Updates
svelte
from 4.2.17 to 4.2.18Release notes
Sourced from svelte's releases.
Changelog
Sourced from svelte's changelog.
Commits
230916f
Version Packages (#11925)dbe6057
chore: speed up regex (#11922)Updates
prettier
from 3.3.0 to 3.3.1Release notes
Sourced from prettier's releases.
Changelog
Sourced from prettier's changelog.
... (truncated)
Commits
92cbd33
Release 3.3.1446a86e
Update execa to v9efc3d05
Avoid line breaks in import attributes (#16349)4a5b26f
Usewhile (true)
instead offor (;;)
(#16354)1c43973
Only add version to.git-blame-ignore-revs
when files changed (#16352)ab65eb4
chore(deps): update dependency eslint-plugin-react to v7.34.2 (#16353)86268eb
chore(deps): update eslint related dependencies (major) (#16208)ddce4fb
Move import attribute unquote test to a separate directory (#16350)450b178
PrintAtHead
node from glimmer viaprint()
(#16346)b94811f
FixstripTrailingHardline
(#16347)Updates
prettier-plugin-tailwindcss
from 0.6.1 to 0.6.2Release notes
Sourced from prettier-plugin-tailwindcss's releases.
Changelog
Sourced from prettier-plugin-tailwindcss's changelog.
Commits
aa6ec0a
0.6.257afde1
Make sure escapes in classes are preserved in string literals (#286)82ea71a
Only remove duplicate Tailwind classes (#277)Updates
tailwindcss
from 3.4.3 to 3.4.4Release notes
Sourced from tailwindcss's releases.
Changelog
Sourced from tailwindcss's changelog.
Commits
ff6f085
3.4.4ed024ee
Update changelog325e7c0
Bump deps (#13797)56116b0
Update browserslist database (#13792)8d66d94
[v3] Support negative values for{col,row}-{start,end}
utilities (#13781)669109e
Don't prefix classes in arbitrary values ofhas-*
,group-has-*
, and `peer...9fda461
Fix multiple <alpha-value> in color definitions (#13740)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show