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 other group across 1 directory with 24 updates #727

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

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps the other group with 23 updates in the / directory:

Package From To
@anywidget/react 0.0.8 0.1.0
@nextui-org/react 2.4.8 2.6.11
@xstate/react 5.0.0 5.0.1
framer-motion 11.12.0 11.15.0
maplibre-gl 3.6.2 5.0.0
react 18.3.1 19.0.0
@types/react 18.3.12 19.0.2
react-dom 18.3.1 19.0.0
react-map-gl 7.1.7 7.1.8
uuid 11.0.3 11.0.4
@eslint/js 9.16.0 9.17.0
@types/lodash 4.17.13 4.17.14
dotenv 16.4.5 16.4.7
esbuild 0.24.0 0.24.2
eslint 9.16.0 9.17.0
eslint-plugin-react 7.37.2 7.37.3
globals 15.13.0 15.14.0
nodemon 3.1.7 3.1.9
postcss-preset-env 10.1.1 10.1.3
prettier 3.4.1 3.4.2
tailwindcss 3.4.15 3.4.17
typescript-eslint 8.16.0 8.19.0
vitest 2.1.6 2.1.8

Updates @anywidget/react from 0.0.8 to 0.1.0

Updates @nextui-org/react from 2.4.8 to 2.6.11

Release notes

Sourced from @​nextui-org/react's releases.

@​nextui-org/react@​2.6.11

🚀 What's Changed

🐛 Fixes

  • Theme: Replaced the light mode background in the NextUI Pro section. #4355
  • Docs: Corrected i18n version handling in date-related components. #4430
  • Drawer: Used top-level type-only imports to prevent inline type specifier issues. #4438
  • Alert Component:
    • Marked description prop as optional.
    • Revised styles when only children are provided. #4447
  • Clipboard: Fixed incorrect Unicode whitespace handling when copying text. #4392
  • Popover:
    • Fixed initial animation direction to match fallback placement.
    • Corrected position logic for better accuracy. #4460, #4498
  • Dependencies: Updated @tanstack/react-virtual to support React 19 peer dependency. #4463
  • useImage Hook:
    • Resolved cached image flickering issue.
    • Ensured status is correctly set after hydration. #4442, #4486
  • Select & Listbox:
    • Fixed dataset handling with sections.
    • Added scroll shadow support. #4462
  • Autocomplete:
    • Cleared value when pressing the clear button.
    • Fixed prop validation not working after hover.
    • Resolved missing popover props except for content. #4458, #4452, #4496
  • Navbar: Ensured overlay is hidden when the menu is closed. #4490
  • useAriaLink: Fixed deprecation warning for onClick in Button when used as a Link. #4497

✨ Features

  • Docs Enhancements:
    • Added documentation on integrating NextUI with Laravel. #4432
    • Updated type prop in input to include the "file" type. #4444
    • Added a button to open examples in StackBlitz. #4461

🔧 Maintenance

  • Framework Installations: Updated framework installation instructions for clarity. #4410
  • Changesets: Versioned packages via GitHub Actions. #4440

This release includes essential bug fixes, new features, and documentation improvements, enhancing both the developer experience and user interface stability.

Full Changelog: Compare @​nextui-org/react v2.6.10...v2.6.11

🆕 New Contributors

@​nextui-org/react@​2.6.10

🚀 What's Changed in This Release

... (truncated)

Changelog

Sourced from @​nextui-org/react's changelog.

2.6.11

Patch Changes

  • Updated dependencies [d92468a, a43b156, 33e0418, 07780a7, a83388a, a83388a, 7c2bc4a, 0401f25, 16c57ec, 0c45fed, fb46df2]:
    • @​nextui-org/listbox@​2.3.9
    • @​nextui-org/select@​2.4.9
    • @​nextui-org/navbar@​2.2.8
    • @​nextui-org/dropdown@​2.3.9
    • @​nextui-org/popover@​2.3.9
    • @​nextui-org/drawer@​2.2.7
    • @​nextui-org/alert@​2.2.9
    • @​nextui-org/theme@​2.4.5
    • @​nextui-org/autocomplete@​2.3.9
    • @​nextui-org/avatar@​2.2.6
    • @​nextui-org/image@​2.2.5
    • @​nextui-org/breadcrumbs@​2.2.6
    • @​nextui-org/date-picker@​2.3.9
    • @​nextui-org/accordion@​2.2.7
    • @​nextui-org/badge@​2.2.5
    • @​nextui-org/button@​2.2.9
    • @​nextui-org/calendar@​2.2.9
    • @​nextui-org/card@​2.2.9
    • @​nextui-org/checkbox@​2.3.8
    • @​nextui-org/chip@​2.2.6
    • @​nextui-org/code@​2.2.6
    • @​nextui-org/date-input@​2.3.8
    • @​nextui-org/divider@​2.2.5
    • @​nextui-org/form@​2.1.8
    • @​nextui-org/input@​2.4.8
    • @​nextui-org/input-otp@​2.1.8
    • @​nextui-org/kbd@​2.2.6
    • @​nextui-org/link@​2.2.7
    • @​nextui-org/menu@​2.2.9
    • @​nextui-org/modal@​2.2.7
    • @​nextui-org/pagination@​2.2.8
    • @​nextui-org/progress@​2.2.6
    • @​nextui-org/radio@​2.3.8
    • @​nextui-org/ripple@​2.2.7
    • @​nextui-org/scroll-shadow@​2.3.5
    • @​nextui-org/skeleton@​2.2.5
    • @​nextui-org/slider@​2.4.7
    • @​nextui-org/snippet@​2.2.10
    • @​nextui-org/spacer@​2.2.6
    • @​nextui-org/spinner@​2.2.6
    • @​nextui-org/switch@​2.2.8
    • @​nextui-org/table@​2.2.8
    • @​nextui-org/tabs@​2.2.7
    • @​nextui-org/tooltip@​2.2.7
    • @​nextui-org/user@​2.2.6

... (truncated)

Commits

Updates @xstate/react from 5.0.0 to 5.0.1

Release notes

Sourced from @​xstate/react's releases.

@​xstate/react@​5.0.1

Patch Changes

Commits

Updates framer-motion from 11.12.0 to 11.15.0

Changelog

Sourced from framer-motion's changelog.

[11.15.0] 2024-12-13

Added

  • Add support for repeat in animation sequences.

Fixed

  • Clearing scheduled jobs at the end of an animation frame to ensure memory is released should the animation loop settle.

[11.14.4] 2024-12-13

Fixed

  • Exporting AnimationSequence via "motion" entrypoint.
  • Adding support for passing normal components to motion.create() in React 19.

[11.14.3] 2024-12-13

Fixed

  • Fixing motion-dom and motion-utils entrypoints.

[11.14.2] 2024-12-13

Fixed

  • Exporting time for internal use.
  • Making MotionValue.updatedAt public for internal use.

[11.14.1] 2024-12-12

Fixed

  • Fixing missing license in motion-dom and motion-utils packages.

[11.14.0] 2024-12-12

Added

  • Added press gesture in Motion+ early access.

[11.13.6] 2024-12-10

Fixed

  • Adding React 19 to optional peer dependencies in "motion" package also.

[11.13.5] 2024-12-10

... (truncated)

Commits

Updates maplibre-gl from 3.6.2 to 5.0.0

Release notes

Sourced from maplibre-gl's releases.

v5.0.0

https://github.com/maplibre/maplibre-gl-js Changes since MapLibre GL JS v4.7.1:

✨ Features and improvements

  • ⚠️ StyleLayer's queryIntersectsFeature method parameters were moved to QueryIntersectsFeatureParams. (#5276) Wrap the method parameters with {} to solve this
  • ⚠️ Support setting WebGL context options on map creation (#5196). Previously supported WebGL context options like antialias, preserveDrawingBuffer and failIfMajorPerformanceCaveat must now be defined inside the canvasContextAttributes object on MapOptions.
  • ⚠️ Change the return type of on method to return a Subscription to allow for easy unsubscribe (#5080). map.on('x').on('y') => map.on('x'); map.on('y');.
  • ⚠️ Change drag rotate behavior to be around the center of the screen (#5074)
  • ⚠️ Return actual altitude from queryTerrainElevation + Pass non-translated matrices to custom layer on mercator map (#3854)
  • ⚠️ Changed geometry-type to identify "Multi-" features (#4877). Use $type for non "Multi-" support or use in expression to get the previous behavior.
  • ⚠️ Remove unminified prod build (#4906). You'll need to use a different build.
  • Allows setting the desired WebGL version to use (#5236). You can now use contextType inside canvasContextAttributes to choose which WebGL version to use
  • Dual-Stack WebGL Runtime with WebGL2 to WebGL1 Fallback (#5198)
  • Add support for projection type expression as part of a refactoring of the transfrom and projection classes (#5139)
  • Export Event class (#5016)
  • Support Vertical Perspective projection (#5023)
  • When clustering circles and the promoteId is set to some parameter, the promoted ID is used on non-clustered features and the cluster_id is used on clustered features. Previously the ID was undefined for non-clustered features (#4899)
  • Support Terrain in Globe projection (#4976)
  • Improved performance of the coveringTiles (tile culling) function for globe (#4937)
  • Catches network fetching errors such as CORS, DNS or malformed URL as actual AJAXError to expose HTTP request details to the "error" event (maplibre/maplibre-gl-js#4822)
  • Add setVerticalFieldOfView() to public API (#4717)
  • Disable sky when using globe and blend it in when changing to mercator (#4853)
  • New GlobeControl (#4960)
  • Add support for pitch > 90 degrees (#4717)
  • Add support for camera roll angle (#4717)
  • Improve performance of queryRenderedFeatures by using JavaScript Sets to assess layer membership internally (#4777)
  • Support globe mode (#3963)
  • Merge atmosphere and sky implementation (#3888)
  • Add option to display a realistic atmosphere when using a Globe projection (#3888)

🐞 Bug fixes

  • ⚠️ Fix level of detail at high pitch angle by changing which tiles to load (#3983)
  • Fix holes at the poles when terrain is used with globe (#5232)
  • Fix geometry artifacts when globe terrain is zoomed out too much (#5232)
  • Fix center being incorrectly constrained when using globe (#5186)
  • Fix atmosphere improperly blending into the background (#5235)
  • Fix parsing wrong hash location (#5131)
  • Fix swallowing of errors (#4532)
  • Fix erroring requests not reported on error handler (#4613)
  • Fix children not retained when using globe (#5271)
  • Fix symbol size increasing when looking from poles (#5275)
  • Fix globe custom layers being supplied incorrect matrices after projection transition to mercator (#5150)
  • Fix custom 3D models disappearing during projection transition (#5150)
  • Fix regression in NavigationControl compass on Firefox and Safari browsers (#5205)
  • Fix smooth mouse wheel zooming (#5154)
  • Change drag rotate behavior to be less abrupt around the center (#5104)
  • Fix regression in render world copies (#5101)

... (truncated)

Changelog

Sourced from maplibre-gl's changelog.

5.0.0

✨ Features and improvements

  • ⚠️ StyleLayer's queryIntersectsFeature method parameters were moved to QueryIntersectsFeatureParams. (#5276) Wrap the method parameters with {} to solve this
  • ⚠️ Support setting WebGL context options on map creation (#5196). Previously supported WebGL context options like antialias, preserveDrawingBuffer and failIfMajorPerformanceCaveat must now be defined inside the canvasContextAttributes object on MapOptions.
  • ⚠️ Change the return type of on method to return a Subscription to allow for easy unsubscribe (#5080). map.on('x').on('y') => map.on('x'); map.on('y');.
  • ⚠️ Change drag rotate behavior to be around the center of the screen (#5074)
  • ⚠️ Return actual altitude from queryTerrainElevation + Pass non-translated matrices to custom layer on mercator map (#3854)
  • ⚠️ Changed geometry-type to identify "Multi-" features (#4877). Use $type for non "Multi-" support or use in expression to get the previous behavior. Example:
- "filter": ["==", ["geometry-type"], "Polygon"]
+ "filter": ["==", "$type", "Polygon"]
  • ⚠️ Remove unminified prod build (#4906). You'll need to use a different build.
  • Allows setting the desired WebGL version to use (#5236). You can now use contextType inside canvasContextAttributes to choose which WebGL version to use
  • Dual-Stack WebGL Runtime with WebGL2 to WebGL1 Fallback (#5198)
  • Add support for projection type expression as part of a refactoring of the transfrom and projection classes (#5139)
  • Export Event class (#5016)
  • Support Vertical Perspective projection (#5023)
  • When clustering circles and the promoteId is set to some parameter, the promoted ID is used on non-clustered features and the cluster_id is used on clustered features. Previously the ID was undefined for non-clustered features (#4899)
  • Support Terrain in Globe projection (#4976)
  • Improved performance of the coveringTiles (tile culling) function for globe (#4937)
  • Catches network fetching errors such as CORS, DNS or malformed URL as actual AJAXError to expose HTTP request details to the "error" event (maplibre/maplibre-gl-js#4822)
  • Add setVerticalFieldOfView() to public API (#4717)
  • Disable sky when using globe and blend it in when changing to mercator (#4853)
  • New GlobeControl (#4960)
  • Add support for pitch > 90 degrees (#4717)
  • Add support for camera roll angle (#4717)
  • Improve performance of queryRenderedFeatures by using JavaScript Sets to assess layer membership internally (#4777)
  • Support globe mode (#3963)
  • Merge atmosphere and sky implementation (#3888)
  • Add option to display a realistic atmosphere when using a Globe projection (#3888)

🐞 Bug fixes

  • ⚠️ Fix level of detail at high pitch angle by changing which tiles to load (#3983)
  • Fix holes at the poles when terrain is used with globe (#5232)
  • Fix geometry artifacts when globe terrain is zoomed out too much (#5232)
  • Fix center being incorrectly constrained when using globe (#5186)
  • Fix atmosphere improperly blending into the background (#5235)
  • Fix parsing wrong hash location (#5131)
  • Fix swallowing of errors (#4532)
  • Fix erroring requests not reported on error handler (#4613)
  • Fix children not retained when using globe (#5271)
  • Fix symbol size increasing when looking from poles (#5275)
  • Fix globe custom layers being supplied incorrect matrices after projection transition to mercator (#5150)
  • Fix custom 3D models disappearing during projection transition (#5150)
  • Fix regression in NavigationControl compass on Firefox and Safari browsers (#5205)

... (truncated)

Commits
  • 47ed30d Bump version to 5.0.0 (#5272)
  • c2725d8 Improve typing and change StyleLayer query call interface (#5276)
  • 4e5a9fe Bump @​typescript-eslint/eslint-plugin from 8.18.2 to 8.19.0 (#5278)
  • 7086f12 Bump @​typescript-eslint/parser from 8.18.2 to 8.19.0 (#5279)
  • 04bccd6 Bump typedoc-plugin-markdown from 4.3.3 to 4.4.0 (#5277)
  • 3d6d3f4 Fix symbol size increase (#5275)
  • 9c0ac3e Return 204 for some missing files in tiles/sparse204. This way we can use st ...
  • bbb4815 Fix children not retained when wrapped (#5271)
  • 3d9e6b2 Bump devtools-protocol from 0.0.1399977 to 0.0.1400418 (#5274)
  • 58f3a82 Add eslint rule named stylistic/semi (#5273)
  • Additional commits viewable in compare view

Updates react from 18.3.1 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
  • e137890 [string-refs] cleanup string ref code (#31443)
  • d1f0472 [string-refs] remove enableLogStringRefsProd flag (#31414)
  • 3dc1e48 Followup: remove dead test code from #30346 (#31415)
  • 07aa494 Remove enableRefAsProp feature flag (#30346)
  • 45804af [flow] Eliminate usage of more than 1-arg React.AbstractComponent in React ...
  • 5636fad [string-refs] log string ref from prod (#31161)
  • b78a7f2 [rcr] Re-export useMemoCache in top level React namespace (#31139)
  • 4e9540e [Fiber] Log the Render/Commit phases and the gaps in between (#31016)
  • d4688df [Fiber] Track Event Time, startTransition Time and setState Time (#31008)
  • 15da917 Don't read currentTransition back from internals (#30991)
  • Additional commits viewable in compare view

Updates @types/react from 18.3.12 to 19.0.2

Commits

Updates react-dom from 18.3.1 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.Description has been truncated

Bumps the other group with 23 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| @anywidget/react | `0.0.8` | `0.1.0` |
| [@nextui-org/react](https://github.com/nextui-org/nextui/tree/HEAD/packages/core/react) | `2.4.8` | `2.6.11` |
| [@xstate/react](https://github.com/statelyai/xstate) | `5.0.0` | `5.0.1` |
| [framer-motion](https://github.com/motiondivision/motion) | `11.12.0` | `11.15.0` |
| [maplibre-gl](https://github.com/maplibre/maplibre-gl-js) | `3.6.2` | `5.0.0` |
| [react](https://github.com/facebook/react/tree/HEAD/packages/react) | `18.3.1` | `19.0.0` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `18.3.12` | `19.0.2` |
| [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) | `18.3.1` | `19.0.0` |
| [react-map-gl](https://github.com/visgl/react-map-gl) | `7.1.7` | `7.1.8` |
| [uuid](https://github.com/uuidjs/uuid) | `11.0.3` | `11.0.4` |
| [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.16.0` | `9.17.0` |
| [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) | `4.17.13` | `4.17.14` |
| [dotenv](https://github.com/motdotla/dotenv) | `16.4.5` | `16.4.7` |
| [esbuild](https://github.com/evanw/esbuild) | `0.24.0` | `0.24.2` |
| [eslint](https://github.com/eslint/eslint) | `9.16.0` | `9.17.0` |
| [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) | `7.37.2` | `7.37.3` |
| [globals](https://github.com/sindresorhus/globals) | `15.13.0` | `15.14.0` |
| [nodemon](https://github.com/remy/nodemon) | `3.1.7` | `3.1.9` |
| [postcss-preset-env](https://github.com/csstools/postcss-plugins/tree/HEAD/plugin-packs/postcss-preset-env) | `10.1.1` | `10.1.3` |
| [prettier](https://github.com/prettier/prettier) | `3.4.1` | `3.4.2` |
| [tailwindcss](https://github.com/tailwindlabs/tailwindcss) | `3.4.15` | `3.4.17` |
| [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.16.0` | `8.19.0` |
| [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `2.1.6` | `2.1.8` |



Updates `@anywidget/react` from 0.0.8 to 0.1.0

Updates `@nextui-org/react` from 2.4.8 to 2.6.11
- [Release notes](https://github.com/nextui-org/nextui/releases)
- [Changelog](https://github.com/nextui-org/nextui/blob/canary/packages/core/react/CHANGELOG.md)
- [Commits](https://github.com/nextui-org/nextui/commits/@nextui-org/[email protected]/packages/core/react)

Updates `@xstate/react` from 5.0.0 to 5.0.1
- [Release notes](https://github.com/statelyai/xstate/releases)
- [Commits](https://github.com/statelyai/xstate/compare/@xstate/[email protected]...@xstate/[email protected])

Updates `framer-motion` from 11.12.0 to 11.15.0
- [Changelog](https://github.com/motiondivision/motion/blob/main/CHANGELOG.md)
- [Commits](motiondivision/motion@v11.12.0...v11.15.0)

Updates `maplibre-gl` from 3.6.2 to 5.0.0
- [Release notes](https://github.com/maplibre/maplibre-gl-js/releases)
- [Changelog](https://github.com/maplibre/maplibre-gl-js/blob/main/CHANGELOG.md)
- [Commits](maplibre/maplibre-gl-js@v3.6.2...v5.0.0)

Updates `react` from 18.3.1 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 `@types/react` from 18.3.12 to 19.0.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `react-dom` from 18.3.1 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 `react-map-gl` from 7.1.7 to 7.1.8
- [Release notes](https://github.com/visgl/react-map-gl/releases)
- [Changelog](https://github.com/visgl/react-map-gl/blob/v7.1.8/CHANGELOG.md)
- [Commits](visgl/react-map-gl@v7.1.7...v7.1.8)

Updates `uuid` from 11.0.3 to 11.0.4
- [Release notes](https://github.com/uuidjs/uuid/releases)
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md)
- [Commits](uuidjs/uuid@v11.0.3...v11.0.4)

Updates `xstate` from 5.19.0 to 5.19.1
- [Release notes](https://github.com/statelyai/xstate/releases)
- [Commits](https://github.com/statelyai/xstate/compare/[email protected]@5.19.1)

Updates `@eslint/js` from 9.16.0 to 9.17.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.17.0/packages/js)

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

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

Updates `dotenv` from 16.4.5 to 16.4.7
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](motdotla/dotenv@v16.4.5...v16.4.7)

Updates `esbuild` from 0.24.0 to 0.24.2
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](evanw/esbuild@v0.24.0...v0.24.2)

Updates `eslint` from 9.16.0 to 9.17.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v9.16.0...v9.17.0)

Updates `eslint-plugin-react` from 7.37.2 to 7.37.3
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](jsx-eslint/eslint-plugin-react@v7.37.2...v7.37.3)

Updates `globals` from 15.13.0 to 15.14.0
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](sindresorhus/globals@v15.13.0...v15.14.0)

Updates `nodemon` from 3.1.7 to 3.1.9
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](remy/nodemon@v3.1.7...v3.1.9)

Updates `postcss-preset-env` from 10.1.1 to 10.1.3
- [Changelog](https://github.com/csstools/postcss-plugins/blob/main/plugin-packs/postcss-preset-env/CHANGELOG.md)
- [Commits](https://github.com/csstools/postcss-plugins/commits/HEAD/plugin-packs/postcss-preset-env)

Updates `prettier` from 3.4.1 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.4.1...3.4.2)

Updates `tailwindcss` from 3.4.15 to 3.4.17
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.17/CHANGELOG.md)
- [Commits](tailwindlabs/tailwindcss@v3.4.15...v3.4.17)

Updates `typescript-eslint` from 8.16.0 to 8.19.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.19.0/packages/typescript-eslint)

Updates `vitest` from 2.1.6 to 2.1.8
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.8/packages/vitest)

---
updated-dependencies:
- dependency-name: "@anywidget/react"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: other
- dependency-name: "@nextui-org/react"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: other
- dependency-name: "@xstate/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: other
- dependency-name: framer-motion
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: other
- dependency-name: maplibre-gl
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: other
- dependency-name: react
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: other
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: other
- dependency-name: react-dom
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: other
- dependency-name: react-map-gl
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: other
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: other
- dependency-name: xstate
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: other
- dependency-name: "@eslint/js"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: other
- dependency-name: "@types/lodash"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: other
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: other
- dependency-name: dotenv
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: other
- dependency-name: esbuild
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: other
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: other
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: other
- dependency-name: globals
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: other
- dependency-name: nodemon
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: other
- dependency-name: postcss-preset-env
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: other
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: other
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: other
- dependency-name: typescript-eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: other
- dependency-name: vitest
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: other
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Relates to JS bindings labels Jan 6, 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 Relates to JS bindings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants