Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

Update dependency polished to v4 #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 30, 2019

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
polished (source) ^3.0.4 -> ^4.0.0 age adoption passing confidence

Release Notes

styled-components/polished

v4.1.3

Compare Source

Bug Fixes
  • Addressed several performance issues with regexes.

v4.1.2

Compare Source

Bug Fixes

  • fluidRange - updated return value to use an array to address unclear object property typing error in flow.

v4.1.1

Compare Source

Bug Fixes

  • scarf - removed scarf analytics package due to yarn incompatibilities and concerns over GDPR compliance.

v4.1.0

Compare Source

Introducing polished.js v4.1.0!

We're super stoked to announce that polished.js v4.1.0 is officially out! It is available via your package manager of choice. This will be the final non-patch release before v5.

npm install polished
yarn add polished

Release Highlights
New Module
  • remToPx: We've introduced a new module to handle converting to rem values to px values. (#​376)
Analytics
  • We are now leveraging Scarf to track package analytics. You can opt-out of this functionality by following these instructions

v4.0.5

Compare Source

Documentation

  • readableColor - Update docs and function signature to be clearer about the use of each parameter.

v4.0.4

Compare Source

Bug Fixes

  • transparentize - addressed an issue where we weren't handling cases where floats were greater than 2 decimals. (#​548)
  • npm - addressed an issue where .yarn cache was bloating published package size, along with some other ignore optimization. (#​553 Thanks @​scttcper)

v4.0.3

Compare Source

Bug Fix

v4.0.2

Bug Fix
  • ellipsis: Fixes an issue where the webkit prefix was not properly applied with the multiline option. (Thanks @​drakang4 - #​546)

v3.7.2

Compare Source

Bug Fixes

  • Addressed several performance issues with regexes.

v3.7.1

Compare Source

Bug Fixes

  • scarf - removed scarf analytics package due to yarn incompatibilities and concerns over GDPR compliance.

v3.7.0

Compare Source

Introducing polished.js v3.7.0 LTS!

We're excited to release v3.7.0, polished's first Long Term Support (LTS) branch. We will continue to back-port critical bug and security fixes to this branch until the release of v5, at which point v4 will become the new LTS branch. This release also officially deprecates polished v2.x.x.

npm install polished@lts
yarn add polished@lts

Release Highlights
Improvements & Bug Fixes
  • between: now properly throws an error when mixed units are used for from/toSize and min/maxScreen. This also fixes the same bug in fluidRange. (#​445)
  • readableColor - Update docs and function signature to be clearer about the use of each parameter.
    • transparentize - addressed an issue where we weren't handling cases where floats were greater than 2 decimals. (#​548)
  • triangle Improvement: once again properly works with inherit by setting individual properties when inherit is used. (#​430)
  • npm - addressed an issue where .yarn cache was bloating published package size, along with some other ignore optimization. (#​553 Thanks @​scttcper)
Contributor Improvements
  • prettier: We've implemented .prettierrc and .prettierignore to better control formatting in development environments.
  • Build Speed: Build speed has been improved by removing extraneous linting scripts.

v3.6.7

Compare Source

Bug Fix

  • linearGradient: Properly handles rgba values as the first color stop value and consistently formats all rgba calues in color stops.

v3.6.6

Compare Source

  • Security updates to build dependencies
  • Changes to support the transition from master to main as default branch

v3.6.5

Compare Source

Bug Fix

  • cssVar: Properly handles the exception where the document object is not available in non-browser environments (#​518). This simply throws a proper error. It does not enable cssVar to work server-side.

v3.6.4

Compare Source

Bug Fix

  • rgbToString: Fixes an issue where passing a rgba color with 0 alpha was incorrectly returning a hex value (#​515)

v3.6.3

Compare Source

Bug Fix

  • normalize: Updates to normalize.css 8.0.1 to fix a regression to fix a regression with main not being set to display: block.

v3.6.2

Compare Source

Bug Fix

  • Removes esmodules: true from the esm build to fix an issue with ES5 support.

v3.6.1

Compare Source

Bug Fix

  • Remove extraneous jsnext:main bundle reference that was not pointing to an ES5 compatible build.

v3.6.0

Compare Source

Build Enhancements

  • Build a commonjs bundle and make it the new main bundle.
  • Target only browsers that support ESModules for the esm bundle and leverage bugfixes: true.
  • Add specific brower support to non-esm bundles.
  • Replace uglify with terser on minified standalone build.
  • Standalone build now comes with runtime helpers on board.
  • Upgrade dependencies.

v3.5.2

Compare Source

Bug Fixes
  • cssVar: fixed issue where CSS variables set my stylesheets were returning with a leading space and breaking other polished modules when passed the return value. (#​493)

v3.5.1

Compare Source

Bug Fixes
  • between, modularScale, triangle: fixed issue where these modules were calling deprecated functionality in stripUnit and creating unnecessary console noise (and subsequent performance problems).

v3.5.0

Compare Source

Introducing polished.js v3.5.0!

We're super stoked to announce that polished.js v3.5.0 is officially out! It is available via your package manager of choice. This will be the final non-patch release before v4.

npm install polished
yarn add polished

Release Highlights
New Modules
  • cssVar: We've introduced a new module to handle fetching CSS Variable values. We chose to make this a standalone module as opposed to integrating it into all modules to keep module size down.
Improvements
  • readableColor: You can now turn on strict mode for custom provided return colors. This will ensure that they still meet AA contrasting standards. Otherwise, they will return black or white as normal. This mode is off by default in v3.5. (Thanks @​mrmckeb).
Bug Fixes
  • mix, tint, shade: Fixed a bug where mix was improperly weighting alpha channels to the second provided color instead of the first. This fix also impacts tint and shade which implement mix.
Contributors
  • Build has been updated to use Rollup 2.
  • Moved CI to GitHub Actions.
  • We now test the build in macOS, Ubuntu, and Windows to ensure all contributors are covered for compatibility.
Future Deprecations
  • Deprecation: stripUnit: The optional unit return will be deprecated in v4. Previously, this was implemented to replace getValueAndUnit. However, we've decided to keep the extra module and simplify stripUnit
  • Deprecation: readableColor: strict mode will be enabled by default in v4, it is currently disabled by default.

v3.4.4

Compare Source

Bug Fixes
  • position: fix typing for position to address typescript incompatability (63ab9a6), closes #​475

v3.4.3

Compare Source

Bug Fixes
Enhancements
  • Adds more tagging for easier discoverability - Thanks @​nurbek-ab

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot changed the title Update dependency polished to v4 Update dependency polished to v4 - autoclosed Mar 30, 2019
@renovate renovate bot closed this Mar 30, 2019
@renovate renovate bot deleted the renovate/polished-4.x branch March 30, 2019 15:49
@JClackett JClackett restored the renovate/polished-4.x branch April 2, 2019 17:09
@renovate renovate bot deleted the renovate/polished-4.x branch April 2, 2019 17:09
@JClackett JClackett restored the renovate/polished-4.x branch April 2, 2019 17:10
@renovate renovate bot deleted the renovate/polished-4.x branch April 2, 2019 17:23
@renovate renovate bot changed the title Update dependency polished to v4 - autoclosed Update dependency polished to v4 Apr 1, 2021
@renovate renovate bot reopened this Apr 1, 2021
@renovate renovate bot restored the renovate/polished-4.x branch April 1, 2021 09:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant