Skip to content

Latest commit

 

History

History
195 lines (124 loc) · 6.48 KB

changelog.md

File metadata and controls

195 lines (124 loc) · 6.48 KB

Changelog

All notable changes to this project will be documented in this file. The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[4.6.0] - 2024-11-07

  • added support for fontWeight sub-customization in fontSize theming (thanks @Gyeop) (#324)

[4.5.1] - 2024-08-23

  • revised minimum RN version to 0.62.2 after testing, see (#308)

[4.5.0] - 2024-07-22

  • added support for size-* shorthand utility (#314) and (#315)

[4.4.0] - 2024-07-09

  • added support for arbitrary named colors (eg. text-[lemonchiffon]) (#306) and (#309)

[4.3.0] - 2024-06-18

  • added support for line-height shorthand with font-size (eg. text-sm/6) (#282) and (#293)

[4.2.0] - 2024-03-22

Added

  • added support for arbitrary viewport spacing (eg. mx-[10vh]) (#285) and (#287)
  • added support for arbitrary flex-grow/shrink syntax (eg. grow-[7]) (#146) and (#287)

[4.1.0] - 2024-03-06

Added

  • added Android-only text vertical align (thanks @menghany) (#284)

[4.0.2] - 2024-03-04

Fixed

  • fixed reading of app color scheme from multiple, nested components (thanks @crjc) (#281) and (#283)

[4.0.1] - 2024-02-26

Fixed

  • when duplicate utilities, last now wins (#245) and (#279)
  • resolve unusual color values from config in tw.color() (#273) and (#280)

[4.0.0] - 2024-02-15

See migration guide for upgrading instructions.

Added

  • tw.memoBuster property for breaking memoization, see here for more details.

Fixed

  • media-query off by one pixel error (#223)
  • initialization of color scheme when managing color scheme manually (not listening to device changes) (see #266)

Changed

  • useDeviceContext() options when opting-out of listening to device color scheme changes (see migration-guide)
  • useAppColorScheme() no longer allows initial value, moved to useDeviceContext() (see migration guide and #266)
  • media-query minimum (see #223)

[3.6.9] - 2024-02-12

Fixed

  • edge case with dark-mode and color opacity shorthands (#269)

[3.6.8] - 2024-01-17

Fixed

  • support TS moduleResolution: "NodeNext" w/ types export (#263)

Changed

  • update dev-only deps and config

[3.6.7] - 2023-12-17

Fixed

  • fix breakpoint/prefix resolution of string-based custom utilities (#259)

[3.6.6] - 2023-12-11

Fixed

  • handle negative z-index utilities (e.g. -z-30) (#258)

[3.6.5] - 2023-11-29

Fixed

  • export documented style fn (#255)

Changed

  • add test for media-query custom utility (#255)
  • codestyle: switch to explicit TS type imports (#255)

[3.6.4] - 2023-08-09

Changed

  • perf: ensure cached utilities referrentially equal to prevent re-renders (#241)

[3.6.3] - 2023-07-19

Fixed

  • support inset auto utilities (e.g. top-auto) (#237)

[3.6.2] - 2023-07-11

Changed

  • chore: support leading dots in custom utilities to improve intellisense (#236)
  • docs: add intellisense instructions to readme (#228)
  • docs: add expo dark mode note to readme (#229)

[3.6.1] - 2023-05-22

Fixed

  • fix ordering/cache issue with utility prefixes (#227)

[3.6.0] - 2023-01-18

Added

  • support flex-gap, newly supported in RN 0.71 (#212)

[3.5.0] - 2022-12-12

Added


...more older releases, not documented here (yet)