reactor-feature-toggle 4.0.5 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
 
8
8
  ## [Unreleased][]
9
9
 
10
+ ## [6.0.0][] - 2025-12-04
11
+
12
+ ### Updated
13
+
14
+ - Updating peerDependencies to accept react and react-dom >= v16
15
+
16
+ ## [5.0.0][] - 2020-07-20
17
+
18
+ ### Updated
19
+
20
+ - Breaking changes: updating `feature-toggle-service` to version 6.0.0. The new package behavior introduces combination instead of overriding. Since it's a different feature, it can affect nested provider components.
21
+
10
22
  ## [4.0.5][] - 2020-06-18
11
23
 
12
24
  ### Fixed
@@ -153,7 +165,10 @@ And pass `featureName` prop with `!` prefix to keep the same behavior on WebApp
153
165
  [unreleased]: https://github.com/willmendesneto/reactor-feature-toggle/compare/v4.0.3...HEAD
154
166
  [unreleased]: https://github.com/willmendesneto/reactor-feature-toggle/compare/v4.0.4...HEAD
155
167
  [4.0.4]: https://github.com/willmendesneto/reactor-feature-toggle/tree/v4.0.4
168
+ [unreleased]: https://github.com/willmendesneto/reactor-feature-toggle/compare/v4.0.5...HEAD
169
+ [4.0.5]: https://github.com/willmendesneto/reactor-feature-toggle/tree/v4.0.5
156
170
 
157
171
 
158
- [Unreleased]: https://github.com/willmendesneto/reactor-feature-toggle/compare/v4.0.5...HEAD
159
- [4.0.5]: https://github.com/willmendesneto/reactor-feature-toggle/tree/v4.0.5
172
+ [Unreleased]: https://github.com/willmendesneto/reactor-feature-toggle/compare/v6.0.0...HEAD
173
+ [6.0.0]: https://github.com/willmendesneto/reactor-feature-toggle/compare/v5.0.0...v6.0.0
174
+ [5.0.0]: https://github.com/willmendesneto/reactor-feature-toggle/tree/v5.0.0
package/README.md CHANGED
@@ -54,6 +54,8 @@ You can also use the standalone UMD build by including `dist/reactor-feature-tog
54
54
 
55
55
  You'll need to import `FeatureToggleProvider` and add it into the root component of your application. So that you can enable/disable features via `FeatureToggle` component any place in your application.
56
56
 
57
+ Also, multiple `FeatureToggleProvider` are allowed, which gives more flexibility for your application.
58
+
57
59
  ```javascript
58
60
  import React, { Component } from 'react';
59
61
  import { FeatureToggleProvider, FeatureToggle } from 'reactor-feature-toggle';
@@ -131,5 +133,4 @@ this project is using `np` package to publish, which makes things straightforwar
131
133
 
132
134
  **Wilson Mendes (willmendesneto)**
133
135
 
134
- - <https://twitter.com/willmendesneto>
135
136
  - <http://github.com/willmendesneto>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reactor-feature-toggle",
3
- "version": "4.0.5",
3
+ "version": "6.0.0",
4
4
  "description": "Your module to handle with feature toggles in ReactJS applications easier",
5
5
  "author": "Will Mendes <willmendesneto@gmail.com> (http://github.com/willmendesneto)",
6
6
  "keywords": [
@@ -54,8 +54,8 @@
54
54
  "vc": "version-changelog CHANGELOG.md"
55
55
  },
56
56
  "dependencies": {
57
- "feature-toggle-service": "^5.0.1",
58
- "tslib": "^2.0.0"
57
+ "feature-toggle-service": "^6.0.0",
58
+ "tslib": "^2.3.0"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@babel/cli": "^7.5.5",
@@ -106,8 +106,8 @@
106
106
  "version-changelog": "^3.1.1"
107
107
  },
108
108
  "peerDependencies": {
109
- "react": "^16.8.0",
110
- "react-dom": "^16.8.0"
109
+ "react": ">=16.8.0",
110
+ "react-dom": ">=16.8.0"
111
111
  },
112
112
  "bundlesize": [
113
113
  {