Skip to content

Commit

Permalink
release: 0.4.0 (#371)
Browse files Browse the repository at this point in the history
* chore: bump version 0.3.3 -> 0.4.0

* chore: added changelog entry

* chore: changed date in changelog
  • Loading branch information
RaczeQ authored Oct 21, 2023
1 parent 0df59c3 commit a520d30
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 13 deletions.
25 changes: 16 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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" },
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion srai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
for complete documentation.
"""

__version__ = "0.3.3"
__version__ = "0.4.0"

0 comments on commit a520d30

Please sign in to comment.