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 dependency @linaria/webpack-loader to v4.5.4 #59

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 31, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@linaria/webpack-loader 4.1.15 -> 4.5.4 age adoption passing confidence

Release Notes

callstack/linaria (@​linaria/webpack-loader)

v4.5.4

Compare Source

Patch Changes

v4.5.3

Compare Source

Patch Changes

v4.5.2

Compare Source

Patch Changes

v4.5.1

Compare Source

Patch Changes
  • ceca161: Enable optimisation from #​1276 for complex expressions such as styled(Component as unknow) or styled(connect(Component)).

  • 1325830: Variables in props-based interpolation functions are no longer required for the evaluation stage.
    Here's an example:

    import { getColor } from "very-big-library";
    
    export const Box = styled.div\`
      color: ${props => getColor(props.kind)};
    \`;
    

    In versions prior to and including 4.5.0, the evaluator would attempt to import getColor from very-big-library, despite it having no relevance to style generation. However, in versions greater than 4.5.0, very-big-library will be ignored.

  • Updated dependencies [ceca161]

  • Updated dependencies [1325830]

v4.5.0

Compare Source

Minor Changes
  • 16c057d: Breaking Change: Performance Optimization for styled

    When a component is wrapped in styled, Linaria needs to determine if that component is already a styled component. To accomplish this, the wrapped component is included in the list of variables for evaluation, along with the interpolated values used in styles. The issue arises when a wrapped component, even if it is not styled, brings along a substantial dependency tree. This situation is particularly evident when using styled to style components from third-party UI libraries.

    To address this problem, Linaria will now examine the import location of the component and check if there is an annotation in the package.json file of the package containing the components. This annotation indicates whether the package includes other Linaria components. If there is no such annotation, Linaria will refrain from evaluating the component.

    Please note that this Breaking Change solely affects developers of component libraries. In order for users to style components from your library, you must include the linaria.components property in the library's package.json file. This property should have a mask that covers all imported files with components. Here's an example of how to specify it:

    "linaria": {
      "components": "**/*"
    }
Patch Changes

v4.1.17

Compare Source

Patch Changes

v4.1.16

Compare Source

Patch Changes

Configuration

📅 Schedule: Branch creation - "monthly" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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/linaria-webpack-loader-4.x branch 3 times, most recently from 73b4bf7 to 08b7216 Compare May 31, 2023 22:38
@renovate renovate bot force-pushed the renovate/linaria-webpack-loader-4.x branch 2 times, most recently from 49df998 to 1014ba0 Compare June 21, 2023 13:51
@renovate renovate bot force-pushed the renovate/linaria-webpack-loader-4.x branch 2 times, most recently from b2f9681 to e2d35f2 Compare June 30, 2023 22:34
@renovate renovate bot changed the title Update dependency @linaria/webpack-loader to v4.1.17 Update dependency @linaria/webpack-loader to v4.5.0 Jul 13, 2023
@renovate renovate bot force-pushed the renovate/linaria-webpack-loader-4.x branch from e2d35f2 to dd84e76 Compare July 13, 2023 13:00
@renovate renovate bot changed the title Update dependency @linaria/webpack-loader to v4.5.0 Update dependency @linaria/webpack-loader to v4.5.1 Jul 13, 2023
@renovate renovate bot force-pushed the renovate/linaria-webpack-loader-4.x branch 2 times, most recently from 502bfe6 to a07e3ce Compare July 15, 2023 03:59
@renovate renovate bot changed the title Update dependency @linaria/webpack-loader to v4.5.1 Update dependency @linaria/webpack-loader to v4.5.2 Jul 16, 2023
@renovate renovate bot force-pushed the renovate/linaria-webpack-loader-4.x branch from a07e3ce to 4008c0d Compare July 16, 2023 22:41
@renovate renovate bot changed the title Update dependency @linaria/webpack-loader to v4.5.2 Update dependency @linaria/webpack-loader to v4.5.3 Jul 23, 2023
@renovate renovate bot force-pushed the renovate/linaria-webpack-loader-4.x branch from 4008c0d to 9a778b5 Compare July 23, 2023 18:03
@renovate renovate bot changed the title Update dependency @linaria/webpack-loader to v4.5.3 Update dependency @linaria/webpack-loader to v4.5.4 Jul 25, 2023
@renovate renovate bot force-pushed the renovate/linaria-webpack-loader-4.x branch 3 times, most recently from 4c0fa35 to 5a82545 Compare July 31, 2023 22:15
@renovate renovate bot force-pushed the renovate/linaria-webpack-loader-4.x branch 3 times, most recently from 799973f to e693061 Compare August 8, 2023 23:03
@renovate renovate bot force-pushed the renovate/linaria-webpack-loader-4.x branch 2 times, most recently from fcfd55a to afb427c Compare August 27, 2023 05:13
@renovate renovate bot force-pushed the renovate/linaria-webpack-loader-4.x branch 4 times, most recently from 3e40521 to 2c7254a Compare September 1, 2023 03:52
@renovate renovate bot force-pushed the renovate/linaria-webpack-loader-4.x branch from 2c7254a to 3de6403 Compare September 1, 2023 10:54
@inokawa inokawa closed this Sep 1, 2023
@renovate
Copy link
Contributor Author

renovate bot commented Sep 1, 2023

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (4.5.4). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/linaria-webpack-loader-4.x branch September 1, 2023 10:55
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