-
-
Notifications
You must be signed in to change notification settings - Fork 1
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/core to v4.5.4 - abandoned #57
base: main
Are you sure you want to change the base?
Conversation
81615b2
to
f660a2e
Compare
f660a2e
to
e22dd09
Compare
ddacd32
to
915cc04
Compare
07edba7
to
a98f9bd
Compare
193b971
to
4327dea
Compare
4327dea
to
9676043
Compare
f8c73fd
to
df0d8be
Compare
df0d8be
to
abd4363
Compare
abd4363
to
6a6c784
Compare
f54eb5f
to
67e2e44
Compare
8452d99
to
c8ece9d
Compare
1cc0fe7
to
c5315fd
Compare
a4c40c5
to
5d9800b
Compare
8869f76
to
4625cf8
Compare
4625cf8
to
5dec848
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. ⚠ Warning: custom changes will be lost. |
88f2a84
to
6fd2a7f
Compare
4b39667
to
418a587
Compare
Autoclosing SkippedThis PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error. |
This PR contains the following updates:
4.2.8
->4.5.4
Release Notes
callstack/linaria (@linaria/core)
v4.5.4
Compare Source
Patch Changes
10bcd24
]v4.5.3
Compare Source
Patch Changes
7955724
: Nothing has changed. Just moved some utils and types from babel to utils package.e59bf80
: Shaker mistakenly counts references in types as valuable and keeps referenced variables alive.7955724
]b191f54
]e59bf80
]520ba8d
]ae3727f
]dca076e
]v4.5.2
Compare Source
Patch Changes
85e74df
]1bf5c5b
]v4.5.1
Compare Source
Patch Changes
ceca161
: Enable optimisation from #1276 for complex expressions such asstyled(Component as unknow)
orstyled(connect(Component))
.1325830
: Variables in props-based interpolation functions are no longer required for the evaluation stage.Here's an example:
In versions prior to and including 4.5.0, the evaluator would attempt to import
getColor
fromvery-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 forstyled
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 usingstyled
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'spackage.json
file. This property should have a mask that covers all imported files with components. Here's an example of how to specify it:Patch Changes
00b43a6
: Cannot find module 'xxx' with esbuild 0.17 and linaria 4.2af5bb92
: The end of support for Node.js 14. Migration to pnpm 8.890b4ac
]418e40a
]05ad266
]16c057d
]af5bb92
]v4.2.10
Compare Source
Patch Changes
54ab61b
]v4.2.9
Compare Source
Patch Changes
f9df4ed
]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.
This PR has been generated by Mend Renovate. View repository job log here.