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/markdoc@0.4.0
Minor Changes
#7468
fb7af5511
Thanks @bholmesdev! - Updates the Markdoc config object for rendering Astro components as tags or nodes. Rather than importing components directly, Astro includes a newcomponent()
function to specify your component path. This unlocks using Astro components from npm packages and.ts
files.Migration
Update all component imports to instead import the new
component()
function and use it to render your Astro components:Patch Changes
#7467
f6feff7a2
Thanks @bholmesdev! - Restart the dev server whenever your markdoc config changes.Updated dependencies [
6dfd7081b
,83016795e
,d3247851f
,a3928016c
,2726098bc
,f4fea3b02
]:astro@2.7.2
Patch Changes
#7273
6dfd7081b
Thanks @bluwy! - Fix error stacktrace from Vite SSR runtime#7370
83016795e
Thanks @bluwy! - Simplify nested hydration flow#7488
d3247851f
Thanks @natemoo-re! - PasscompressHTML
setting to server adapters#7491
a3928016c
Thanks @bluwy! - Fix CSS error line offset#7494
2726098bc
Thanks @itsmatteomanf! - Replaces the instance ofsetTimeout()
in the runtime to usequeueMicrotask()
, to resolve limitations on Cloudflare Workers.#7509
f4fea3b02
Thanks @ematipico! - Correctly emit pre-rendered pages whenbuild.split
is set totrue