fix(deps): update astro integrations (major) #62
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 contains the following updates:
^0.14.0
->^3.0.0
^2.1.3
->^3.0.0
^2.4.1
->^4.0.0
^1.3.1
->^3.0.0
^2.1.1
->^5.0.0
^3.1.2
->^5.0.0
^2.4.4
->^4.0.0
^0.8.0
->^1.0.0
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
]:v1.1.5
Compare Source
Patch Changes
4537ecf0d
]:v1.1.4
Compare Source
Patch Changes
c5010aad3
]:v1.1.3
Compare Source
Patch Changes
#8897
5a3d46da1
Thanks @remcohaszing! - Update the README to suggest that users install the official MDX extension for VS Code.Updated dependencies [
26b77b8fe
]:v1.1.2
Compare Source
Patch Changes
2993055be
,c4270e476
,bd5aa1cd3
,f369fa250
,391729686
,f999365b8
,b2ae9ee0c
,0abff97fe
,3bef32f81
]:v1.1.1
Compare Source
Patch Changes
#8737
6f60da805
Thanks @ematipico! - Add provenance statement when publishing the library from CIUpdated dependencies [
21f482657
,6f60da805
,d78806dfe
,d1c75fe15
,aa265d730
,78adbc443
,21e0757ea
,357270f2a
]:v1.1.0
Compare Source
Minor Changes
#8468
a8d72ceae
Thanks @bholmesdev! - Support theimg
component export for optimized images. This allows you to customize how optimized images are styled and rendered.When rendering an optimized image, Astro will pass the
ImageMetadata
object to yourimg
component as thesrc
prop. For unoptimized images (i.e. images using URLs or absolute paths), Astro will continue to pass thesrc
as a string.This example handles both cases and applies custom styling:
v1.0.3
Compare Source
Patch Changes
#8430
f3f62a5a2
Thanks @bluwy! - Use exported remarkShiki and remarkPrism plugins from@astrojs/markdown-remark
Updated dependencies [
f3f62a5a2
,f66053a1e
,0fa483283
]:v1.0.2
Compare Source
Patch Changes
#8438
6df4f3bd9
Thanks @Princesseuh! - Fix errors not having a stacktraceUpdated dependencies [
b3cf1b327
,b92d066b7
]:v1.0.1
Compare Source
Patch Changes
#8405
93a1231f1
Thanks @delucis! - Add location data to MDX compile errorsUpdated dependencies [
7d95bd9ba
,1947ef7a9
,61ad70fdc
,d2f2a11cd
,5126c6a40
,48ff7855b
,923a443cb
,8935b3b46
]:v1.0.0
Compare Source
Major Changes
#8179
6011d52d3
Thanks @matthewp! - Astro 3.0 Release Candidate#8131
43140b87a
Thanks @matthewp! - Support Astro 3 JSX formatThis upgrades the MDX plugin to correctly work with the new JSX render API in Astro 3.
Minor Changes
#8188
d0679a666
Thanks @ematipico! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023.#8169
e79e3779d
Thanks @bluwy! - Remove pre-shiki v0.14 theme names for compatibility. Please rename to the new theme names to migrate:material-darker
->material-theme-darker
material-default
->material-theme
material-lighter
->material-theme-lighter
material-ocean
->material-theme-ocean
material-palenight
->material-theme-palenight
#8188
84af8ed9d
Thanks @ematipico! - Addastro
as peer dependencyPatch Changes
#8188
84af8ed9d
Thanks @ematipico! - Re-orders the MDX plugin to run before Astro's JSX plugin#8188
32669cd47
Thanks @ematipico! - Handlecomponents
exports handling itselfUpdated dependencies [
d0679a666
,db39206cb
,adf9fccfd
,0c7b42dc6
,46c4c0e05
,364d861bd
,2484dc408
,81545197a
,6011d52d3
,c2c71d90c
,cd2d7e769
,80f1494cd
,e45f30293
,c0de7a7b0
,65c354969
,3c3100851
,34cb20021
,a824863ab
,44f7a2872
,1048aca55
,be6bbd2c8
,9e021a91c
,7511a4980
,c37632a20
,acf652fc1
,42785c7b7
,8450379db
,dbc97b121
,7d2f311d4
,2540feedb
,ea7ff5177
,68efd4a8b
,7bd1b86f8
,036388f66
,519a1c4e8
,1f58a7a1b
,2ae9d37f0
,a8f35777e
,70f34f5a3
,5208a3c8f
,84af8ed9d
,f003e7364
,ffc9e2d3d
,732111cdc
,0f637c71e
,33b8910cf
,8a5b0c1f3
,148e61d24
,e79e3779d
,632579dc2
,3674584e0
,1db4e92c1
,e7f872e91
,16f09dfff
,4477bb41c
,55c10d1d5
,3e834293d
,96beb883a
,997a0db8a
,80f1494cd
,0f0625504
,e1ae56e72
,f32d093a2
,f01eb585e
,b76c166bd
,a87cbe400
,866ed4098
,767eb6866
,32669cd47
]:v0.19.7
Compare Source
Patch Changes
8034edd9e
Thanks @bholmesdev! - Fix [Object AsyncGenerator] appearing in markup for Markdoc documentsv0.19.6
Compare Source
Patch Changes
339529fc8
Thanks @bholmesdev! - Bring back improved style and script handling across content collection files. This addresses bugs found in a previous release to@astrojs/markdoc
.v0.19.5
Compare Source
Patch Changes
#7151
ea16570b1
Thanks @bluwy! - Addoptimize
option for faster builds and rendering#7192
7851f9258
Thanks @ematipico! - Detectmdx
files using their full extension#7191
27c6e0182
Thanks @bluwy! - Remove@mdx-js/rollup
dependencyv0.19.4
Compare Source
Patch Changes
57e65d247
Thanks @bholmesdev! - Fix: revert Markdoc asset bleed changes. Production build issues were discovered that deserve a different fix.v0.19.3
Compare Source
Patch Changes
f558a9e20
Thanks @bholmesdev! - Improve style and script handling across content collection files. This addresses style bleed present in@astrojs/markdoc
v0.1.0v0.19.2
Compare Source
Patch Changes
#7104
826e02890
Thanks @bluwy! - Specify"files"
field to only publish necessary filesUpdated dependencies [
826e02890
]:v0.19.1
Compare Source
Patch Changes
#6932
49514e4ce
Thanks @bluwy! - Upgrade shiki to v0.14.1. This updates the shiki theme colors and adds the theme name to thepre
tag, e.g.<pre class="astro-code github-dark">
.Updated dependencies [
49514e4ce
]:v0.19.0
Compare Source
Minor Changes
2511d58d5
Thanks @Princesseuh! - Add support for using optimized and relative images in MDX files withexperimental.assets
Patch Changes
2511d58d5
]:v0.18.4
Compare Source
Patch Changes
f882bc163
Thanks @bholmesdev! - Fix sourcemap warnings when using Content Collections and MDX with thevite.build.sourcemap
optionv0.18.3
Compare Source
Patch Changes
a98f6f418
Thanks @matthewp! - Prevent body head content injection in MDX when using layoutv0.18.2
Compare Source
Patch Changes
#6552
392ba3e4d
Thanks @bluwy! - Fix integration return typeUpdated dependencies [
90e5f87d0
,f5fddafc2
]:v0.18.1
Compare Source
Patch Changes
#6494
a13e9d7e3
Thanks @Yan-Thomas! - Consistency improvements to several package descriptionsUpdated dependencies [
a13e9d7e3
]:v0.18.0
Compare Source
Minor Changes
#6344
694918a56
Thanks @Princesseuh! - Add a new experimental flag (experimental.assets
) to enable our new core Assets story.This unlocks a few features:
See Assets (Experimental) on our docs site for more information on how to use this feature!
#6213
afbbc4d5b
Thanks @Princesseuh! - Updated compilation settings to disable downlevelling for Node 14Patch Changes
#6209
fec583909
Thanks @bholmesdev! - Introduce the (experimental)@astrojs/markdoc
integration. This unlocks Markdoc inside your Content Collections, bringing support for Astro and UI components in your content. This also improves Astro core internals to make Content Collections extensible to more file types in the future.You can install this integration using the
astro add
command:Read the
@astrojs/markdoc
documentation for usage instructions, and browse the newwith-markdoc
starter to try for yourself.Updated dependencies [
694918a56
,afbbc4d5b
]:v0.17.2
Compare Source
Patch Changes
075b87e8b
Thanks @RaphaelBossek! - Update toes-module-lexer@1.1.1
v0.17.0
Compare Source
Minor Changes
0049fda62
Thanks @bluwy! - Support rehype plugins that inject namespaced attributes. This introduces a breaking change if you use custom components for HTML elements, where the prop passed to the component will be normal HTML casing, e.g.class
instead ofclassName
, andxlink:href
instead ofxlinkHref
.[
v0.16.2
](https://github.com/wConfiguration
📅 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.