diff --git a/CHANGELOG.md b/CHANGELOG.md index aaff8aa..ee31912 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,21 @@ +# [3.0.0](/~https://github.com/SocialGouv/react-departements/compare/v2.1.1...v3.0.0) (2020-03-19) + + +* build(pkg)!: export cjs and module format (#59) ([3f82e4d](/~https://github.com/SocialGouv/react-departements/commit/3f82e4d9199aaaccf6e3c3b94539004a1d04bb6e)), closes [#59](/~https://github.com/SocialGouv/react-departements/issues/59) + + +### Features + +* **france:** separate departements functions ([#58](/~https://github.com/SocialGouv/react-departements/issues/58)) ([87708a1](/~https://github.com/SocialGouv/react-departements/commit/87708a1e9a9637459471fbc228cccf7d3fa1e0aa)) + + +### BREAKING CHANGES + +* export cjs format as main + +As most build tools can tree shake commonjs format, I would argue that we should provide the cjs format as default. +The previous bundle is available under the `browser` entry. + ## [2.1.1](/~https://github.com/SocialGouv/react-departements/compare/v2.1.0...v2.1.1) (2020-03-17) diff --git a/package.json b/package.json index 275b4e9..e32e980 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@socialgouv/react-departements", "description": "Une carte de France où certains departements peuvent être colorés.", - "version": "2.1.1", + "version": "3.0.0", "main": "cjs/index.js", "module": "esm/index.js", "browser": "dist/index.js",