Skip to content

Latest commit

 

History

History
104 lines (76 loc) · 4.52 KB

CHANGELOG.md

File metadata and controls

104 lines (76 loc) · 4.52 KB

Changelog

Notable changes are documented in this file. The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

Breaking changes:

New features:

Bugfixes:

Other improvements:

[0.2.1] - 2023-06-12

New features:

  • The LineName data constructor is now exported, replacing the lineName function which is now deprecated. #44

[0.2.0] - 2023-05-16

Breaking changes:

  • For pseudo-elements only, the &: operator has been replaced by &::. Pseudo-classes continue to work with the &: operator. #33
  • The keyframesName function has been dropped. Just use the KeyframesName constructor instead. (#34)
  • The CustomAttribute type and att constructor function have been removed in favor of the AttrName type from web-html. #35
  • The &. operator (byClass function) no longer accepts a string argument. Instead, it requires a ClassName. #35
  • The &# operator (byId function) no longer accepts a string argument. Instead, it requires a value of the newly-added ElementId type. #35, #37
  • The nth function has been dropped, replaced by the #+ and #- operators that can be used to construct an+b formulas. #36

New features:

  • box-sizing property #31
  • cursor property #41
  • word-break property #32
  • Support for custom pseudo-classes and pseudo-elements via the PseudoClass and PseudoElement constructors #38
  • A new unsafeDeclaration function 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

[0.1.6] - 2022-12-12

New features:

  • :focus-within pseudo-class #17
  • appearance property #18

Other improvements:

  • Examples and tests are now formatted using purs-tidy.

[0.1.5] - 2022-12-05

New features:

  • Added the Declarations type alias.

[0.1.4] - 2022-11-29

New features:

  • Grid support / new CSS properties #12
    • grid-auto-columns
    • grid-auto-flow
    • grid-auto-rows
    • grid-column-end
    • grid-column-start
    • grid-row-end
    • grid-row-start
    • grid-template-columns
    • grid-template-rows
  • Flexbox properties extended to support additional values defined in Box Alignment Module Level 3
    • justify-content
    • align-content
    • justify-self
    • align-self
    • justify-items
    • align-items

Other improvements:

[0.1.3] - 2022-11-09

Other improvements:

  • Performance optimizations #9
  • Dropped arrays dependency

[0.1.2] - 2022-11-06

New features:

  • A single property appearing more than once within a ruleset now results in a compiler error. #7
  • A new type alias CSS provides a way to annotate style sheet values without using internal types. #8

[0.1.1] - 2022-11-03

New features:

  • Declarations are now guaranteed to be rendered in the input order. #6

[0.1.0] - 2022-10-14

Initial release