-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): update astro monorepo (major) #44
base: main
Are you sure you want to change the base?
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎ To accept the risk, merge this PR and you will not be notified again.
Next stepsWhat is an install script?Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts. Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead. Take a deeper look at the dependencyTake a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev. Remove the packageIf you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency. Mark a package as acceptable riskTo ignore an alert, reply with a comment starting with
|
df925c1
to
68c6ede
Compare
68c6ede
to
0b642ec
Compare
0b642ec
to
1242581
Compare
1242581
to
a1d4082
Compare
a1d4082
to
c2075b4
Compare
c2075b4
to
93a9f94
Compare
93a9f94
to
078e884
Compare
078e884
to
a34f551
Compare
a34f551
to
86eebe9
Compare
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
86eebe9
to
17f57a7
Compare
17f57a7
to
d82c2b8
Compare
d82c2b8
to
03a6706
Compare
bd26a93
to
0bdf697
Compare
0bdf697
to
ecccb14
Compare
ecccb14
to
ab7c983
Compare
ab7c983
to
7f3d17b
Compare
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@astrojs/[email protected], npm/@astrojs/[email protected], npm/[email protected] |
7f3d17b
to
2c4aa91
Compare
2c4aa91
to
4cd6faf
Compare
4cd6faf
to
13dde0f
Compare
13dde0f
to
60974f8
Compare
60974f8
to
c9a9ef3
Compare
c9a9ef3
to
30be109
Compare
30be109
to
be304c3
Compare
be304c3
to
3674c54
Compare
3674c54
to
5bc8551
Compare
5bc8551
to
d1a175a
Compare
This PR contains the following updates:
1.1.5
->3.1.3
5.2.0
->7.7.2
3.6.5
->4.12.3
Release Notes
withastro/astro (@astrojs/mdx)
v3.1.3
Compare Source
Patch Changes
49b5145
]:v3.1.2
Compare Source
Patch Changes
b6afe6a
]:v3.1.1
Compare Source
Patch Changes
7d59750
Thanks @wackbyte! - Refactor to use Astro's integration logger for loggingv3.1.0
Compare Source
Minor Changes
#11144
803dd80
Thanks @ematipico! - The integration now exposes a function calledgetContainerRenderer
, that can be used inside the Container APIs to load the relative renderer.v3.0.1
Compare Source
Patch Changes
3cc3e2c
Thanks @Xetera! - Omitting compiler-internal symbol from user components to fix breaking error messagesv3.0.0
Compare Source
Major Changes
#10935
ddd8e49
Thanks @bluwy! - Refactors the MDX transformation to rely only on the unified pipeline. Babel and esbuild transformations are removed, which should result in faster build times. The refactor requires using Astro v4.8.0 but no other changes are necessary.#10935
ddd8e49
Thanks @bluwy! - Allows integrations after the MDX integration to updatemarkdown.remarkPlugins
andmarkdown.rehypePlugins
, and have the plugins work in MDX too.If your integration relies on Astro's previous behavior that prevents integrations from adding remark/rehype plugins for MDX, you will now need to configure
@astrojs/mdx
withextendMarkdownConfig: false
and explicitly specify anyremarkPlugins
andrehypePlugins
options instead.#10935
ddd8e49
Thanks @bluwy! - Renames theoptimize.customComponentNames
option tooptimize.ignoreElementNames
to better reflect its usecase. Its behaviour is not changed and should continue to work as before.#10935
ddd8e49
Thanks @bluwy! - Replaces the internalremark-images-to-component
plugin withrehype-images-to-component
to let users use additional rehype plugins for imagesPatch Changes
#10935
ddd8e49
Thanks @bluwy! - Simplifies plain MDX components as hast element nodes to further improve HTML string inlining for theoptimize
option#10935
ddd8e49
Thanks @bluwy! - Allows Vite plugins to transform.mdx
files before the MDX plugin transforms it#10935
ddd8e49
Thanks @bluwy! - Updates theoptimize
option to group static sibling nodes as a<Fragment />
. This reduces the number of AST nodes and simplifies runtime rendering of MDX pages.#10935
ddd8e49
Thanks @bluwy! - Tags the MDX component export for quicker component checks while rendering#10935
ddd8e49
Thanks @bluwy! - Fixesexport const components
keys detection for theoptimize
option#10935
ddd8e49
Thanks @bluwy! - Improvesoptimize
handling for MDX components with attributes and inline MDX componentsv2.3.1
Compare Source
Patch Changes
#10754
3e7a12c8532411e580fcfdb8445cad8fc8499291
Thanks @rishi-raj-jain! - Fixes an issue where images in MDX required a relative specifier (e.g../
)Now, you can use the standard
![](img.png)
syntax in MDX files for images colocated in the same folder: no relative specifier required!There is no need to update your project; your existing images will still continue to work. However, you may wish to remove any relative specifiers from these MDX images as they are no longer necessary:
#10770
88ee63a3ba4488c60348cb821034e6d4a057efd0
Thanks @bluwy! - Removes internal MDX processor onbuildEnd
to free up memoryv2.3.0
Compare Source
Minor Changes
#10689
683d51a5eecafbbfbfed3910a3f1fbf0b3531b99
Thanks @ematipico! - Deprecate support for versions of Node.js older thanv18.17.1
for Node.js 18, older thanv20.0.3
for Node.js 20, and the complete Node.js v19 release line.This change is in line with Astro's Node.js support policy.
Patch Changes
ccafa8d230f65c9302421a0ce0a0adc5824bfd55
]:v2.2.4
Compare Source
Patch Changes
db7f9c87035a0de780536d95cdd9facff00c3c08
Thanks @bluwy! - Removes unnecessary internalrecmaInjectImportMetaEnv
pluginv2.2.3
Compare Source
Patch Changes
2cf116f80cb5e421ab5cc5eb4a654e7b78c1b8de
,374efcdff9625ca43309d89e3b9cfc9174351512
]:v2.2.2
Compare Source
Patch Changes
c585528f446ccca3d4c643f4af5d550b93c18902
]:v2.2.1
Compare Source
Patch Changes
19e42c368184013fc30d1e46753b9e9383bb2bdf
]:v2.2.0
Compare Source
Minor Changes
#10104
a31bbd7ff8f3ec62ee507f72d1d25140b82ffc18
Thanks @remcohaszing! - Changes Astro's internal syntax highlighting to use rehype plugins instead of remark plugins. This provides better interoperability with other rehype plugins that deal with code blocks, in particular with third party syntax highlighting plugins andrehype-mermaid
.This may be a breaking change if you are currently using:
html
raw
.Please review your rendered code samples carefully, and if necessary, consider using a rehype plugin that deals with the generated
element
nodes instead. You can transform the AST of raw HTML strings, or alternatively usehast-util-to-html
to get a string from araw
node.Patch Changes
c081adf998d30419fed97d8fccc11340cdc512e0
,5a9528741fa98d017b269c7e4f013058028bdc5d
,a31bbd7ff8f3ec62ee507f72d1d25140b82ffc18
]:v2.1.1
Compare Source
Patch Changes
44c957f893c6bf5f5b7c78301de7b21c5975584d
]:v2.1.0
Compare Source
Minor Changes
df37366556d46f7abdf82b09e33b08bd94e631b3
Thanks @OliverSpeir! - Allows remark plugins to pass options specifying how images in .mdx files will be optimizedv2.0.6
Compare Source
Patch Changes
53c69dcc82cdf4000aff13a6c11fffe19096cf45
,2f81cffa9da9db0e2802d303f94feaee8d2f54ec
,a505190933365268d48139a5f197a3cfb5570870
]:v2.0.5
Compare Source
Patch Changes
#9706
1539e04a8e5865027b3a8718c6f142885e7c8d88
Thanks @bluwy! - Removes redundant HMR handling codeUpdated dependencies [
165cfc154be477337037185c32b308616d1ed6fa
,e9a72d9a91a3741566866bcaab11172cb0dc7d31
]:v2.0.4
Compare Source
Patch Changes
e72efd6a9a1e2a70488fd225529617ffd8418534
Thanks @bluwy! - Removes environment variables workaround that broke project builds with sourcemapsv2.0.3
Compare Source
Patch Changes
1baf0b0d3cbd0564954c2366a7278794fad6726e
Thanks @sarah11918! - Updates READMEv2.0.2
Compare Source
Patch Changes
e83b5095f
Thanks @florian-lefebvre! - Upgrades vite to latestv2.0.1
Compare Source
Patch Changes
#9366
1b4e91898
Thanks @lilnasy! - Updates NPM package to refer to the stable Astro version instead of a beta.Updated dependencies [
270c6cc27
]:v2.0.0
Compare Source
Major Changes
#9138
abf601233
Thanks @bluwy! - Updates the unified, remark, and rehype dependencies to latest. Make sure to update your custom remark and rehype plugins as well to be compatible with the latest versions.Potentially breaking change: The default value of
markdown.remarkRehype.footnoteBackLabel
is changed from"Back to content"
to"Back to reference 1"
. See themdast-util-to-hast
commit for more information.Patch Changes
abf601233
,addb57c8e
,c7953645e
]:withastro/astro (@astrojs/vercel)
v7.7.2
Compare Source
Patch Changes
#11323
41064ce
Thanks @ascorbic! - Extracts fs helpers into shared internal-helpers module#11296
5848d97
Thanks @florian-lefebvre! - Fixesastro:env
getSecret compatibilityUpdated dependencies [
41064ce
]:v7.7.1
Compare Source
Patch Changes
#11261
f5f8ed2
Thanks @matthewp! - Fix backwards compat with Astro <= 4.9#11227
24ce898
Thanks @matthewp! - In Vercel Edge, include cookies set by Astro.cookies.setv7.7.0
Compare Source
Minor Changes
2bdca27
Thanks @florian-lefebvre! - Adds support for experimentalastro:env
released in Astro 4.10v7.6.0
Compare Source
Minor Changes
f0acd30
Thanks @ematipico! - Implements the vercel skew protectionv7.5.4
Compare Source
Patch Changes
8d5f3e8
Thanks @renovate! - Updatesesbuild
dependency to v0.20. This should not affect projects in most cases.v7.5.3
Compare Source
Patch Changes
#10756
c75ededdb401cfa55e1ad2682d5e95494f49604e
Thanks @Princesseuh! - Fixeswidths
anddensities
not working when using Vercel's Image Optimization.Note that you still need to make sure that the widths you're outputting are enabled in the
imageConfig
property of the Vercel adapter in order for these properties to work.v7.5.2
Compare Source
Patch Changes
a9a3694a98060be9a33045bb0fcf92ccf1acff6f
Thanks @jacobdalamb! - Updates the supported version of Node.jsv7.5.1
Compare Source
Patch Changes
31590d44ef8b7c96a757e9b835144d57d767383c
Thanks @matthewp! - Move nft warnings behind verbose loggingv7.5.0
Compare Source
Minor Changes
a573cc199a00d35410197ba4117c97764a984dc0
Thanks @tk04! - Theisr.exclude
configuration can now include routes with dynamic and spread parameters.v7.4.0
Compare Source
Minor Changes
cfbaa8a767b8794c2dcd8e164672195378be396a
Thanks @lilnasy! - The special-case handling ofsrc/vercel-edge-middleware.js
file is now deprecated. This file allowed you to access the edge runtime'sRequestContext
object, and create the middlewarelocals
from its fields. However, this object includes only one field - thewaitUntil()
function - which is now available directly asctx.locals.vercel.edge.waitUntil()
.v7.3.6
Compare Source
Patch Changes
1ea0a25b94125e4f6f2ac82b42f638e22d7bdffd
]:v7.3.5
Compare Source
Patch Changes
f2e60a96754ed1d86001fe4d5d3a0c0ef657408d
Thanks @FredKSchott! - Fixes an issue that was preventing the use ofsharp
in some cases and causing a runtime errorv7.3.4
Compare Source
Patch Changes
ae2a10e1a768e31d243194694222932ffafb54cc
Thanks @mingjunlu! - Fixes an issue where functions were also created for prerendered routes withfunctionPerRoute
enabled.v7.3.3
Compare Source
Patch Changes
a013182d322a3969e39d647aad75ec10f8bd1ed7
Thanks @matthewp! - Fixes edge middleware calling nested routesv7.3.2
Compare Source
Patch Changes
3cc20109277813ccb9578ca87a8b0d680a73c35c
Thanks @matthewp! - Fix loading client-scripts in dev with ISRv7.3.1
Compare Source
Patch Changes
2ffc5721bc22631c44d90ac43ec27fdb0b5b2d1b
Thanks @florian-lefebvre! - Prevents infinite redirects when AstrotrailingSlash
configuration is set to"always"
and "vercel.json"trailingSlash
configuration is set totrue
v7.3.0
Compare Source
Minor Changes
#9987
0699f34d5c4481c027c4d29d73944f79f97008df
Thanks @lilnasy! - Implements verification for edge middleware. This is a security measure to ensure that your serverless functions are only ever called by your edge middleware and not a third party.When
edgeMiddleware
is enabled, the serverless function will now respond with403 Forbidden
for requests that are not verified to have come from the generated edge middleware. No user action is necessary.v7.2.0
Compare Source
Minor Changes
#9714
e2fe51c828dc7ea8204788e59e3953fe36c97836
Thanks @lilnasy! - Introduces a new config option,isr
, that allows you to deploy your project as an ISR function. ISR (Incremental Static Regeneration) caches your on-demand rendered pages in the same way as prerendered pages after first request.To enable this feature, set
isr
to true in your Vercel adapter configuration inastro.config.mjs
:v7.1.1
Compare Source
Patch Changes
bc1742df9423ba66e33dcbf65fbebf67a236175d
Thanks @matthewp! - Fix regression with bundling of @libsql/clientv7.1.0
Compare Source
Minor Changes
041fdd5c89920f7ccf944b095f29e451f78b0e28
Thanks @ematipico! - Adds experimental support for internationalization domainsPatch Changes
#9885
49e0c24d7f90d00e986533fcf546665967540ce7
Thanks @matthewp! - Better ignores for Vercel file-tracerThe Vercel adapter has a file-tracer it uses to detect which files should be moved over to the
dist/
folder. When it's done, it prints warnings for things that it detected that maybe should be moved.This change expands how we do ignores so that:
.pnpm
.@libsql/client
is ignored, a package we know is not bundled.v7.0.2
Compare Source
Patch Changes
3435b7f1e1ca38fdee8f3b89e2d2667f125d01b5
Thanks @lilnasy! - Fixes an issue where the serverless function ignored cookies added using Astro.cookies.v7.0.1
Compare Source
Patch Changes
05adaaa2d217a3ecb34244d9b40603f35cef4a37
Thanks @lilnasy! - Fixes an issue where edge middleware did not work.v7.0.0
Compare Source
Major Changes
d6edc7540864cf5d294d7b881eb886a3804f6d05
Thanks @ematipico! - Breaking: Minimum required Astro version is now 4.2.0.Reorganizes internals to be more maintainable.
v6.1.4
Compare Source
Patch Changes
d7f1903cded3e864b392d1dd7502672d37936f11
Thanks @lilnasy! - Fixes an issue where the serverless function could not respond with a prerendered 404 page.v6.1.3
Compare Source
Patch Changes
#9591
22a5405b4a4b7948458ad170b0a7bde6954058c1
Thanks @lilnasy! - Fixes an issue where 404.astro was not used in static mode.#9598
bd8fa7acd23ba6e7afa2c435807bd5fd6b24f505
Thanks @lilnasy! - Marks thespeedInsights
configuration as deprecated. Vercel has migrated features of the Speed Insights API into a framework-agnostic library with@vercel/speed-insights
. See Vercel Speed Insights Quickstart for instructions on how to use the library instead.v6.1.2
Compare Source
Patch Changes
7b586a6e23e25653814db9adea9674ec3a9bd535
Thanks @lilnasy! - Fixes an issue where a build could not complete on Node 21.v6.1.1
Compare Source
Patch Changes
1baf0b0d3cbd0564954c2366a7278794fad6726e
Thanks @sarah11918! - Updates READMEv6.1.0
Compare Source
Minor Changes
836ab6214
Thanks @jacobdalamb! - Adds support for Node 20 (currently inbeta
on Vercel).Patch Changes
8aeb0b579
Thanks @lilnasy! - Fixes an issue where dots in redirects were incorrectly handled.v6.0.2
Compare Source
Patch Changes
#9287
1e342e34e
Thanks @lilnasy! - Fixes an issue where redirects did not work with the static adapter.#9383
bebf5cf22
Thanks @sarah11918! - Fixes some incorrect code examples in the README documentation.#9334
dfbc70790
Thanks @Geo25rey! - Allows the edge middleware to be an async function.v6.0.1
Compare Source
Patch Changes
1685cc42b
Thanks @matthewp! - Uses the latest astro as the peerDependencyv6.0.0
Compare Source
Major Changes
#9199
49aa215a0
Thanks @lilnasy! - The internals of the integration have been updated to support Astro 4.0. Make sure to upgrade your Astro version as Astro 3.0 is no longer supported.#9184
a145ac07e
Thanks @bluwy! - Removes deprecatedanalytics
option. Use thewebAnalytics
option instead.#9263
3cbd8ea75
Thanks @bluwy! - Removes the deprecated@astrojs/vercel/edge
export. You should use@astrojs/vercel/serverless
instead with theedgeMiddleware
option.withastro/astro (astro)
v4.12.3
Compare Source
Patch Changes
#11509
dfbca06
Thanks @bluwy! - Excludes hoisted scripts and styles from Astro components imported with?url
or?raw
#11561
904f1e5
Thanks @ArmandPhilippot! - Uses the correct pageSize default inpage.size
JSDoc comment#11571
1c3265a
Thanks @bholmesdev! - BREAKING CHANGE to the experimental Actions API only. Install the latest@astrojs/react
integration as well if you're using React 19 features.Make
.safe()
the default return value for actions. This means{ data, error }
will be returned when calling an action directly. If you prefer to get the data while allowing errors to throw, chain the.orThrow()
modifier.v4.12.2
Compare Source
Patch Changes
#11505
8ff7658
Thanks @ematipico! - Enhances the dev server logging when rewrites occur during the lifecycle or rendering.The dev server will log the status code before and after a rewrite:
#11506
026e8ba
Thanks @sarah11918! - Fixes typo in documenting theslot="fallback"
attribute for Server Islands experimental feature.#11508
ca335e1
Thanks @cramforce! - Escapes HTML in serialized props#11501
4db78ae
Thanks @martrapp! - Adds the missing export for accessing thegetFallback()
function of the client site router.v4.12.1
Compare Source
Patch Changes
#11486
9c0c849
Thanks @ematipico! - Adds a new function calledaddClientRenderer
to the Container API.This function should be used when rendering components using the
client:*
directives. TheaddClientRenderer
API must be usedafter the use of the
addServerRenderer
:#11500
4e142d3
Thanks @Princesseuh! - Fixes inferRemoteSize type not working#11496
53ccd20
Thanks @alfawal! - Hide the dev toolbar onwindow.print()
(CTRL + P)v4.12.0
Compare Source
Minor Changes
#11341
49b5145
Thanks @madcampos! - Adds support for Shiki'sdefaultColor
option.This option allows you to override the values of a theme's inline style, adding only CSS variables to give you more flexibility in applying multiple color themes.
Configure
defaultColor: false
in your Shiki config to apply throughout your site, or pass to Astro's built-in<Code>
component to style an individual code block.v4.11.6
Compare Source
Patch Changes
#11459
bc2e74d
Thanks @mingjunlu! - Fixes false positive audit warnings on elements with the role "tabpanel".#11472
cb4e6d0
Thanks @delucis! - Avoids targeting all files in thesrc/
directory for eager optimization by Vite. After this change, only JSX, Vue, Svelte, and Astro components get scanned for early optimization.#11387
b498461
Thanks @bluwy! - Fixes prerendering not removing unused dynamic imported chunks#11437
6ccb30e
Thanks @NuroDev! - Fixes a case where Astro's configexperimental.env.schema
keys did not allow numbers. Numbers are still not allowed as the first character to be able to generate valid JavaScript identifiers#11439
08baf56
Thanks @bholmesdev! - Expands theisInputError()
utility fromastro:actions
to accept errors of any type. This should now allow type narrowing from a try / catch block.#11452
0e66849
Thanks @FugiTech! - Fixes an issue where using .nullish() in a formdata Astro action would always parse as a string#11438
619f07d
Thanks @bholmesdev! - Exposes utility types fromastro:actions
for thedefineAction
handler (ActionHandler
) and theActionError
code (ActionErrorCode
).#11456
17e048d
Thanks @RickyC0626! - Fixesastro dev --open
unexpected behavior that spawns a new tab every time a config file is saved#11337
0a4b31f
Thanks @florian-lefebvre! - Adds a new propertyexperimental.env.validateSecrets
to allow validating private variables on the server.By default, this is set to
false
and only public variables are checked on start. If enabled, secrets will also be checked on start (dev/build modes). This is useful for example in some CIs to make sure all your secrets are correctly set before deploying.#11443
ea4bc04
Thanks @bholmesdev! - Expose newActionReturnType
utility fromastro:actions
. This infers the return type of an action by passingtypeof actions.name
as a type argument. This example defines alike
action that returnslikes
as an object:In your client code, you can infer this handler return value with
ActionReturnType
:#11436
7dca68f
Thanks @bholmesdev! - Fixesastro:actions
autocompletion for thedefineAction
accept
property#11455
645e128
Thanks @florian-lefebvre! - Improvesastro:env
invalid variables errorsv4.11.5
Compare Source
Patch Changes
b9e906f
Thanks @matthewp! - Revert change to how boolean attributes workv4.11.4
Compare Source
Patch Changes
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.