fix(deps): update astro integrations #56
Open
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.12.1
->^0.18.0
^0.14.0
->^0.19.0
Release Notes
withastro/astro (@astrojs/image)
v0.18.0
Compare Source
Minor Changes
#8294
19b8fbd11
Thanks @matthewp! - @astrojs/image deprecationThe
@astrojs/image
package is deprecated in favor of usingastro:assets
. If you are using Astro 3 you should start using the Assets package. See the upgrade guide for more information.v0.17.3
Compare Source
Patch Changes
#7901
00cb28f49
Thanks @bluwy! - Improve sourcemap generation and performanceUpdated dependencies [
41afb8405
,c00b6f0c4
,1f0ee494a
,00cb28f49
,c264be349
,e1e958a75
]:v0.17.2
Compare Source
Patch Changes
#7500
e644b3465
Thanks @wooseopkim! - fix: makePicture
generate valid dev URLs#7510
4256409a9
Thanks @Mrowa96! - Fix problem where image metadata generation throwed error when provided url started with /@astroimageUpdated dependencies [
9e2426f75
,cdc28326c
,19c2d43ea
,2172dd4f0
,1170877b5
]:v0.17.1
Compare Source
Patch Changes
#7340
9739adc91
Thanks @wooseopkim! - Fix problem where filenames with spaces produce invalid srcset attributesUpdated dependencies [
30bb36371
,3943fa390
,7877a06d8
,e314a04bf
,33cdc8622
,76fcdb84d
,8e2923cc6
,459b5bd05
]:v0.17.0
Compare Source
Minor Changes
39403c32f
Thanks @natemoo-re! - Unflags support foroutput: 'hybrid'
mode, which enables pre-rendering by default. The additionalexperimental.hybridOutput
flag can be safely removed from your configuration.Patch Changes
57f8d14c0
,414eb19d2
,a7e2b37ff
,dd1a6b6c9
,d72cfa7ca
,144813f73
,b5213654b
,e3b8c6296
,890a2bc98
,39403c32f
,101f03209
]:v0.16.9
Compare Source
Patch Changes
#6991
719002ca5
Thanks @MoustaphaDev! - Enable experimental support for hybrid SSR with pre-rendering enabled by defaultastro.config.mjs
Then add
export const prerender = false
to any page or endpoint you want to opt-out of pre-rendering.src/pages/contact.astro
Updated dependencies [
4516d7b22
,e186ecc5e
,c6d7ebefd
,914c439bc
,e9fc2c221
,075eee08f
,719002ca5
,fc52681ba
,fb84622af
,cada10a46
,cd410c5eb
,73ec6f6c1
,410428672
,763ff2d1e
,c1669c001
,3d525efc9
]:v0.16.8
Compare Source
Patch Changes
#7059
ebb40f5cb
Thanks @jasikpark! - Addfetchpriority
to allowedPicture
attributes in@astrojs/image
Updated dependencies [
c87d42e76
,4f1073a6a
]:v0.16.7
Compare Source
Patch Changes
#6969
77270cc2c
Thanks @bluwy! - Avoid removing leading slash forbuild.assetsPrefix
value in the build output#6952
e5bd084c0
Thanks @Princesseuh! - Update allowed Sharp versions to support 0.32.0Updated dependencies [
a8a319aef
,a695e44ae
,367e61776
,77270cc2c
,895fa07d8
,72c6bf01f
,e5bd084c0
]:v0.16.6
Compare Source
Patch Changes
#6773
99479e6b9
Thanks @doganalper! - Make sizes prop optional on Image componentUpdated dependencies [
60c16db6f
,c12ca5ece
]:v0.16.5
Compare Source
Patch Changes
#6714
ff0430786
Thanks @bluwy! - Addbuild.assetsPrefix
option for CDN support. If set, all Astro-generated asset links will be prefixed with it. For example, setting it tohttps://cdn.example.com
would generatehttps://cdn.example.com/_astro/penguin.123456.png
links.Also adds
import.meta.env.ASSETS_PREFIX
environment variable that can be used to manually create asset links not handled by Astro.Updated dependencies [
489dd8d69
,a1a4f45b5
,a1108e037
,8b88e4cf1
,d54cbe413
,4c347ab51
,ff0430786
,2f2e572e9
,7116c021a
]:v0.16.4
Compare Source
Patch Changes
#6701
46ecf4662
Thanks @Princesseuh! - Remove unnecessary.wasm
files inside build output when possibleUpdated dependencies [
c0b7864a4
,5e33c51a9
,c2d4ae1cb
,08e92f4f8
,f0b732d32
,a0bdf4ce2
,c04ea0d43
,46ecf4662
]:v0.16.3
Compare Source
Patch Changes
#6680
386336441
Thanks @koriwi! - Invalidates cache when changing serviceEntryPointUpdated dependencies [
1f783e320
,2e92e9aa9
,adecda7d6
,386336441
,7c439868a
,25cd3e574
,4bf87c64f
,fc0ed9c53
]:v0.16.2
Compare Source
Patch Changes
#6548
4685f5554
Thanks @matthewp! - Use base64 encoded modules for Squoosh integrationThis moves
@astrojs/image
to use base64 encoded versions of the Squoosh wasm modules. This is in order to prevent breakage in SSR environments where your files are moved around. This will fix usage of the integration in Netlify.Updated dependencies [
9caf2a9cc
,d338b6f74
]:v0.16.1
Compare Source
Patch Changes
#6494
a13e9d7e3
Thanks @Yan-Thomas! - Consistency improvements to several package descriptionsUpdated dependencies [
acf78c5e2
,04e624d06
,cc90d7219
,a9a6ae298
,6a7cf0712
,bfd67ea74
,f6eddffa0
,c63874090
,d637d1ea5
,637f9bc72
,77a046e88
]:v0.16.0
Compare Source
Minor Changes
afbbc4d5b
Thanks @Princesseuh! - Updated compilation settings to disable downlevelling for Node 14Patch Changes
#6421
e58a92527
Thanks @vtavernier! - Handle missing trailing slash in processStaticImageUpdated dependencies [
fec583909
,b087b83fe
,694918a56
,a20610609
,a4a74ab70
,75921b3cd
,afbbc4d5b
]:v0.15.1
Compare Source
Patch Changes
#6347
504c7bacb
Thanks @natemoo-re! - Fix internalgetSetCookie
usage forundici@5.20.x
Updated dependencies [
5e26bc891
,a156ecbb7
,ccd72e6bb
,504c7bacb
,63dda6ded
,f91a7f376
]:v0.15.0
Compare Source
Minor Changes
ac3649bb5
Thanks @ggounot! - Add support for SVG imagesPatch Changes
deacd5443
,1c678f7eb
,c397be324
]:v0.14.1
Compare Source
Patch Changes
#6142
9fdecb560
Thanks @wulinsheng123! - Improve type definitions (background
should be optional)#6157
460f9e732
Thanks @chasm! - Fix duplicatealt
attribute on Picture component.Updated dependencies [
f6fc662c3
,592386b75
,1b591a143
,bf8d7366a
,ec38a8921
,f20a85b64
,9f22ac3d0
,cee70f5c6
,ac7fb04d6
,d1f5611fe
,2189170be
,32abe49bd
]:v0.14.0
Compare Source
Minor Changes
b3e65991f
Thanks @rasendubi! - Allow images from outside srcDirPatch Changes
#5894
ca91976ed
Thanks @ralacerda! -getPicture()
return object with the correct image typeUpdated dependencies [
9793f19ec
,f91615f5c
,2fb72c887
]:v0.13.1
Compare Source
Patch Changes
#5478
1c7eef308
Thanks @nemo0! - Update READMEs for consistency#6008
9c298aa5a
Thanks @jasikpark! - Updated error message for missingwidths
prop to provide an example#6008
9c298aa5a
Thanks @jasikpark! - Allow passingundefined
to TransformOptions, this is a types fix for users withexactOptionalTypes
enabled in their tsconfigUpdated dependencies [
b4432cd6b
,98a4a914b
,071e1dee7
,322e059d0
,b994f6f35
,12c68343c
]:v0.13.0
Compare Source
Minor Changes
#5584
9963c6e4d
& #5842c4b0cb8bf
Thanks @wulinsheng123 and @natemoo-re! - Breaking Change: client assets are built to an_astro
directory in the build output directory. Previously these were built to various locations, includingassets/
,chunks/
and the root of build output.You can control this location with the new
build
configuration option namedassets
.#5707
5eba34fcc
Thanks @bluwy! - Removeastro:build:start
backwards compatibility code#5806
7572f7402
Thanks @matthewp! - Make astro a peerDependency of integrationsThis marks
astro
as a peerDependency of several packages that are already gettingmajor
version bumps. This is so we can more properly track the dependency between them and what version of Astro they are being used with.Patch Changes
#5930
46ecd5de3
Thanks @h3y6e! - Update magic-string from 0.25.9 to 0.27.0#5788
006405d33
Thanks @MoustaphaDev! - - Refactor types to support props auto-completion for theImage
andPicture
components.alt
prop to thegetPicture
function#5871
1bd42c6b2
Thanks @Princesseuh! - Fix the integration failing to work properly on Node 18+#5888
35b26f377
Thanks @Princesseuh! - Fix crash on Netlify Functions due toimport.meta.url
Updated dependencies [
93e633922
,16dc36a87
,01f3f463b
,e2019be6f
,05caf445d
,49ab4f231
,a342a486c
,8fb28648f
,1f92d64ea
,c2180746b
,ae8a012a7
,cf2de5422
,ce5c5dbd4
,ec09bb664
,665a2c222
,259a539d7
,f7aa1ec25
,4987d6f44
,304823811
,302e0ef8f
,55cea0a9d
,dd56c1941
,9963c6e4d
,be901dc98
,f6cf92b48
,e818cc046
,8c100a6fe
,116d8835c
,840412128
,1f49cddf9
,7325df412
,16c7d0bfd
,a9c292026
,2a5786419
,4a1cabfe6
,a8d3e7924
,fa8c131f8
,64b8082e7
,c4b0cb8bf
,23dc9ea96
,63a6ceb38
,a3a7fc929
,52209ca2a
,5fd9208d4
,5eba34fcc
,899214298
,3a00ecb3e
,5eba34fcc
,2303f9514
,1ca81c16b
,b66d7195c
]:withastro/astro (@astrojs/mdx)
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
Compare Source
Patch Changes
0fbcf838a
Thanks @bluwy! - Revert previous breaking changev0.16.1
Compare Source
Patch Changes
4f6ecba4c
Thanks @bluwy! - Support rehype plugins that inject namespaced attributesv0.16.0
Compare Source
Minor Changes
2ab32b59e
Thanks @bholmesdev! - Fix: load syntax highlighters after MDX remark plugins. This keeps MDX consistent with Astro's markdown behavior.Patch Changes
c6cf847bd
Thanks @delucis! - Update MDX READMEv0.15.2
Compare Source
Patch Changes
1c7eef308
Thanks @nemo0! - Update READMEs for consistencyv0.15.1
Compare Source
Patch Changes
#5978
7abb1e905
Thanks @HiDeoo! - Fix MDX heading IDs generation when using a frontmatter referenceUpdated dependencies [
7abb1e905
]:v0.15.0
Compare Source
Minor Changes
#5684
a9c292026
Thanks @bholmesdev! - Refine Markdown and MDX configuration options for ease-of-use. & #576993e633922
Thanks @bholmesdev! - Introduce asmartypants
flag to opt-out of Astro's default SmartyPants plugin.Markdown
Replace the
extendDefaultPlugins
option with agfm
boolean and asmartypants
boolean. These are enabled by default, and can be disabled to remove GitHub-Flavored Markdown and SmartyPants.Ensure GitHub-Flavored Markdown and SmartyPants are applied whether or not custom
remarkPlugins
orrehypePlugins
are configured. If you want to apply custom plugins and remove Astro's default plugins, manually setgfm: false
andsmartypants: false
in your config.Migrate
extendDefaultPlugins
togfm
andsmartypants
You may have disabled Astro's built-in plugins (GitHub-Flavored Markdown and Smartypants) with the
extendDefaultPlugins
option. This has now been split into 2 flags to disable each plugin individually:markdown.gfm
to disable GitHub-Flavored Markdownmarkdown.smartypants
to disable SmartyPantsAdditionally, applying remark and rehype plugins no longer disables
gfm
andsmartypants
. You will need to opt-out manually by settinggfm
andsmartypants
tofalse
.MDX
Support all Markdown configuration options (except
drafts
) from your MDX integration config. This includessyntaxHighlighting
andshikiConfig
options to further customize the MDX renderer.Simplify
extendPlugins
to anextendMarkdownConfig
option. MDX options will default to their equivalent in your Markdown config. By settingextendMarkdownConfig
to false, you can "eject" to set your own syntax highlighting, plugins, and more.Migrate MDX's
extendPlugins
toextendMarkdownConfig
You may have used the
extendPlugins
option to manage plugin defaults in MDX. This has been replaced by 3 flags:extendMarkdownConfig
(true
by default) to toggle Markdown config inheritance. This replaces theextendPlugins: 'markdown'
option.gfm
(true
by default) andsmartypants
(true
by default) to toggle GitHub-Flavored Markdown and SmartyPants in MDX. This replaces theextendPlugins: 'defaults'
option.#5687
e2019be6f
Thanks @bholmesdev! - Give remark and rehype plugins access to user frontmatter via frontmatter injection. This meansdata.astro.frontmatter
is now the complete Markdown or MDX document's frontmatter, rather than an empty object.This allows plugin authors to modify existing frontmatter, or compute new properties based on other properties. For example, say you want to compute a full image URL based on an
imageSrc
slug in your document frontmatter:When using Content Collections, you can access this modified frontmatter using the
remarkPluginFrontmatter
property returned when rendering an entry.Migration instructions
Plugin authors should now check for user frontmatter when applying defaults.
For example, say a remark plugin wants to apply a default
title
if none is present. Add a conditional to check if the propertyConfiguration
📅 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.