Skip to content

Commit 04bebaa

Browse files
authored
Increase version and write changelog (#547)
* Increase version and write changelog * mark random_point_in_triangle change as codebreaking * add note about removal of `get_time_series`
1 parent c75c93a commit 04bebaa

File tree

10 files changed

+32
-17
lines changed

10 files changed

+32
-17
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
## [Version 1.4.0] - 2023-1-20
2+
3+
- (**codebreaking**) Complete overhaul of `eolearn.coregistration`. See documentation for details.
4+
- (**codebreaking**) Removed non-working HVPlot backend for `eolearn.visualization`.
5+
- (**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.
6+
- (**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.
7+
- (**codebreaking**) Removed unsound `use_int_coords` option in `eolearn.ml_tools.sampling.random_point_in_triangle`.
8+
- Added ability to specify query in execute method of `MeteoblueTask`.
9+
- `SentinelHubInputTask` no longer saves redundant data into meta-features.
10+
- Module `eolearn.core.utils.types` was moved to `eolearn.core.types`. Old one will be removed in the future.
11+
- Switched `opencv-contrib-python-headless` requirement to `opencv-python-headless`
12+
- Added type annotations to most of the code base.
13+
- Various improvements to tests and code.
14+
15+
116
## [Version 1.3.1] - 2022-11-23
217

318
- Sentinel Hub IO tasks now support a custom timestamp filtration via `timestamp_filter` parameter.

core/eolearn/core/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@
3232
from .utils.parallelize import execute_with_mp_lock, join_futures, join_futures_iter, parallelize
3333
from .utils.parsing import FeatureParser
3434

35-
__version__ = "1.3.1"
35+
__version__ = "1.4.0"

coregistration/eolearn/coregistration/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
from .coregistration import ECCRegistrationTask, get_gradient
66

7-
__version__ = "1.3.1"
7+
__version__ = "1.4.0"

features/eolearn/features/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@
3838
AddSpatioTemporalFeaturesTask,
3939
)
4040

41-
__version__ = "1.3.1"
41+
__version__ = "1.4.0"

geometry/eolearn/geometry/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
)
1212
from .transformations import RasterToVectorTask, VectorToRasterTask
1313

14-
__version__ = "1.3.1"
14+
__version__ = "1.4.0"

io/eolearn/io/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
get_available_timestamps,
1414
)
1515

16-
__version__ = "1.3.1"
16+
__version__ = "1.4.0"

mask/eolearn/mask/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
from .snow_mask import SnowMaskTask, TheiaSnowMaskTask
99
from .utils import resize_images
1010

11-
__version__ = "1.3.1"
11+
__version__ = "1.4.0"

ml_tools/eolearn/ml_tools/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
from .sampling import BlockSamplingTask, FractionSamplingTask, GridSamplingTask, sample_by_values
66
from .train_test_split import TrainTestSplitTask
77

8-
__version__ = "1.3.1"
8+
__version__ = "1.4.0"

setup.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def parse_requirements(file):
2121
setup(
2222
name="eo-learn",
2323
python_requires=">=3.7",
24-
version="1.3.1",
24+
version="1.4.0",
2525
description="Earth observation processing framework for machine learning in Python",
2626
long_description=get_long_description(),
2727
long_description_content_type="text/markdown",
@@ -38,14 +38,14 @@ def parse_requirements(file):
3838
packages=[],
3939
include_package_data=True,
4040
install_requires=[
41-
"eo-learn-core==1.3.1",
42-
"eo-learn-coregistration==1.3.1",
43-
"eo-learn-features==1.3.1",
44-
"eo-learn-geometry==1.3.1",
45-
"eo-learn-io==1.3.1",
46-
"eo-learn-mask==1.3.1",
47-
"eo-learn-ml-tools==1.3.1",
48-
"eo-learn-visualization==1.3.1",
41+
"eo-learn-core==1.4.0",
42+
"eo-learn-coregistration==1.4.0",
43+
"eo-learn-features==1.4.0",
44+
"eo-learn-geometry==1.4.0",
45+
"eo-learn-io==1.4.0",
46+
"eo-learn-mask==1.4.0",
47+
"eo-learn-ml-tools==1.4.0",
48+
"eo-learn-visualization==1.4.0",
4949
],
5050
extras_require={"DEV": parse_requirements("requirements-dev.txt")},
5151
zip_safe=False,

visualization/eolearn/visualization/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
from .eopatch import PlotBackend, PlotConfig
66

7-
__version__ = "1.3.1"
7+
__version__ = "1.4.0"

0 commit comments

Comments
 (0)