Skip to content

Commit

Permalink
Increase version and write changelog (#547)
Browse files Browse the repository at this point in the history
* Increase version and write changelog

* mark random_point_in_triangle change as codebreaking

* add note about removal of `get_time_series`
  • Loading branch information
zigaLuksic committed Jan 20, 2023
1 parent c75c93a commit 04bebaa
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 17 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
## [Version 1.4.0] - 2023-1-20

- (**codebreaking**) Complete overhaul of `eolearn.coregistration`. See documentation for details.
- (**codebreaking**) Removed non-working HVPlot backend for `eolearn.visualization`.
- (**codebreaking**) The `SpatialResizeTask` had a bug when resizing w.r.t resolution. The issue was fixed and the signature of the task was redesigned to better avoid mistakes. See documentation for details.
- (**codebreaking**) The `EOPatch` methods `get_features` and `get_feature_list` were recombined into a new `get_features` method. The method `get_time_series` was removed. See documentation for details.
- (**codebreaking**) Removed unsound `use_int_coords` option in `eolearn.ml_tools.sampling.random_point_in_triangle`.
- Added ability to specify query in execute method of `MeteoblueTask`.
- `SentinelHubInputTask` no longer saves redundant data into meta-features.
- Module `eolearn.core.utils.types` was moved to `eolearn.core.types`. Old one will be removed in the future.
- Switched `opencv-contrib-python-headless` requirement to `opencv-python-headless`
- Added type annotations to most of the code base.
- Various improvements to tests and code.


## [Version 1.3.1] - 2022-11-23

- Sentinel Hub IO tasks now support a custom timestamp filtration via `timestamp_filter` parameter.
Expand Down
2 changes: 1 addition & 1 deletion core/eolearn/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
from .utils.parallelize import execute_with_mp_lock, join_futures, join_futures_iter, parallelize
from .utils.parsing import FeatureParser

__version__ = "1.3.1"
__version__ = "1.4.0"
2 changes: 1 addition & 1 deletion coregistration/eolearn/coregistration/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

from .coregistration import ECCRegistrationTask, get_gradient

__version__ = "1.3.1"
__version__ = "1.4.0"
2 changes: 1 addition & 1 deletion features/eolearn/features/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@
AddSpatioTemporalFeaturesTask,
)

__version__ = "1.3.1"
__version__ = "1.4.0"
2 changes: 1 addition & 1 deletion geometry/eolearn/geometry/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
)
from .transformations import RasterToVectorTask, VectorToRasterTask

__version__ = "1.3.1"
__version__ = "1.4.0"
2 changes: 1 addition & 1 deletion io/eolearn/io/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
get_available_timestamps,
)

__version__ = "1.3.1"
__version__ = "1.4.0"
2 changes: 1 addition & 1 deletion mask/eolearn/mask/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
from .snow_mask import SnowMaskTask, TheiaSnowMaskTask
from .utils import resize_images

__version__ = "1.3.1"
__version__ = "1.4.0"
2 changes: 1 addition & 1 deletion ml_tools/eolearn/ml_tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
from .sampling import BlockSamplingTask, FractionSamplingTask, GridSamplingTask, sample_by_values
from .train_test_split import TrainTestSplitTask

__version__ = "1.3.1"
__version__ = "1.4.0"
18 changes: 9 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def parse_requirements(file):
setup(
name="eo-learn",
python_requires=">=3.7",
version="1.3.1",
version="1.4.0",
description="Earth observation processing framework for machine learning in Python",
long_description=get_long_description(),
long_description_content_type="text/markdown",
Expand All @@ -38,14 +38,14 @@ def parse_requirements(file):
packages=[],
include_package_data=True,
install_requires=[
"eo-learn-core==1.3.1",
"eo-learn-coregistration==1.3.1",
"eo-learn-features==1.3.1",
"eo-learn-geometry==1.3.1",
"eo-learn-io==1.3.1",
"eo-learn-mask==1.3.1",
"eo-learn-ml-tools==1.3.1",
"eo-learn-visualization==1.3.1",
"eo-learn-core==1.4.0",
"eo-learn-coregistration==1.4.0",
"eo-learn-features==1.4.0",
"eo-learn-geometry==1.4.0",
"eo-learn-io==1.4.0",
"eo-learn-mask==1.4.0",
"eo-learn-ml-tools==1.4.0",
"eo-learn-visualization==1.4.0",
],
extras_require={"DEV": parse_requirements("requirements-dev.txt")},
zip_safe=False,
Expand Down
2 changes: 1 addition & 1 deletion visualization/eolearn/visualization/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

from .eopatch import PlotBackend, PlotConfig

__version__ = "1.3.1"
__version__ = "1.4.0"

0 comments on commit 04bebaa

Please sign in to comment.