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

Bump styled-jsx from 4.0.1 to 5.1.0 in /ui #133

Closed

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Nov 1, 2022

Bumps styled-jsx from 4.0.1 to 5.1.0.

Release notes

Sourced from styled-jsx's releases.

v5.1.0

5.1.0 (2022-10-17)

Features

v5.0.7

5.0.7 (2022-09-09)

Bug Fixes

v5.0.6

5.0.6 (2022-09-05)

Bug Fixes

v5.0.5

5.0.5 (2022-09-02)

Improvements

Misc

  • Replace bundler #802

v5.0.4

5.0.4 (2022-08-11)

Bug Fixes

v5.0.3

5.0.3 (2022-08-09)

... (truncated)

Changelog

Sourced from styled-jsx's changelog.

Changelog

[5.0.0]

Features

  • Introduce contextual styles (#744)
  • Opt-in react 18 insertion effect hook when available (#753)
  • Fallback to module level registry in browser (#768)

Improvements

  • Make JSXStyle return a noop if the registry context is not provided (#749)
  • Fix typings of nonce property
  • Pre-compile dependencies to reduce install size/time (#770)

BREAKING CHANGES

APIs

  • styled-jsx/server import path is deprecated
  • flush and flushToHTML from styled-jsx/server APIs are deprecated
  • New component <StyledRegistry> is introduced
  • New APIs useStyleRegistry and createStyleRegistry are introduced

Usage

If you're only using styled-jsx purely client side, nothing will effect you. If you're using styled-jsx inside Next.js without customization, Next.js will automatically handle the changes for you.

If you have your own customization with styled-jsx in Next.js, for example you have a custom _document: By default, doing this will let Next.js collect styles and pass them down.

class Document extends React.Component {
  static async getInitialProps(ctx) {
    return await ctx.defaultGetInitialProps(ctx)
  }
}

Or for instance you're passing nonce property in getInitialProps of _document, this will let you configure it:

class Document extends React.Component {
  static async getInitialProps(ctx) {
-    return await ctx.defaultGetInitialProps(ctx)
+    return await ctx.defaultGetInitialProps(ctx, { nonce })
  }
}
</tr></table> 

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by vercel-release-bot, a new releaser for styled-jsx since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Nov 1, 2022

Dependabot tried to add @Abhishek-kumar09 as a reviewer to this PR, but received the following error from GitHub:

POST https://api.github.com/repos/asubedy/meshery/pulls/133/requested_reviewers: 422 - Reviews may only be requested from collaborators. One or more of the users or teams you specified is not a collaborator of the asubedy/meshery repository. // See: https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Nov 1, 2022

The following labels could not be found: kind/chore, pr/dependencies.

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/ui/styled-jsx-5.1.0 branch from 9cfd95a to 33df297 Compare November 9, 2022 12:10
Bumps [styled-jsx](https://github.com/vercel/styled-jsx) from 4.0.1 to 5.1.0.
- [Release notes](https://github.com/vercel/styled-jsx/releases)
- [Changelog](https://github.com/vercel/styled-jsx/blob/main/Changelog.md)
- [Commits](vercel/styled-jsx@v4.0.1...v5.1.0)

---
updated-dependencies:
- dependency-name: styled-jsx
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/ui/styled-jsx-5.1.0 branch from 33df297 to 7fca786 Compare November 18, 2022 07:00
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Dec 26, 2022

Superseded by #145.

@dependabot dependabot bot closed this Dec 26, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/ui/styled-jsx-5.1.0 branch December 26, 2022 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants