Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update css-loader to the latest version 🚀 #69

Closed
wants to merge 2 commits into from

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Dec 7, 2018

The devDependency css-loader was updated from 1.0.1 to 2.0.0.

This version is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


Release Notes for v2.0.0

2.0.0 (2018-12-07)

The main BREAKING CHANGES:

  • css modules are disabled by default, you need setup their use modules option. You can setup their using local (true is alias for this value) and global (previous behaviour) value. Why it is disabled by default? A lot of developers use css without css modules features and they get performance problems due postcss plugins spend time on analyze and processing file.
  • resolving logic for uls() and import at-rules works the same everywhere, it does not matter whether css modules are enabled (with global and local module) or not. Examples - url('image.png') as require('./image.png'), url('./image.png') as require('./image.png'), url('~module/image.png') as require('module/image.png').

Bug Fixes

  • broken unucode characters (#850) (f599c70)
  • correctly processing urls() with ?#hash (#803) (417d105)
  • don't break loader on invalid or not exists url or import token (#827) (9e52d26)
  • don't duplicate import with same media in different case (#819) (9f66e33)
  • emit warnings on broken import at-rules (#806) (4bdf08b)
  • handle uppercase URL in import at-rules (#818) (3ebdcd5)
  • inconsistent generate class names for css modules on difference os (#812) (0bdf9b7)
  • reduce number of require for urls() (#854) (3338656)
  • support deduplication of string module ids (optimization.namedModules) (#789) (e3bb83a)
  • support module resolution in composes (#845) (453248f)
  • same urls() resolving logic for modules (local and global) and without modules (#843) (fdcf687)

Features

  • allow to disable css modules and disable their by default (#842) (889dc7f)
  • disable import option doesn't affect on composes (#822) (f9aa73c)
  • allow to filter urls (#856) (5e702e7)
  • allow to filter import at-rules (#857) (5e6034c)
  • emit warning on invalid urls() (#832) (da95db8)
  • added exportOnlyLocals option (#824) (e9327c0)
  • reuse postcss ast from other loaders (i.e postcss-loader) (#840) (1dad1fb)
  • schema options (b97d997)

BREAKING CHANGES

  • resolving logic for uls() and import at-rules works the same everywhere, it does not matter whether css modules are enabled (with global and local module) or not. Examples - url('image.png') as require('./image.png'), url('./image.png') as require('./image.png'), url('~module/image.png') as require('module/image.png').
  • by default css modules are disabled (now modules: false disable all css modules features), you can return old behaviour change this on modules: 'global'
  • css-loader/locals was dropped in favor exportOnlyLocals option
  • import option only affect on import at-rules and doesn't affect on composes declarations
  • invalid @import at rules now emit warnings
  • use postcss@7

Bonus

  • code refactoring, updating deps and reusing postcss ast increase performance
Commits

The new version differs by 67 commits.

  • 634ab49 chore(release): 2.0.0
  • 6ade2d0 refactor: remove unused file (#860)
  • e7525c9 test: nested url (#859)
  • 7259faa test: css hacks (#858)
  • 5e6034c feat: allow to filter import at-rules (#857)
  • 5e702e7 feat: allow filtering urls (#856)
  • 9642aa5 test: css stuff (#855)
  • 3338656 fix: reduce number of require for url (#854)
  • 533abbe test: issue 636 (#853)
  • 08c551c refactor: better warning on invalid url resolution (#852)
  • b0aa159 test: issue #589 (#851)
  • f599c70 fix: broken unucode characters (#850)
  • 1e551f3 test: issue 286 (#849)
  • 419d27b docs: improve readme (#848)
  • d94a698 refactor: webpack-default (#847)

There are 67 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

greenkeeper bot added a commit that referenced this pull request Dec 14, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Dec 14, 2018

  • The devDependency css-loader was updated from 1.0.1 to 2.0.1.

Update to this version instead 🚀

Release Notes for v2.0.1

2.0.1 (2018-12-14)

Bug Fixes

  • safe checking if params are present for at rule (#871) (a88fed1)
  • getLocalIdent now accepts false value (#865) (1825e8a)
Commits

The new version differs by 8 commits.

  • e233d0a chore(release): v2.0.1
  • a88fed1 fix: safe checking if params are present for at rule (#871)
  • 503391f chore(deps): update defaults (#870)
  • 8c0bb58 Update CHANGELOG.md (#867)
  • 124ada5 ci: fix commitlint analyze (#869)
  • ba8a7bc docs: improve readme (#868)
  • 12f88e2 test: resolving in node_modules (#866)
  • 1825e8a fix: getLocalIdent now accepts false value (#865)

See the full diff

greenkeeper bot added a commit that referenced this pull request Dec 21, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Dec 21, 2018

  • The devDependency css-loader was updated from 1.0.1 to 2.0.2.

Update to this version instead 🚀

Release Notes for v2.0.2

2.0.2 (2018-12-21)

Bug Fixes

  • inappropriate modification of animation keywords (#876) (dfb2f8e)
Commits

The new version differs by 4 commits.

  • c41f994 chore(release): 2.0.2
  • dfb2f8e fix: inappropriate modification of animation keywords (#876)
  • eb6f749 chore: update defaults (#875)
  • 60a34d7 docs(readme): adding extract css chunks to readme (#874)

See the full diff

greenkeeper bot added a commit that referenced this pull request Dec 25, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Dec 25, 2018

  • The devDependency css-loader was updated from 1.0.1 to 2.1.0.

Update to this version instead 🚀

Release Notes for v2.1.0

2.1.0 (2018-12-25)

Features

Commits

The new version differs by 3 commits.

  • 98bdf2a chore(release): 2.1.0
  • 21884e2 feat: support image-set without url (#879)
  • 9436371 chore: update defaults (#878)

See the full diff

greenkeeper bot added a commit that referenced this pull request Mar 7, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Mar 7, 2019

  • The devDependency css-loader was updated from 1.0.1 to 2.1.1.

Update to this version instead 🚀

Release Notes for v2.1.1

2.1.1 (2019-03-07)

Bug Fixes

  • do not break selector with escaping (#896) (0ba8c66)
  • source map generation when sourceRoot is present (#901) (e9ce745)
  • sourcemap generating when previous loader pass sourcemap as string (#905) (3797e4d)
Commits

The new version differs by 13 commits.

  • bc16c3d chore(release): 2.1.1
  • b671db7 fix: don't remove value from attribute selector (#904)
  • 3797e4d fix: sourcemap generating when previous loader pass sourcemap as string (#905)
  • cc81af1 refactor: stuff (#903)
  • e9ce745 fix: source map generation when sourceRoot is present (#901)
  • a49e904 docs: improve documentation for hashPrefix, context, getLocalIdent (#900)
  • c309788 refactor: avoid lodash in favor native implementations
  • 0ba8c66 fix: do not break selector with escaping (#896)
  • 2293eb0 chore: update defaults (#895)
  • 2a2ee7b docs: sourceMaps are disabled by default (#890)
  • 2d45e95 test: base64 (#888)
  • 1fb8948 docs: update README.md (#885)
  • 034f9a3 test: emoji (#881)

See the full diff

@krazijames krazijames closed this in 9b0f810 Apr 3, 2019
@greenkeeper greenkeeper bot deleted the greenkeeper/css-loader-2.0.0 branch April 3, 2019 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants