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 the npm-dependencies group across 1 directory with 10 updates #810

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 1, 2025

Bumps the npm-dependencies group with 10 updates in the / directory:

Package From To
bulma 0.8.2 1.0.3
highlight.js 11.10.0 11.11.1
lowlight 3.1.0 3.3.0
next 15.0.1 15.1.3
react 19.0.0-rc-69d4b800-20241021 19.0.0
react-dom 19.0.0-rc-69d4b800-20241021 19.0.0
sass 1.80.4 1.83.0
@types/node 22.8.1 22.10.3
prettier 3.3.3 3.4.2
typescript 5.6.3 5.7.2

Updates bulma from 0.8.2 to 1.0.3

Release notes

Sourced from bulma's releases.

1.0.3

Bug Fixes

  • Fix #3842: restore use of $easing, $radius-rounded and $speed Sass variables
  • Fix #3920: migrate code to avoid Sass 1.80 deprecation warning of global built-in functions
  • Fix #3822: Non-minified version of bulma-prefixed was missing
  • Fix #3805: helper classes were missing prefix

Documentation Fixes

  • Fix #3904, #3884: fix website horizontal overflow
  • Fix #3849: fix Light Mode color swatches in Dark Mode
  • Fix #3918: broken placeholder images
  • Fix #3926: broken documentation hero

1.0.2

Improvements

  • Smart Grid is-col-min now goes up to 32 (Fixes #3829)
  • Remove need for is-variable modifier for Column gaps
  • You can have a list of radio buttons or checkboxes with the radios and checkboxes classes respectively
  • Add is-max-tablet modifier to the Container element
  • Add currentColor and inherit as possible values for the color and background helpers
  • The Section can now have a minimum height of 100vh with the is-fullheight modifier
  • Add more SCSS variables:
    • $input-border-style
    • $input-border-width
    • $label-spacing
    • $field-block-spacing
  • Add more CSS variables:
    • --bulma-input-border-style
    • --bulma-input-border-width
    • --bulma-label-color
    • --bulma-label-spacing
    • --bulma-label-weight
    • --bulma-help-size
    • --bulma-field-block-spacing

Bug fixes

  • Fix #3824: ability to override $scheme-h, $scheme-s, $dark-l and $light-l Sass variables
  • Fix #3830: add remaining logical properties
  • Fix #3743: make sure 12 columns system take up whole width
  • Fix #3799: restore variable columns
  • Fix #3846: restore --bulma-column-gap CSS variable
  • Fix #3775: has-background helpers should only affect element it's applied to
  • Fix #3856: Sass nested rule deprecation warning
  • Fix #3757: restore use of $navbar-burger-color

... (truncated)

Changelog

Sourced from bulma's changelog.

1.0.3

Bug Fixes

  • Fix #3842: restore use of $easing, $radius-rounded and $speed Sass variables
  • Fix #3920: migrate code to avoid Sass 1.80 deprecation warning of global built-in functions
  • Fix #3822: Non-minified version of bulma-prefixed was missing
  • Fix #3805: helper classes were missing prefix

Documentation Fixes

  • Fix #3904, #3884: fix website horizontal overflow
  • Fix #3849: fix Light Mode color swatches in Dark Mode
  • Fix #3918: broken placeholder images
  • Fix #3926: broken documentation hero

1.0.2

Improvements

  • Smart Grid is-col-min now goes up to 32 (Fixes #3829)
  • Remove need for is-variable modifier for Column gaps
  • You can have a list of radio buttons or checkboxes with the radios and checkboxes classes respectively
  • Add is-max-tablet modifier to the Container element
  • Add currentColor and inherit as possible values for the color and background helpers
  • The Section can now have a minimum height of 100vh with the is-fullheight modifier
  • Add more SCSS variables:
    • $input-border-style
    • $input-border-width
    • $label-spacing
    • $field-block-spacing
  • Add more CSS variables:
    • --bulma-input-border-style
    • --bulma-input-border-width
    • --bulma-label-color
    • --bulma-label-spacing
    • --bulma-label-weight
    • --bulma-help-size
    • --bulma-field-block-spacing

Bug fixes

  • Fix #3824: ability to override $scheme-h, $scheme-s, $dark-l and $light-l Sass variables
  • Fix #3830: add remaining logical properties
  • Fix #3743: make sure 12 columns system take up whole width
  • Fix #3799: restore variable columns
  • Fix #3846: restore --bulma-column-gap CSS variable
  • Fix #3775: has-background helpers should only affect element it's applied to
  • Fix #3856: Sass nested rule deprecation warning
  • Fix #3757: restore use of $navbar-burger-color

... (truncated)

Commits

Updates highlight.js from 11.10.0 to 11.11.1

Release notes

Sourced from highlight.js's releases.

v11.11.1 - Merry Christmas!

Version 11.11.1

  • Fixes regressions with Rust grammar in 11.11.0 release.

v11.11.0 - Happy Holidays

Version 11.11.0

CAVEATS / POTENTIALLY BREAKING CHANGES

  • Nothing.

Core Grammars:

  • fix(rust) - adds emoji support in single quote strings [joshgoebel][]
  • fix(apache) - support line continuation via \ [Josh Goebel][]
  • fix(makefile) - allow strings inside $() expressions [aneesh98][]
  • enh(arcade) updated to ArcGIS Arcade version 1.29 [Kristian Ekenes][]
  • enh(css) add all properties listed on MDN (96 additions including anchor-name, aspect-ratio, backdrop-filter, container, margin-trim, place-content, scroll-timeline, ...) [BaliBalo][]
  • enh(excel) add built-in functions for Excel 365 release to 2024 [Danny Winrow][]
  • enh(erlang) OTP 27 triple-quoted strings [nixxquality][]
  • enh(erlang) OTP 27 doc attribute [nixxquality][]
  • enh(erlang) OTP 27 Sigil type [nixxquality][]
  • enh(erlang) OTP25/27 maybe statement [nixxquality][]
  • enh(dart) Support digit-separators in number literals [Sam Rawlins][]
  • enh(csharp) add Contextual keywords file, args, dynamic, record, required and scoped [Alvin Joy][]
  • enh(lua) add 'pluto' as an alias [Sainan]
  • enh(bash) add reserved keywords time and coproc [Álvaro Mondéjar][]
  • enh(nix) update keywords [h7x4][]
  • enh(nix) support paths [h7x4][]
  • enh(nix) support lookup paths [h7x4][]
  • enh(nix) support operators [h7x4][]
  • enh(nix) support REPL keywords [h7x4][]
  • enh(nix) support markdown comments [h7x4][]
  • enh(nix) support basic function params [h7x4][]
  • enh(nix) better parsing of attrsets [h7x4][]
  • fix(c) - Fixed hex numbers with decimals [Dxuian]
  • fix(typescript) - Fixedoptional property not highlighted correctly [Dxuian]
  • fix(ruby) - fix |= operator false positives (as block arguments) [Aboobacker MK]
  • enh(gcode) rewrote language for modern gcode support [Barthélémy Bonhomme][]
  • fix(sql) - Fixed sql primary key and foreign key spacing issue [Dxuian]
  • fix(cpp) added flat_set and flat_map as a part of cpp 23 version [Lavan]
  • fix(yaml) - Fixed special chars in yaml [Dxuian]
  • fix(basic) - Fixed closing quotation marks not required for a PRINT statement [Somya]
  • fix(nix) remove add builtin [h7x4][]
  • fix(nix) mark or as builtin instead of literal [h7x4][]
  • fix(nix) handle ''' string escapes [h7x4][]
  • fix(nix) handle backslash string escapes [h7x4][]
  • fix(nix) don't mix escapes for " and '' strings [h7x4][]

... (truncated)

Changelog

Sourced from highlight.js's changelog.

Version 11.11.1

  • Fixes regression with Rust grammar.

Version 11.11.0

CAVEATS / POTENTIALLY BREAKING CHANGES

  • Nothing yet.

Core Grammars:

  • fix(rust) - adds emoji support in single quote strings [joshgoebel][]
  • fix(apache) - support line continuation via \ [Josh Goebel][]
  • fix(makefile) - allow strings inside $() expressions [aneesh98][]
  • enh(arcade) updated to ArcGIS Arcade version 1.29 [Kristian Ekenes][]
  • enh(css) add all properties listed on MDN (96 additions including anchor-name, aspect-ratio, backdrop-filter, container, margin-trim, place-content, scroll-timeline, ...) [BaliBalo][]
  • enh(excel) add built-in functions for Excel 365 release to 2024 [Danny Winrow][]
  • enh(erlang) OTP 27 triple-quoted strings [nixxquality][]
  • enh(erlang) OTP 27 doc attribute [nixxquality][]
  • enh(erlang) OTP 27 Sigil type [nixxquality][]
  • enh(erlang) OTP25/27 maybe statement [nixxquality][]
  • enh(dart) Support digit-separators in number literals [Sam Rawlins][]
  • enh(csharp) add Contextual keywords file, args, dynamic, record, required and scoped [Alvin Joy][]
  • enh(lua) add 'pluto' as an alias [Sainan]
  • enh(bash) add reserved keywords time and coproc [Álvaro Mondéjar][]
  • enh(nix) update keywords [h7x4][]
  • enh(nix) support paths [h7x4][]
  • enh(nix) support lookup paths [h7x4][]
  • enh(nix) support operators [h7x4][]
  • enh(nix) support REPL keywords [h7x4][]
  • enh(nix) support markdown comments [h7x4][]
  • enh(nix) support basic function params [h7x4][]
  • enh(nix) better parsing of attrsets [h7x4][]
  • fix(c) - Fixed hex numbers with decimals [Dxuian]
  • fix(typescript) - Fixedoptional property not highlighted correctly [Dxuian]
  • fix(ruby) - fix |= operator false positives (as block arguments) [Aboobacker MK]
  • enh(gcode) rewrote language for modern gcode support [Barthélémy Bonhomme][]
  • fix(sql) - Fixed sql primary key and foreign key spacing issue [Dxuian]
  • fix(cpp) added flat_set and flat_map as a part of cpp 23 version [Lavan]
  • fix(yaml) - Fixed special chars in yaml [Dxuian]
  • fix(basic) - Fixed closing quotation marks not required for a PRINT statement [Somya]
  • fix(nix) remove add builtin [h7x4][]
  • fix(nix) mark or as builtin instead of literal [h7x4][]
  • fix(nix) handle ''' string escapes [h7x4][]
  • fix(nix) handle backslash string escapes [h7x4][]
  • fix(nix) don't mix escapes for " and '' strings [h7x4][]
  • fix(swift) - Fixed syntax highlighting for class func/var declarations [guuido]

... (truncated)

Commits
  • 08cb242 (release) 11.1.1
  • 048ba65 bump versions to 11.11.1
  • c5b6ad5 fix - ignored .DS_Store files
  • d020e48 enh(rust) can also escape a singe quote
  • 2db4c16 fix(rust) prevent symbol from gobbling strings
  • 93e6358 fix(rust) fix regression with string matching
  • 40883e1 (release) version 11.11.0 with npm bumps (#4185)
  • a667cde fix(rust) emoji supported in single quote strings (#4156)
  • 55b0deb enh(apache) support line continuation with \ (#4158)
  • 3e06867 fix(parser) prevent gobbling of illegal newlines (#4142)
  • Additional commits viewable in compare view

Updates lowlight from 3.1.0 to 3.3.0

Release notes

Sourced from lowlight's releases.

3.3.0

  • 474083b Update Highlight.js to ~11.11

Full Changelog: wooorm/lowlight@3.2.0...3.3.0

3.2.0

Data

  • 43f295f Update Highlight.js to ~11.10

Types

  • ee13c50 Refactor to use @imports
  • 34ceb6b Add declaration maps

Full Changelog: wooorm/lowlight@3.1.0...3.2.0

Commits

Updates next from 15.0.1 to 15.1.3

Release notes

Sourced from next's releases.

v15.1.3

[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.

Core Changes

  • Retry manifest file loading only in dev mode: #73900
  • Use shared worker for lint & typecheck steps: #74154

Credits

Huge thanks to @​unstubbable and @​ztanner for helping!

v15.1.2

[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.

Core Changes

Credits

Huge thanks to @​ztanner for helping!

v15.1.1

[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.

Core Changes

Credits

Huge thanks to @​devjiwonchoi and @​ztanner for helping!

v15.1.1-canary.23

Misc Changes

  • docs: remove catch-all for opengraph-image: #74338

Credits

Huge thanks to @​leerob for helping!

v15.1.1-canary.22

Misc Changes

  • Fix typo in generateViewport docs: #74288

Credits

... (truncated)

Commits
  • 4cbaaa1 v15.1.3
  • 221d18b Backport v15: used shared worker for lint & typecheck steps (#74154) (#74285)
  • 7d880a3 Backport v15: Retry manifest file loading only in dev mode (#73900) (#74283)
  • df392a1 v15.1.2
  • 40c9424 Backport (v15): Update React from 7283a213-20241206 to 65e06cb7-20241218 (#74...
  • 4384c68 v15.1.1
  • d137863 run build_and_test workflow on backport branch
  • d27bb14 backport: fix(turbo): sassOptions silenceDeprecations was not overwritten wit...
  • 0c8187a Add NEXT_PRIVATE_SKIP_CANARY_CHECK env for bench job (#73763)
  • e83ab18 backport: refactor collectAppPageSegments (#73996)
  • Additional commits viewable in compare view

Updates react from 19.0.0-rc-69d4b800-20241021 to 19.0.0

Release notes

Sourced from react's releases.

19.0.0 (December 5, 2024)

Below is a list of all new features, APIs, deprecations, and breaking changes. Read React 19 release post and React 19 upgrade guide for more information.

Note: To help make the upgrade to React 19 easier, we’ve published a [email protected] release that is identical to 18.2 but adds warnings for deprecated APIs and other changes that are needed for React 19. We recommend upgrading to React 18.3.1 first to help identify any issues before upgrading to React 19.

New Features

React

  • Actions: startTransition can now accept async functions. Functions passed to startTransition are called “Actions”. A given Transition can include one or more Actions which update state in the background and update the UI with one commit. In addition to updating state, Actions can now perform side effects including async requests, and the Action will wait for the work to finish before finishing the Transition. This feature allows Transitions to include side effects like fetch() in the pending state, and provides support for error handling, and optimistic updates.
  • useActionState: is a new hook to order Actions inside of a Transition with access to the state of the action, and the pending state. It accepts a reducer that can call Actions, and the initial state used for first render. It also accepts an optional string that is used if the action is passed to a form action prop to support progressive enhancement in forms.
  • useOptimistic: is a new hook to update state while a Transition is in progress. It returns the state, and a set function that can be called inside a transition to “optimistically” update the state to expected final value immediately while the Transition completes in the background. When the transition finishes, the state is updated to the new value.
  • use: is a new API that allows reading resources in render. In React 19, use accepts a promise or Context. If provided a promise, use will suspend until a value is resolved. use can only be used in render but can be called conditionally.
  • ref as a prop: Refs can now be used as props, removing the need for forwardRef.
  • Suspense sibling pre-warming: When a component suspends, React will immediately commit the fallback of the nearest Suspense boundary, without waiting for the entire sibling tree to render. After the fallback commits, React will schedule another render for the suspended siblings to “pre-warm” lazy requests.

React DOM Client

  • <form> action prop: Form Actions allow you to manage forms automatically and integrate with useFormStatus. When a <form> action succeeds, React will automatically reset the form for uncontrolled components. The form can be reset manually with the new requestFormReset API.
  • <button> and <input> formAction prop: Actions can be passed to the formAction prop to configure form submission behavior. This allows using different Actions depending on the input.
  • useFormStatus: is a new hook that provides the status of the parent <form> action, as if the form was a Context provider. The hook returns the values: pending, data, method, and action.
  • Support for Document Metadata: We’ve added support for rendering document metadata tags in components natively. React will automatically hoist them into the <head> section of the document.
  • Support for Stylesheets: React 19 will ensure stylesheets are inserted into the <head> on the client before revealing the content of a Suspense boundary that depends on that stylesheet.
  • Support for async scripts: Async scripts can be rendered anywhere in the component tree and React will handle ordering and deduplication.
  • Support for preloading resources: React 19 ships with preinit, preload, prefetchDNS, and preconnect APIs to optimize initial page loads by moving discovery of additional resources like fonts out of stylesheet loading. They can also be used to prefetch resources used by an anticipated navigation.

React DOM Server

  • Added prerender and prerenderToNodeStream APIs for static site generation. They are designed to work with streaming environments like Node.js Streams and Web Streams. Unlike renderToString, they wait for data to load for HTML generation.

React Server Components

  • RSC features such as directives, server components, and server functions are now stable. This means libraries that ship with Server Components can now target React 19 as a peer dependency with a react-server export condition for use in frameworks that support the Full-stack React Architecture. The underlying APIs used to implement a React Server Components bundler or framework do not follow semver and may break between minors in React 19.x. See docs for how to support React Server Components.

Deprecations

  • Deprecated: element.ref access: React 19 supports ref as a prop, so we’re deprecating element.ref in favor of element.props.ref. Accessing will result in a warning.
  • react-test-renderer: In React 19, react-test-renderer logs a deprecation warning and has switched to concurrent rendering for web usage. We recommend migrating your tests to @​testinglibrary.com/docs/react-testing-library/intro/) or @​testingesting-library.com/docs/react-native-testing-library/intro)

Breaking Changes

React 19 brings in a number of breaking changes, including the removals of long-deprecated APIs. We recommend first upgrading to 18.3.1, where we've added additional deprecation warnings. Check out the upgrade guide for more details and guidance on codemodding.

React

  • New JSX Transform is now required: We introduced a new JSX transform in 2020 to improve bundle size and use JSX without importing React. In React 19, we’re adding additional improvements like using ref as a prop and JSX speed improvements that require the new transform.
  • Errors in render are not re-thrown: Errors that are not caught by an Error Boundary are now reported to window.reportError. Errors that are caught by an Error Boundary are reported to console.error. We’ve introduced onUncaughtError and onCaughtError methods to createRoot and hydrateRoot to customize this error handling.
  • Removed: propTypes: Using propTypes will now be silently ignored. If required, we recommend migrating to TypeScript or another type-checking solution.
  • Removed: defaultProps for functions: ES6 default parameters can be used in place. Class components continue to support defaultProps since there is no ES6 alternative.
  • Removed: contextTypes and getChildContext: Legacy Context for class components has been removed in favor of the contextType API.

... (truncated)

Changelog

Sourced from react's changelog.

19.0.0 (December 5, 2024)

Below is a list of all new features, APIs, deprecations, and breaking changes. Read React 19 release post and React 19 upgrade guide for more information.

Note: To help make the upgrade to React 19 easier, we’ve published a [email protected] release that is identical to 18.2 but adds warnings for deprecated APIs and other changes that are needed for React 19. We recommend upgrading to React 18.3.1 first to help identify any issues before upgrading to React 19.

New Features

React

  • Actions: startTransition can now accept async functions. Functions passed to startTransition are called “Actions”. A given Transition can include one or more Actions which update state in the background and update the UI with one commit. In addition to updating state, Actions can now perform side effects including async requests, and the Action will wait for the work to finish before finishing the Transition. This feature allows Transitions to include side effects like fetch() in the pending state, and provides support for error handling, and optimistic updates.
  • useActionState: is a new hook to order Actions inside of a Transition with access to the state of the action, and the pending state. It accepts a reducer that can call Actions, and the initial state used for first render. It also accepts an optional string that is used if the action is passed to a form action prop to support progressive enhancement in forms.
  • useOptimistic: is a new hook to update state while a Transition is in progress. It returns the state, and a set function that can be called inside a transition to “optimistically” update the state to expected final value immediately while the Transition completes in the background. When the transition finishes, the state is updated to the new value.
  • use: is a new API that allows reading resources in render. In React 19, use accepts a promise or Context. If provided a promise, use will suspend until a value is resolved. use can only be used in render but can be called conditionally.
  • ref as a prop: Refs can now be used as props, removing the need for forwardRef.
  • Suspense sibling pre-warming: When a component suspends, React will immediately commit the fallback of the nearest Suspense boundary, without waiting for the entire sibling tree to render. After the fallback commits, React will schedule another render for the suspended siblings to “pre-warm” lazy requests.

React DOM Client

  • <form> action prop: Form Actions allow you to manage forms automatically and integrate with useFormStatus. When a <form> action succeeds, React will automatically reset the form for uncontrolled components. The form can be reset manually with the new requestFormReset API.
  • <button> and <input> formAction prop: Actions can be passed to the formAction prop to configure form submission behavior. This allows using different Actions depending on the input.
  • useFormStatus: is a new hook that provides the status of the parent <form> action, as if the form was a Context provider. The hook returns the values: pending, data, method, and action.
  • Support for Document Metadata: We’ve added support for rendering document metadata tags in components natively. React will automatically hoist them into the <head> section of the document.
  • Support for Stylesheets: React 19 will ensure stylesheets are inserted into the <head> on the client before revealing the content of a Suspense boundary that depends on that stylesheet.
  • Support for async scripts: Async scripts can be rendered anywhere in the component tree and React will handle ordering and deduplication.
  • Support for preloading resources: React 19 ships with preinit, preload, prefetchDNS, and preconnect APIs to optimize initial page loads by moving discovery of additional resources like fonts out of stylesheet loading. They can also be used to prefetch resources used by an anticipated navigation.

React DOM Server

  • Added prerender and prerenderToNodeStream APIs for static site generation. They are designed to work with streaming environments like Node.js Streams and Web Streams. Unlike renderToString, they wait for data to load for HTML generation.

React Server Components

  • RSC features such as directives, server components, and server functions are now stable. This means libraries that ship with Server Components can now target React 19 as a peer dependency with a react-server export condition for use in frameworks that support the Full-stack React Architecture. The underlying APIs used to implement a React Server Components bundler or framework do not follow semver and may break between minors in React 19.x. See docs for how to support React Server Components.

Deprecations

  • Deprecated: element.ref access: React 19 supports ref as a prop, so we’re deprecating element.ref in favor of element.props.ref. Accessing will result in a warning.
  • react-test-renderer: In React 19, react-test-renderer logs a deprecation warning and has switched to concurrent rendering for web usage. We recommend migrating your tests to @​testing-library/react or @​testing-library/react-native

Breaking Changes

React 19 brings in a number of breaking changes, including the removals of long-deprecated APIs. We recommend first upgrading to 18.3.1, where we've added additional deprecation warnings. Check out the upgrade guide for more details and guidance on codemodding.

React

  • New JSX Transform is now required: We introduced a new JSX transform in 2020 to improve bundle size and use JSX without importing React. In React 19, we’re adding additional improvements like using ref as a prop and JSX speed improvements that require the new transform.
  • Errors in render are not re-thrown: Errors that are not caught by an Error Boundary are now reported to window.reportError. Errors that are caught by an Error Boundary are reported to console.error. We’ve introduced onUncaughtError and onCaughtError methods to createRoot and hydrateRoot to customize this error handling.
  • Removed: propTypes: Using propTypes will now be silently ignored. If required, we recommend migrating to TypeScript or another type-checking solution.
  • Removed: defaultProps for functions: ES6 default parameters can be used in place. Class components continue to support defaultProps since there is no ES6 alternative.

... (truncated)

Commits

Updates react-dom from 19.0.0-rc-69d4b800-20241021 to 19.0.0

Release notes

Sourced from react-dom's releases.

19.0.0 (December 5, 2024)

Below is a list of all new features, APIs, deprecations, and breaking changes. Read React 19 release post and React 19 upgrade guide for more information.

Note: To help make the upgrade to React 19 easier, we’ve published a [email protected] release that is identical to 18.2 but adds warnings for deprecated APIs and other changes that are needed for React 19. We recommend upgrading to React 18.3.1 first to help identify any issues before upgrading to React 19.

New Features

React

  • Actions: startTransition can now accept async functions. Functions passed to startTransition are called “Actions”. A given Transition can include one or more Actions which update state in the background and update the UI with one commit. In addition to updating state, Actions can now perform side effects including async requests, and the Action will wait for the work to finish before finishing the Transition. This feature allows Transitions to include side effects like fetch() in the pending state, and provides support for error handling, and optimistic updates.
  • useActionState: is a new hook to order Actions inside of a Transition with access to the state of the action, and the pending state. It accepts a reducer that can call Actions, and the initial state used for first render. It also accepts an optional string that is used if the action is passed to a form action prop to support progressive enhancement in forms.
  • useOptimistic: is a new hook to update state while a Transition is in progress. It returns the state, and a set function that can be called inside a transition to “optimistically” update the state to expected final value immediately while the Transition completes in the background. When the transition finishes, the state is updated to the new value.
  • use: is a new API that allows reading resources in render. In React 19, use accepts a promise or Context. If provided a promise, use will suspend until a value is resolved. use can only be used in render but can be called conditionally.
  • ref as a prop: Refs can now be used as props, removing the need for forwardRef.
  • Suspense sibling pre-warming: When a component suspends, React will immediately commit the fallback of the nearest Suspense boundary, without waiting for the entire sibling tree to render. After the fallback commits, React will schedule another render for the suspended siblings to “pre-warm” lazy requests.

React DOM Client

  • <form> action prop: Form Actions allow you to manage forms automatically and integrate with useFormStatus. When a <form> action succeeds, React will automatically reset the form for uncontrolled components. The form can be reset manually with the new requestFormReset API.
  • <button> and <input> formAction prop: Actions can be passed to the formAction prop to configure form submission behavior. This allows using different Actions depending on the input.
  • useFormStatus: is a new hook that provides the status of the parent <form> action, as if the form was a Context provider. The hook returns the values: pending, data, method, and action.
  • Support for Document Metadata: We’ve added support for rendering document metadata tags in components natively. React will automatically hoist them into the <head> section of the document.
  • Support for Stylesheets: React 19 will ensure stylesheets are inserted into the <head> on the client before revealing the content of a Suspense boundary that depends on that stylesheet.
  • Support for async scripts: Async scripts can be rendered anywhere in the component tree and React will handle ordering and deduplication.
  • Support for preloading resources: React 19 ships with preinit, preload, prefetchDNS, and preconnect APIs to optimize initial page loads by moving discovery of additional resources like fonts out of stylesheet loading. They can also be used to prefetch resources used by an anticipated navigation.

React DOM Server

  • Added prerender and prerenderToNodeStream APIs for static site generation. They are designed to work with streaming environments like Node.js Streams and Web Streams. Unlike renderToString, they wait for data to load for HTML generation.

React Server Components

  • RSC features such as directives, server components, and server functions are now stable. This means libraries that ship with Server Components can now target React 19 as a peer dependency with a react-server export condition for use in frameworks that support the Full-stack React Architecture. The underlying APIs used to implement a React Server Components bundler or framework do not follow semver and may break between minors in React 19.x. See docs for how to support React Server Components.

Deprecations

  • Deprecated: element.ref access: React 19 supports ref as a prop, so we’re deprecating element.ref in favor of element.props.ref. Accessing will result in a warning.
  • react-test-renderer: In React 19, react-test-renderer logs a deprecation warning and has switched to concurrent rendering for web usage. We recommend migrating your tests to @​testinglibrary.com/docs/react-testing-library/intro/) or @​testingesting-library.com/docs/react-native-testing-library/intro)

Breaking Changes

React 19 brings in a number of breaking changes, including the removals of long-deprecated APIs. We recommend first upgrading to 18.3.1, where we've added additional deprecation warnings. Check out the upgrade guide for more details and guidance on codemodding.

React

  • New JSX Transform is now required: We introduced a new JSX transform in 2020 to improve bundle size and use JSX without importing React. In React 19, we’re adding additional improvements like using ref as a prop and JSX speed improvements that require the new transform.
  • Errors in render are not re-thrown: Errors that are not caught by an Error Boundary are now reported to window.reportError. Errors that are caught by an Error Boundary are reported to console.error. We’ve introduced onUncaughtError and onCaughtError methods to createRoot and hydrateRoot to customize this error handling.
  • Removed: propTypes: Using propTypes will now be silently ignored. If required, we recommend migrating to TypeScript or another type-checking solution.
  • Removed: defaultProps for functions: ES6 default parameters can be used in place. Class components continue to support defaultProps since there is no ES6 alternative.
  • Removed: contextTypes and getChildContext: Legacy Context for class components has been removed in favor of the contextType API.

... (truncated)

Changelog

Sourced from react-dom's changelog.

19.0.0 (December 5, 2024)

Below is a list of all new features, APIs, deprecations, and breaking changes. Read React 19 release post and React 19 upgrade guide for more information.

Note: To help make the upgrade to React 19 easier, we’ve published a [email protected] release that is identical to 18.2 but adds warnings for deprecated APIs and other changes that are needed for React 19. We recommend upgrading to React 18.3.1 first to help identify any issues before upgrading to React 19.

New Features

React

  • Actions: startTransition can now accept async functions. Functions passed to startTransition are called “Actions”. A given Transition can include one or more Actions which update state in the background and update the UI with one commit. In addition to updating state, Actions can now perform side effects including async requests, and the Action will wait for the work to finish before finishing the Transition. This feature allows Transitions to include side effects like fetch() in the pending state, and provides support for error handling, and optimistic updates.
  • useActionState: is a new hook to order Actions inside of a Transition with access to the state of the action, and the pending state. It accepts a reducer that can call Actions, and the initial state used for first render. It also accepts an optional string that is used if the action is passed to a form action prop to support progressive enhancement in forms.
  • useOptimistic: is a new hook to update state while a Transition is in progress. It returns the state, and a set function that can be called inside a transition to “optimistically” update the state to expected final value immediately while the Transition completes in the background. When the transition finishes, the state is updated to the new value.
  • use: is a new API that allows reading resources in render. In React 19, use accepts a promise or Context. If provided a promise, use will suspend until a value is resolved. use can only be used in render but can be called conditionally.
  • ref as a prop: Refs can now be used as props, removing the need for forwardRef.
  • Suspense sibling pre-warming: When a component suspends, React will immediately commit the fallback of the nearest Suspense boundary, without waiting for the entire sibling tree to render. After the fallback commits, React will schedule another render for the suspended siblings to “pre-warm” lazy requests.

React DOM Client

  • <form> action prop: Form Actions allow you to manage forms automatically and integrate with useFormStatus. When a <form> action succeeds, React will automatically reset the form for uncontrolled components. The form can be reset manually with the new requestFormReset API.
  • <button> and <input> formAction prop: Actions can be passed to the formAction prop to configure form submission behavior. This allows using different Actions depending on the input.
  • useFormStatus: is a new hook that provides the status of the parent <form> action, as if the form was a Context provider. The hook returns the values: pending, data, method, and action.
  • Support for Document Metadata: We’ve added support for rendering document metadata tags in components natively. React will automatically hoist them into the <head> section of the document.
  • Support for Stylesheets: React 19 will ensure stylesheets are inserted into the <head> on the client before revealing the content of a Suspense boundary that depends on that stylesheet.
  • Support for async scripts: Async scripts can be rendered anywhere in the component tree and React will handle ordering and deduplication.
  • Support for preloading resources: React 19 ships with preinit, preload, prefetchDNS, and preconnect APIs to optimize initial page loads by moving discovery of additional resources like fonts out of stylesheet loading. They can also be used to prefetch resources used by an anticipated navigation.

React DOM Server

  • Added prerender and prerenderToNodeStream APIs for static site generation. They are designed to work with streaming environments like Node.js Streams and Web Streams. Unlike renderToString, they wait for data to load for HTML generation.

React Server Components

  • RSC features such as directives, server components, and server functions are now stable. This means libraries that ship with Server Components can now target React 19 as a peer dependency with a react-server export condition for use in frameworks that support the Full-stack React Architecture. The underlying APIs used to implement a React Server Components bundler or framework do not follow semver and may break between minors in React 19.x. See docs for how to support React Server Components.

Deprecations

  • Deprecated: element.ref access: React 19 supports ref as a prop, so we’re deprecating element.ref in favor of element.props.ref. Accessing will result in a warning.
  • react-test-renderer: In React 19, react-test-renderer logs a deprecation warning and has switched to concurrent rendering for web usage. We recommend migrating your tests to @​testing-library/react or @​testing-library/react-native

Breaking Changes

React 19 brings in a number of breaking changes, including the removals of long-deprecated APIs. We recommend first upgrading to 18.3.1, where we've added additional deprecation warnings. Check out the upgrade guide for more details and guidance on codemodding.

React

  • New JSX Transform is now required: We introduced a new JSX transform in 2020 to improve bundle size and use JSX without importing React. In React 19, we’re adding additional improvements like using ref as a prop and JSX speed improvements that require the new transform.
  • Errors in render are not re-thrown: Errors that are not caught by an Error Boundary are now reported to window.reportError. Errors that are caught by an Error Boundary are reported to console.error. We’ve introduced onUncaughtError and onCaughtError methods to createRoot and hydrateRoot to customize this error handling.
  • Removed: propTypes: Using propTypes will now be silently ignored. If required, we recommend migrating to TypeScript or another type-checking solution.
  • Removed: defaultProps for functions: ES6 default parameters can be used in place. Class components continue to support defaultProps since there is no ES6 alternative.

... (truncated)

Commits

Updates sass from 1.80.4 to 1.83.0

Release notes

Sourced from sass's releases.

Dart Sass 1.83.0

To install Sass 1.83.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

Changes

  • Allow trailing commas in all argument and parameter lists.

See the full changelog for changes in earlier releases.

Dart Sass 1.82.0

To install Sass 1.82.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

Changes

Command-Line Interface

  • Improve --watch mode reliability when making multiple changes at once, such as checking out a different Git branch.

  • Parse the calc-size() function as a calculation now that it's supported in some browsers.

Dart API

  • Add a SassCalculation.calcSize() function.

See the full changelog for changes in earlier releases.

Dart Sass 1.81.1

To install Sass 1.81.1, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

Changes

  • No user-visible changes.

See the full changelog for changes in earlier releases.

Dart Sass 1.81.0

To install Sass 1.81.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

... (truncated)

Changelog

Sourced from sass's changelog.

1.83.0

  • Allow trailing commas in all argument and parameter lists.

1.82.0

Command-Line Interface

  • Improve --watch mode reliability when making multiple changes at once, such as checking out a different Git branch.

  • Parse the calc-size() function as a calculation now that it's supported in some browsers.

Dart API

  • Add a SassCalculation.calcSize() function.

1.81.1

  • No user-visible changes.

1.81.0

  • Fix a few cases where deprecation warnings weren't being emitted for global built-in functions whose names overlap with CSS calculations.

  • Add support for the CSS round() calculation with a single argument, as long as that argument might be a unitless number.

1.80.7

Embedded Host

  • Don't treat 0 as undefined for the green and blue channels in the LegacyColor constructor.

1.80.6

Command-Line Interface

  • Make @parcel/watcher an optional dependency so this can still be installed on operating systems where it's unavailable.

1.80.5

Embedded Host

  • Don't produce phantom @import deprecations when using an importer with the legacy API.
Commits
  • f38dbb0 Merge pull request #2464 from sass/rest-param-comma

Bumps the npm-dependencies group with 10 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [bulma](https://github.com/jgthms/bulma) | `0.8.2` | `1.0.3` |
| [highlight.js](https://github.com/highlightjs/highlight.js) | `11.10.0` | `11.11.1` |
| [lowlight](https://github.com/wooorm/lowlight) | `3.1.0` | `3.3.0` |
| [next](https://github.com/vercel/next.js) | `15.0.1` | `15.1.3` |
| [react](https://github.com/facebook/react/tree/HEAD/packages/react) | `19.0.0-rc-69d4b800-20241021` | `19.0.0` |
| [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) | `19.0.0-rc-69d4b800-20241021` | `19.0.0` |
| [sass](https://github.com/sass/dart-sass) | `1.80.4` | `1.83.0` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.8.1` | `22.10.3` |
| [prettier](https://github.com/prettier/prettier) | `3.3.3` | `3.4.2` |
| [typescript](https://github.com/microsoft/TypeScript) | `5.6.3` | `5.7.2` |



Updates `bulma` from 0.8.2 to 1.0.3
- [Release notes](https://github.com/jgthms/bulma/releases)
- [Changelog](https://github.com/jgthms/bulma/blob/main/CHANGELOG.md)
- [Commits](jgthms/bulma@0.8.2...1.0.3)

Updates `highlight.js` from 11.10.0 to 11.11.1
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/main/CHANGES.md)
- [Commits](highlightjs/highlight.js@11.10.0...11.11.1)

Updates `lowlight` from 3.1.0 to 3.3.0
- [Release notes](https://github.com/wooorm/lowlight/releases)
- [Changelog](https://github.com/wooorm/lowlight/blob/main/changelog.md)
- [Commits](wooorm/lowlight@3.1.0...3.3.0)

Updates `next` from 15.0.1 to 15.1.3
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](vercel/next.js@v15.0.1...v15.1.3)

Updates `react` from 19.0.0-rc-69d4b800-20241021 to 19.0.0
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v19.0.0/packages/react)

Updates `react-dom` from 19.0.0-rc-69d4b800-20241021 to 19.0.0
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v19.0.0/packages/react-dom)

Updates `sass` from 1.80.4 to 1.83.0
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](sass/dart-sass@1.80.4...1.83.0)

Updates `@types/node` from 22.8.1 to 22.10.3
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `prettier` from 3.3.3 to 3.4.2
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@3.3.3...3.4.2)

Updates `typescript` from 5.6.3 to 5.7.2
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](microsoft/TypeScript@v5.6.3...v5.7.2)

---
updated-dependencies:
- dependency-name: bulma
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: npm-dependencies
- dependency-name: highlight.js
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm-dependencies
- dependency-name: lowlight
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm-dependencies
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm-dependencies
- dependency-name: react
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-dependencies
- dependency-name: react-dom
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-dependencies
- dependency-name: sass
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm-dependencies
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-dependencies
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-dependencies
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants