fcub-fe merge requestshttps://git.fluidware.it/fcub/fcub-fe/-/merge_requests2023-12-05T03:08:42Zhttps://git.fluidware.it/fcub/fcub-fe/-/merge_requests/44Update dependency eslint-plugin-prettier to v3.4.12023-12-05T03:08:42ZRenovate BotUpdate dependency eslint-plugin-prettier to v3.4.1This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) | devDependencies | minor | [`3.3.1` -> `3.4.1`](https://renov...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) | devDependencies | minor | [`3.3.1` -> `3.4.1`](https://renovatebot.com/diffs/npm/eslint-plugin-prettier/3.3.1/3.4.1) |
---
### Release Notes
<details>
<summary>prettier/eslint-plugin-prettier (eslint-plugin-prettier)</summary>
### [`v3.4.1`](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#v341-2021-08-20)
[Compare Source](https://github.com/prettier/eslint-plugin-prettier/compare/0813a83512ab52194b4e8da7193daf880a8cbef5...e53f23b890c9c6e73ba6e58db0d05eb91d962b71)
- build(deps): Bump glob-parent from 5.0.0 to 5.1.2 ([#​420](https://github.com/prettier/eslint-plugin-prettier/issues/420)) ([b6d075c](https://github.com/prettier/eslint-plugin-prettier/commit/b6d075cf7111468e8af4161c306c7f37f09f220e))
- build(deps): Bump path-parse from 1.0.6 to 1.0.7 ([#​425](https://github.com/prettier/eslint-plugin-prettier/issues/425)) ([24f957e](https://github.com/prettier/eslint-plugin-prettier/commit/24f957ee2a5476bb9cc8e64921b9841fc751391e))
- feat: support `@graphql-eslint/eslint-plugin` out of box ([#​413](https://github.com/prettier/eslint-plugin-prettier/issues/413)) ([ec6fbb1](https://github.com/prettier/eslint-plugin-prettier/commit/ec6fbb159e2454c6e145db55480932dc953cf7c1))
- chore: add tests for Node 16 ([#​410](https://github.com/prettier/eslint-plugin-prettier/issues/410)) ([76bd45e](https://github.com/prettier/eslint-plugin-prettier/commit/76bd45ece6d56eb52f75db6b4a1efdd2efb56392))
### [`v3.4.0`](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#v340-2021-04-15)
[Compare Source](https://github.com/prettier/eslint-plugin-prettier/compare/v3.3.1...0813a83512ab52194b4e8da7193daf880a8cbef5)
- feat: support processor virtual filename ([#​401](https://github.com/prettier/eslint-plugin-prettier/issues/401)) ([ee0ccc6](https://github.com/prettier/eslint-plugin-prettier/commit/ee0ccc6ac06d13cd546e78b444e53164f59eb27f))
- Simplify report logic ([#​380](https://github.com/prettier/eslint-plugin-prettier/issues/380)) ([d993f24](https://github.com/prettier/eslint-plugin-prettier/commit/d993f247b5661683af031ab3b93955a0dfe448fa))
- Update: README.md ([#​375](https://github.com/prettier/eslint-plugin-prettier/issues/375)) ([3ea4242](https://github.com/prettier/eslint-plugin-prettier/commit/3ea4242a8d4acdb76eb7e7dca9e44d3e87db70e3))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4wIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->Michele AzzolariMichele Azzolarihttps://git.fluidware.it/fcub/fcub-fe/-/merge_requests/43Update dependency connected-react-router to v6.9.32023-12-02T06:38:31ZRenovate BotUpdate dependency connected-react-router to v6.9.3This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [connected-react-router](https://github.com/supasate/connected-react-router) | dependencies | minor | [`6.8.0` -> `6.9.3`](https://renovate...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [connected-react-router](https://github.com/supasate/connected-react-router) | dependencies | minor | [`6.8.0` -> `6.9.3`](https://renovatebot.com/diffs/npm/connected-react-router/6.8.0/6.9.3) |
---
### Release Notes
<details>
<summary>supasate/connected-react-router (connected-react-router)</summary>
### [`v6.9.3`](https://github.com/supasate/connected-react-router/releases/tag/v6.9.3)
[Compare Source](https://github.com/supasate/connected-react-router/compare/v6.9.2...v6.9.3)
# Security Fixes
- Updated several packages by Dependabot
# Fix
- Add children to typings to support React 18 typings ([@​aesser](https://github.com/aesser) in [#​569](https://github.com/supasate/connected-react-router/issues/569) )
### [`v6.9.2`](https://github.com/supasate/connected-react-router/releases/tag/v6.9.2)
[Compare Source](https://github.com/supasate/connected-react-router/compare/v6.9.1...v6.9.2)
# Security fixes
- Updated several packages by Dependabot
# Misc
- Made installation commands in README easy to copy and paste ([@​reubenwedson](https://github.com/reubenwedson) in [#​545](https://github.com/supasate/connected-react-router/issues/545))
### [`v6.9.1`](https://github.com/supasate/connected-react-router/releases/tag/v6.9.1)
[Compare Source](https://github.com/supasate/connected-react-router/compare/v6.9.0...v6.9.1)
# Fix
- Bundle lodash.isequalwith to fix missing module ([@​ltnscp9028](https://github.com/ltnscp9028) in [#​481](https://github.com/supasate/connected-react-router/issues/481))
### [`v6.9.0`](https://github.com/supasate/connected-react-router/releases/tag/v6.9.0)
[Compare Source](https://github.com/supasate/connected-react-router/compare/v6.8.0...v6.9.0)
# Enhancement
- Add "omitRouter" option ([@​blackarctic](https://github.com/blackarctic) in [#​421](https://github.com/supasate/connected-react-router/issues/421))
- Add noTimeTravelDebugging prop ([@​blackarctic](https://github.com/blackarctic) in [#​455](https://github.com/supasate/connected-react-router/issues/455))
- Update react peer dependency to include React v17 ([@​marekventur](https://github.com/marekventur) in [#​460](https://github.com/supasate/connected-react-router/issues/460))
# Fix
- Deep compares location state objects ([@​BlazPocrnja](https://github.com/BlazPocrnja) in [#​399](https://github.com/supasate/connected-react-router/issues/399))
- Add lodash.isequalwith to devDependencies ([@​supasate](https://github.com/supasate) in [#​408](https://github.com/supasate/connected-react-router/issues/408))
- Add query type definition for RouterState.location ([@​TomIsion](https://github.com/TomIsion) in [#​410](https://github.com/supasate/connected-react-router/issues/410))
- Export getRouter() ([@​devrelm](https://github.com/devrelm) in [#​428](https://github.com/supasate/connected-react-router/issues/428))
- Fix connectRouter reducer type ([@​yehuozhili](https://github.com/yehuozhili) in [#​431](https://github.com/supasate/connected-react-router/issues/431))
- Update createMatchSelector parameter typing ([@​zaverden](https://github.com/zaverden) in [#​432](https://github.com/supasate/connected-react-router/issues/432))
- Move immutables to optional dependencies ([@​supasate](https://github.com/supasate) in [#​454](https://github.com/supasate/connected-react-router/issues/454))
# Security
- Add CodeQL Analysis for helping automatically detect common vulnerabilities and coding errors ([@​supasate](https://github.com/supasate))
- Several security fixes ([@​dependabot](https://github.com/dependabot))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4wIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->Michele AzzolariMichele Azzolarihttps://git.fluidware.it/fcub/fcub-fe/-/merge_requests/42Update dependency react-transition-group to v4.4.52023-12-02T03:20:58ZRenovate BotUpdate dependency react-transition-group to v4.4.5This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [react-transition-group](https://github.com/reactjs/react-transition-group) | dependencies | patch | [`4.4.1` -> `4.4.5`](https://renovateb...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [react-transition-group](https://github.com/reactjs/react-transition-group) | dependencies | patch | [`4.4.1` -> `4.4.5`](https://renovatebot.com/diffs/npm/react-transition-group/4.4.1/4.4.5) |
---
### Release Notes
<details>
<summary>reactjs/react-transition-group (react-transition-group)</summary>
### [`v4.4.5`](https://github.com/reactjs/react-transition-group/blob/HEAD/CHANGELOG.md#445-2022-08-01)
[Compare Source](https://github.com/reactjs/react-transition-group/compare/v4.4.4...v4.4.5)
##### Bug Fixes
- apply entering animation synchronously when unmountOnExit or mountOnEnter is enabled ([#​847](https://github.com/reactjs/react-transition-group/issues/847)) ([1043549](https://github.com/reactjs/react-transition-group/commit/10435492f5a5675b0e80ca6a435834ce4a0f270e))
### [`v4.4.4`](https://github.com/reactjs/react-transition-group/blob/HEAD/CHANGELOG.md#444-2022-07-30)
[Compare Source](https://github.com/reactjs/react-transition-group/compare/v4.4.3...v4.4.4)
##### Bug Fixes
- missing build files ([#​845](https://github.com/reactjs/react-transition-group/issues/845)) ([97af789](https://github.com/reactjs/react-transition-group/commit/97af7893b0a5bbf69211bc3287aee814123ddeea))
### [`v4.4.3`](https://github.com/reactjs/react-transition-group/blob/HEAD/CHANGELOG.md#443-2022-07-30)
[Compare Source](https://github.com/reactjs/react-transition-group/compare/v4.4.2...v4.4.3)
##### Bug Fixes
- enter animations with mountOnEnter or unmountOnExit ([#​749](https://github.com/reactjs/react-transition-group/issues/749)) ([51bdceb](https://github.com/reactjs/react-transition-group/commit/51bdceb96c8b6a79f417c32326ef1b31160edb97))
### [`v4.4.2`](https://github.com/reactjs/react-transition-group/blob/HEAD/CHANGELOG.md#442-2021-05-29)
[Compare Source](https://github.com/reactjs/react-transition-group/compare/v4.4.1...v4.4.2)
##### Bug Fixes
- `nodeRef` prop type for cross-realm elements ([#​732](https://github.com/reactjs/react-transition-group/issues/732)) ([8710c01](https://github.com/reactjs/react-transition-group/commit/8710c01549e09f55eeefec2aadb3af0a23a00f82))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42NC4wIiwidXBkYXRlZEluVmVyIjoiMzUuMTU5LjciLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIifQ==-->Michele AzzolariMichele Azzolarihttps://git.fluidware.it/fcub/fcub-fe/-/merge_requests/41Update dependency react-redux to v7.2.92023-12-02T03:20:54ZRenovate BotUpdate dependency react-redux to v7.2.9This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [react-redux](https://github.com/reduxjs/react-redux) | dependencies | patch | [`7.2.2` -> `7.2.9`](https://renovatebot.com/diffs/npm/react...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [react-redux](https://github.com/reduxjs/react-redux) | dependencies | patch | [`7.2.2` -> `7.2.9`](https://renovatebot.com/diffs/npm/react-redux/7.2.2/7.2.9) |
---
### Release Notes
<details>
<summary>reduxjs/react-redux (react-redux)</summary>
### [`v7.2.9`](https://github.com/reduxjs/react-redux/releases/tag/v7.2.9)
[Compare Source](https://github.com/reduxjs/react-redux/compare/v7.2.8...v7.2.9)
This patch release updates the rarely-used `areStatesEqual` option for `connect` to now pass through `ownProps` for additional use in determining which pieces of state to compare if desired.
The new signature is:
```ts
{
areStatesEqual?: (
nextState: State,
prevState: State,
nextOwnProps: TOwnProps,
prevOwnProps: TOwnProps
) => boolean
}
```
#### What's Changed
- connect: pass ownProps to areStatesEqual by [@​jspurlin](https://github.com/jspurlin) in https://github.com/reduxjs/react-redux/pull/1952
**Full Changelog**: https://github.com/reduxjs/react-redux/compare/v7.2.8...v7.2.9
### [`v7.2.8`](https://github.com/reduxjs/react-redux/releases/tag/v7.2.8)
[Compare Source](https://github.com/reduxjs/react-redux/compare/v7.2.7...v7.2.8)
This release fixes a bug in the 7.x branch that caused `<Provider>` to unsubscribe and stop updating completely when used inside of React 18's `<StrictMode>`. The new "strict effects" behavior double-mounts components, and the subscription needed to be set up inside of a `useLayoutEffect` instead of a `useMemo`. This was previously fixed as part of v8 development, and we've backported it.
**Note**: If you are now using React 18, **we strongly recommend using [the React-Redux v8 beta instead of v7.x!](https://github.com/reduxjs/react-redux/releases/tag/v8.0.0-beta.3)**. v8 has been rewritten internally to work correctly with React 18's Concurrent Rendering capabilities. React-Redux v7 will run and generally work okay with existing code, but may have rendering issues if you start using Concurrent Rendering capabilities in your code.
Now that React 18 is out, we plan to finalize React-Redux v8 and release it live within the next couple weeks. Per [an update yesterday in the "v8 roadmap" thread](https://github.com/reduxjs/react-redux/issues/1740#issuecomment-1085190240), React-Redux v8 will be updated in the next couple days to ensure support for React 16.8+ as part of the next beta release. We would really appreciate final feedback on using React-Redux v8 beta with React 18 before we publish the final version.
**Full Changelog**: https://github.com/reduxjs/react-redux/compare/v7.2.7...v7.2.8
### [`v7.2.7`](https://github.com/reduxjs/react-redux/releases/tag/v7.2.7)
[Compare Source](https://github.com/reduxjs/react-redux/compare/v7.2.6...v7.2.7)
This release updates React-Redux v7's peer dependencies to accept React 18 as a valid version, *only* to avoid installation errors caused by NPM's "install all the peer deps and error if they don't match" behavior.
**Note**: If you are now using React 18, **we strongly recommend using [the React-Redux v8 beta instead of v7.x!](https://github.com/reduxjs/react-redux/releases/tag/v8.0.0-beta.3)**. v8 has been rewritten internally to work correctly with React 18's Concurrent Rendering capabilities. React-Redux v7 will run and generally work okay with existing code, but may have rendering issues if you start using Concurrent Rendering capabilities in your code.
Now that React 18 is out, we plan to finalize React-Redux v8 and release it live within the next couple weeks. We would really appreciate final feedback on using React-Redux v8 beta with React 18 before we publish the final version.
### [`v7.2.6`](https://github.com/reduxjs/react-redux/releases/tag/v7.2.6)
[Compare Source](https://github.com/reduxjs/react-redux/compare/v7.2.5...v7.2.6)
Just a quick fix for a Yarn install warning. Sorry about the noise!
#### [Changes](https://github.com/reduxjs/react-redux/compare/v7.2.5...v7.2.6)
- Remove `workspaces` from our package.json to silence a Yarn warning ([@​timdorr](https://github.com/timdorr))
### [`v7.2.5`](https://github.com/reduxjs/react-redux/releases/tag/v7.2.5)
[Compare Source](https://github.com/reduxjs/react-redux/compare/v7.2.4...v7.2.5)
This release shrinks the size of our internal `Subscription` class, and updates `useSelector` to avoid an unnecessary selector call on mount.
#### Changes
##### Subscription Size Refactor
Our internal `Subscription` implementation has been written as a class ever since it was added in v5. By rewriting it as a closure factory, we were able to shave a few bytes off the final bundle size.
##### `useSelector` Mount Optimization
A user noticed that `useSelector` had never been given an early "bail out if the root state is the same" check to match how `connect` works. This resulted in a usually-unnecessary second call to the provided selector on mount. We've added that check.
##### Entry Point Consolidation
We've consolidated the list of exported public APIs into a single file, and both the `index.js` and `alternate-renderers.js` entry points now re-export everything from that file. No meaningful change here, just shuffling lines of code around for consistency.
#### Other Updates
##### React-Redux v8 and React 18 Development
With [the announcement of React 18](https://github.com/reactwg/react-18/discussions/4), we've been working with the React team to plan our migration path to keep React-Redux fully compatible with React's upcoming features.
We've already [migrated the React-Redux main development branch to TypeScript](https://github.com/reduxjs/react-redux/issues/1737), and are [prototyping compatibility implementation updates](https://github.com/reduxjs/react-redux/pull/1808). We'd appreciate any assistance from the community in testing out these changes so that we can ensure React-Redux works great for everyone when React 18 is ready!
##### Internal Tooling Updates
Our `master` branch now uses Yarn v2 for package management, is built with TypeScript, and we've made CI updates to test against multiple TS versions.
The `7.x` branch has also been updated to use Yarn v2 for consistency.
These only affect contributors to the React-Redux package itself.
#### Changelog
- Port entry point consolidation from 8.x branch ([#​1811](https://github.com/reduxjs/react-redux/issues/1811) - [@​markerikson](https://github.com/markerikson))
- Update v7 branch to use Yarn v2 and improve CI process ([#​1810](https://github.com/reduxjs/react-redux/issues/1810) - [@​markerikson](https://github.com/markerikson))
- Reduce unnecessary calls to useSelector selector ([#​1803](https://github.com/reduxjs/react-redux/issues/1803) - [@​sufian-slack](https://github.com/sufian-slack) )
- Port Subscription closure implementation from 8.x to 7.x ([#​1809](https://github.com/reduxjs/react-redux/issues/1809) - [@​mbelsky](https://github.com/mbelsky))
### [`v7.2.4`](https://github.com/reduxjs/react-redux/releases/tag/v7.2.4)
[Compare Source](https://github.com/reduxjs/react-redux/compare/v7.2.3...v7.2.4)
This release drops our dependency on the core `redux` package by inlining `bindActionCreators`, and tweaks `useSelector` to ensure that selectors aren't run an extra time while re-rendering.
#### Changelog
##### Redux Dependency Removal
React-Redux has always imported the `bindActionCreators` utility from the core `redux` package for use in `connect`. However, that meant that we had to have a peer dependency on `redux`, and this was the *only* reason we actually required that `redux` be installed. This became more annoying with the arrival of Redux Toolkit, which has its own dependency on `redux` internally, and thus users typically saw peer dependency warnings saying that "`redux` isn't listed as a dependency in your app".
Code reuse across separate packages is a great thing, but sometimes the right thing to do is duplicate code. So, we've inlined `bindActionCreators` directly into React-Redux, and we've completely dropped the dependency on Redux. This means that React-Redux will no longer produce a peerDep warning when used with Redux Toolkit, and `<Provider>` and `connect` really only need a Redux-store-compatible value to work right.
##### `useSelector` Fixes
Users reported that `useSelector` was re-running selector functions again unnecessarily while rendering after a dispatch. We've tweaked the logic to ensure that doesn't happen.
`useSelector` also now has checks in development to ensure that `selector` and `equalityFn` are functions.
#### Changes
- Remove wrapActionCreators ([#​1709](https://github.com/reduxjs/react-redux/issues/1709) - [@​xty](https://github.com/xty))
- Verify that selector and equalityF of useSelector are functions ([#​1706](https://github.com/reduxjs/react-redux/issues/1706) - [@​gshilin](https://github.com/gshilin))
- Import bindActionCreators from redux ([#​1705](https://github.com/reduxjs/react-redux/issues/1705) - [@​timdorr](https://github.com/timdorr))
- Don't re-run the selector after update ([#​1701](https://github.com/reduxjs/react-redux/issues/1701) - [@​timdorr](https://github.com/timdorr))
### [`v7.2.3`](https://github.com/reduxjs/react-redux/releases/tag/v7.2.3)
[Compare Source](https://github.com/reduxjs/react-redux/compare/v7.2.2...v7.2.3)
This release improves behavior in `useSelector` by returning the existing reference if the newly returned selector result passes the equality check, and adds a hard dependency on the `@types/react-redux` package to ensure TS users always have the typedefs installed.
#### Changes
##### `useSelector` Results Reuse
Issue [#​1654](https://github.com/reduxjs/react-redux/issues/1654) reported that `useSelector` was returning new references from a selector even if the equality comparison function returned `true`. This is because the equality check was only ever being performed during the action dispatch process.
We now run the equality comparison against the value calculated by the selector while rendering, and return the existing reference for consistency if the old and new values are considered equal. This should improve some cases where further derived values where being recalculated unnecessarily.
##### TS Types Now Included
React-Redux has always been written in plain JS, and the typedefs maintained by the community in DefinitelyTyped. We plan on eventually rewriting the library in TypeScript in a future React-Redux v8 release, but until then the types can stay in DT.
However, having to always manually install `@types/react-redux` is annoying, and some users have gotten confused by that. This release adds a hard dependency on `@types/react-redux`, so that if you install `react-redux`, you automatically get the types as well. This should simplify the process for TS users.
#### Docs Updates
We've made several docs updates recently:
- Renamed "Quick Start" to "Getting Started" and "Static Typing" to "Usage with TypeScript"
- Dropped the docs API versioning setup, as the legacy API version docs pages were rarely viewed and the versioning setup confused docs contributors
- Moved the old "Intro > Basic Tutorial" to "Tutorials > Connect" and marked it as semi-obsolete
We are currently working on a new React-Redux tutorial that will teach the React-Redux hooks as the primary approach, based on [the "UI and React" page in the Redux docs "Fundamentals" tutorial](https://redux.js.org/tutorials/fundamentals/part-5-ui-react).
#### Changelog
- Automatically install [@​types/react-redux](https://github.com/types/react-redux) as a dependency ([#​1699](https://github.com/reduxjs/react-redux/issues/1699) - [@​markerikson](https://github.com/markerikson) )
- Reuse latest selected state on selector re-run ([#​1654](https://github.com/reduxjs/react-redux/issues/1654)) ([#​1660](https://github.com/reduxjs/react-redux/issues/1660) - [@​otakustay](https://github.com/otakustay))
- Use useIsomorphicLayoutEffect in Provider for consistency ([#​1683](https://github.com/reduxjs/react-redux/issues/1683) - [@​speakingcode](https://github.com/speakingcode) )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42NC4wIiwidXBkYXRlZEluVmVyIjoiMzUuMTU5LjciLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIifQ==-->Michele AzzolariMichele Azzolarihttps://git.fluidware.it/fcub/fcub-fe/-/merge_requests/40Update dependency react-lazy-load-image-component to v1.6.02023-12-02T03:21:01ZRenovate BotUpdate dependency react-lazy-load-image-component to v1.6.0This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [react-lazy-load-image-component](https://github.com/Aljullu/react-lazy-load-image-component) | dependencies | minor | [`1.5.1` -> `1.6.0`]...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [react-lazy-load-image-component](https://github.com/Aljullu/react-lazy-load-image-component) | dependencies | minor | [`1.5.1` -> `1.6.0`](https://renovatebot.com/diffs/npm/react-lazy-load-image-component/1.5.1/1.6.0) |
---
### Release Notes
<details>
<summary>Aljullu/react-lazy-load-image-component (react-lazy-load-image-component)</summary>
### [`v1.6.0`](https://github.com/Aljullu/react-lazy-load-image-component/releases/tag/1.6.0)
[Compare Source](https://github.com/Aljullu/react-lazy-load-image-component/compare/1.5.6...1.6.0)
- Fix passing `onLoad` overwrites, and call `onLoad` inside `onImageLoad` ([#​120](https://github.com/Aljullu/react-lazy-load-image-component/issues/120), thanks [@​johnsonsu](https://github.com/johnsonsu)).
### [`v1.5.6`](https://github.com/Aljullu/react-lazy-load-image-component/releases/tag/1.5.6)
[Compare Source](https://github.com/Aljullu/react-lazy-load-image-component/compare/1.5.5...1.5.6)
- Handle case where the placeholder component might not be visible to avoid triggering an error ([#​115](https://github.com/Aljullu/react-lazy-load-image-component/issues/115), thanks [@​crisboarna](https://github.com/crisboarna)).
### [`v1.5.5`](https://github.com/Aljullu/react-lazy-load-image-component/releases/tag/1.5.5)
[Compare Source](https://github.com/Aljullu/react-lazy-load-image-component/compare/1.5.4...1.5.5)
- Fix SSR Warning in React 18: Prop style did not match ([#​104](https://github.com/Aljullu/react-lazy-load-image-component/issues/104), thanks [@​zakharovmikhail](https://github.com/zakharovmikhail)).
### [`v1.5.4`](https://github.com/Aljullu/react-lazy-load-image-component/releases/tag/1.5.4)
[Compare Source](https://github.com/Aljullu/react-lazy-load-image-component/compare/1.5.3...1.5.4)
- Support for React 18 ([#​100](https://github.com/Aljullu/react-lazy-load-image-component/issues/100), thanks [@​jussikinnula](https://github.com/jussikinnula))
### [`v1.5.3`](https://github.com/Aljullu/react-lazy-load-image-component/releases/tag/1.5.3)
[Compare Source](https://github.com/Aljullu/react-lazy-load-image-component/compare/1.5.2...1.5.3)
- Fix Jest warning in `trackWindowScroll()` ([#​97](https://github.com/Aljullu/react-lazy-load-image-component/issues/97), thanks [@​TimLehner](https://github.com/TimLehner)).
- Optimize `getScrollElement()` ([`b02d1e1`](https://github.com/Aljullu/react-lazy-load-image-component/commit/b02d1e1e381047eafc9fa373f138cabed746b1de)).
- Update dependencies ([`7559469`](https://github.com/Aljullu/react-lazy-load-image-component/commit/7559469b57721f24768fc49fab023a1ae9f09a38)).
- Enforce strict equalities ([`5ba7fe7`](https://github.com/Aljullu/react-lazy-load-image-component/commit/5ba7fe77b16ff465ea525c1d20ca40e475ddc083)).
### [`v1.5.2`](https://github.com/Aljullu/react-lazy-load-image-component/compare/1.5.1...1.5.2)
[Compare Source](https://github.com/Aljullu/react-lazy-load-image-component/compare/1.5.1...1.5.2)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42NC4wIiwidXBkYXRlZEluVmVyIjoiMzUuMTU5LjciLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIifQ==-->Michele AzzolariMichele Azzolarihttps://git.fluidware.it/fcub/fcub-fe/-/merge_requests/39Update dependency moment to v2.29.42023-12-02T03:20:51ZRenovate BotUpdate dependency moment to v2.29.4This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [moment](https://momentjs.com) ([source](https://github.com/moment/moment)) | dependencies | patch | [`2.29.1` -> `2.29.4`](https://renovat...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [moment](https://momentjs.com) ([source](https://github.com/moment/moment)) | dependencies | patch | [`2.29.1` -> `2.29.4`](https://renovatebot.com/diffs/npm/moment/2.29.1/2.29.4) |
---
### Release Notes
<details>
<summary>moment/moment (moment)</summary>
### [`v2.29.4`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2294)
[Compare Source](https://github.com/moment/moment/compare/2.29.3...2.29.4)
- Release Jul 6, 2022
- [#​6015](https://github.com/moment/moment/pull/6015) \[bugfix] Fix ReDoS in preprocessRFC2822 regex
### [`v2.29.3`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2293-Full-changelog)
[Compare Source](https://github.com/moment/moment/compare/2.29.2...2.29.3)
- Release Apr 17, 2022
- [#​5995](https://github.com/moment/moment/pull/5995) \[bugfix] Remove const usage
- [#​5990](https://github.com/moment/moment/pull/5990) misc: fix advisory link
### [`v2.29.2`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2292-See-full-changelog)
[Compare Source](https://github.com/moment/moment/compare/2.29.1...2.29.2)
- Release Apr 3 2022
Address https://github.com/moment/moment/security/advisories/GHSA-8hfj-j24r-96c4
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS40Ny4yIiwidXBkYXRlZEluVmVyIjoiMzUuMTU5LjciLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIifQ==-->Michele AzzolariMichele Azzolarihttps://git.fluidware.it/fcub/fcub-fe/-/merge_requests/37Update dependency react-redux to v8 - abandoned2023-12-05T03:08:43ZRenovate BotUpdate dependency react-redux to v8 - abandonedThis MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [react-redux](https://github.com/reduxjs/react-redux) | dependencies | major | [`^7.2.0` -> `^8.0.0`](https://renovatebot.com/diffs/npm/rea...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [react-redux](https://github.com/reduxjs/react-redux) | dependencies | major | [`^7.2.0` -> `^8.0.0`](https://renovatebot.com/diffs/npm/react-redux/7.2.2/8.1.3) |
---
### Release Notes
<details>
<summary>reduxjs/react-redux (react-redux)</summary>
### [`v8.1.3`](https://github.com/reduxjs/react-redux/releases/tag/v8.1.3)
[Compare Source](https://github.com/reduxjs/react-redux/compare/v8.1.2...v8.1.3)
This bugfix release fixes an issue with subscriptions being lost when lazy-loaded components are used with React Suspense, and includes stack traces in `useSelector` usage warnings .
#### What's Changed
- Add stack to dev mode checks by [@​EskiMojo14](https://github.com/EskiMojo14) in https://github.com/reduxjs/react-redux/pull/2064
- Fix useSelector() in combination with lazy loaded components breaks with react v18 ([#​1977](https://github.com/reduxjs/react-redux/issues/1977)) by [@​jeroenpx](https://github.com/jeroenpx) in https://github.com/reduxjs/react-redux/pull/2068
**Full Changelog**: https://github.com/reduxjs/react-redux/compare/v8.1.2...v8.1.3
### [`v8.1.2`](https://github.com/reduxjs/react-redux/releases/tag/v8.1.2)
[Compare Source](https://github.com/reduxjs/react-redux/compare/v8.1.1...v8.1.2)
This version changes imports from the React package to namespace imports so the package can safely be imported in React Server Components as long as you don't actually use it - this is for example important if you want to use the React-specifc `createApi` function from Redux Toolkit.
Some other changes:
- The behaviour of the "React Context Singletons" from 8.1.1 has been adjusted to also work if you have multiple React instances of the same version (those will now be separated) and if you are in an environment without `globalThis` (in this case it will fall back to the previous behaviour).
- We do no longer use Proxies, which should help with some very outdated consumers, e.g. smart TVs, that cannot even polyfill Proxies.
**Full Changelog**: https://github.com/reduxjs/react-redux/compare/v8.1.1...v8.1.2
### [`v8.1.1`](https://github.com/reduxjs/react-redux/releases/tag/v8.1.1)
[Compare Source](https://github.com/reduxjs/react-redux/compare/v8.1.0...v8.1.1)
This bugfix release tweaks the recent lazy context setup logic to ensure a single React context instance per React version, and removes the recently added RTK peerdep to fix an issue with Yarn workspaces.
#### Changelog
##### React Context Singletons
React Context has always relied on reference identity. If you have two different copies of React or a library in a page, that can cause multiple versions of a context instance to be created, leading to problems like the infamous "Could not find react-redux context" error.
In [v8.1.0](https://github.com/reduxjs/react-redux/releases/tag/v8.1.0), we reworked the internals to lazily create our single `ReactReduxContext` instance to avoid issues in a React Server Components environment.
This release further tweaks that to stash a single context instance per React version found in the page, thus hopefully avoiding the "multiple copies of the same context" error in the future.
#### What's Changed
- fix: fix typescript error on non exported type by [@​luzzif](https://github.com/luzzif) in https://github.com/reduxjs/react-redux/pull/2034
- create singleton context by React version by [@​phryneas](https://github.com/phryneas) in https://github.com/reduxjs/react-redux/pull/2039
- remove RTK peerDep by [@​markerikson](https://github.com/markerikson) in [`44fc725`](https://github.com/reduxjs/react-redux/commit/44fc725)
**Full Changelog**: https://github.com/reduxjs/react-redux/compare/v8.1.0...v8.1.1
### [`v8.1.0`](https://github.com/reduxjs/react-redux/releases/tag/v8.1.0)
[Compare Source](https://github.com/reduxjs/react-redux/compare/v8.0.7...v8.1.0)
This **feature release** adds new development-mode safety checks for common errors (like poorly-written selectors), adds a workaround to fix crash errors when React-Redux hooks are imported into React Server Component files, and updates our hooks API docs page with improved explanations and updated links.
#### Changelog
##### Development Mode Checks for `useSelector`
We've had a number of users tell us over time that it's common to accidentally write selectors that have bad behavior and cause performance issues. The most common causes of this are either selectors that unconditionally return a new reference (such as `state => state.todos.map()` without any memoization ), or selectors that actually return the *entire* root state ( `state => state` ).
We've updated `useSelector` to add safety checks in development mode that warn if these incorrect behaviors are detected:
- Selectors will be called twice with the same inputs, and `useSelector` will warn if the results are different references
- `useSelector` will warn if the selector result is actually the entire root `state`
By default, **these checks only run *once* the first time `useSelector` is called**. This should provide a good balance between detecting possible issues, and keeping development mode execution performant without adding many unnecessary extra selector calls.
If you want, you can configure this behavior globally by passing the enum flags directly to `<Provider>`, or on a per-`useSelector` basis by passing an options object as the second argument:
```ts
// Example: globally configure the root state "noop" check to run every time
<Provider store={store} noopCheck="always">
{children}
</Provider>
```
```ts
// Example: configure `useSelector` to specifically run the reference checks differently:
function Component() {
// Disable check entirely for this selector
const count = useSelector(selectCount, { stabilityCheck: 'never' })
// run once (default)
const user = useSelector(selectUser, { stabilityCheck: 'once' })
// ...
}
```
This goes along with the similar safety checks we've added to [Reselect v5 alpha](https://github.com/reduxjs/reselect/releases/tag/v5.0.0-alpha.2) as well.
##### Context Changes
We're still trying to work out how to properly use Redux and React Server Components together. One possibility is using RTK Query's `createApi` to define data fetching endpoints, and using the generated thunks to fetch data in RSCs, but it's still an open question.
However, users have reported that merely importing *any* React-Redux API in an RSC file causes a crash, because `React.createContext` is not defined in RSC files. RTKQ's React-specific `createApi` entry point imports React-Redux, so it's been unusable in RSCs.
This release adds a workaround to fix that issue, by using a proxy wrapper around our singleton `ReactReduxContext` instance and lazily creating that instance on demand. In testing, this appears to both continue to work in all unit tests, *and* fixes the import error in an RSC environment. We'd appreciate further feedback in case this change does cause any issues for anyone!
We've also tweaked the internals of the hooks to do checks for correct `<Provider>` usage when using a custom context, same as the default context checks.
##### Docs Updates
We've cleaned up some of the Hooks API reference page, and updated links to the React docs.
#### What's Changed
- check for Provider even when using custom context by [@​EskiMojo14](https://github.com/EskiMojo14) in https://github.com/reduxjs/react-redux/pull/1990
- Add a stability check, to see if selector returns stable result when called with same parameters. by [@​EskiMojo14](https://github.com/EskiMojo14) in https://github.com/reduxjs/react-redux/pull/2000
- Add an E2E-ish test that verifies behavior when imported into RSCs by [@​markerikson](https://github.com/markerikson) in https://github.com/reduxjs/react-redux/pull/2030
- lazily create Context for RSC compat by [@​phryneas](https://github.com/phryneas) in https://github.com/reduxjs/react-redux/pull/2025
- Add warning for selectors that return the entire state by [@​EskiMojo14](https://github.com/EskiMojo14) in https://github.com/reduxjs/react-redux/pull/2022
**Full Changelog**: https://github.com/reduxjs/react-redux/compare/v8.0.7...v8.1.0
### [`v8.0.7`](https://github.com/reduxjs/react-redux/releases/tag/v8.0.7)
[Compare Source](https://github.com/reduxjs/react-redux/compare/v8.0.6...v8.0.7)
This release updates the peer dependencies to accept Redux Toolkit, and accept the ongoing RTK and Redux core betas as valid peer deps.
> **Note**: These changes were initially in 8.0.6, but that had a typo in the peer deps that broke installation. Sorry!
#### What's Changed
- Bump Redux peer deps to accept 5.0 betas, and bump RTK dev dep by [@​markerikson](https://github.com/markerikson) in https://github.com/reduxjs/react-redux/pull/2017
- [`d45204f`](https://github.com/reduxjs/react-redux/commit/d45204f) : Fix broken RTK peer dep
**Full Changelog**: https://github.com/reduxjs/react-redux/compare/v8.0.5...v8.0.7
### [`v8.0.6`](https://github.com/reduxjs/react-redux/releases/tag/v8.0.6)
[Compare Source](https://github.com/reduxjs/react-redux/compare/v8.0.5...v8.0.6)
\~~This release updates the peer dependencies to accept Redux Toolkit, and accept the ongoing RTK and Redux core betas as valid peer deps.~~
**This release has a peer deps typo that breaks installation - please use 8.0.7 instead !**
#### What's Changed
- Bump Redux peer deps to accept 5.0 betas, and bump RTK dev dep by [@​markerikson](https://github.com/markerikson) in https://github.com/reduxjs/react-redux/pull/2017
**Full Changelog**: https://github.com/reduxjs/react-redux/compare/v8.0.5...v8.0.6
### [`v8.0.5`](https://github.com/reduxjs/react-redux/releases/tag/v8.0.5)
[Compare Source](https://github.com/reduxjs/react-redux/compare/v8.0.4...v8.0.5)
This release fixes a few minor TS issues.
#### What's Changed
- `Provider`: pass state (`S`) generic through to `ProviderProps` by [@​OliverJAsh](https://github.com/OliverJAsh) in https://github.com/reduxjs/react-redux/pull/1960
- wrap `equalityFn` type in `NoInfer` by [@​phryneas](https://github.com/phryneas) in https://github.com/reduxjs/react-redux/pull/1965
- Fix wrapped component prop types when passing nullish mapDispatchToProps by [@​marconi1992](https://github.com/marconi1992) in https://github.com/reduxjs/react-redux/pull/1928
**Full Changelog**: https://github.com/reduxjs/react-redux/compare/v8.0.4...v8.0.5
### [`v8.0.4`](https://github.com/reduxjs/react-redux/releases/tag/v8.0.4)
[Compare Source](https://github.com/reduxjs/react-redux/compare/v8.0.3...v8.0.4)
This patch release fixes some minor TS types issues, and updates the rarely-used `areStatesEqual` option for `connect` to now pass through `ownProps` for additional use in determining which pieces of state to compare if desired.
> **Note**: 8.0.3 was accidentally published without one of these fixes. Use 8.0.4 instead.
#### Changelog
##### TS Fixes
We've fixed an import of `React` that caused issues with the `allowSyntheticDefaultImports` TS compiler flag in user projects.
`connect` already accepted a custom context instance as `props.context`, and had runtime checks in case users were passing through a real value with app data as `props.context` instead. However, the TS types did not handle that case, and this would fail to compile. If your own component expects `props.context` with actual data, `connect`'s types now use that type instead.
The `ConnectedProps<T>` type had a mismatch with React's built-in `React.ComponentProps<Component>` type, and that should now work correctly.
##### Other Changes
The `areStatesEqual` option to `connect` now receives `ownProps` as well, in case you need to make a more specific comparison with certain sections of state.
The new signature is:
```ts
{
areStatesEqual?: (
nextState: State,
prevState: State,
nextOwnProps: TOwnProps,
prevOwnProps: TOwnProps
) => boolean
}
```
#### What's Changed
- Don't require allowSyntheticDefaultImports: true by [@​apepper](https://github.com/apepper) in https://github.com/reduxjs/react-redux/pull/1924
- Fixed type issue with `ComponentProps` from older `@types/react` by [@​Andarist](https://github.com/Andarist) in https://github.com/reduxjs/react-redux/pull/1956
- connect: pass ownProps to areStatesEqual by [@​jspurlin](https://github.com/jspurlin) in https://github.com/reduxjs/react-redux/pull/1951
- Omit built-in context prop if user component props include context by [@​markerikson](https://github.com/markerikson) in https://github.com/reduxjs/react-redux/pull/1958
**Full Changelog**: https://github.com/reduxjs/react-redux/compare/v8.0.2...v8.0.4
### [`v8.0.3`](https://github.com/reduxjs/react-redux/releases/tag/v8.0.3)
[Compare Source](https://github.com/reduxjs/react-redux/compare/v8.0.2...v8.0.3)
**This release was accidentally published without an intended fix - please use [v8.0.4](https://github.com/reduxjs/react-redux/releases/tag/v8.0.4) instead**
### [`v8.0.2`](https://github.com/reduxjs/react-redux/releases/tag/v8.0.2)
[Compare Source](https://github.com/reduxjs/react-redux/compare/v8.0.1...v8.0.2)
This patch release tweaks the behavior of `connect` to print a one-time warning when the obsolete `pure` option is passed in, rather than throwing an error. This fixes crashes caused by libraries such as `react-beautiful-dnd` continuing to pass in that option (unnecessarily) to React-Redux v8.
#### What's Changed
- Show warning instead of throwing error that pure option has been removed by [@​ApacheEx](https://github.com/ApacheEx) in https://github.com/reduxjs/react-redux/pull/1922
**Full Changelog**: https://github.com/reduxjs/react-redux/compare/v8.0.1...v8.0.2
### [`v8.0.1`](https://github.com/reduxjs/react-redux/releases/tag/v8.0.1)
[Compare Source](https://github.com/reduxjs/react-redux/compare/v8.0.0...v8.0.1)
This release fixes an incorrect internal import of our `Subscription` type, which was causing TS compilation errors in some user projects. We've also listed `@types/react-dom` as an optional peerDep. There are no runtime changes in this release.
#### What's Changed
- Add optional peer dependency on [@​types/react-dom](https://github.com/types/react-dom) by [@​Methuselah96](https://github.com/Methuselah96) in https://github.com/reduxjs/react-redux/pull/1904
- fix(ts): incorrect import of `Subscription` causes `noImplicitAny` error by [@​vicrep](https://github.com/vicrep) in https://github.com/reduxjs/react-redux/pull/1910
**Full Changelog**: https://github.com/reduxjs/react-redux/compare/v8.0.0...v8.0.1
### [`v8.0.0`](https://github.com/reduxjs/react-redux/releases/tag/v8.0.0)
[Compare Source](https://github.com/reduxjs/react-redux/compare/v7.2.9...v8.0.0)
This **major version** release updates `useSelector`, `connect`, and `<Provider>` for compatibility with React 18, rewrites the React-Redux codebase to TypeScript (obsoleting use of `@types/react-redux`), modernizes build output, and removes the deprecated `connectAdvanced` API and the `pure` option for `connect`.
npm i react-redux@latest
yarn add react-redux@latest
#### Overview, Compatibility, and Migration
Our public API is still the same ( `<Provider>`, `connect` and `useSelector/useDispatch`), but we've updated the internals to use the new `useSyncExternalStore` hook from React. React-Redux v8 is still compatible with all versions of React that have hooks (16.8+, 17.x, and 18.x; React Native 0.59+), and *should* just work out of the box.
In most cases, it's very likely that the only change you will need to make is bumping the package version to `"react-redux": "^8.0"`.
*If* you are using the rarely-used `connectAdvanced` API, you will need to rewrite your code to avoid that, likely by using the hooks API instead. Similarly, the `pure` option for `connect` has been removed.
If you are using Typescript, React-Redux is now written in TS and includes its own types. You should remove any dependencies on `@types/react-redux`.
While not directly tied to React-Redux, note that **the recently updated `@types/react@18` major version has changed component definitions to remove having `children` as a prop by default**. This causes errors if you have multiple copies of `@types/react` in your project. To fix this, tell your package manager to resolve `@types/react` to a single version. Details:
[**React issue #​24304: React 18 types broken since release**](https://github.com/facebook/react/issues/24304#issuecomment-1094565891)
Additionally, please see the React post on [**How to Ugprade to React 18**](https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html) for details on how to migrate existing apps to correctly use React 18 and take advantage of its new features.
#### Changelog
##### React 18 Compatibility
React-Redux now requires the new [`useSyncExternalStore` API in React 18](https://github.com/reactwg/react-18/discussions/86). By default, it uses the "shim" package which backfills that API in earlier React versions, so **React-Redux v8 is compatible with all React versions that have hooks** (16.8+, and React Native 0.59+) as its acceptable peer dependencies.
We'd especially like to thank the React team for their extensive support and cooperation during the `useSyncExternalStore` development effort. They specifically designed `useSyncExternalStore` to support the needs and use cases of React-Redux, and we used React-Redux v8 as a testbed for how `useSyncExternalStore` would behave and what it needed to cover. This in turn helped ensure that `useSyncExternalStore` would be useful and work correctly for other libraries in the ecosystem as well.
Our performance benchmarks show parity with React-Redux v7.2.5 for both `connect` and `useSelector`, so we do not anticipate any meaningful performance regressions.
##### `useSyncExternalStore` and Bundling
The `useSyncExternalStore` shim is imported directly in the main entry point, so it's *always* included in bundles even if you're using React 18. This adds roughly 600 bytes minified to your bundle size.
If you are using React 18 and would like to avoid that extra bundle cost, React-Redux now has a new `/next` entry point. This exports the exact same APIs, but directly imports `useSyncExternalStore` from React itself, and thus avoids including the shim. You can alias `"react-redux": "react-redux/next"` in your bundler to use that instead.
##### SSR and Hydration
React 18 introduces a new `hydrateRoot` method for hydrating the UI on the client in Server-Side Rendering usage. As part of that, the `useSyncExternalStore` API requires that we pass in an alternate state value other than what's in the actual Redux store, and that alternate value will be used for the entire initial hydration render to ensure the initial rehydrated UI is an exact match for what was rendered on the server. After the hydration render is complete, React will then apply any additional changes from the store state in a follow-up render.
React-Redux v8 supports this by adding a new `serverState` prop for `<Provider>`. If you're using SSR, you should pass your serialized state to `<Provider>` to ensure there are no hydration mismatch errors:
```ts
import { hydrateRoot } from 'react-dom/client'
import { configureStore } from '@​reduxjs/toolkit'
import { Provider } from 'react-redux'
const preloadedState = window.__PRELOADED_STATE__
const clientStore = configureStore({
reducer: rootReducer,
preloadedState,
})
hydrateRoot(
document.getElementById('root'),
<Provider store={clientStore} serverState={preloadedState}>
<App />
</Provider>
)
```
##### TypeScript Migration and Support
The React-Redux library source has always been written in plain JS, and the community maintained the TS typings separately as `@types/react-redux`.
We've (finally!) [migrated the React-Redux codebase to TypeScript](https://github.com/reduxjs/react-redux/issues/1737), using the existing typings as a starting point. This means that **the `@types/react-redux` package is no longer needed, and you should remove that as a dependency**.
> **Note** Please ensure that any installed copies of `redux` and `@types/react` are de-duped. You are also encouraged to update to the latest versions of Redux Toolkit (1.8.1+) or Redux (4.1.2), to ensure consistency between installed types and avoid problems from types mismatches.
We've tried to maintain the same external type signatures as much as possible. If you do see any compile problems, please file issues with any apparent TS-related problems so we can review them.
The TS migration was a great collaborative effort, with many community members contributing migrated files. Thank you to everyone who helped out!
In addition to the "pre-typed" `TypedUseSelectorHook`, there's now also a `Connect<State = unknown>` type that can be used as a "pre-typed" version of `connect` as well.
As part of the process, we also updated the repo to use Yarn 3, copied the typetests files from DefinitelyTyped and expanded them, and improved our CI setup to test against multiple TS versions.
##### Removal of the `DefaultRootState` type
The `@types/react-redux` package, which has always been maintained by the community, included a `DefaultRootState` interface that was intended for use with TS's "module augmentation" capability. Both `connect` and `useSelector` used this as a fallback if no state generic was provided. When we migrated React-Redux to TS, we copied over all of the types from that package as a starting point.
However, the Redux team [specifically considers use of a globally augmented state type to be an anti-pattern](https://github.com/reduxjs/react-redux/issues/1879). Instead, we direct users to [extract the `RootState` and `AppDispatch` types from the store setup](https://redux.js.org/tutorials/typescript-quick-start#define-root-state-and-dispatch-types), and [create pre-typed versions of the React-Redux hooks](https://redux.js.org/tutorials/typescript-quick-start#define-typed-hooks) for use in the app.
Now that React-Redux itself is written in TS, we've opted to remove the `DefaultRootState` type entirely. State generics now default to `unknown` instead.
Technically [the module augmentation approach can still be done in userland](https://github.com/reduxjs/react-redux/issues/1879#issuecomment-1073284804), but we discourage this practice.
##### Modernized Build Output
We've always targeted ES5 syntax in our published build artifacts as the lowest common denominator. Even the "ES module" artifacts with `import/export` keywords still were compiled to ES5 syntax otherwise.
With IE11 now effectively dead and many sites no longer supporting it, we've updated our build tooling to target a more modern syntax equivalent to ES2017, which shrinks the bundle size slightly.
If you still need to support ES5-only environments, please compile your own dependencies as needed for your target environment.
##### Removal of Legacy APIs
We announced in 2019 that [the legacy `connectAdvanced` API would be removed in the next major version](https://github.com/reduxjs/react-redux/issues/1236), as it was rarely used, added internal complexity, and was also basically irrelevant with the introduction of hooks. As promised, we've removed that API.
We've also removed the `pure` option for `connect`, which forced components to re-render regardless of whether props/state had actually changed if it was set to `false`. This option was needed in some cases in the early days of the React ecosystem, when components sometimes relied on external mutable data sources that could change outside of rendering. Today, no one writes components that way, the option was barely used, and React 18's `useSyncExternalStore` strictly requires immutable updates. So, we've removed the `pure` flag.
Given that both of these options were almost never used, this shouldn't meaningfully affect anyone.
#### Changes
Due to the TS migration effort and number of contributors, this list covers just the major changes:
- Integrate TypeScript port by [@​markerikson](https://github.com/markerikson) in https://github.com/reduxjs/react-redux/pull/1739
- Initial experimental React 18 compat prototyping by [@​markerikson](https://github.com/markerikson) in https://github.com/reduxjs/react-redux/pull/1808
- Fix compatibility with React 18 strict effects by [@​markerikson](https://github.com/markerikson) in https://github.com/reduxjs/react-redux/pull/1817
- Update to latest React 18 alpha dependencies by [@​markerikson](https://github.com/markerikson) in https://github.com/reduxjs/react-redux/pull/1834
- Port remaining v7 typetests and improve v8 types by [@​markerikson](https://github.com/markerikson) in https://github.com/reduxjs/react-redux/pull/1855
- Add initial SSR support for React 18 and React-Redux v8 by [@​markerikson](https://github.com/markerikson) in https://github.com/reduxjs/react-redux/pull/1835
- test: Adjust type tests to be compatible with React 18 typings by [@​eps1lon](https://github.com/eps1lon) in https://github.com/reduxjs/react-redux/pull/1868
- Switch back to Subscription in useSelector to fix unsubscribe perf by [@​markerikson](https://github.com/markerikson) in https://github.com/reduxjs/react-redux/pull/1870
- Cleanup more code after `pure` removal by [@​Andarist](https://github.com/Andarist) in https://github.com/reduxjs/react-redux/pull/1859
- Swap `useSyncExternalStore` shim behavior and update React deps by [@​markerikson](https://github.com/markerikson) in https://github.com/reduxjs/react-redux/pull/1884
- Remove `DefaultRootState` type by [@​markerikson](https://github.com/markerikson) in https://github.com/reduxjs/react-redux/pull/1887
- Add SSR test for `serverState` behavior by [@​markerikson](https://github.com/markerikson) in https://github.com/reduxjs/react-redux/pull/1888
- Cleanup internal types in selectorFactory.ts by [@​Methuselah96](https://github.com/Methuselah96) in https://github.com/reduxjs/react-redux/pull/1889
- Remove ts-ignore for initMergeProps by [@​Methuselah96](https://github.com/Methuselah96) in https://github.com/reduxjs/react-redux/pull/1891
- fix(deps): add optional peer deps into `peerDependencies` by [@​kyletsang](https://github.com/kyletsang) in https://github.com/reduxjs/react-redux/pull/1893
- Update peer deps for v8 by [@​markerikson](https://github.com/markerikson) in https://github.com/reduxjs/react-redux/pull/1895
- Port DT fix for `dispatchProp` arg in `mergeProps` by [@​markerikson](https://github.com/markerikson) in https://github.com/reduxjs/react-redux/pull/1897
- Update docs for v8 final by [@​markerikson](https://github.com/markerikson) in https://github.com/reduxjs/react-redux/pull/1902
### [`v7.2.9`](https://github.com/reduxjs/react-redux/releases/tag/v7.2.9)
[Compare Source](https://github.com/reduxjs/react-redux/compare/v7.2.8...v7.2.9)
This patch release updates the rarely-used `areStatesEqual` option for `connect` to now pass through `ownProps` for additional use in determining which pieces of state to compare if desired.
The new signature is:
```ts
{
areStatesEqual?: (
nextState: State,
prevState: State,
nextOwnProps: TOwnProps,
prevOwnProps: TOwnProps
) => boolean
}
```
#### What's Changed
- connect: pass ownProps to areStatesEqual by [@​jspurlin](https://github.com/jspurlin) in https://github.com/reduxjs/react-redux/pull/1952
**Full Changelog**: https://github.com/reduxjs/react-redux/compare/v7.2.8...v7.2.9
### [`v7.2.8`](https://github.com/reduxjs/react-redux/releases/tag/v7.2.8)
[Compare Source](https://github.com/reduxjs/react-redux/compare/v7.2.7...v7.2.8)
This release fixes a bug in the 7.x branch that caused `<Provider>` to unsubscribe and stop updating completely when used inside of React 18's `<StrictMode>`. The new "strict effects" behavior double-mounts components, and the subscription needed to be set up inside of a `useLayoutEffect` instead of a `useMemo`. This was previously fixed as part of v8 development, and we've backported it.
**Note**: If you are now using React 18, **we strongly recommend using [the React-Redux v8 beta instead of v7.x!](https://github.com/reduxjs/react-redux/releases/tag/v8.0.0-beta.3)**. v8 has been rewritten internally to work correctly with React 18's Concurrent Rendering capabilities. React-Redux v7 will run and generally work okay with existing code, but may have rendering issues if you start using Concurrent Rendering capabilities in your code.
Now that React 18 is out, we plan to finalize React-Redux v8 and release it live within the next couple weeks. Per [an update yesterday in the "v8 roadmap" thread](https://github.com/reduxjs/react-redux/issues/1740#issuecomment-1085190240), React-Redux v8 will be updated in the next couple days to ensure support for React 16.8+ as part of the next beta release. We would really appreciate final feedback on using React-Redux v8 beta with React 18 before we publish the final version.
**Full Changelog**: https://github.com/reduxjs/react-redux/compare/v7.2.7...v7.2.8
### [`v7.2.7`](https://github.com/reduxjs/react-redux/releases/tag/v7.2.7)
[Compare Source](https://github.com/reduxjs/react-redux/compare/v7.2.6...v7.2.7)
This release updates React-Redux v7's peer dependencies to accept React 18 as a valid version, *only* to avoid installation errors caused by NPM's "install all the peer deps and error if they don't match" behavior.
**Note**: If you are now using React 18, **we strongly recommend using [the React-Redux v8 beta instead of v7.x!](https://github.com/reduxjs/react-redux/releases/tag/v8.0.0-beta.3)**. v8 has been rewritten internally to work correctly with React 18's Concurrent Rendering capabilities. React-Redux v7 will run and generally work okay with existing code, but may have rendering issues if you start using Concurrent Rendering capabilities in your code.
Now that React 18 is out, we plan to finalize React-Redux v8 and release it live within the next couple weeks. We would really appreciate final feedback on using React-Redux v8 beta with React 18 before we publish the final version.
### [`v7.2.6`](https://github.com/reduxjs/react-redux/releases/tag/v7.2.6)
[Compare Source](https://github.com/reduxjs/react-redux/compare/v7.2.5...v7.2.6)
Just a quick fix for a Yarn install warning. Sorry about the noise!
#### [Changes](https://github.com/reduxjs/react-redux/compare/v7.2.5...v7.2.6)
- Remove `workspaces` from our package.json to silence a Yarn warning ([@​timdorr](https://github.com/timdorr))
### [`v7.2.5`](https://github.com/reduxjs/react-redux/releases/tag/v7.2.5)
[Compare Source](https://github.com/reduxjs/react-redux/compare/v7.2.4...v7.2.5)
This release shrinks the size of our internal `Subscription` class, and updates `useSelector` to avoid an unnecessary selector call on mount.
#### Changes
##### Subscription Size Refactor
Our internal `Subscription` implementation has been written as a class ever since it was added in v5. By rewriting it as a closure factory, we were able to shave a few bytes off the final bundle size.
##### `useSelector` Mount Optimization
A user noticed that `useSelector` had never been given an early "bail out if the root state is the same" check to match how `connect` works. This resulted in a usually-unnecessary second call to the provided selector on mount. We've added that check.
##### Entry Point Consolidation
We've consolidated the list of exported public APIs into a single file, and both the `index.js` and `alternate-renderers.js` entry points now re-export everything from that file. No meaningful change here, just shuffling lines of code around for consistency.
#### Other Updates
##### React-Redux v8 and React 18 Development
With [the announcement of React 18](https://github.com/reactwg/react-18/discussions/4), we've been working with the React team to plan our migration path to keep React-Redux fully compatible with React's upcoming features.
We've already [migrated the React-Redux main development branch to TypeScript](https://github.com/reduxjs/react-redux/issues/1737), and are [prototyping compatibility implementation updates](https://github.com/reduxjs/react-redux/pull/1808). We'd appreciate any assistance from the community in testing out these changes so that we can ensure React-Redux works great for everyone when React 18 is ready!
##### Internal Tooling Updates
Our `master` branch now uses Yarn v2 for package management, is built with TypeScript, and we've made CI updates to test against multiple TS versions.
The `7.x` branch has also been updated to use Yarn v2 for consistency.
These only affect contributors to the React-Redux package itself.
#### Changelog
- Port entry point consolidation from 8.x branch ([#​1811](https://github.com/reduxjs/react-redux/issues/1811) - [@​markerikson](https://github.com/markerikson))
- Update v7 branch to use Yarn v2 and improve CI process ([#​1810](https://github.com/reduxjs/react-redux/issues/1810) - [@​markerikson](https://github.com/markerikson))
- Reduce unnecessary calls to useSelector selector ([#​1803](https://github.com/reduxjs/react-redux/issues/1803) - [@​sufian-slack](https://github.com/sufian-slack) )
- Port Subscription closure implementation from 8.x to 7.x ([#​1809](https://github.com/reduxjs/react-redux/issues/1809) - [@​mbelsky](https://github.com/mbelsky))
### [`v7.2.4`](https://github.com/reduxjs/react-redux/releases/tag/v7.2.4)
[Compare Source](https://github.com/reduxjs/react-redux/compare/v7.2.3...v7.2.4)
This release drops our dependency on the core `redux` package by inlining `bindActionCreators`, and tweaks `useSelector` to ensure that selectors aren't run an extra time while re-rendering.
#### Changelog
##### Redux Dependency Removal
React-Redux has always imported the `bindActionCreators` utility from the core `redux` package for use in `connect`. However, that meant that we had to have a peer dependency on `redux`, and this was the *only* reason we actually required that `redux` be installed. This became more annoying with the arrival of Redux Toolkit, which has its own dependency on `redux` internally, and thus users typically saw peer dependency warnings saying that "`redux` isn't listed as a dependency in your app".
Code reuse across separate packages is a great thing, but sometimes the right thing to do is duplicate code. So, we've inlined `bindActionCreators` directly into React-Redux, and we've completely dropped the dependency on Redux. This means that React-Redux will no longer produce a peerDep warning when used with Redux Toolkit, and `<Provider>` and `connect` really only need a Redux-store-compatible value to work right.
##### `useSelector` Fixes
Users reported that `useSelector` was re-running selector functions again unnecessarily while rendering after a dispatch. We've tweaked the logic to ensure that doesn't happen.
`useSelector` also now has checks in development to ensure that `selector` and `equalityFn` are functions.
#### Changes
- Remove wrapActionCreators ([#​1709](https://github.com/reduxjs/react-redux/issues/1709) - [@​xty](https://github.com/xty))
- Verify that selector and equalityF of useSelector are functions ([#​1706](https://github.com/reduxjs/react-redux/issues/1706) - [@​gshilin](https://github.com/gshilin))
- Import bindActionCreators from redux ([#​1705](https://github.com/reduxjs/react-redux/issues/1705) - [@​timdorr](https://github.com/timdorr))
- Don't re-run the selector after update ([#​1701](https://github.com/reduxjs/react-redux/issues/1701) - [@​timdorr](https://github.com/timdorr))
### [`v7.2.3`](https://github.com/reduxjs/react-redux/releases/tag/v7.2.3)
[Compare Source](https://github.com/reduxjs/react-redux/compare/v7.2.2...v7.2.3)
This release improves behavior in `useSelector` by returning the existing reference if the newly returned selector result passes the equality check, and adds a hard dependency on the `@types/react-redux` package to ensure TS users always have the typedefs installed.
#### Changes
##### `useSelector` Results Reuse
Issue [#​1654](https://github.com/reduxjs/react-redux/issues/1654) reported that `useSelector` was returning new references from a selector even if the equality comparison function returned `true`. This is because the equality check was only ever being performed during the action dispatch process.
We now run the equality comparison against the value calculated by the selector while rendering, and return the existing reference for consistency if the old and new values are considered equal. This should improve some cases where further derived values where being recalculated unnecessarily.
##### TS Types Now Included
React-Redux has always been written in plain JS, and the typedefs maintained by the community in DefinitelyTyped. We plan on eventually rewriting the library in TypeScript in a future React-Redux v8 release, but until then the types can stay in DT.
However, having to always manually install `@types/react-redux` is annoying, and some users have gotten confused by that. This release adds a hard dependency on `@types/react-redux`, so that if you install `react-redux`, you automatically get the types as well. This should simplify the process for TS users.
#### Docs Updates
We've made several docs updates recently:
- Renamed "Quick Start" to "Getting Started" and "Static Typing" to "Usage with TypeScript"
- Dropped the docs API versioning setup, as the legacy API version docs pages were rarely viewed and the versioning setup confused docs contributors
- Moved the old "Intro > Basic Tutorial" to "Tutorials > Connect" and marked it as semi-obsolete
We are currently working on a new React-Redux tutorial that will teach the React-Redux hooks as the primary approach, based on [the "UI and React" page in the Redux docs "Fundamentals" tutorial](https://redux.js.org/tutorials/fundamentals/part-5-ui-react).
#### Changelog
- Automatically install [@​types/react-redux](https://github.com/types/react-redux) as a dependency ([#​1699](https://github.com/reduxjs/react-redux/issues/1699) - [@​markerikson](https://github.com/markerikson) )
- Reuse latest selected state on selector re-run ([#​1654](https://github.com/reduxjs/react-redux/issues/1654)) ([#​1660](https://github.com/reduxjs/react-redux/issues/1660) - [@​otakustay](https://github.com/otakustay))
- Use useIsomorphicLayoutEffect in Provider for consistency ([#​1683](https://github.com/reduxjs/react-redux/issues/1683) - [@​speakingcode](https://github.com/speakingcode) )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC44LjAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4yLjAiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIifQ==-->Michele AzzolariMichele Azzolarihttps://git.fluidware.it/fcub/fcub-fe/-/merge_requests/36Update dependency react-leaflet to v42023-12-02T03:21:10ZRenovate BotUpdate dependency react-leaflet to v4This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [react-leaflet](https://react-leaflet.js.org) ([source](https://github.com/PaulLeCam/react-leaflet)) | dependencies | major | [`^2.8.0` -> ...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [react-leaflet](https://react-leaflet.js.org) ([source](https://github.com/PaulLeCam/react-leaflet)) | dependencies | major | [`^2.8.0` -> `^4.0.0`](https://renovatebot.com/diffs/npm/react-leaflet/2.8.0/4.2.1) |
---
### Release Notes
<details>
<summary>PaulLeCam/react-leaflet (react-leaflet)</summary>
### [`v4.2.1`](https://github.com/PaulLeCam/react-leaflet/blob/HEAD/CHANGELOG.md#v421-2023-02-28)
[Compare Source](https://github.com/PaulLeCam/react-leaflet/compare/v4.2.0...v4.2.1)
Fixed bounds update in `ImageOverlay`
([MR #​1063](https://github.com/PaulLeCam/react-leaflet/pull/1063) by
[hwonyo](https://github.com/hwonyo))
### [`v4.2.0`](https://github.com/PaulLeCam/react-leaflet/blob/HEAD/CHANGELOG.md#v420-2022-11-27)
[Compare Source](https://github.com/PaulLeCam/react-leaflet/compare/v4.1.0...v4.2.0)
Added support for mutable `url` prop on `TileLayer`
([MR #​1047](https://github.com/PaulLeCam/react-leaflet/pull/1047) by
[goto-bus-stop](https://github.com/goto-bus-stop))
### [`v4.1.0`](https://github.com/PaulLeCam/react-leaflet/blob/HEAD/CHANGELOG.md#v410-2022-09-24)
[Compare Source](https://github.com/PaulLeCam/react-leaflet/compare/v4.0.2...v4.1.0)
- Updated Leaflet dependency to v1.9.
- Fixed `eventHandlers` object being injected in WMS request URL.
- Added support for dynamic `bounds` props on `ImageOverlay`.
### [`v4.0.2`](https://github.com/PaulLeCam/react-leaflet/blob/HEAD/CHANGELOG.md#v402-2022-08-22)
[Compare Source](https://github.com/PaulLeCam/react-leaflet/compare/v4.0.1...v4.0.2)
- Fix typos in getting started docs
([MR #​1013](https://github.com/PaulLeCam/react-leaflet/pull/1013) by
[jacobtylerwalls](https://github.com/jacobtylerwalls))
- Fixing useRef() usage in createElementHook to prevent unnecessary Leaflet
object creation
([MR #​1014](https://github.com/PaulLeCam/react-leaflet/pull/1014) by
[abac](https://github.com/abac))
### [`v4.0.1`](https://github.com/PaulLeCam/react-leaflet/blob/HEAD/CHANGELOG.md#v401-2022-06-25)
[Compare Source](https://github.com/PaulLeCam/react-leaflet/compare/v4.0.0...v4.0.1)
Fix calling `map.remove()` on `MapContainer` unmounting.
### [`v4.0.0`](https://github.com/PaulLeCam/react-leaflet/blob/HEAD/CHANGELOG.md#v400-2022-04-18)
[Compare Source](https://github.com/PaulLeCam/react-leaflet/compare/v3.2.5...v4.0.0)
Changes from v3:
##### Breaking changes
- React v18 and Leaflet v1.8 are now required as peer dependency.
- ES2020 is the new compilation target version.
- Removed `useMapElement` hook.
- Removed `MapConsumer` component.
- Removed `whenCreated` property from the `MapContainer` component (a `ref`
callback can be used instead).
- Removed `onOpen` and `onClose` properties from `Popup` and `Tooltip`
components.
- Removed CommonJS distribution.
- Removed UMD distribution.
##### Other changes
- Added support for React v18 (concurrent mode).
- Added support for `ref` in the `MapContainer` and `Pane` components.
- Added `createLeafletContext` function to core.
- The created element and context objects are now frozen (immutable).
### [`v3.2.5`](https://github.com/PaulLeCam/react-leaflet/releases/tag/v3.2.5)
[Compare Source](https://github.com/PaulLeCam/react-leaflet/compare/v3.2.4...v3.2.5)
Fix supporting mutable `whenCreated` with unmounting `MapContainer`.
### [`v3.2.4`](https://github.com/PaulLeCam/react-leaflet/releases/tag/v3.2.4)
[Compare Source](https://github.com/PaulLeCam/react-leaflet/compare/v3.2.3...v3.2.4)
Fix removing the map handlers when `MapContainer` is unmounted.
### [`v3.2.3`](https://github.com/PaulLeCam/react-leaflet/releases/tag/v3.2.3)
[Compare Source](https://github.com/PaulLeCam/react-leaflet/compare/v3.2.2...v3.2.3)
- Fix tooltip position ([MR #​939](https://github.com/PaulLeCam/react-leaflet/pull/939) by [simonasdev](https://github.com/simonasdev)).
- Fix attribution URLs and use HTTPS in docs ([MR #​930](https://github.com/PaulLeCam/react-leaflet/pull/930) by [jpstotz](https://github.com/jpstotz)).
### [`v3.2.2`](https://github.com/PaulLeCam/react-leaflet/releases/tag/v3.2.2)
[Compare Source](https://github.com/PaulLeCam/react-leaflet/compare/v3.2.1...v3.2.2)
Fix layer unmount ([MR #​916](https://github.com/PaulLeCam/react-leaflet/pull/916) by [piitaya](https://github.com/piitaya)).
### [`v3.2.1`](https://github.com/PaulLeCam/react-leaflet/releases/tag/v3.2.1)
[Compare Source](https://github.com/PaulLeCam/react-leaflet/compare/v3.2.0...v3.2.1)
- Fix `Popup` unmounting logic to unbind from container.
- Fix links to point to Leaflet 1.7.1 docs ([MR #​889](https://github.com/PaulLeCam/react-leaflet/pull/889) by [zerekw](https://github.com/zerekw)).
### [`v3.2.0`](https://github.com/PaulLeCam/react-leaflet/releases/tag/v3.2.0)
[Compare Source](https://github.com/PaulLeCam/react-leaflet/compare/v3.1.0...v3.2.0)
- Change unmounting logic for some layers, which should fix issues related to removing or updating elements.
- Make the `style` prop of `GeoJSON` mutable, this prop should be used instead of `pathOptions` (`pathOptions` can still be used but should be considered deprecated).
- Fix documentation about `bounds` prop being an instance of `LatLngBounds`.
### [`v3.1.0`](https://github.com/PaulLeCam/react-leaflet/releases/tag/v3.1.0)
[Compare Source](https://github.com/PaulLeCam/react-leaflet/compare/v3.0.5...v3.1.0)
- Make `Pane` component compatible with React's `StrictMode` ([MR #​810](https://github.com/PaulLeCam/react-leaflet/pull/810) by [zmbc](https://github.com/zmbc))
- Fix typo in API Components docs ([MR #​827](https://github.com/PaulLeCam/react-leaflet/pull/827) by [arthurdenner](https://github.com/arthurdenner))
### [`v3.0.5`](https://github.com/PaulLeCam/react-leaflet/releases/tag/v3.0.5)
[Compare Source](https://github.com/PaulLeCam/react-leaflet/compare/v3.0.4...v3.0.5)
Use `useState` hook rather than `useMemo` to store immutable values in `MapContainer` and `Pane`.
### [`v3.0.4`](https://github.com/PaulLeCam/react-leaflet/releases/tag/v3.0.4): v3.0.3/3.0.4
- Document pathOptions for GeoJSON ([MR #​785](https://github.com/PaulLeCam/react-leaflet/pull/785) by [bb](https://github.com/bb))
- Ensure `MapContainer` props are immutable
- Fix TypeScript definition for `MapContainer` props
- Update README
### [`v3.0.2`](https://github.com/PaulLeCam/react-leaflet/releases/tag/v3.0.2)
[Compare Source](https://github.com/PaulLeCam/react-leaflet/compare/v3.0.1...v3.0.2)
Additional fixes for panes support
### [`v3.0.1`](https://github.com/PaulLeCam/react-leaflet/releases/tag/v3.0.1)
[Compare Source](https://github.com/PaulLeCam/react-leaflet/compare/v3.0.0...v3.0.1)
- Fixed `pane` prop support
- Use standard SPDX license name ([MR #​781](https://github.com/PaulLeCam/react-leaflet/pull/781) by [nertzy](https://github.com/nertzy))
### [`v3.0.0`](https://github.com/PaulLeCam/react-leaflet/releases/tag/v3.0.0)
[Compare Source](https://github.com/PaulLeCam/react-leaflet/compare/v2.8.0...v3.0.0)
v3 is a full rewrite of React Leaflet and contains breaking change from v2.
- Full rewrite based on [React Hooks](https://reactjs.org/docs/hooks-intro.html) (no more extending `Component`)
- Replace Flow by TypeScript for type checking
- Drop IE support (Babel config will only target the "last 2 versions" of modern browsers)
- Switch to the [Hippocratic License](https://firstdonoharm.dev/)
- The `Map` component is replaced by [`MapContainer`](https://react-leaflet.js.org/docs/api-map#mapcontainer), behaving differently
- Event handlers must be attached using the [`eventHandlers prop`](https://react-leaflet.js.org/docs/api-components#evented-behavior) rather than `on*` props, with a similar change for [path options](https://react-leaflet.js.org/docs/api-components#path-behavior) and [WMS params](https://react-leaflet.js.org/docs/api-components#wmstilelayer)
- The `react-leaflet` package only exposes a [public API](https://react-leaflet.js.org/docs/api-map) while a new package, `@react-leaflet/core`, is used to provide the [core APIs](https://react-leaflet.js.org/docs/core-introduction)
- A new documentation website using [Docusaurus v2](https://v2.docusaurus.io/) with live examples
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC44LjAiLCJ1cGRhdGVkSW5WZXIiOiIzNS4xNTkuNyIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->Michele AzzolariMichele Azzolarihttps://git.fluidware.it/fcub/fcub-fe/-/merge_requests/35Update dependency react-bootstrap to v2 - abandoned2023-12-02T06:38:34ZRenovate BotUpdate dependency react-bootstrap to v2 - abandonedThis MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [react-bootstrap](https://react-bootstrap.github.io/) ([source](https://github.com/react-bootstrap/react-bootstrap)) | dependencies | major...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [react-bootstrap](https://react-bootstrap.github.io/) ([source](https://github.com/react-bootstrap/react-bootstrap)) | dependencies | major | [`^1.0.0-beta.10` -> `^2.0.0`](https://renovatebot.com/diffs/npm/react-bootstrap/1.5.0/2.9.1) |
---
### Release Notes
<details>
<summary>react-bootstrap/react-bootstrap (react-bootstrap)</summary>
### [`v2.9.1`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#291-2023-10-21)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v2.9.0...v2.9.1)
##### Bug Fixes
- **OverlayTrigger:** convert to an arrow function to fix type issues ([#​6709](https://github.com/react-bootstrap/react-bootstrap/issues/6709)) ([4e609e2](https://github.com/react-bootstrap/react-bootstrap/commit/4e609e2aa69389a6b7be2d55ed8ee4b8572cb93e)), closes [#​6708](https://github.com/react-bootstrap/react-bootstrap/issues/6708) [#​6708](https://github.com/react-bootstrap/react-bootstrap/issues/6708)
- **types:** loosen color and gap types ([#​6713](https://github.com/react-bootstrap/react-bootstrap/issues/6713)) ([91fb12b](https://github.com/react-bootstrap/react-bootstrap/commit/91fb12b46d705129f0143d9cbede7f2f82a4ad36))
### [`v2.9.0`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#290-2023-09-27)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v2.8.0...v2.9.0)
##### Features
- **Toast:** add transition callbacks ([#​6674](https://github.com/react-bootstrap/react-bootstrap/issues/6674)) ([57836e2](https://github.com/react-bootstrap/react-bootstrap/commit/57836e20a3b5f7999469a307f0600c2e38403eb0))
### [`v2.8.0`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#280-2023-06-23)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v2.7.4...v2.8.0)
##### Bug Fixes
- **Tooltip:** fix offset ([#​6622](https://github.com/react-bootstrap/react-bootstrap/issues/6622)) ([3c094ec](https://github.com/react-bootstrap/react-bootstrap/commit/3c094ec1ba132c6555bd3e2033fa6b21fff93a23))
##### Features
- **PageItem:** add linkStyle and linkClassName props ([#​6636](https://github.com/react-bootstrap/react-bootstrap/issues/6636)) ([cc8efc3](https://github.com/react-bootstrap/react-bootstrap/commit/cc8efc36b945fccaf384c6909d0652b480f6b759))
- add underline variant for Nav/Tabs ([#​6623](https://github.com/react-bootstrap/react-bootstrap/issues/6623)) ([600364b](https://github.com/react-bootstrap/react-bootstrap/commit/600364bcdba27eb896f65575ccc0424cdbb79069))
#### [2.7.4](https://github.com/react-bootstrap/react-bootstrap/compare/v2.7.3...v2.7.4) (2023-04-15)
##### Bug Fixes
- downgrade uncontrollable to 7.2.1 ([#​6592](https://github.com/react-bootstrap/react-bootstrap/issues/6592)) ([3898c72](https://github.com/react-bootstrap/react-bootstrap/commit/3898c72a6a5e2f6012633e81d9d9f9052fc06dd2))
- update dependencies ([#​6587](https://github.com/react-bootstrap/react-bootstrap/issues/6587)) ([753dc53](https://github.com/react-bootstrap/react-bootstrap/commit/753dc53c822054fff286ed39feb7c9c38e38053b))
#### [2.7.3](https://github.com/react-bootstrap/react-bootstrap/compare/v2.7.2...v2.7.3) (2023-04-12)
##### Bug Fixes
- **ToastContainer:** allow setting `containerPosition` without `position` ([#​6574](https://github.com/react-bootstrap/react-bootstrap/issues/6574)) ([41ec134](https://github.com/react-bootstrap/react-bootstrap/commit/41ec134dea072d1656e47f31cac217feb433f9fc))
- switch from defaultProps to JS default params ([#​6568](https://github.com/react-bootstrap/react-bootstrap/issues/6568)) ([1d5b726](https://github.com/react-bootstrap/react-bootstrap/commit/1d5b726de93ec52cd71b22048b5f92198e48db68))
#### [2.7.2](https://github.com/react-bootstrap/react-bootstrap/compare/v2.7.1...v2.7.2) (2023-02-14)
##### Bug Fixes
- **Overlay:** fix arrow animation ([#​6551](https://github.com/react-bootstrap/react-bootstrap/issues/6551)) ([21b9981](https://github.com/react-bootstrap/react-bootstrap/commit/21b9981359b151269af740d1fa4c8a287ae9c71f))
#### [2.7.1](https://github.com/react-bootstrap/react-bootstrap/compare/v2.7.0...v2.7.1) (2023-02-10)
##### Bug Fixes
- **Accordion:** fix `aria-expanded` value when using `alwaysOpen` ([#​6537](https://github.com/react-bootstrap/react-bootstrap/issues/6537)) ([7f633bf](https://github.com/react-bootstrap/react-bootstrap/commit/7f633bf31ed4771c97904df4bb9567900ad4e96c)), closes [#​6536](https://github.com/react-bootstrap/react-bootstrap/issues/6536) [#​6536](https://github.com/react-bootstrap/react-bootstrap/issues/6536)
- **Overlay:** fix flickering of tooltips and popovers during initial render ([#​6544](https://github.com/react-bootstrap/react-bootstrap/issues/6544)) ([821624d](https://github.com/react-bootstrap/react-bootstrap/commit/821624d432d346d1f2f52d625eb484b70ba786e6))
- **Stack:** fix incorrect classes being generated ([#​6540](https://github.com/react-bootstrap/react-bootstrap/issues/6540)) ([e3a77e1](https://github.com/react-bootstrap/react-bootstrap/commit/e3a77e1938baa3d5b000a5aabfc034992ac615d5))
### [`v2.7.4`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#274-2023-04-15)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v2.7.3...v2.7.4)
##### Bug Fixes
- downgrade uncontrollable to 7.2.1 ([#​6592](https://github.com/react-bootstrap/react-bootstrap/issues/6592)) ([3898c72](https://github.com/react-bootstrap/react-bootstrap/commit/3898c72a6a5e2f6012633e81d9d9f9052fc06dd2))
- update dependencies ([#​6587](https://github.com/react-bootstrap/react-bootstrap/issues/6587)) ([753dc53](https://github.com/react-bootstrap/react-bootstrap/commit/753dc53c822054fff286ed39feb7c9c38e38053b))
### [`v2.7.3`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#273-2023-04-12)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v2.7.2...v2.7.3)
##### Bug Fixes
- **ToastContainer:** allow setting `containerPosition` without `position` ([#​6574](https://github.com/react-bootstrap/react-bootstrap/issues/6574)) ([41ec134](https://github.com/react-bootstrap/react-bootstrap/commit/41ec134dea072d1656e47f31cac217feb433f9fc))
- switch from defaultProps to JS default params ([#​6568](https://github.com/react-bootstrap/react-bootstrap/issues/6568)) ([1d5b726](https://github.com/react-bootstrap/react-bootstrap/commit/1d5b726de93ec52cd71b22048b5f92198e48db68))
### [`v2.7.2`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#272-2023-02-14)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v2.7.1...v2.7.2)
##### Bug Fixes
- **Overlay:** fix arrow animation ([#​6551](https://github.com/react-bootstrap/react-bootstrap/issues/6551)) ([21b9981](https://github.com/react-bootstrap/react-bootstrap/commit/21b9981359b151269af740d1fa4c8a287ae9c71f))
### [`v2.7.1`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#271-2023-02-10)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v2.7.0...v2.7.1)
##### Bug Fixes
- **Accordion:** fix `aria-expanded` value when using `alwaysOpen` ([#​6537](https://github.com/react-bootstrap/react-bootstrap/issues/6537)) ([7f633bf](https://github.com/react-bootstrap/react-bootstrap/commit/7f633bf31ed4771c97904df4bb9567900ad4e96c)), closes [#​6536](https://github.com/react-bootstrap/react-bootstrap/issues/6536) [#​6536](https://github.com/react-bootstrap/react-bootstrap/issues/6536)
- **Overlay:** fix flickering of tooltips and popovers during initial render ([#​6544](https://github.com/react-bootstrap/react-bootstrap/issues/6544)) ([821624d](https://github.com/react-bootstrap/react-bootstrap/commit/821624d432d346d1f2f52d625eb484b70ba786e6))
- **Stack:** fix incorrect classes being generated ([#​6540](https://github.com/react-bootstrap/react-bootstrap/issues/6540)) ([e3a77e1](https://github.com/react-bootstrap/react-bootstrap/commit/e3a77e1938baa3d5b000a5aabfc034992ac615d5))
### [`v2.7.0`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#270-2022-12-07)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v2.6.0...v2.7.0)
##### Bug Fixes
- **Dropdown:** fic missing .show class on dropdown toggle when active ([#​6508](https://github.com/react-bootstrap/react-bootstrap/issues/6508)) ([eaa4bb9](https://github.com/react-bootstrap/react-bootstrap/commit/eaa4bb999f03a2bbb6ad0cb51dd4aa040cb96cfd))
- **Modal:** fix modal not closing when keyboard=false ([#​6515](https://github.com/react-bootstrap/react-bootstrap/issues/6515)) ([92703d5](https://github.com/react-bootstrap/react-bootstrap/commit/92703d5e3d8558e0a9599512c832adf9b0d37a25))
##### Features
- **AccordionBody:** add transition callback props ([#​6478](https://github.com/react-bootstrap/react-bootstrap/issues/6478)) ([ba092df](https://github.com/react-bootstrap/react-bootstrap/commit/ba092df063e024615c3f0d43f8b0681543e71b94))
- **Dropdown:** add support for centered dropdown menus ([#​6490](https://github.com/react-bootstrap/react-bootstrap/issues/6490)) ([500ee94](https://github.com/react-bootstrap/react-bootstrap/commit/500ee94086fa7ddbea9a613c49908ad51cc67e96))
- **Ratio:** add support for portrait size ratios ([#​6501](https://github.com/react-bootstrap/react-bootstrap/issues/6501)) ([3cfdab1](https://github.com/react-bootstrap/react-bootstrap/commit/3cfdab16dc4a51ecd648341921d93edd28b3deb2))
### [`v2.6.0`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#260-2022-11-06)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v2.5.0...v2.6.0)
##### Bug Fixes
- update [@​restart/ui](https://github.com/restart/ui) to 1.4.0 ([#​6479](https://github.com/react-bootstrap/react-bootstrap/issues/6479)) ([e38deae](https://github.com/react-bootstrap/react-bootstrap/commit/e38deae002093a4e08a9cd7e7cc76ab8f2508b98))
- update [@​restart/ui](https://github.com/restart/ui) to 1.4.1 ([#​6481](https://github.com/react-bootstrap/react-bootstrap/issues/6481)) ([a42c8de](https://github.com/react-bootstrap/react-bootstrap/commit/a42c8de3c6ff659bb37838b24a89771e67d841b7))
- **ListGroupItem:** prevent a div with a href ([#​6462](https://github.com/react-bootstrap/react-bootstrap/issues/6462)) ([c4b15a3](https://github.com/react-bootstrap/react-bootstrap/commit/c4b15a3bdb2f4f9ade1fcf46008543e87959d75e))
- **Modal:** apply 'show' class when animation = false ([#​6447](https://github.com/react-bootstrap/react-bootstrap/issues/6447)) ([8f5e903](https://github.com/react-bootstrap/react-bootstrap/commit/8f5e903765d32fc43d782616e25ab75b375bee6a))
- **PageItem:** remove disabled attribute on span ([#​6455](https://github.com/react-bootstrap/react-bootstrap/issues/6455)) ([249c178](https://github.com/react-bootstrap/react-bootstrap/commit/249c1785e32e7c9dfe2ff442f88fe2d73046b8ab))
- **types:** fix type of 'safeFindDOMNode' function ([#​6465](https://github.com/react-bootstrap/react-bootstrap/issues/6465)) ([f2f1847](https://github.com/react-bootstrap/react-bootstrap/commit/f2f18473e26cc90919034ed3198de46b2cb15833))
##### Features
- **Spinner:** make the animation default to border ([#​6468](https://github.com/react-bootstrap/react-bootstrap/issues/6468)) ([fb3e4d5](https://github.com/react-bootstrap/react-bootstrap/commit/fb3e4d5338567a7ae5b679d258dca5b7d813c89c))
### [`v2.5.0`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#250-2022-08-05)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v2.4.0...v2.5.0)
##### Bug Fixes
- **Offcanvas:** prevent children mounting twice on show when not responsive ([#​6416](https://github.com/react-bootstrap/react-bootstrap/issues/6416)) ([e2c4eeb](https://github.com/react-bootstrap/react-bootstrap/commit/e2c4eeba38b9e44642bd10daaa1d268d5fc98ea6))
- ensure consistent API for custom variants ([#​6398](https://github.com/react-bootstrap/react-bootstrap/issues/6398)) ([8a81903](https://github.com/react-bootstrap/react-bootstrap/commit/8a8190310a5cac9bd9ea7ac1179950b602f7b3c7))
- update [@​restart/ui](https://github.com/restart/ui) to 1.3.1 ([#​6408](https://github.com/react-bootstrap/react-bootstrap/issues/6408)) ([a49d435](https://github.com/react-bootstrap/react-bootstrap/commit/a49d4350899f432e61299ade40900d73174ff0e5))
### [`v2.4.0`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#240-2022-05-13)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v2.3.1...v2.4.0)
##### Features
- **ToastContainer:** add `containerPosition` prop ([#​6316](https://github.com/react-bootstrap/react-bootstrap/issues/6316)) ([9815957](https://github.com/react-bootstrap/react-bootstrap/commit/9815957898c6f59a6df89f1aec847a67482af4d6))
#### [2.3.1](https://github.com/react-bootstrap/react-bootstrap/compare/v2.3.0...v2.3.1) (2022-04-28)
##### Bug Fixes
- **NavbarOffcanvas:** fix rendering of nav items when expand is used ([#​6310](https://github.com/react-bootstrap/react-bootstrap/issues/6310)) ([63869f9](https://github.com/react-bootstrap/react-bootstrap/commit/63869f923995d3897c3e4f3d77433cf8a3f6505e))
- **TabPane:** omit Transition when prop is false ([#​6305](https://github.com/react-bootstrap/react-bootstrap/issues/6305)) ([1c71e9e](https://github.com/react-bootstrap/react-bootstrap/commit/1c71e9ecc8a8bf5d9e90ea61dcaa1635d7eb8712))
### [`v2.3.1`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#231-2022-04-28)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v2.3.0...v2.3.1)
##### Bug Fixes
- **NavbarOffcanvas:** fix rendering of nav items when expand is used ([#​6310](https://github.com/react-bootstrap/react-bootstrap/issues/6310)) ([63869f9](https://github.com/react-bootstrap/react-bootstrap/commit/63869f923995d3897c3e4f3d77433cf8a3f6505e))
- **TabPane:** omit Transition when prop is false ([#​6305](https://github.com/react-bootstrap/react-bootstrap/issues/6305)) ([1c71e9e](https://github.com/react-bootstrap/react-bootstrap/commit/1c71e9ecc8a8bf5d9e90ea61dcaa1635d7eb8712))
### [`v2.3.0`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#230-2022-04-19)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v2.2.3...v2.3.0)
##### Bug Fixes
- **deps:** clean up [@​types](https://github.com/types) deps list ([#​6303](https://github.com/react-bootstrap/react-bootstrap/issues/6303)) ([609c678](https://github.com/react-bootstrap/react-bootstrap/commit/609c678244a06ad4f7df0e03518ece19c2e97a73))
##### Features
- **Pagination:** Wrap Pagination sub-components in forward refs ([#​6306](https://github.com/react-bootstrap/react-bootstrap/issues/6306)) ([2686ae3](https://github.com/react-bootstrap/react-bootstrap/commit/2686ae381c61ee298e1bd7e2cbae10abc31df2dc))
#### [2.2.3](https://github.com/react-bootstrap/react-bootstrap/compare/v2.2.2...v2.2.3) (2022-04-05)
##### Bug Fixes
- bump [@​restart/hooks](https://github.com/restart/hooks) to v0.4.6 ([#​6294](https://github.com/react-bootstrap/react-bootstrap/issues/6294)) ([dceb74b](https://github.com/react-bootstrap/react-bootstrap/commit/dceb74b2c0d81b71265410a1b3c85802bed14c68))
#### [2.2.2](https://github.com/react-bootstrap/react-bootstrap/compare/v2.2.1...v2.2.2) (2022-03-25)
##### Bug Fixes
- update [@​restart/ui](https://github.com/restart/ui) to v1.2.0 ([#​6285](https://github.com/react-bootstrap/react-bootstrap/issues/6285)) ([4f5e625](https://github.com/react-bootstrap/react-bootstrap/commit/4f5e625f9ba39a158eb8db311f3328b00ee2b618))
- **Modal:** fix autofocus for inputs when animation is enabled ([#​6278](https://github.com/react-bootstrap/react-bootstrap/issues/6278)) ([08e1bbc](https://github.com/react-bootstrap/react-bootstrap/commit/08e1bbc04a0722e7fe79c194f42f9a890f56ee31))
- **Modal:** render aria-describedby on the top level modal element ([#​6282](https://github.com/react-bootstrap/react-bootstrap/issues/6282)) ([93a8a0e](https://github.com/react-bootstrap/react-bootstrap/commit/93a8a0ef29409293dd69fad5873ad791634b3ed1))
- **Modal:** render aria-label on top level modal element ([#​6269](https://github.com/react-bootstrap/react-bootstrap/issues/6269)) ([48f7c07](https://github.com/react-bootstrap/react-bootstrap/commit/48f7c078d07af5f9266923ef04c3e85a836dcfa9))
#### [2.2.1](https://github.com/react-bootstrap/react-bootstrap/compare/v2.2.0...v2.2.1) (2022-03-11)
##### Bug Fixes
- **Carousel:** fix issue where changing `activeIndex` won't work ([#​6265](https://github.com/react-bootstrap/react-bootstrap/issues/6265)) ([0c7c5f7](https://github.com/react-bootstrap/react-bootstrap/commit/0c7c5f72847f7c8099742614dcedd88c66346082))
- **useOverlayOffset:** use offset prop in useOverlayOffset ([#​6264](https://github.com/react-bootstrap/react-bootstrap/issues/6264)) ([e338818](https://github.com/react-bootstrap/react-bootstrap/commit/e338818d975fcc68e0845f1ccc4ce5da381e098a))
### [`v2.2.3`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#223-2022-04-05)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v2.2.2...v2.2.3)
##### Bug Fixes
- bump [@​restart/hooks](https://github.com/restart/hooks) to v0.4.6 ([#​6294](https://github.com/react-bootstrap/react-bootstrap/issues/6294)) ([dceb74b](https://github.com/react-bootstrap/react-bootstrap/commit/dceb74b2c0d81b71265410a1b3c85802bed14c68))
### [`v2.2.2`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#222-2022-03-25)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v2.2.1...v2.2.2)
##### Bug Fixes
- update [@​restart/ui](https://github.com/restart/ui) to v1.2.0 ([#​6285](https://github.com/react-bootstrap/react-bootstrap/issues/6285)) ([4f5e625](https://github.com/react-bootstrap/react-bootstrap/commit/4f5e625f9ba39a158eb8db311f3328b00ee2b618))
- **Modal:** fix autofocus for inputs when animation is enabled ([#​6278](https://github.com/react-bootstrap/react-bootstrap/issues/6278)) ([08e1bbc](https://github.com/react-bootstrap/react-bootstrap/commit/08e1bbc04a0722e7fe79c194f42f9a890f56ee31))
- **Modal:** render aria-describedby on the top level modal element ([#​6282](https://github.com/react-bootstrap/react-bootstrap/issues/6282)) ([93a8a0e](https://github.com/react-bootstrap/react-bootstrap/commit/93a8a0ef29409293dd69fad5873ad791634b3ed1))
- **Modal:** render aria-label on top level modal element ([#​6269](https://github.com/react-bootstrap/react-bootstrap/issues/6269)) ([48f7c07](https://github.com/react-bootstrap/react-bootstrap/commit/48f7c078d07af5f9266923ef04c3e85a836dcfa9))
### [`v2.2.1`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#221-2022-03-11)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v2.2.0...v2.2.1)
##### Bug Fixes
- **Carousel:** fix issue where changing `activeIndex` won't work ([#​6265](https://github.com/react-bootstrap/react-bootstrap/issues/6265)) ([0c7c5f7](https://github.com/react-bootstrap/react-bootstrap/commit/0c7c5f72847f7c8099742614dcedd88c66346082))
- **useOverlayOffset:** use offset prop in useOverlayOffset ([#​6264](https://github.com/react-bootstrap/react-bootstrap/issues/6264)) ([e338818](https://github.com/react-bootstrap/react-bootstrap/commit/e338818d975fcc68e0845f1ccc4ce5da381e098a))
### [`v2.2.0`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#220-2022-03-04)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v2.1.2...v2.2.0)
##### Bug Fixes
- **TabPane:** use Fade for default transition ([#​6235](https://github.com/react-bootstrap/react-bootstrap/issues/6235)) ([3e0b4d3](https://github.com/react-bootstrap/react-bootstrap/commit/3e0b4d3719e74d9680d44ec172b40f49947338b4))
- added missing ModalHeader exports to index ([#​6228](https://github.com/react-bootstrap/react-bootstrap/issues/6228)) ([3332da9](https://github.com/react-bootstrap/react-bootstrap/commit/3332da98a33cb0d60327339f7498b38722dae1aa))
##### Features
- support custom breakpoints ([#​6253](https://github.com/react-bootstrap/react-bootstrap/issues/6253)) ([0910a21](https://github.com/react-bootstrap/react-bootstrap/commit/0910a21b7d35eb859ca9e160c4492ef41a33810e))
- **Tabs:** support passing custom attributes to Tab ([#​5879](https://github.com/react-bootstrap/react-bootstrap/issues/5879)) ([6afa734](https://github.com/react-bootstrap/react-bootstrap/commit/6afa734cf29027cda36e188181762dca88fc48da))
#### [2.1.2](https://github.com/react-bootstrap/react-bootstrap/compare/v2.1.1...v2.1.2) (2022-01-31)
##### Bug Fixes
- update [@​restart/ui](https://github.com/restart/ui) to v1.0.1 ([#​6220](https://github.com/react-bootstrap/react-bootstrap/issues/6220)) ([f46dee3](https://github.com/react-bootstrap/react-bootstrap/commit/f46dee30a37a56c039b4a96404e6adcb705fe514))
- **ToggleButton:** remove `role="button"` from label ([#​6204](https://github.com/react-bootstrap/react-bootstrap/issues/6204)) ([54bcbfa](https://github.com/react-bootstrap/react-bootstrap/commit/54bcbfa04dc5922e9ad449d54dc17812323ae334))
#### [2.1.1](https://github.com/react-bootstrap/react-bootstrap/compare/v2.1.0...v2.1.1) (2022-01-14)
##### Bug Fixes
- prioritize poppers position prop in overlaytrigger ([#​6175](https://github.com/react-bootstrap/react-bootstrap/issues/6175)) ([dc9a0d7](https://github.com/react-bootstrap/react-bootstrap/commit/dc9a0d7154193a333b58a3451349ce745ccd3246))
### [`v2.1.2`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#212-2022-01-31)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v2.1.1...v2.1.2)
##### Bug Fixes
- update [@​restart/ui](https://github.com/restart/ui) to v1.0.1 ([#​6220](https://github.com/react-bootstrap/react-bootstrap/issues/6220)) ([f46dee3](https://github.com/react-bootstrap/react-bootstrap/commit/f46dee30a37a56c039b4a96404e6adcb705fe514))
- **ToggleButton:** remove `role="button"` from label ([#​6204](https://github.com/react-bootstrap/react-bootstrap/issues/6204)) ([54bcbfa](https://github.com/react-bootstrap/react-bootstrap/commit/54bcbfa04dc5922e9ad449d54dc17812323ae334))
### [`v2.1.1`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#211-2022-01-14)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v2.1.0...v2.1.1)
##### Bug Fixes
- prioritize poppers position prop in overlaytrigger ([#​6175](https://github.com/react-bootstrap/react-bootstrap/issues/6175)) ([dc9a0d7](https://github.com/react-bootstrap/react-bootstrap/commit/dc9a0d7154193a333b58a3451349ce745ccd3246))
### [`v2.1.0`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#210-2021-12-31)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v2.0.4...v2.1.0)
##### Features
- **Accordion:** add `alwaysOpen` prop ([#​6091](https://github.com/react-bootstrap/react-bootstrap/issues/6091)) ([f62da57](https://github.com/react-bootstrap/react-bootstrap/commit/f62da57493a63e40bd67b74f1414ac025c54d553))
#### [2.0.4](https://github.com/react-bootstrap/react-bootstrap/compare/v2.0.3...v2.0.4) (2021-12-20)
##### Bug Fixes
- **Modal:** fix typescript intellisense with base props ([#​6150](https://github.com/react-bootstrap/react-bootstrap/issues/6150)) ([a7db500](https://github.com/react-bootstrap/react-bootstrap/commit/a7db5008ae667c9cca8a90d3e8e6722e925febb7))
- **NavDropdown:** fix `onSelect` type ([#​6151](https://github.com/react-bootstrap/react-bootstrap/issues/6151)) ([253c998](https://github.com/react-bootstrap/react-bootstrap/commit/253c998883d7151a6ca6e208fc089dd65afd4167))
#### [2.0.3](https://github.com/react-bootstrap/react-bootstrap/compare/v2.0.2...v2.0.3) (2021-12-01)
##### Bug Fixes
- **FormCheck:** fix `Form.Check.Label` spacing ([#​5983](https://github.com/react-bootstrap/react-bootstrap/issues/5983)) ([250655c](https://github.com/react-bootstrap/react-bootstrap/commit/250655cd996c9077be6c8aedbd08399d8cd55cfb)), closes [/github.com/react-bootstrap/react-bootstrap/issues/5938#issuecomment-883704209](https://github.com//github.com/react-bootstrap/react-bootstrap/issues/5938/issues/issuecomment-883704209)
#### [2.0.2](https://github.com/react-bootstrap/react-bootstrap/compare/v2.0.1...v2.0.2) (2021-11-04)
##### Bug Fixes
- remove unused files from build output
#### [2.0.1](https://github.com/react-bootstrap/react-bootstrap/compare/v2.0.0...v2.0.1) (2021-10-29)
##### Bug Fixes
- **FormSelect:** fix props not being defined ([#​6106](https://github.com/react-bootstrap/react-bootstrap/issues/6106)) ([4dd40db](https://github.com/react-bootstrap/react-bootstrap/commit/4dd40db26df32fc5f98afdfd6c2f23ada920497a))
### [`v2.0.4`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#204-2021-12-20)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v2.0.3...v2.0.4)
##### Bug Fixes
- **Modal:** fix typescript intellisense with base props ([#​6150](https://github.com/react-bootstrap/react-bootstrap/issues/6150)) ([a7db500](https://github.com/react-bootstrap/react-bootstrap/commit/a7db5008ae667c9cca8a90d3e8e6722e925febb7))
- **NavDropdown:** fix `onSelect` type ([#​6151](https://github.com/react-bootstrap/react-bootstrap/issues/6151)) ([253c998](https://github.com/react-bootstrap/react-bootstrap/commit/253c998883d7151a6ca6e208fc089dd65afd4167))
### [`v2.0.3`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#203-2021-12-01)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v2.0.2...v2.0.3)
##### Bug Fixes
- **FormCheck:** fix `Form.Check.Label` spacing ([#​5983](https://github.com/react-bootstrap/react-bootstrap/issues/5983)) ([250655c](https://github.com/react-bootstrap/react-bootstrap/commit/250655cd996c9077be6c8aedbd08399d8cd55cfb)), closes [/github.com/react-bootstrap/react-bootstrap/issues/5938#issuecomment-883704209](https://github.com//github.com/react-bootstrap/react-bootstrap/issues/5938/issues/issuecomment-883704209)
### [`v2.0.2`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#202-2021-11-04)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v2.0.1...v2.0.2)
##### Bug Fixes
- remove unused files from build output
### [`v2.0.1`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#201-2021-10-29)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v2.0.0...v2.0.1)
##### Bug Fixes
- **FormSelect:** fix props not being defined ([#​6106](https://github.com/react-bootstrap/react-bootstrap/issues/6106)) ([4dd40db](https://github.com/react-bootstrap/react-bootstrap/commit/4dd40db26df32fc5f98afdfd6c2f23ada920497a))
### [`v2.0.0`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#200-2021-10-21)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v1.6.7...v2.0.0)
### [`v1.6.7`](https://github.com/react-bootstrap/react-bootstrap/releases/tag/v1.6.7)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v1.6.6...v1.6.7)
##### Bug Fixes
- **Popover:** fix `content` prop error ([#​6612](https://github.com/react-bootstrap/react-bootstrap/issues/6612)) ([3d1df53](https://github.com/react-bootstrap/react-bootstrap/commit/3d1df53df9b84f1624cd7b78acfe6b3a21ecf937))
### [`v1.6.6`](https://github.com/react-bootstrap/react-bootstrap/releases/tag/v1.6.6)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v1.6.5...v1.6.6)
##### Bug Fixes
- **Modal:** render aria-describedby on the top level modal element ([6dd9e3b](https://github.com/react-bootstrap/react-bootstrap/commit/6dd9e3bec2d096e971204b0616a1f6c9e214b963))
- **Modal:** render aria-label on top level modal element ([273901f](https://github.com/react-bootstrap/react-bootstrap/commit/273901f1b59ee27eb6f99dd5a2752f5b02c5da4d))
### [`v1.6.5`](https://github.com/react-bootstrap/react-bootstrap/releases/tag/v1.6.5)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v1.6.4...v1.6.5)
##### Bug Fixes
- update react-overlays and [@​restart/hooks](https://github.com/restart/hooks) packages ([#​6333](https://github.com/react-bootstrap/react-bootstrap/issues/6333)) ([9654ca2](https://github.com/react-bootstrap/react-bootstrap/commit/9654ca231dc782caad04cbf605b053d5e4b30350))
### [`v1.6.4`](https://github.com/react-bootstrap/react-bootstrap/releases/tag/v1.6.4)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v1.6.3...v1.6.4)
##### Bug Fixes
- **InputGroup:** fix export ([#​6060](https://github.com/react-bootstrap/react-bootstrap/issues/6060)) ([4bfc054](https://github.com/react-bootstrap/react-bootstrap/commit/4bfc0546f59092b04d5e13e4def76d65d2b51487))
### [`v1.6.3`](https://github.com/react-bootstrap/react-bootstrap/releases/tag/v1.6.3)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v1.6.2...v1.6.3)
##### Bug Fixes
- **Modal:** fix children typing ([#​6023](https://github.com/react-bootstrap/react-bootstrap/issues/6023)) ([30ceea8](https://github.com/react-bootstrap/react-bootstrap/commit/30ceea8fc84d301456a894c607ab4fd8d1af5447))
### [`v1.6.2`](https://github.com/react-bootstrap/react-bootstrap/releases/tag/v1.6.2)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v1.6.1...v1.6.2)
##### Bug Fixes
- **Modal:** Fix wrong types on ModalProps ([#​6022](https://github.com/react-bootstrap/react-bootstrap/issues/6022)) ([18ef232](https://github.com/react-bootstrap/react-bootstrap/commit/18ef232fc26f12d3fb8762eb0f0ec7db3d031071)), closes [#​5894](https://github.com/react-bootstrap/react-bootstrap/issues/5894)
- avoid [@​popperjs/core](https://github.com/popperjs/core) console warning ([#​6021](https://github.com/react-bootstrap/react-bootstrap/issues/6021)) ([335f782](https://github.com/react-bootstrap/react-bootstrap/commit/335f782c0d4af289bc3ab89dae4e09a10a8e5c47)), closes [#​6017](https://github.com/react-bootstrap/react-bootstrap/issues/6017)
### [`v1.6.1`](https://github.com/react-bootstrap/react-bootstrap/releases/tag/v1.6.1)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v1.6.0...v1.6.1)
##### Bug Fixes
- **docs:** fix missing img on toast (fix [#​5729](https://github.com/react-bootstrap/react-bootstrap/issues/5729)) ([#​5814](https://github.com/react-bootstrap/react-bootstrap/issues/5814)) ([488e5c0](https://github.com/react-bootstrap/react-bootstrap/commit/488e5c0b2ac59ed77ed5866551576f4625ee05d9))
- **FormLabel:** forward ref when rendering as Col ([#​5835](https://github.com/react-bootstrap/react-bootstrap/issues/5835)) ([bb128e1](https://github.com/react-bootstrap/react-bootstrap/commit/bb128e15e8acb7d1ac25cf93b21167f5a0f4e6f6))
- **Modal:** remove default timeout in modal and backdrop transition ([#​5837](https://github.com/react-bootstrap/react-bootstrap/issues/5837)) ([7dd17bd](https://github.com/react-bootstrap/react-bootstrap/commit/7dd17bda5d0e31ba80c2aefd851951394d49d9b0))
- **types:** fix role prop ([#​5851](https://github.com/react-bootstrap/react-bootstrap/issues/5851)) ([0077178](https://github.com/react-bootstrap/react-bootstrap/commit/0077178b2ab080da8c2a0c40d8cefd238cf0a6fa))
### [`v1.6.0`](https://github.com/react-bootstrap/react-bootstrap/releases/tag/v1.6.0)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v1.5.2...v1.6.0)
##### Bug Fixes
- **Popover:** fix arrow alignment when running Popper >= 2.84 ([#​5774](https://github.com/react-bootstrap/react-bootstrap/issues/5774)) ([da85f30](https://github.com/react-bootstrap/react-bootstrap/commit/da85f30f985870183f09835ac49d0fac075587d6))
- **types:** fix types for event key ([700e944](https://github.com/react-bootstrap/react-bootstrap/commit/700e944de72072106f1ca50a9b797512dfa95009))
##### Features
- **Nav:** Add navbarScroll prop ([#​5620](https://github.com/react-bootstrap/react-bootstrap/issues/5620)) ([d9c1bb7](https://github.com/react-bootstrap/react-bootstrap/commit/d9c1bb78412e42e6f6add1cc19b83cce48f2830e))
### [`v1.5.2`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#152-2021-03-11)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v1.5.1...v1.5.2)
##### Bug Fixes
- **Carousel:** fix crossfade animation ([#​5671](https://github.com/react-bootstrap/react-bootstrap/issues/5671)) ([a24ab44](https://github.com/react-bootstrap/react-bootstrap/commit/a24ab44b0c80b38ad2efd9762f47a833cc2cf0ad))
### [`v1.5.1`](https://github.com/react-bootstrap/react-bootstrap/blob/HEAD/CHANGELOG.md#151-2021-03-02)
[Compare Source](https://github.com/react-bootstrap/react-bootstrap/compare/v1.5.0...v1.5.1)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC44LjAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4yMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->Michele AzzolariMichele Azzolarihttps://git.fluidware.it/fcub/fcub-fe/-/merge_requests/26Update dependency moment-range to v42023-12-02T03:21:07ZRenovate BotUpdate dependency moment-range to v4This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [moment-range](https://github.com/rotaready/moment-range) | dependencies | major | [`^3.1.1` -> `^4.0.0`](https://renovatebot.com/diffs/npm...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [moment-range](https://github.com/rotaready/moment-range) | dependencies | major | [`^3.1.1` -> `^4.0.0`](https://renovatebot.com/diffs/npm/moment-range/3.1.1/4.0.2) |
---
### Release Notes
<details>
<summary>rotaready/moment-range (moment-range)</summary>
### [`v4.0.2`](https://github.com/rotaready/moment-range/blob/HEAD/CHANGELOG.md#402)
[Compare Source](https://github.com/rotaready/moment-range/compare/v4.0.1...v4.0.2)
##### Added
- Added TypeScript & flow types missing options argument for `add` method
- Added overloaded TypeScript declarations allowing for calling `moment.range()` without arguments
##### Changed
- Changed second parameter of `diff` & `duration` from `rounded` to `precise` to reflect the underlying moment method
- Changed the `moment.range()` & `DateRange` `constructor` types to allow mixed `Date` & `Moment` parameters
- Changed the `interval`/`unit` flow parameter types in the `by`, `diff`, `duration`, `reverseBy` & `snapTo` to include all strings allowed by moment
- Changed internal TypeScript version to `3.3.3333`
- Changed internal moment version to `2.24.0`
- Changed CircleCI to version `2`
##### Fixed
- Fixed the return type of `add` and `intersect` to `DateRange | null` as opposed to `DateRange | undefined`
- Fixed the flow `toDate()` method return type from an array of `Date`s to a `Date` tuple
- Fixed `extendMoment()` typescript declaration to give access to moment namespace variables, e.g. `moment.duration()`, `moment.HTML5_FMT`
### [`v4.0.1`](https://github.com/rotaready/moment-range/blob/HEAD/CHANGELOG.md#401)
[Compare Source](https://github.com/rotaready/moment-range/compare/v4.0.0...v4.0.1)
##### Fixed
- Fixed `eslint-plugin-import` pointing to non-existing file
### [`v4.0.0`](https://github.com/rotaready/moment-range/blob/HEAD/CHANGELOG.md#400)
[Compare Source](https://github.com/rotaready/moment-range/compare/v3.1.1...v4.0.0)
##### Deprecated
- Deprecated `exclusive` option of `contains()` method in favour of new
`excludeStart` and `excludeEnd` options
- Deprecated `exclusive` option of `by()` method in favour of new `excludeEnd` options
- Deprecated `exclusive` option of `byRange()` method in favour of new `excludeEnd` options
- Deprecated `exclusive` option of `reverseBy()` method in favour of new `excludeStart` options
- Deprecated `exclusive` option of `reverseByRange()` method in favour of new `excludeStart` options
- Deprecated `parseZoneRange` in favour of `rangeFromISOString`
##### Added
- Added Typescript definitions
- Added Typescript config and tests
- Added `check`, `typescript-test` npm script
- Added `excludeStart` and `excludeEnd` to `contains()` method
- Added `excludeEnd` to `by()` method
- Added `excludeEnd` to `byRange()` method
- Added `excludeStart` to `reverseBy()` method
- Added `excludeStart` to `reverseByRange()` method
- Added note about supporting older browsers with links to polyfills to the README
- Added moment extension `rangeFromISOString`, changed name from `parseZoneRange`
- Added `snapTo()` method
- Added explicit Flow typing tests
##### Changed
- Changed `build` script to use webpack's production settings for a more
optimized build
- Changed `prepublish` script to `prepublishOnly` so the task isn't run on
`install`
- Changed `prepublishOnly` and `version` scripts to use `&&` instead of `;`
- Changed `prepublish`, `preversion`, `version` scripts to support typescript definitions
- Changed CircleCI config to also run typescript tests
- Changed `parseZoneRange` to `rangeFromISOString` to follow naming conventions. Deprecated `parseZoneRange`.
- Changed typing tests to be grouped by type-checker (flow, typescript)
- Changed test suffix (`_test.js` → `.test.js`)
- Changed test file location (`./lib/` → `./lib/tests/`)
- Changed package json script names:
- `flow` → `check:flow`
- `typescript-test` → `check:typescript`
- Changed CircleCI to use Node 8.2.0
- Changed CircleCI to use Yarn
- Changed Flow config to find correct declarations
- Changed location of Flow declaration (`./declarations/` → `./lib/`)
##### Fixed
- Fixed `intersect` not creating a new DateRange instance in all cases
- Fixed Flow declaration to provide correct and stricter typings
- Fixed DateRange constructor poor performance when passed moment objects
##### Removed
- Removed `lib/` from package.json files
- Removed a bunch of unused Flow types
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC44LjAiLCJ1cGRhdGVkSW5WZXIiOiIzNS4xNTkuNyIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->Michele AzzolariMichele Azzolarihttps://git.fluidware.it/fcub/fcub-fe/-/merge_requests/25Update dependency http-proxy-middleware to v22023-12-02T03:21:05ZRenovate BotUpdate dependency http-proxy-middleware to v2This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) | optionalDependencies | major | [`^1.0.6` -> `^2.0.0`](https://...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) | optionalDependencies | major | [`^1.0.6` -> `^2.0.0`](https://renovatebot.com/diffs/npm/http-proxy-middleware/1.0.6/2.0.6) |
---
### Release Notes
<details>
<summary>chimurai/http-proxy-middleware (http-proxy-middleware)</summary>
### [`v2.0.6`](https://github.com/chimurai/http-proxy-middleware/blob/HEAD/CHANGELOG.md#v206)
[Compare Source](https://github.com/chimurai/http-proxy-middleware/compare/v2.0.5...v2.0.6)
- fix(proxyReqWs): catch socket errors ([#​763](https://github.com/chimurai/http-proxy-middleware/pull/763))
### [`v2.0.5`](https://github.com/chimurai/http-proxy-middleware/blob/HEAD/CHANGELOG.md#v205)
[Compare Source](https://github.com/chimurai/http-proxy-middleware/compare/v2.0.4...v2.0.5)
- fix(error handler): add default handler to econnreset ([#​759](https://github.com/chimurai/http-proxy-middleware/pull/759))
### [`v2.0.4`](https://github.com/chimurai/http-proxy-middleware/blob/HEAD/CHANGELOG.md#v204)
[Compare Source](https://github.com/chimurai/http-proxy-middleware/compare/v2.0.3...v2.0.4)
- fix(fix-request-body): improve content type check ([#​725](https://github.com/chimurai/http-proxy-middleware/pull/725)) ([kevinxh](https://github.com/kevinxh))
### [`v2.0.3`](https://github.com/chimurai/http-proxy-middleware/blob/HEAD/CHANGELOG.md#v203)
[Compare Source](https://github.com/chimurai/http-proxy-middleware/compare/v2.0.2...v2.0.3)
- feat(package): optional [@​types/express](https://github.com/types/express) peer dependency ([#​707](https://github.com/chimurai/http-proxy-middleware/pull/707))
### [`v2.0.2`](https://github.com/chimurai/http-proxy-middleware/blob/HEAD/CHANGELOG.md#v202)
[Compare Source](https://github.com/chimurai/http-proxy-middleware/compare/v2.0.1...v2.0.2)
- chore(deps): update [@​types/http-proxy](https://github.com/types/http-proxy) to 1.17.8 ([#​701](https://github.com/chimurai/http-proxy-middleware/pull/701))
- fix(fixRequestBody): fix request body for empty JSON object requests ([#​640](https://github.com/chimurai/http-proxy-middleware/pull/640)) ([mhassan1](https://github.com/mhassan1))
- fix(types): fix type regression ([#​700](https://github.com/chimurai/http-proxy-middleware/pull/700))
### [`v2.0.1`](https://github.com/chimurai/http-proxy-middleware/blob/HEAD/CHANGELOG.md#v201)
[Compare Source](https://github.com/chimurai/http-proxy-middleware/compare/v2.0.0...v2.0.1)
- fix(fixRequestBody): fix type error ([#​615](https://github.com/chimurai/http-proxy-middleware/pull/615))
- test(coverage): improve coverage config ([#​609](https://github.com/chimurai/http-proxy-middleware/pull/609)) ([leonardobazico](https://github.com/leonardobazico))
- test: add test coverage to fixRequestBody and responseInterceptor ([#​608](https://github.com/chimurai/http-proxy-middleware/pull/608)) ([leonardobazico](https://github.com/leonardobazico))
- chore(typescript): extract handlers types ([#​603](https://github.com/chimurai/http-proxy-middleware/pull/603)) ([leonardobazico](https://github.com/leonardobazico))
### [`v2.0.0`](https://github.com/chimurai/http-proxy-middleware/blob/HEAD/CHANGELOG.md#v200)
[Compare Source](https://github.com/chimurai/http-proxy-middleware/compare/v1.3.1...v2.0.0)
- chore(package): drop node 10 \[BREAKING CHANGE] ([#​577](https://github.com/chimurai/http-proxy-middleware/pull/577))
### [`v1.3.1`](https://github.com/chimurai/http-proxy-middleware/blob/HEAD/CHANGELOG.md#v131)
[Compare Source](https://github.com/chimurai/http-proxy-middleware/compare/v1.3.0...v1.3.1)
- fix(fix-request-body): make sure the content-type exists ([#​578](https://github.com/chimurai/http-proxy-middleware/pull/578)) ([oufeng](https://github.com/oufeng))
### [`v1.3.0`](https://github.com/chimurai/http-proxy-middleware/blob/HEAD/CHANGELOG.md#v130)
[Compare Source](https://github.com/chimurai/http-proxy-middleware/compare/v1.2.1...v1.3.0)
- docs(response interceptor): align with nodejs default utf8 ([#​567](https://github.com/chimurai/http-proxy-middleware/pull/567))
- feat: try to proxy body even after body-parser middleware ([#​492](https://github.com/chimurai/http-proxy-middleware/pull/492)) ([midgleyc](https://github.com/midgleyc))
### [`v1.2.1`](https://github.com/chimurai/http-proxy-middleware/blob/HEAD/CHANGELOG.md#v121)
[Compare Source](https://github.com/chimurai/http-proxy-middleware/compare/v1.2.0...v1.2.1)
- fix(response interceptor): proxy original response headers ([#​563](https://github.com/chimurai/http-proxy-middleware/pull/563))
### [`v1.2.0`](https://github.com/chimurai/http-proxy-middleware/blob/HEAD/CHANGELOG.md#v120)
[Compare Source](https://github.com/chimurai/http-proxy-middleware/compare/v1.1.2...v1.2.0)
- feat(handler): response interceptor ([#​520](https://github.com/chimurai/http-proxy-middleware/pull/520))
- fix(log error): handle undefined target when websocket errors ([#​527](https://github.com/chimurai/http-proxy-middleware/pull/527))
### [`v1.1.2`](https://github.com/chimurai/http-proxy-middleware/blob/HEAD/CHANGELOG.md#v112)
[Compare Source](https://github.com/chimurai/http-proxy-middleware/compare/v1.1.1...v1.1.2)
- fix(log error): handle optional target ([#​523](https://github.com/chimurai/http-proxy-middleware/pull/523))
### [`v1.1.1`](https://github.com/chimurai/http-proxy-middleware/blob/HEAD/CHANGELOG.md#v111)
[Compare Source](https://github.com/chimurai/http-proxy-middleware/compare/v1.1.0...v1.1.1)
- fix(error handler): re-throw http-proxy missing target error ([#​517](https://github.com/chimurai/http-proxy-middleware/pull/517))
- refactor(dependency): remove `camelcase`
- fix(option): optional `target` when `router` is used ([#​512](https://github.com/chimurai/http-proxy-middleware/pull/512))
### [`v1.1.0`](https://github.com/chimurai/http-proxy-middleware/blob/HEAD/CHANGELOG.md#v110)
[Compare Source](https://github.com/chimurai/http-proxy-middleware/compare/v1.0.6...v1.1.0)
- fix(errorHandler): fix confusing error message ([#​509](https://github.com/chimurai/http-proxy-middleware/pull/509))
- fix(proxy): close proxy when server closes ([#​508](https://github.com/chimurai/http-proxy-middleware/pull/508))
- refactor(lodash): remove lodash ([#​459](https://github.com/chimurai/http-proxy-middleware/pull/459)) ([#​507](https://github.com/chimurai/http-proxy-middleware/pull/507)) ([TrySound](https://github.com/TrySound))
- fix(ETIMEDOUT): return 504 on ETIMEDOUT ([#​480](https://github.com/chimurai/http-proxy-middleware/pull/480)) ([aremishevsky](https://github.com/aremishevsky))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xOC4wIiwidXBkYXRlZEluVmVyIjoiMzUuMTU5LjciLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIifQ==-->Michele AzzolariMichele Azzolarihttps://git.fluidware.it/fcub/fcub-fe/-/merge_requests/17Update dependency leaflet to v1.9.42023-12-02T03:21:00ZRenovate BotUpdate dependency leaflet to v1.9.4This MR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [leaflet](http://leafletjs.com/) ([source](https://github.com/Leaflet/Leaflet)) | minor | `1.5.1` -> `1.9.4` |
---
### Configuration
📅 **Schedule**...This MR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [leaflet](http://leafletjs.com/) ([source](https://github.com/Leaflet/Leaflet)) | minor | `1.5.1` -> `1.9.4` |
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xOTYuMCIsInVwZGF0ZWRJblZlciI6IjM1LjY0LjAifQ==-->Michele AzzolariMichele Azzolari