Skip to content

Latest commit

 

History

History
292 lines (195 loc) · 12.2 KB

CHANGELOG.md

File metadata and controls

292 lines (195 loc) · 12.2 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

Note: Unlisted patch versions only involve non-code or otherwise excluded changes and/or version bumps of transitive dependencies.

2.7.10 (2024-06-21)

♻️ Refactoring

  • enforce uniform naming convention of internal functions (56992b2)

2.7.0 (2024-03-21)

🚀 Features

  • add support for & parent selector (2332cdc)
    • update xfSel transducer to support SASS-style & parent selector
    • add tests

🩹 Bug fixes

  • correct case-sensitivity in attrib selectors (23d556f)
    • add tests

♻️ Refactoring

  • minor updates (ac9032d)
    • internal updates animation() & withScope()

2.6.0 (2024-02-12)

🚀 Features

  • add more unit formatters (36ab478)

2.5.0 (2024-02-06)

🚀 Features

  • at_keyframes() vararg handling (62df789)
    • update to support more than just from/to keyframe args
    • if given more space them equally across [0,100] interval

2.4.0 (2024-01-23)

🚀 Features

  • add appendStyleSheet(), update injectStyleSheet() (1eccb38)

2.3.4 (2023-12-22)

🩹 Bug fixes

  • fix media query not operator (f40800b)
    • wrap sub-query in parens
    • update tests

2.3.0 (2023-12-18)

🚀 Features

  • update float value formatter, add tests (00ee4f7)

🩹 Bug fixes

  • update conditional formatting (f126005)
    • add tests

2.2.14 (2023-11-09)

♻️ Refactoring

  • update all tests (packages A-S) (e3085e4)

2.2.0 (2023-09-02)

🚀 Features

  • add customizable unit formatter precision (2db3071)
    • set default prec to 4 fractional digits
    • add setPrecision() to customize unit formatters
    • add vmin/vmax() unit formatters
    • update all other unit formatters

♻️ Refactoring

  • update at_keyframes() arg types (5de6a92)
    • add Keyframe type alias
  • update animation() args/opts (ba47f93)
    • update AnimationOpts
    • use Keyframe type for args

2.1.39 (2023-02-17)

🩹 Bug fixes

  • update px() & ms() units #383 (e590d3f)
    • remove pixel rounding
    • use signed flooring for ms()

2.1.37 (2023-02-10)

🩹 Bug fixes

  • allow negative values for px (340d542) Swap use of unsigned shift for OR 0 Fixes issue #383

2.1.0 (2021-11-17)

🚀 Features

  • Using workspaces for local tools (bf7a404) Improving the overall build ergonomics
    • introduced a tools workspaces
    • imported it in all needed packages/examples
    • inclusive project root

♻️ Refactoring

  • testrunner to binary (4ebbbb2) this commit reverts (partly) changes made in: ef346d7a8753590dc9094108a3d861a8dbd5dd2c overall purpose is better testament ergonomics: instead of having to pass NODE_OPTIONS with every invocation having a binary to handle this for us.

2.0.1 (2021-10-13)

♻️ Refactoring

  • update imports in all pkgs (5fa2b6f)
    • add .js suffix for all relative imports
  • update imports in all tests/pkgs (effd591)

2.0.0 (2021-10-12)

🛑 Breaking changes

  • major update of ALL pkgs (export maps, ESM only) (0d1d6ea)
  • BREAKING CHANGE: discontinue CommonJS & UMD versions
    • only ESM modules will be published from now on
    • CJS obsolete due to ESM support in recent versions of node:
      • i.e. launch NodeJS via:
      • node --experimental-specifier-resolution=node --experimental-repl-await
      • in the node REPL use await import(...) instead of require()
    • UMD obsolete due to widespread browser support for ESM Also:
    • normalize/restructure/reorg all package.json files
    • cleanup all build scripts, remove obsolete
    • switch from mocha to @thi.ng/testament for all tests

♻️ Refactoring

1.1.39 (2020-09-22)

♻️ Refactoring

1.1.10 (2020-02-25)

♻️ Refactoring

1.1.0 (2019-07-07)

🚀 Features

  • enable TS strict compiler flags (refactor) (1e81385)

♻️ Refactoring

  • address TS strictNullChecks flag (526257f)

1.0.0 (2019-01-21)

🛑 Breaking changes

  • update package build scripts & outputs, imports in ~50 packages (b54b703)
  • BREAKING CHANGE: enabled multi-outputs (ES6 modules, CJS, UMD)
    • build scripts now first build ES6 modules in package root, then call scripts/bundle-module to build minified CJS & UMD bundles in /lib
    • all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols.

♻️ Refactoring

0.3.0 (2018-12-15)

🚀 Features

  • add animation(), add test & update readme (aac8b6f)

0.2.0 (2018-06-08)

🚀 Features

  • add class scoping support (244bf21)
    • add CSSOpts.scope field
    • update formatRule() to inject class suffixing transducer if needed
  • add injectStyleSheet() (8d6e6c8)

0.1.16 (2018-05-10)

♻️ Refactoring

0.1.5 (2018-03-21)

♻️ Refactoring

0.1.2 (2018-03-05)

♻️ Refactoring

  • internal restructure (721583a)
    • migrate internal implementation fns to src/impl.ts
    • remove utils.ts

0.1.1 (2018-03-05)

🚀 Features

  • add package @thi.ng/hiccup-css (3a4cf1e)
  • add/fix class handling, update Format (5247b8f)
  • add CSSOpts, mediaQuery(), fn expansion (d837199)
    • add CSSOpts w/ autoprefix & vendor config
    • split FORMATS => COMPACT, PRETTY consts
    • update css() to accept options arg
    • update css() to accept function as rules
    • update formatDecls() to accept fns as attrib values
    • add nested indentation support for pretty printing
  • add keyframes(), split module into separate src files (a53d2a5)
  • add default vendor prefixes (e687230)
  • add attrib fn, at-rules, quoted fns, decl value arrays (ebbc491)
    • quoted functions map keywords in root-level rules to fns (useful for pure JSON definitions, where fns are not possible)
    • add @import, @keyframes, @media, @namespace, @supports fns
    • refactor @media & @supports to use generic conditional()
    • add attrib selector fns
    • add support for declaration value arrays (converted to string, first level joined w/ , and inner arrays joined w/
    • add/update re-exports
  • update fn handling, add iterator support, units, comment (428de3c)
    • update fn exec rules (now only head pos vs. other pos in array)
    • add comment() fn
    • add Format.comments flag
    • update COMPACT preset to omit comments
    • add unit format wrappers
    • rename attribIncl() => attribContains()
    • rename attribContains() => attribMatches()
  • update conditional handling, add formatCond() (57533c7)
  • add support for iterators as arg type to css() (02bff87)
  • add more unit types, update px/ms (787d0ab)
    • add rad(), turn()
    • force int values for px()/ms()
  • add comment() indentation support (0f416ef)

🩹 Bug fixes

  • @import query separator (e347c29)
  • fn & auto-prefix handling (f3190ff)

⏱ Performance improvements

  • minor optimizations (6de6b27)
  • no empty Set() creation, change type check order in css() (105bbf4)

♻️ Refactoring

  • format @keyframe stops, rename perc() => percent() (a623117)