Skip to content
This repository has been archived by the owner on Nov 12, 2017. It is now read-only.

Latest commit

 

History

History
171 lines (136 loc) · 8.3 KB

Changelog.md

File metadata and controls

171 lines (136 loc) · 8.3 KB

Changelog

1.0

1.0.0-beta9 (09.05.16)

  • Official support for React version 15+
  • Only create <style> if it does not already exist ( #265 )
  • multi-line support for StyleSheet.addCSS ( #278 )
  • Supports media styles without parenthesis e.g. @media screen

1.0.0-beta8 (06.04.16)

  • Force mode for plugins
  • className prefix is now an attribute of StyleContainer (_defaultClassPrefix)
  • friendlyClassName-plugin allows custom className-template ( #241 )

1.0.0-beta7 (18.03.16)

1.0.0-beta6 (05.03.16)

API Changes

  • Added StyleSheet.renderToString to prerender your CSS for server-side rendering
  • Vendor-prefixer no longer are simple plugins but got their own config key config.prefixer
  • Providing two build-in Prefixer classes
Improvements
  • Support for stateless functional Components without ES2015 classes under the hood
  • Now uses its own StyleContainer to cache and resolve static and dynamic styles on React Native
  • Now providing UMD builds
  • Stateful Selector now can be combined
Bug fixes
  • Fixed a bug preventing multiple dynamic selectors issue on React Native

1.0.0-beta5 (29.02.16)

Improvements
  • improved rendering performance
  • removed additional wrapper within <LookRoot> ( #217 )
  • added Stateful Selectors-plugin to create selectors as a function of props, state and context
  • added Static Prefixer-plugin to use inline-style-prefix-all by default
Bug Fixes
  • Fixed a bug that cascaded dynamic values ( #218 )
  • added missing dependency ( #214 )

1.0.0-beta4 (21.02.16)

API Changes

  • StyleSheet.toCSS got deprecated. It was renamed to StyleSheet.addCSS
Improvements
  • StyleSheet.addCSS support static CSS strings (for third-party & legacy support) ( #209 )

1.0.0-beta3 (18.02.16)

Features
  • 5 new React Native mixins: blank, empty, firstLetter, before and after

1.0.0-beta2 (15.02.16)

Packages

Look was split into 2 different packages as it now fully supports React Native again.

  • react-look
    Used for web Component styling with react-dom
  • react-look-native
    Used for native Component styling with react-native
Bux fixes
  • Fixed friendlyClassName to also transform custom Components

1.0.0-beta1 (10.02.16)

API Changes

While those changes might seem huge, it still is quite easy to update.

  • Uses className instead of look
  • Use StyleSheet.combineStyles instead of an array passed
  • StyleSheet.create only accepts styles, no Component anymore
  • Uses <LookRoot>-Component in favor of lookRoot: true
  • Pass config with <LookRoot config={config}> instead of lookConfig on root-Component
  • Everything shipped with react-look/addons comes with react-look directly
Improvements
  • Huge performance improvements
  • Now supports every pseudo class
  • LVHA-aware pseudo classes
  • Less bandwidth for server-side rendering
  • Improved debugging with friendlyClassName-plugin
  • New documentation & Getting Started guide
  • Now using lodash utility methods
Bug fixes
  • Third-party context gets passed correctly ( #190 )
  • Fixed plugin resolving ( #185 )
  • Fixed @font-face rendering bug
  • Fixed a bug that prevented mixins to resolve correctly

0.7

0.7.2 (12.01.16)

  • added support for hot module replacement
  • fixed a bug that prevents nested stateful values to resolve correctly
  • upgraded devTools (docs soon)

0.7.1 (01.01.16)

Breaking
Improvements
  • fixed a bug that prevents children to render ( #159 )
  • fixed a bug that caused dynamically generated custom style-props to render wrong ( #160 )
  • now using style-transform to perform object-to-CSS transformations
  • initial server-side media query now use a !important-flag to overwrite inline styles

0.7.0 (03.12.15)

Breaking
  • server-side rendering support
  • new package structure with configuration presets
Improvements
  • updated inline-style-prefixer to 0.5.4
  • :valid, :invalid, :in-range and :out-of-range pseudo classes
  • Switched to Webpack for the demo
  • Updated to Babel 6
  • configuration can now be passed as a prop named lookConfig

0.6

0.6.2 Hotfix (25.11.15)

  • updated inline-style-prefixer to 0.5.2
  • fixed a bug when resolving stateful styles
  • pass a custom <style></style> DOMElement within your Look config as a global StyleSheet if doing server-side rendering

0.6.1 (24.11.15)

  • platform queries now allow multiple platforms e.g. @platform ios android

0.6.0 (19.11.15)

Breaking Changes
Improvements

0.5

0.5.2 (07.11.15)

  • Fixed nested plugin resolving
  • Fixed media query automatic rerendering
  • Added new pseudo classes (:target, :first-letter, :contains, :substr, :blank)
  • Units are automatically added when using StyleSheet.toCSS
  • StyleSheet.create's scope can now also be as string. Add styleScope: /* stringScope */ to your config.
  • The config object can now be composed as it assigns directly.

0.5.1 (21.10.15)

  • Small bugfix that prevented :focus to work.

0.5.0 (19.10.15)

Breaking
  • all new plugin system
  • scoped styles and performant style resolving
Improvements
  • stateless wrapper by passing a config object

old versions

Actually a lot of fast development happened in the beginning which is why there was no changelog at all.