Skip to content

Conversation

@thefoodiecoder
Copy link
Member

snyk-top-banner

Snyk has created this PR to upgrade @rescript/react from 0.10.3 to 0.13.1.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 13 versions ahead of your current version.

  • The recommended version was released a month ago.

Release notes
Package name: @rescript/react
  • 0.13.1 - 2025-02-23

    💥 Breaking Change

    • Deprecate JSX 3. #120
    • Deprecate ReactDOMStyle.make. #127

    💅 Polish

    • ReScriptReactRouter: get rid of pipe last. #126
  • 0.13.0 - 2024-07-25

    💥 Breaking Change

    • Replace usages of %external by binding to globalThis. This is to support upcoming ReScript 12 versions. For older browsers, it may be necessary to polyfill globalThis.

    🐛 Bug Fix

    • Remove hardcoded require so it works in both common js and ES module modes. (#117)
  • 0.12.2 - 2024-05-26
    • Fix incorrect usage of @ uncurry.
    • bsconfig.json -> rescript.json.
  • 0.12.1 - 2024-02-09
    • Undeprecate numbered hooks for a smoother upgrading experience.
  • 0.12.0 - 2024-01-10
    • Requires ReScript 11.0.0 or newer.
  • 0.12.0-alpha.3 - 2023-07-03

    💥 Breaking Change

    • Deprecated use*N functions in favor of changing the signature of the main hook function.
      • For example, useEffect instead of useEffectN e.g. useEffect3(f, (a, b, c)) -> useEffect(f, (a, b, c))
      • The affected hooks include useEffect, useLayoutEffect, useCallback, useMemo, useImperativeHandle, useInsertionEffect
      • With this change, it is now possible to pass any value as the second argument 'deps. In case you pass an invalid value, you will get a warning from React at runtime. You should be using one of the following values for the dependency array:
        • 0 dependencies: []
        • 1 dependency: [a]
        • more than 1 dependency: (a, b, ...)
    • For calling useEffect, useLayoutEffect etc. without a dependency array (meaning that the effect is executed on every render), there are now separate bindings useEffectOnEveryRender, useLayoutEffectOnEveryRender etc.
  • 0.12.0-alpha.2 - 2023-05-03

    🚀 New Feature

    • Added React.lazy_.

    💥 Breaking Change

    • Requires ReScript 11.0.0-alpha.6 or newer.

    🐛 Bug Fix

    • Fixed children type for Fragment, StrictMode and Suspense.

    💅 Polish

    • Removed experimental SuspenseList component.
  • 0.12.0-alpha.1 - 2023-04-12

    🚀 New Feature

    • Compatibility with ReScript 11 uncurried mode.
    • Added gap prop to ReactDOMStyle.make.

    💥 Breaking Change

    • Removed React.callback type.

    🐛 Bug Fix

    • Updated React_V3 compatibility module to define record field current for ref.
  • 0.11.0 - 2022-12-01

    No changes compared to rc.3.

  • 0.11.0-rc.3 - 2022-11-01
    • Changed React.jsxKeyed(s), ReactDOM.jsxKeyed(s) having key as optional argument.
    • Changed React.fragmentProps children field to optional.
    • Removed the helper functions for JSX v4 from React.res.
    • Made React.component conversion function zero cost.
  • 0.11.0-rc.2 - 2022-10-21
  • 0.11.0-rc.1 - 2022-10-19
  • 0.11.0-alpha.1 - 2022-09-25
  • 0.10.3 - 2021-05-05
from @rescript/react GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade @rescript/react from 0.10.3 to 0.13.1.

See this package in npm:
@rescript/react

See this project in Snyk:
https://app.snyk.io/org/vijay-sok/project/32173922-4b1f-4f73-859e-7132c2b8c734?utm_source=github&utm_medium=referral&page=upgrade-pr
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.

2 participants