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.5.2
->0.9.4
2.1.1
->2.3.1
5.1.0
->5.1.2
4.16.1
->4.16.16
3.4.1
->3.4.15
5.3.3
->5.7.2
Release Notes
withastro/language-tools (@astrojs/check)
v0.9.4
Compare Source
Patch Changes
6e62aaa
: Upgrades chokidar to v45a44072
: Fixes formatting not working by default in certain circumstances5a44072
]3a836de
]v0.9.3
Compare Source
Patch Changes
28dfebe
: Updates to the stable version of Volar 2.4.028dfebe
]v0.9.2
Compare Source
Patch Changes
e8e18a8
: Fixes an issue where errors inside script and style tags could be offset by a few characters when multi bytes characters were present in the filee8e18a8
]v0.9.1
Compare Source
Patch Changes
cc94bef
: Revert a change to top-level returns that could prevent the return types of functions from being correct in certain casescc94bef
]v0.9.0
Compare Source
Minor Changes
b65d6b4
: Adds support for SCSS and LESS intellisense inside style tagsPatch Changes
3a60f00
]b65d6b4
]v0.8.3
Compare Source
Patch Changes
0a46801
: Fixes a regression where errors could wrongly show (or not show) inside scripts and style tags0a46801
]72f61e1
]v0.8.2
Compare Source
Patch Changes
708167e
: Fixes script and style tags being wrongfully included in the generated TSX708167e
]v0.8.1
Compare Source
Patch Changes
5eb20f2
: Fixes installation on Yarn 45eb20f2
]v0.8.0
Compare Source
Minor Changes
b8a6af3
: Upgrades to the latest version of Volar, the underlying framework powering the Astro language server. This update should fix some of the recent issues regarding intellisense inside script tags.Patch Changes
a1769da
: Adds a README with helpful linksb8a6af3
]v0.7.0
Compare Source
Minor Changes
c8af6db
: Upgrades the language server to use the latest version of Volar. This changes should have no negative impacts on the experience.Patch Changes
c8af6db
]v0.6.0
Compare Source
Minor Changes
65d3425
: Upgrades the language server to use Volar 2.2. This changes should have no negative impacts on the experience.Patch Changes
65d3425
]v0.5.10
Compare Source
Patch Changes
9ca368b
: Update to the latest version of Volar. This release should fix some of the caching issues that has crept up recently9ca368b
]d57daad
]b166787
]eb49fb2
]v0.5.9
Compare Source
Patch Changes
f1447ef
: chore: Updatevolar-service-prettier
. This is only an internal refactor and there should be no visible changes.f1447ef
]v0.5.8
Compare Source
Patch Changes
85b42dc
: Update to the latest version of Volar. This release fixes a few issues such as missing Prettier crashing the language server in some cases, resolutions not working correctly inside TSX files, and more.85b42dc
]v0.5.7
Compare Source
Patch Changes
1b68dfb
: Improves descriptions for attributes specific to Astro (is:raw
,set:html
, etc.)2bad6a8
]1b68dfb
]v0.5.6
Compare Source
Patch Changes
fe6165b
: Makes astro check --tsconfig understand relative file namesfe6165b
]v0.5.5
Compare Source
Patch Changes
1436e6e
: Fixes mapping from compiler location to LSP range.7c4c1f2
]1436e6e
]v0.5.4
Compare Source
Patch Changes
6924c7e
: Fixes semantic highlighting not working inside .ts(x) files in certain cases310fbfe
: Fix Svelte and Vue integrations not working on Windows in certain cases6924c7e
]310fbfe
]v0.5.3
Compare Source
Patch Changes
de58706
: Fix imports from certain packages not working correctly in certain casesde58706
]withastro/astro (@astrojs/mdx)
v2.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
]:withastro/astro (@astrojs/tailwind)
v5.1.2
Compare Source
Patch Changes
8e500f2
Thanks @delucis! - Adds keywords topackage.json
to improve categorization in the Astro integrations catalogv5.1.1
Compare Source
Patch Changes
dcd1158
Thanks @matthewp! - Make @astrojs/tailwind compat with Astro 5withastro/astro (astro)
v4.16.16
Compare Source
Patch Changes
#12542
65e50eb
Thanks @kadykov! - Fix JPEG image size determination#12525
cf0d8b0
Thanks @ematipico! - Fixes an issue where withi18n
enabled, Astro couldn't render the404.astro
component for non-existent routes.v4.16.15
Compare Source
Patch Changes
b140a3f
Thanks @ematipico! - Fixes a regression where Astro was trying to accessRequest.headers
v4.16.14
Compare Source
Patch Changes
#12480
c3b7e7c
Thanks @matthewp! - Removes the default throw behavior inastro:env
#12444
28dd3ce
Thanks @ematipico! - Fixes an issue where a server island hydration script might fail case the island ID misses from the DOM.#12476
80a9a52
Thanks @florian-lefebvre! - Fixes a case where the Content Layerglob()
loader would not update when renaming or deleting an entry#12418
25baa4e
Thanks @oliverlynch! - Fix cached image redownloading if it is the first asset#12477
46f6b38
Thanks @ematipico! - Fixes an issue where the SSR build was emitting thedist/server/entry.mjs
file with an incorrect import at the top of the file/#12365
a23985b
Thanks @apatel369! - Fixes an issue whereAstro.currentLocale
was not correctly returning the locale for 404 and 500 pages.v4.16.13
Compare Source
Patch Changes
#12436
453ec6b
Thanks @martrapp! - Fixes a potential null access in the clientside router#12392
0462219
Thanks @apatel369! - Fixes an issue where scripts were not correctly injected during the build. The issue was triggered when there were injected routes with the sameentrypoint
and differentpattern
v4.16.12
Compare Source
Patch Changes
acac0af
Thanks @ematipico! - Fixes an issue where the dev server returns a 404 status code when a user middleware returns a validResponse
.v4.16.11
Compare Source
Patch Changes
#12305
f5f7109
Thanks @florian-lefebvre! - Fixes a case where the error overlay would not escape the message#12402
823e73b
Thanks @ematipico! - Fixes a case where Astro allowed to call an action without usingAstro.callAction
. This is now invalid, and Astro will show a proper error.v4.16.10
Compare Source
Patch Changes
#12311
bf2723e
Thanks @dinesh-58! - Addschecked
to the list of boolean attributes.#12363
222f718
Thanks @Fryuni! - Fixes code generated byastro add
command when adding a version of an integration other than the defaultlatest
.#12368
493fe43
Thanks @bluwy! - Improves error logs when executing commands#12355
c4726d7
Thanks @apatel369! - Improves error reporting for invalid frontmatter in MDX files during theastro build
command. The error message now includes the file path where the frontmatter parsing failed.v4.16.9
Compare Source
Patch Changes
#12333
836cd91
Thanks @imattacus! - Destroy the server response stream if async error is thrown#12358
7680349
Thanks @spacedawwwg! - HonorsinlineAstroConfig
parameter ingetViteConfig
when creating a logger#12353
35795a1
Thanks @hippotastic! - Fixes an issue in dev server watch file handling that could cause multiple restarts for a single file change.#12351
5751488
Thanks @florian-lefebvre! - Reverts a change made in4.16.6
that prevented usage ofastro:env
secrets inside middleware in SSR#12346
20e5a84
Thanks @bluwy! - Fixes sourcemap generation when prefetch is enabled#12349
1fc83d3
Thanks @norskeld! - Fixes thegetImage
options type so it properly extendsImageTransform
v4.16.8
Compare Source
Patch Changes
#12338
9ca89b3
Thanks @situ2001! - ResetsNODE_ENV
to ensure install command run in dev mode#12286
9d6bcdb
Thanks @florian-lefebvre! - Fixes a case where a warning for experimentalastro:env
support would be shown when using an adapter but not actually usingastro:env
#12342
ffc836b
Thanks @liruifengv! - Fixes a typo in the command name of the CLI#12301
0cfc69d
Thanks @apatel369! - Fixes an issue with action handler context by passing the correct context (ActionAPIContext
).#12312
5642ef9
Thanks @koyopro! - Fixes an issue where usinggetViteConfig()
returns incorrect and duplicate configuration#12245
1d4f6a4
Thanks @bmenant! - Addcomponents
property to MDXInstance type definition (RenderResult and module import)#12340
94eaeea
Thanks @ematipico! - Fixes an issue where Astro actions didn't work whenbase
was different from/
v4.16.7
Compare Source
Patch Changes
#12263
e9e8080
Thanks @Fryuni! - Fixes conflict between server islands and on-demand dynamic routes in the form of/[...rest]
or/[paramA]/[paramB]
.#12279
b781f88
Thanks @jsparkdev! - Update wrong error message#12273
c2ee963
Thanks @ascorbic! - Fixes an issue with some package managers where sites would not build if TypeScript was not installed.#12235
a75bc5e
Thanks @ematipico! - Fixes a bug where Astro Actions couldn't redirect to the correct pathname when there was a rewrite involved.#11839
ff522b9
Thanks @icaliman! - Fixes error when returning a top-levelnull
from an Astro file frontmatter#12272
388d237
Thanks @ascorbic! - Correctly handles local images when using a base path in SSRv4.16.6
Compare Source
Patch Changes
#11823
a3d30a6
Thanks @DerTimonius! - fix: improve error message when inferSize is used in local images with the Image component#12227
8b1a641
Thanks @florian-lefebvre! - Fixes a case where environment variables would not be refreshed when usingastro:env
#12239
2b6daa5
Thanks @ematipico! - BREAKING CHANGE to the experimental Container API onlyChanges the default page rendering behavior of Astro components in containers, and adds a new option
partial: false
to render full Astro pages as before.Previously, the Container API was rendering all Astro components as if they were full Astro pages containing
<!DOCTYPE html>
by default. This was not intended, and now by default, all components will render as page partials: only the contents of the components without a page shell.To render the component as a full-fledged Astro page, pass a new option called
partial: false
torenderToString()
andrenderToResponse()
:v4.16.5
Compare Source
Patch Changes
ff68ba5
Thanks @martrapp! - Fixes an issue with cssesc in dev mode when settingvite.ssr.noExternal: true
v4.16.4
Compare Source
Patch Changes
#12223
79ffa5d
Thanks @ArmandPhilippot! - Fixes a false positive reported by the dev toolbar Audit app where a label was considered missing when associated with a buttonThe
button
element can be used with a label (e.g. to create a switch) and should not be reported as an accessibility issue when used as a child of alabel
.#12199
c351352
Thanks @ematipico! - Fixes a regression in the computation ofAstro.currentLocale
#12222
fb55695
Thanks @ematipico! - Fixes an issue where the edge middleware couldn't correctly compute the client IP address when callingctx.clientAddress()
v4.16.3
Compare Source
Patch Changes
#12220
b049359
Thanks @bluwy! - Fixes accidental internalsetOnSetGetEnv
parameter rename that caused runtime errors#12197
2aa2dfd
Thanks @ematipico! - Fix a regression where a port was incorrectly added to theAstro.url
v4.16.2
Compare Source
Patch Changes
12b0022
Thanks @bluwy! - Reverts https://github.com/withastro/astro/pull/12173 which causedCan't modify immutable headers
warnings and 500 errors on Cloudflare Pagestailwindlabs/tailwindcss (tailwindcss)
v3.4.15
Compare Source
boxShadow
theme configuration allows arrays (#14856)selection:*
variant works in Chrome 131 (#15003)v3.4.14
Compare Source
Fixed
display: none
on elements that usehidden="until-found"
(#14625)v3.4.13
Compare Source
Fixed
v3.4.12
Compare Source
v3.4.11
Compare Source
v3.4.10
Compare Source
v3.4.9
Compare Source
Fixed
vendor
foldersv3.4.8
Compare Source
v3.4.7
Compare Source
v3.4.6
Compare Source
Fixed
Changed
:is()
wrapping rules when using an important selector (#13900)v3.4.5
Compare Source
v3.4.4
Compare Source
Fixed
<alpha-value>
placeholders in a single color definition (#13740)has-*
,group-has-*
, andpeer-has-*
variants (#13770){col,row}-{start,end}
utilities (#13781)v3.4.3
Compare Source
v3.4.2
Compare Source
Fixed
0,0,1
for button and input Preflight rules (#12735)(
,)
,[
or]
in the file path (#12715):has
rules when usingexperimental.optimizeUniversalDefaults
(#12736)mix-blend-plus-darker
utility (#12923)import.meta.url
in config files (#13322)xx-large
and remove doublex-large
absolute size (#13324)@apply
a class that uses nesting (#13325)important
configuration (#13353)@apply
works correctly with pseudo elements (#13379)microsoft/TypeScript (typescript)
v5.7.2
Compare Source
v5.6.3
Compare Source
v5.6.2
Compare Source
v5.5.4
: TypeScript 5.5.4Compare Source
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the
Downloads are available on:
v5.5.3
: TypeScript 5.5.3Compare Source
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the
Configuration
📅 Schedule: Branch creation - "every 2nd week starting on the 2 week of the year before 4am on Monday" (UTC), 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.