@unleash/proxy-client-react
Advanced tools
Comparing version 3.0.0-beta.0 to 3.0.0-beta.1
{ | ||
"name": "@unleash/proxy-client-react", | ||
"version": "3.0.0-beta.0", | ||
"version": "3.0.0-beta.1", | ||
"description": "React interface for working with unleash", | ||
@@ -46,7 +46,7 @@ "main": "./dist/index.js", | ||
"webpack-cli": "^4.6.0", | ||
"unleash-proxy-client": "v2.0.0" | ||
"unleash-proxy-client": "2.0.0" | ||
}, | ||
"peerDependencies": { | ||
"unleash-proxy-client": "v2.0.0" | ||
"unleash-proxy-client": "2.0.1" | ||
} | ||
} |
@@ -15,2 +15,9 @@ # DISCLAIMER: | ||
# Upgrade path from v2 -> v3 | ||
Previously the unleash client was bundled as dependency directly in this library. It's now changed to a peer dependency and listed as an external. | ||
In v2 there was only one distribution based on the fact that webpack polyfilled the necessary features in v4. This is no longer the case in webpack v5. We now provide two distribution builds, one for the server and one for the client - and use the browser field in the npm package to hint module builders about which version to use. The default `dist/index.js` file points to the node version, while the web build is located at `dist/index.browser.js` | ||
Upgrading should be as easy as running yarn again with the new version, but we made the made bump regardless to be safe. | ||
# Initialization | ||
@@ -17,0 +24,0 @@ |
30289
242