Notable changes are documented in this file. The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Breaking changes:
New features:
Bugfixes:
Other improvements:
New features:
- The
LineNamedata constructor is now exported, replacing thelineNamefunction which is now deprecated. #44
Breaking changes:
- For pseudo-elements only, the
&:operator has been replaced by&::. Pseudo-classes continue to work with the&:operator. #33 - The
keyframesNamefunction has been dropped. Just use theKeyframesNameconstructor instead. (#34) - The
CustomAttributetype andattconstructor function have been removed in favor of theAttrNametype fromweb-html. #35 - The
&.operator (byClassfunction) no longer accepts a string argument. Instead, it requires aClassName. #35 - The
&#operator (byIdfunction) no longer accepts a string argument. Instead, it requires a value of the newly-addedElementIdtype. #35, #37 - The
nthfunction has been dropped, replaced by the#+and#-operators that can be used to construct an+b formulas. #36
New features:
box-sizingproperty #31cursorproperty #41word-breakproperty #32- Support for custom pseudo-classes and pseudo-elements via the
PseudoClassandPseudoElementconstructors #38 - A new
unsafeDeclarationfunction offers an "escape hatch" for e.g. vendor-prefixed or experimental properties that haven't been added to the library yet. #40
Bugfixes:
- Fixed the content of the compiler error that results from duplicate properties or descriptors within a single ruleset. Previously all values were incorrectly reported as having the type
CommonKeyword. #39
New features:
Other improvements:
- Examples and tests are now formatted using
purs-tidy.
New features:
- Added the
Declarationstype alias.
New features:
- Grid support / new CSS properties #12
grid-auto-columnsgrid-auto-flowgrid-auto-rowsgrid-column-endgrid-column-startgrid-row-endgrid-row-startgrid-template-columnsgrid-template-rows
- Flexbox properties extended to support additional values defined in
Box Alignment Module Level 3
justify-contentalign-contentjustify-selfalign-selfjustify-itemsalign-items
Other improvements:
- New examples of type safety #10
- The
check-examplesscript now verifies that eachTypeError.*example fails to compile.
Other improvements:
- Performance optimizations #9
- Dropped
arraysdependency
New features:
- A single property appearing more than once within a ruleset now results in a compiler error. #7
- A new type alias
CSSprovides a way to annotate style sheet values without using internal types. #8
New features:
- Declarations are now guaranteed to be rendered in the input order. #6
Initial release