From a520d30aefe9fa50f547b182a648ac257e264021 Mon Sep 17 00:00:00 2001 From: Kamil Raczycki Date: Sat, 21 Oct 2023 22:15:33 +0200 Subject: [PATCH] release: 0.4.0 (#371) * chore: bump version 0.3.3 -> 0.4.0 * chore: added changelog entry * chore: changed date in changelog --- CHANGELOG.md | 25 ++++++++++++++++--------- CITATION.cff | 2 +- pyproject.toml | 4 ++-- srai/__init__.py | 2 +- 4 files changed, 20 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d0c5c830..145bd173 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,16 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- `PbfFileClipper` for cutting bigger `osm.pbf` files into smaller sizes for faster operations. Included clipping inside `PbfFileDownloader` for new bigger extracts sources. [#369](https://github.com/kraina-ai/srai/issues/369) - ### Changed -- Bumped `h3ronpy` library to `0.18.0` with added support for MacOS. Removed override with check for H3 operations if system is `darwin`. Changed internal API to use `ContainmentMode`. -- Refactored `OSMLoader`'s `GroupedOsmTagsFilter` features grouping to be faster by refactoring pandas operations [#354](https://github.com/srai-lab/srai/issues/354) -- Sped up `VoronoiRegionalizer` by removing redundant intersection operations and vectorizing ecdf2geodetic calculations [#351](https://github.com/kraina-ai/srai/issues/351) -- Sped up `ContextualCountEmbedder` by removing iteration over dataframe rows and vectorizing operations to work at a whole `numpy` array at once [#359](https://github.com/kraina-ai/srai/issues/359) -- Added Geofabrik and OpenStreetMap.fr PBF extracts download services. Added automatic switch from default `protomaps` download service to `geofabrik` on error. [#158](https://github.com/kraina-ai/srai/issues/158) [#366](https://github.com/kraina-ai/srai/issues/366) - ### Deprecated ### Removed @@ -27,6 +19,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Security +## [0.4.0] - 2023-10-21 + +### Added + +- `PbfFileClipper` for cutting bigger `osm.pbf` files into smaller sizes for faster operations. Included clipping inside `PbfFileDownloader` for new bigger extracts sources. [#369](https://github.com/kraina-ai/srai/issues/369) + +### Changed + +- Bumped `h3ronpy` library to `0.18.0` with added support for MacOS. Removed override with check for H3 operations if system is `darwin`. Changed internal API to use `ContainmentMode`. +- Refactored `OSMLoader`'s `GroupedOsmTagsFilter` features grouping to be faster by refactoring pandas operations [#354](https://github.com/srai-lab/srai/issues/354) +- Sped up `VoronoiRegionalizer` by removing redundant intersection operations and vectorizing ecdf2geodetic calculations [#351](https://github.com/kraina-ai/srai/issues/351) +- Sped up `ContextualCountEmbedder` by removing iteration over dataframe rows and vectorizing operations to work at a whole `numpy` array at once [#359](https://github.com/kraina-ai/srai/issues/359) +- Added Geofabrik and OpenStreetMap.fr PBF extracts download services. Added automatic switch from default `protomaps` download service to `geofabrik` on error. [#158](https://github.com/kraina-ai/srai/issues/158) [#366](https://github.com/kraina-ai/srai/issues/366) + ## [0.3.3] - 2023-08-13 ### Changed @@ -150,7 +156,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Intersection Joiner - Geoparquet Loader -[unreleased]: https://github.com/srai-lab/srai/compare/0.3.3...HEAD +[unreleased]: https://github.com/srai-lab/srai/compare/0.4.0...HEAD +[0.4.0]: https://github.com/srai-lab/srai/compare/0.3.3...0.4.0 [0.3.3]: https://github.com/srai-lab/srai/compare/0.3.2...0.3.3 [0.3.2]: https://github.com/srai-lab/srai/compare/0.3.1...0.3.2 [0.3.1]: https://github.com/srai-lab/srai/compare/0.3.0...0.3.1 diff --git a/CITATION.cff b/CITATION.cff index 2d7c5343..9b2ab48c 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -14,7 +14,7 @@ authors: given-names: "Szymon" orcid: "https://orcid.org/0000-0002-2047-1649" title: "SRAI: Spatial Representations for Artificial Intelligence" -version: 0.3.3 +version: 0.4.0 date-released: 2022-11-23 url: "https://kraina-ai.github.io/srai" repository-code: "https://github.com/kraina-ai/srai" diff --git a/pyproject.toml b/pyproject.toml index 8f594ba0..26a0b2e1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "srai" -version = "0.3.3" +version = "0.4.0" description = "A set of python modules for geospatial machine learning and data mining" authors = [ { name = "Piotr Gramacki", email = "pgramacki@kraina.ai" }, @@ -184,7 +184,7 @@ close-quotes-on-newline = true wrap-one-line = true [tool.bumpver] -current_version = "0.3.3" +current_version = "0.4.0" version_pattern = "MAJOR.MINOR.PATCH[PYTAGNUM]" commit_message = "chore: bump version {old_version} -> {new_version}" commit = true diff --git a/srai/__init__.py b/srai/__init__.py index 0817559b..f3e4c855 100644 --- a/srai/__init__.py +++ b/srai/__init__.py @@ -10,4 +10,4 @@ for complete documentation. """ -__version__ = "0.3.3" +__version__ = "0.4.0"