koa-react-universal
koa-react-universal copied to clipboard
Update css-loader to the latest version π
Version 1.0.0 of css-loader was just published.
Dependency | css-loader |
---|---|
Current Version | 0.28.11 |
Type | devDependency |
The version 1.0.0 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.
It might be worth looking into these changes and trying to get this project onto the latest version of css-loader.
If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you donβt have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.
Release Notes
v1.0.0
1.0.0 (2018-07-06)
BREAKING CHANGES
- remove
minimize
option, usepostcss-loader
withcssnano
or useoptimize-cssnano-plugin
plugin - remove
module
option, usemodules
option instead - remove
camelcase
option, usecamelCase
option instead - remove
root
option, usepostcss-loader
withpostcss-url
plugin - remove
alias
option, useresolve.alias
feature or usepostcss-loader
withpostcss-url
plugin - update
postcss
to6
version - minimum require
nodejs
version is6.9
- minimum require
webpack
version is4
Commits
The new version differs by 9 commits.
43179a8
chore(release): 1.0.0
3d53968
Merge remote-tracking branch 'origin/master'
240db53
version 1.0 (#742)
1b7acf7
Merge remote-tracking branch 'origin/master'
1703721
docs(README): add more context to
localIdentName
(#711)1c51265
docs(README): fix malformed emoji (#701)
50f8ec0
Merge remote-tracking branch 'origin/master'
07444ad
tests: css custom variables (#709)
3de8aa7
tests: css custom variables (#709)
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 :palm_tree:
- The
devDependency
css-loader was updated from0.28.11
to1.0.1
.
- The
devDependency
css-loader was updated from0.28.11
to2.0.0
.
Update to this version instead π
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 usinglocal
(true
is alias for this value) andglobal
(previous behaviour) value. Why it is disabled by default? A lot of developers usecss
without css modules features and they get performance problems duepostcss
plugins spend time on analyze and processing file. - resolving logic for
uls()
andimport
at-rules works the same everywhere, it does not matter whether css modules are enabled (withglobal
andlocal
module) or not. Examples -url('image.png')
asrequire('./image.png')
,url('./image.png')
asrequire('./image.png')
,url('~module/image.png')
asrequire('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
inimport
at-rules (#818) (3ebdcd5) - inconsistent generate class names for css modules on difference os (#812) (0bdf9b7)
- reduce number of
require
forurls()
(#854) (3338656) - support deduplication of string module ids (optimization.namedModules) (#789) (e3bb83a)
- support module resolution in
composes
(#845) (453248f) - same
urls()
resolving logic formodules
(local
andglobal
) and without modules (#843) (fdcf687)
Features
- allow to disable css modules and disable their by default (#842) (889dc7f)
- disable
import
option doesn't affect oncomposes
(#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.epostcss-loader
) (#840) (1dad1fb) - schema options (b97d997)
BREAKING CHANGES
- resolving logic for
uls()
andimport
at-rules works the same everywhere, it does not matter whether css modules are enabled (withglobal
andlocal
module) or not. Examples -url('image.png')
asrequire('./image.png')
,url('./image.png')
asrequire('./image.png')
,url('~module/image.png')
asrequire('module/image.png')
. - by default css modules are disabled (now
modules: false
disable all css modules features), you can return old behaviour change this onmodules: 'global'
css-loader/locals
was dropped in favorexportOnlyLocals
optionimport
option only affect onimport
at-rules and doesn't affect oncomposes
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
- The
devDependency
css-loader was updated from0.28.11
to2.0.1
.
Update to this version instead π
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 acceptsfalse
value (#865)
See the full diff
- The
devDependency
css-loader was updated from0.28.11
to2.0.2
.
- The
devDependency
css-loader was updated from0.28.11
to2.1.0
.
- The
devDependency
css-loader was updated from0.28.11
to2.1.1
.
Update to this version instead π
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 implementations0ba8c66
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
- The
devDependency
css-loader was updated from0.28.11
to3.0.0
.
Update to this version instead π
Release Notes for v3.0.0
3.0.0 (2019-06-11)
Bug Fixes
- avoid the "from" argument must be of type string error (#908) (e5dfd23)
- invert
Function
behavior forurl
andimport
options (#939) (e9eb5ad) - properly export locals with escaped characters (#917) (a0efcda)
- property handle non css characters in localIdentName (#920) (d3a0a3c)
Features
- modules options now accepts object config (#937) (1d7a464)
- support
@value
at-rule in selectors (#941) (05a42e2)
BREAKING CHANGES
- minimum required nodejs version is 8.9.0
@value
at rules now support inselector
, recommends checking all@values
at-rule usage (hint: you can add prefix to all@value
at-rules, for example@value v-foo: black;
or@value m-foo: screen and (max-width: 12450px)
, and then do upgrade)- invert
{Function}
behavior forurl
andimport
options (need returntrue
when you want handleurl
/@import
and returnfalse
if not) exportLocalsStyle
option was remove in favorlocalsConvention
option, also it is accept only{String}
value (usecamelCase
value if you previously value wastrue
andasIs
if you previously value wasfalse
)exportOnlyLocals
option was remove in favoronlyLocals
optionmodules
option now can be{Object}
and allow to setupCSS Modules
options:localIdentName
option was removed in favormodules.localIdentName
optioncontext
option was remove in favormodules.context
optionhashPrefix
option was removed in favormodules.hashPrefix
optiongetLocalIdent
option was removed in favormodules.getLocalIdent
optionlocalIdentRegExp
option was removed in favormodules.localIdentRegExp
option
Commits
The new version differs by 30 commits.
c4b7f71
chore(release): 3.0.0
a50dc48
chore(deps): update (#959)
366d05a
feat:
exportLocalsStyle
was remove in favor newlocalsConvention
(#958)aa75fa7
feat:
exportOnlyLocals
was remove in favor newonlyLocals
option (#957)49f3ff0
refactor: loader (#956)
0672e78
test: more (#952)
c3fd459
test: more (#951)
e8c8796
refactor: loader (#950)
2fa6389
refactor: runtime (#949)
823fd60
chore: minimum required nodejs version is 8.9.0 (#948)
9d70b78
refactor: code and tests (#947)
4781d81
refactor: postcss plugins (#946)
6701cbd
refactor: postcss-icss-parser (#943)
37a40bb
test: fix problem with nothing (#942)
05a42e2
feat: support
@value
at-rule in selectors (#941)
There are 30 commits in total.
See the full diff