Releases: withastro/compiler
Releases · withastro/compiler
@astrojs/compiler@2.0.0
Major Changes
-
cd93272: The scope hash created by the compiler is now lowercase.
This aligns with the HTML spec of the attribute names, where they are lowercase by spec.
This change is needed because the compiler now creates data attributes that contain the hash in their name.
@astrojs/compiler@1.8.2
Patch Changes
- 80b7e42: Pass the type of the current component as a type argument to the AstroGlobal in order to type Astro.self
@astrojs/compiler@1.8.1
Patch Changes
- 52fe144: Change the value of the generated attribute
@astrojs/compiler@1.8.0
Minor Changes
- 365710c: Support the transition:persist directive
@astrojs/compiler@1.7.0
Minor Changes
- 5c19809: Add a
scopedStyleStrategy
called"attribute"
. The strategy will print styles using data attributes.
@astrojs/compiler@1.6.3
Patch Changes
- 6b4873d: Pass transition directives onto components
@astrojs/compiler@1.6.2
Patch Changes
- ce5cf31: Pass transition:animate expressions
@astrojs/compiler@1.6.1
Patch Changes
- 486614b: Fixes use of expression in transition:name
@astrojs/compiler@1.6.0
Minor Changes
-
2906df2: Support for view transition directives
This adds support for
transition:animate
andtransition:name
which get passed into the newrenderTransition
runtime function.