Skip to content

Commit 876b243

Browse files
zigaLuksicMatic Lubej
andauthored
Increase versions (#622)
* update versions * add changelog of new version * Update CHANGELOG.md Co-authored-by: Matic Lubej <[email protected]> --------- Co-authored-by: Matic Lubej <[email protected]>
1 parent d9375cf commit 876b243

File tree

10 files changed

+31
-17
lines changed

10 files changed

+31
-17
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
## [Version 1.4.1] - 2023-3-14
2+
3+
- The codebase is now fully annotated and type annotations are mandatory for all new code.
4+
- In the future `EOPatch` objects will **require** a valid `bbox`. For now the users are warned when no such value is provided.
5+
- `SaveTask` and `LoadTask` now automatically save/load the bounding box whenever possible, even if not specified in `features` parameter. `CopyTask` and `MergeEOPatchesTask` also always include the bounding box when possible.
6+
- The `EOPatch` attribute `bbox` can no longer be deleted via the `del` command.
7+
- The `EOPatch` attribute `timestamp` was renamed into `timestamps`. The old name still works, but the users are notified. Similarly for `FeatureType.TIMESTAMP` which was renamed to `FeatureType.TIMESTAMPS`.
8+
- Feature parsers from `eolearn.core.utils.parsers` now support callables as input for `allowed_feature_types`, which are used for filtration over all feature types. Due to this improvement the class `FeatureTypeSet` was deprecated.
9+
- Certain rarely used methods of `FeatureType` were deprecated. Method `is_raster` has been renamed to `is_array` and designates feature types that contain numpy arrays. We also added `is_image` for types that denote temporal and timeless imagery.
10+
- Contributors are no longer listed in file headers, but are instead listed in the `CREDITS.md` file in the root of the repository.
11+
- Updated `CONTRIBUTING.md` instructions.
12+
- Various other minor improvements and deprecations.
13+
14+
115
## [Version 1.4.0] - 2023-1-20
216

317
- (**codebreaking**) Complete overhaul of `eolearn.coregistration`. See documentation for details.

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.4.0"
35+
__version__ = "1.4.1"

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.4.0"
7+
__version__ = "1.4.1"

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.4.0"
41+
__version__ = "1.4.1"

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.4.0"
14+
__version__ = "1.4.1"

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.4.0"
16+
__version__ = "1.4.1"

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.4.0"
11+
__version__ = "1.4.1"

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.4.0"
8+
__version__ = "1.4.1"

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.4.0",
24+
version="1.4.1",
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.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",
41+
"eo-learn-core==1.4.1",
42+
"eo-learn-coregistration==1.4.1",
43+
"eo-learn-features==1.4.1",
44+
"eo-learn-geometry==1.4.1",
45+
"eo-learn-io==1.4.1",
46+
"eo-learn-mask==1.4.1",
47+
"eo-learn-ml-tools==1.4.1",
48+
"eo-learn-visualization==1.4.1",
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.4.0"
7+
__version__ = "1.4.1"

0 commit comments

Comments
 (0)