Skip to content

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jan 22, 2018

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
babel-plugin-styled-components (source) 1.4.0 -> 1.13.3 age adoption passing confidence

Release Notes

styled-components/babel-plugin-styled-components

v1.13.3

Compare Source

  • when there are multiple assignments prefer the outer name (#​355) thanks @​rockwotj
  • minor dependency updates

v1.13.2

Compare Source

  • added some conditional guards to code paths that lead to errors for some consumers (0c16c1b)
  • dependency updates
  • teach babel plugin about certain spread application scenarios with "css" prop #​339
  • handle namespace import (import * as styled from 'styled-components') properly #​340

v1.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.

    css={{
      [theme.breakpoint.sm]: {
        color: 'red'
      } 
    }}
  • 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

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

  • Add support for the css prop from the styled-components Babel macro

v1.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 the css 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

{
  "plugins": [
    ["babel-plugin-styled-components", { "pure": true }]
  ]
}

"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, and css.

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} to styled(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.

    styled.div`
      color: green;
      // text-align: ${props => props.align};
    `

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, and keyframes calls, that help Uglify to perform better dead code elimination.

So a small snippet like this:

const Simple = styled.div`
  width: 100%;
`;

Will now be annotated using /*#__PURE__*/, like this:

const Simple = /*#__PURE__*/styled.div (...);

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.


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

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

@renovate renovate bot force-pushed the renovate/babel-plugin-styled-components-1.x branch from 250786a to 572c05e Compare March 3, 2018 19:47
@renovate renovate bot changed the title Update dependency babel-plugin-styled-components to v1.5.0 Update dependency babel-plugin-styled-components to v1.5.1 Mar 3, 2018
@renovate renovate bot force-pushed the renovate/babel-plugin-styled-components-1.x branch from 572c05e to 1ae7567 Compare August 31, 2018 00:06
@renovate renovate bot changed the title Update dependency babel-plugin-styled-components to v1.5.1 Update dependency babel-plugin-styled-components to v1.6.0 Aug 31, 2018
@renovate renovate bot force-pushed the renovate/babel-plugin-styled-components-1.x branch from 1ae7567 to eb5a862 Compare September 4, 2018 03:45
@renovate renovate bot changed the title Update dependency babel-plugin-styled-components to v1.6.0 Update dependency babel-plugin-styled-components to v1.6.1 Sep 4, 2018
@renovate renovate bot force-pushed the renovate/babel-plugin-styled-components-1.x branch from eb5a862 to 70144cc Compare September 5, 2018 08:37
@renovate renovate bot changed the title Update dependency babel-plugin-styled-components to v1.6.1 Update dependency babel-plugin-styled-components to v1.6.2 Sep 5, 2018
@renovate renovate bot force-pushed the renovate/babel-plugin-styled-components-1.x branch from 70144cc to 7566307 Compare September 6, 2018 00:29
@renovate renovate bot changed the title Update dependency babel-plugin-styled-components to v1.6.2 Update dependency babel-plugin-styled-components to v1.6.3 Sep 6, 2018
@renovate renovate bot force-pushed the renovate/babel-plugin-styled-components-1.x branch from 7566307 to 808bfd9 Compare September 8, 2018 00:14
@renovate renovate bot changed the title Update dependency babel-plugin-styled-components to v1.6.3 Update dependency babel-plugin-styled-components to v1.6.4 Sep 8, 2018
@renovate renovate bot force-pushed the renovate/babel-plugin-styled-components-1.x branch from 808bfd9 to c7af0a7 Compare September 12, 2018 04:20
@renovate renovate bot changed the title Update dependency babel-plugin-styled-components to v1.6.4 Update dependency babel-plugin-styled-components to v1.7.0 Sep 12, 2018
@renovate renovate bot force-pushed the renovate/babel-plugin-styled-components-1.x branch from c7af0a7 to e4a5f61 Compare September 12, 2018 07:00
@renovate renovate bot changed the title Update dependency babel-plugin-styled-components to v1.7.0 Update dependency babel-plugin-styled-components to v1.7.1 Sep 12, 2018
@renovate renovate bot force-pushed the renovate/babel-plugin-styled-components-1.x branch from e4a5f61 to 88d8d92 Compare September 29, 2018 14:22
@renovate renovate bot changed the title Update dependency babel-plugin-styled-components to v1.7.1 Update dependency babel-plugin-styled-components to v1.8.0 Sep 29, 2018
@renovate renovate bot force-pushed the renovate/babel-plugin-styled-components-1.x branch from 88d8d92 to c619a2d Compare November 26, 2018 08:37
@renovate renovate bot changed the title Update dependency babel-plugin-styled-components to v1.8.0 Update dependency babel-plugin-styled-components to v1.9.0 Nov 26, 2018
@renovate renovate bot force-pushed the renovate/babel-plugin-styled-components-1.x branch from c619a2d to 8589221 Compare November 27, 2018 16:50
@renovate renovate bot changed the title Update dependency babel-plugin-styled-components to v1.9.0 Update dependency babel-plugin-styled-components to v1.9.1 Nov 27, 2018
@renovate renovate bot force-pushed the renovate/babel-plugin-styled-components-1.x branch from 8589221 to b39ccdf Compare November 29, 2018 13:52
@renovate renovate bot changed the title Update dependency babel-plugin-styled-components to v1.9.1 Update dependency babel-plugin-styled-components to v1.9.2 Nov 29, 2018
@renovate renovate bot force-pushed the renovate/babel-plugin-styled-components-1.x branch from b39ccdf to 8ff6bc8 Compare December 10, 2018 14:47
@renovate renovate bot changed the title Update dependency babel-plugin-styled-components to v1.9.2 Update dependency babel-plugin-styled-components to v1.9.3 Dec 10, 2018
@renovate renovate bot force-pushed the renovate/babel-plugin-styled-components-1.x branch from 8ff6bc8 to 341ce7f Compare December 11, 2018 15:56
@renovate renovate bot changed the title Update dependency babel-plugin-styled-components to v1.9.3 Update dependency babel-plugin-styled-components to v1.9.4 Dec 11, 2018
@renovate renovate bot force-pushed the renovate/babel-plugin-styled-components-1.x branch from 341ce7f to 91380eb Compare December 17, 2018 09:57
@renovate renovate bot changed the title Update dependency babel-plugin-styled-components to v1.9.4 Update dependency babel-plugin-styled-components to v1.10.0 Dec 17, 2018
@renovate renovate bot force-pushed the renovate/babel-plugin-styled-components-1.x branch from 91380eb to 9c5313e Compare June 19, 2019 11:43
@renovate renovate bot changed the title Update dependency babel-plugin-styled-components to v1.10.0 Update dependency babel-plugin-styled-components to v1.10.1 Jun 19, 2019
@renovate renovate bot force-pushed the renovate/babel-plugin-styled-components-1.x branch from 9c5313e to df86009 Compare July 13, 2019 07:59
@renovate renovate bot changed the title Update dependency babel-plugin-styled-components to v1.10.1 Update dependency babel-plugin-styled-components to v1.10.6 Jul 13, 2019
@renovate renovate bot force-pushed the renovate/babel-plugin-styled-components-1.x branch from df86009 to d8143c0 Compare February 8, 2020 15:49
@renovate renovate bot changed the title Update dependency babel-plugin-styled-components to v1.10.6 Update dependency babel-plugin-styled-components to v1.10.7 Feb 8, 2020
@renovate renovate bot force-pushed the renovate/babel-plugin-styled-components-1.x branch from d8143c0 to 14d21ac Compare August 26, 2020 06:55
@renovate renovate bot changed the title Update dependency babel-plugin-styled-components to v1.10.7 Update dependency babel-plugin-styled-components to v1.11.1 Aug 26, 2020
@vercel
Copy link

vercel bot commented Aug 26, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/jamie/jr-sh/hsahuv5l0
✅ Preview: In Progress

[Deployment for 10efbe5 failed]

@renovate renovate bot force-pushed the renovate/babel-plugin-styled-components-1.x branch from 14d21ac to 10efbe5 Compare November 28, 2020 04:58
@renovate renovate bot changed the title Update dependency babel-plugin-styled-components to v1.11.1 Update dependency babel-plugin-styled-components to v1.12.0 Nov 28, 2020
@renovate renovate bot force-pushed the renovate/babel-plugin-styled-components-1.x branch from 10efbe5 to 2b46e00 Compare October 20, 2021 05:32
@renovate renovate bot changed the title Update dependency babel-plugin-styled-components to v1.12.0 Update dependency babel-plugin-styled-components to v1.13.3 Oct 20, 2021
@renovate
Copy link
Author

renovate bot commented Mar 25, 2023

Edited/Blocked Notification

Renovate 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.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant