-
Notifications
You must be signed in to change notification settings - Fork 0
Update dependency babel-plugin-styled-components to v1.13.3 #13
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
base: master
Are you sure you want to change the base?
Conversation
250786a
to
572c05e
Compare
572c05e
to
1ae7567
Compare
1ae7567
to
eb5a862
Compare
eb5a862
to
70144cc
Compare
70144cc
to
7566307
Compare
7566307
to
808bfd9
Compare
808bfd9
to
c7af0a7
Compare
c7af0a7
to
e4a5f61
Compare
e4a5f61
to
88d8d92
Compare
88d8d92
to
c619a2d
Compare
c619a2d
to
8589221
Compare
8589221
to
b39ccdf
Compare
b39ccdf
to
8ff6bc8
Compare
8ff6bc8
to
341ce7f
Compare
341ce7f
to
91380eb
Compare
91380eb
to
9c5313e
Compare
9c5313e
to
df86009
Compare
df86009
to
d8143c0
Compare
d8143c0
to
14d21ac
Compare
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/jamie/jr-sh/hsahuv5l0 [Deployment for 10efbe5 failed] |
14d21ac
to
10efbe5
Compare
10efbe5
to
2b46e00
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This PR contains the following updates:
1.4.0
->1.13.3
Release Notes
styled-components/babel-plugin-styled-components
v1.13.3
Compare Source
v1.13.2
Compare Source
0c16c1b
)import * as styled from 'styled-components'
) properly #340v1.13.1
Compare Source
Fix one edge case with object key interpolation from v1.13.0
v1.13.0
Compare Source
teach the plugin how to handle variable interpolation in object keys, e.g.
plugin now emits transient props when replacing
css
prop calls (cuts down on garbage in the DOM for s-c 5.1+)merge withConfig arguments to allow for shouldForwardProp, thanks @ithinkdancan #323
move injected components to end of file scope, thanks @sfishel18
Ensure sc- prefix is always added #313, thanks @chalbert
v1.12.1
Compare Source
Resolve operability issue with rollup (see https://github.com/styled-components/babel-plugin-styled-components/pull/327), thanks @ktranada
Update dependencies
v1.12.0
Compare Source
Add topLevelImportPaths option (#288)
This functionality allows the composer to specify alternate import locations for the "styled" constructor, for instance if you are using a third party library that wraps styled-components and does additional processing. See this test for how to use it.
preserve structure of JSX member expressions in generated ast nodes; this makes sure that other babel transformations that rename variables will be able to process the ast nodes created by this plugin. fixes #240
v1.11.1
Compare Source
Revert #283, it caused a major build performance regression
v1.11.0
Compare Source
Thank you to all our contributors!
v1.10.7
Compare Source
emit styled('tag') instead of styled.tag for css prop (#266); this handles if the given tag is not in the dom elements whitelist yet in styled-components proper
fixes styled-components/styled-components#2965 (comment)
v1.10.6
Compare Source
Fix import-seeking loop regression (introduced in 1.10.3) that can occur when running the babel plugin over ESM files without a styled import, #234 thanks @ZauberNerd
v1.10.5
Compare Source
Thanks to @ZauberNerd for figuring out an edge case with import detection in the "css" prop handling code (was causing some stalled compliations in certain project setups) #233
v1.10.4
Compare Source
Fix for babel type checks potentially not existing due to older versions being used via package manager resolution
64d9b92
v1.10.3
Compare Source
do not try to transpile things we don't own (#230)
customize css prop component injection depending on use case (#228)
Support custom elements (#229)
Support nested + lowercase components (#229)
fix ssr transpilation of object styles in the css prop (#229)
v1.10.2
Compare Source
fix SSR support for styled HOC + object styles https://github.com/styled-components/babel-plugin-styled-components/pull/227
v1.10.1
Compare Source
Fix transpilation of the "css" prop to be stable under SSR and receive all the minification goodies
v1.10.0
Compare Source
css
prop from the styled-components Babel macrov1.9.4
Compare Source
v1.9.3
Compare Source
Fixes a critical bug in the
css
prop transpilation, which would cause the output to be invalid. Please upgrade as soon as possible if you want to use thecss
prop!v1.9.2
Compare Source
v1.9.1
Compare Source
v1.9.0
Compare Source
Add support for the
css
prop!See https://medium.com/styled-components/announcing-native-support-for-the-css-prop-in-styled-components-245ca5252feb for more information
v1.8.0
Compare Source
Add pure annotation and displayName / componentId tagging support for the newer syntaxes introduced in styled-components v3:
styled.div(object)
,styled.div(() => object)
v1.7.2
Compare Source
v1.7.1
Compare Source
Add missing dependency
v1.7.0
Compare Source
This minor release reintroduces "pure" annotation of styled components and the various library helper methods. It is off by default, so if you want to turn it on pass this config to the plugin:
.babelrc
"pure" annotation helps signal to minifiers like uglify that a piece of code is safe to remove if not used in at least one other place. This means if you have any components lying around that you're not actively using, they'll be dead code eliminated with this featured enabled. That goes for the helpers too like
createGlobalStyle
,keyframes
, andcss
.v1.6.4
Compare Source
Remove the "desugaring" and "no-tags" import rewriting experiments.
Unfortunately they just didn't pan out in the way we were hoping and ended up causing some irritating edge cases.
v1.6.3
Compare Source
Make the version check looser so v4 beta can be included in the "no-tags" transpilation optimization
v1.6.0
Compare Source
Features
Automatically desugar
styled.{element}
tostyled(element)
(#125) This allows for the next item to work and save bytes in the resulting JS bundle.Added new "no-tags" import rewriting functionality when using styled-components >= v4 (#150)
Fixes
Single line JS-style comments in the styles now work properly with an interpolation on the same line (#155), e.g.
Misc
Removed "uglifyPure" functionality. Unfortunately this experiment didn't have the effect we wanted and in most cases dramatically slowed down people's builds.
SSR mode is now on by default. There's no downside to enabling it and stable class names are always a good thing. (#82)
Deleted all files related to the "preprocess" functionality that was deprecated.
v1.5.1
Compare Source
Disabled the "uglifyPure" option due to the discussion in https://github.com/styled-components/babel-plugin-styled-components/issues/126
We are open to PRs to improve the performance on large codebases!
v1.5.0
Compare Source
Changes
Add "PURE" annotations for Uglify.js
Thanks to @osamajandali
The plugin will now add annotations to
styled
,css
, andkeyframes
calls, that help Uglify to perform better dead code elimination.So a small snippet like this:
Will now be annotated using
/*#__PURE__*/
, like this:Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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.
This PR has been generated by Mend Renovate. View repository job log here.