diff --git a/.changeset/breezy-dots-own.md b/.changeset/breezy-dots-own.md deleted file mode 100644 index e4d6690..0000000 --- a/.changeset/breezy-dots-own.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -'@p-j/geocodejson-googleapis': major -'@p-j/geocodejson-ban': minor -'@p-j/geocodejson-opencage': minor -'@p-j/geocodejson-types': minor ---- - -# Changelog - -Adding `confidence` as an optional member of the `geocoding` namespace - -## @p-j/geocodejson-googleapis - -**BREAKING:** The `accuracy` member of the `geocoding` namespace has been removed from the parsed result. -It is replaced by a loosly mapped `confidence` based on the result type. - -## @p-j/geocodejson-opencage - -- `opencage.parse` return type now provide types for Opencage's specific properties. -- the confidence is derived from Opencage's confidence score and mapped to a 0-1 interval. - -## @p-j/geocodejson-ban - -- the confidence is derived from BAN's score. - -## @p-j/geocodejson-types - -- added the `confidence` optional member to the `geocoding` namespace diff --git a/.changeset/sharp-pumpkins-press.md b/.changeset/sharp-pumpkins-press.md deleted file mode 100644 index e88362d..0000000 --- a/.changeset/sharp-pumpkins-press.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@p-j/geocodejson-ban': patch -'@p-j/geocodejson-googleapis': patch -'@p-j/geocodejson-opencage': patch ---- - -Update dependencies diff --git a/packages/geocodejson-ban/CHANGELOG.md b/packages/geocodejson-ban/CHANGELOG.md index 80236fe..960251f 100644 --- a/packages/geocodejson-ban/CHANGELOG.md +++ b/packages/geocodejson-ban/CHANGELOG.md @@ -1,5 +1,19 @@ # @p-j/geocodejson-ban +## 1.2.0 + +### Minor Changes + +- [#82](https://github.com/p-j/geocodejson/pull/82) [`c4c006c`](https://github.com/p-j/geocodejson/commit/c4c006c5d7012406557d21c51be46bab7bfbb039) Thanks [@p-j](https://github.com/p-j)! - # Changelog + + Adding `confidence` as an optional member of the `geocoding` namespace + + - the confidence is derived from BAN's score. + +### Patch Changes + +- [#84](https://github.com/p-j/geocodejson/pull/84) [`5c121d6`](https://github.com/p-j/geocodejson/commit/5c121d67d76e885b4bb16200a8a6b633c0c3af22) Thanks [@p-j](https://github.com/p-j)! - Update dependencies + ## 1.1.1 ### Patch Changes diff --git a/packages/geocodejson-ban/package.json b/packages/geocodejson-ban/package.json index 2f1aec8..b58c0e7 100644 --- a/packages/geocodejson-ban/package.json +++ b/packages/geocodejson-ban/package.json @@ -1,6 +1,6 @@ { "name": "@p-j/geocodejson-ban", - "version": "1.1.1", + "version": "1.2.0", "description": "GeocodeJSON adapter for the French Base Adresse Nationale (api-adresse.data.gouv.fr)", "author": "Jérémie Parker ", "homepage": "https://github.com/p-j/geocodejson#readme", @@ -25,7 +25,7 @@ "ngeohash": "^0.6.3" }, "devDependencies": { - "@p-j/geocodejson-types": "4.0.1", + "@p-j/geocodejson-types": "4.1.0", "@types/jest": "27.4.0", "@types/ngeohash": "0.6.4" } diff --git a/packages/geocodejson-googleapis/CHANGELOG.md b/packages/geocodejson-googleapis/CHANGELOG.md index b0a48ec..413484a 100644 --- a/packages/geocodejson-googleapis/CHANGELOG.md +++ b/packages/geocodejson-googleapis/CHANGELOG.md @@ -1,5 +1,20 @@ # @p-j/geocodejson-googleapis +## 4.0.0 + +### Major Changes + +- [#82](https://github.com/p-j/geocodejson/pull/82) [`c4c006c`](https://github.com/p-j/geocodejson/commit/c4c006c5d7012406557d21c51be46bab7bfbb039) Thanks [@p-j](https://github.com/p-j)! - # Changelog + + Adding `confidence` as an optional member of the `geocoding` namespace + + **BREAKING:** The `accuracy` member of the `geocoding` namespace has been removed from the parsed result. + It is replaced by a loosly mapped `confidence` based on the result type. + +### Patch Changes + +- [#84](https://github.com/p-j/geocodejson/pull/84) [`5c121d6`](https://github.com/p-j/geocodejson/commit/5c121d67d76e885b4bb16200a8a6b633c0c3af22) Thanks [@p-j](https://github.com/p-j)! - Update dependencies + ## 3.1.3 ### Patch Changes diff --git a/packages/geocodejson-googleapis/package.json b/packages/geocodejson-googleapis/package.json index e8a1b8a..9b39dd5 100644 --- a/packages/geocodejson-googleapis/package.json +++ b/packages/geocodejson-googleapis/package.json @@ -1,6 +1,6 @@ { "name": "@p-j/geocodejson-googleapis", - "version": "3.1.3", + "version": "4.0.0", "description": "GeocodeJSON adapter for Google Maps Geocoding API", "author": "Jérémie Parker ", "homepage": "https://github.com/p-j/geocodejson#readme", @@ -22,7 +22,7 @@ "ngeohash": "^0.6.3" }, "devDependencies": { - "@p-j/geocodejson-types": "4.0.1", + "@p-j/geocodejson-types": "4.1.0", "@types/jest": "27.4.0", "@types/ngeohash": "0.6.4" }, diff --git a/packages/geocodejson-opencage/CHANGELOG.md b/packages/geocodejson-opencage/CHANGELOG.md index 02c2dfc..a2f79b8 100644 --- a/packages/geocodejson-opencage/CHANGELOG.md +++ b/packages/geocodejson-opencage/CHANGELOG.md @@ -1,5 +1,20 @@ # @p-j/geocodejson-opencage +## 1.2.0 + +### Minor Changes + +- [#82](https://github.com/p-j/geocodejson/pull/82) [`c4c006c`](https://github.com/p-j/geocodejson/commit/c4c006c5d7012406557d21c51be46bab7bfbb039) Thanks [@p-j](https://github.com/p-j)! - # Changelog + + Adding `confidence` as an optional member of the `geocoding` namespace + + - `opencage.parse` return type now provide types for Opencage's specific properties. + - the confidence is derived from Opencage's confidence score and mapped to a 0-1 interval. + +### Patch Changes + +- [#84](https://github.com/p-j/geocodejson/pull/84) [`5c121d6`](https://github.com/p-j/geocodejson/commit/5c121d67d76e885b4bb16200a8a6b633c0c3af22) Thanks [@p-j](https://github.com/p-j)! - Update dependencies + ## 1.1.1 ### Patch Changes diff --git a/packages/geocodejson-opencage/package.json b/packages/geocodejson-opencage/package.json index 22a3098..b6c6568 100644 --- a/packages/geocodejson-opencage/package.json +++ b/packages/geocodejson-opencage/package.json @@ -1,6 +1,6 @@ { "name": "@p-j/geocodejson-opencage", - "version": "1.1.1", + "version": "1.2.0", "description": "GeocodeJSON adapter for OpenCage Geocoding API", "author": "Jérémie Parker ", "homepage": "https://github.com/p-j/geocodejson#readme", @@ -25,7 +25,7 @@ "ngeohash": "^0.6.3" }, "devDependencies": { - "@p-j/geocodejson-types": "4.0.1", + "@p-j/geocodejson-types": "4.1.0", "@types/jest": "27.4.0", "@types/ngeohash": "0.6.4" } diff --git a/packages/geocodejson-types/CHANGELOG.md b/packages/geocodejson-types/CHANGELOG.md index f52f6b1..5fd6377 100644 --- a/packages/geocodejson-types/CHANGELOG.md +++ b/packages/geocodejson-types/CHANGELOG.md @@ -1,5 +1,13 @@ # @p-j/geocodejson-types +## 4.1.0 + +### Minor Changes + +- [#82](https://github.com/p-j/geocodejson/pull/82) [`c4c006c`](https://github.com/p-j/geocodejson/commit/c4c006c5d7012406557d21c51be46bab7bfbb039) Thanks [@p-j](https://github.com/p-j)! - # Changelog + + Adding `confidence` as an optional member of the `geocoding` namespace + ## 4.0.1 ### Patch Changes diff --git a/packages/geocodejson-types/package.json b/packages/geocodejson-types/package.json index 372b5c5..7b78071 100644 --- a/packages/geocodejson-types/package.json +++ b/packages/geocodejson-types/package.json @@ -1,6 +1,6 @@ { "name": "@p-j/geocodejson-types", - "version": "4.0.1", + "version": "4.1.0", "author": "Jérémie Parker ", "homepage": "https://github.com/p-j/geocodejson#readme", "license": "MIT",