You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+55-44Lines changed: 55 additions & 44 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,69 +5,77 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
6
6
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7
7
8
-
## Unreleased
8
+
## [v0.7.0] - 2025-09-17
9
+
10
+
### ⚠️ Breaking Change
11
+
12
+
- ([#176]) Removed support for Python 3.9.
9
13
10
14
### Added
11
15
12
-
- ([#176]) Adds a `collection_matchers`
13
-
array to the payload process block to support deterministic order when collection
14
-
matching.
15
-
- ([#176]) Adds a `collection_options`
16
-
object to the payload process block to support collection-specific options such as
17
-
upload options.
16
+
- ([#176]) Adds a `collection_matchers` array to the payload process block to support
17
+
deterministic order when collection matching.
18
+
- ([#176]) Adds a `collection_options` object to the payload process block to support
19
+
collection-specific options such as upload options.
20
+
- ([#176]) Adds direct access to the payload dictionary through `self.payload` on
21
+
the Task class.
22
+
- ([#176]) Adds access to payload properties through `self.payload.<property>` on
23
+
the Task class.
18
24
19
25
### Changed
20
26
21
-
- ([#176]) Separated the payload
22
-
data model from the Task class.
23
-
- ([#176]) Direct access to the
24
-
payload dictionary is now through `self.payload` rather than `self._payload`
25
-
(deprecated).
26
-
- ([#176]) Payload properties are now
27
-
accessed through `self.payload.<property>` rather than `self.<property>` (deprecated).
28
-
- ([#176]) Removed support for Python
29
-
3.9.
27
+
- ([#176]) Separated the payload data model from the Task class.
28
+
29
+
### Deprecated
30
+
31
+
- ([#176]) Direct access to the payload dictionary through `self._payload` is
32
+
deprecated in favor of `self.payload`.
33
+
- ([#176]) Direct access to payload properties through `self.<property>` is
34
+
deprecated in favor of `self.payload.<property>`.
35
+
- ([#167]) The collection mapping in the `collections` field in `upload_options` is
36
+
deprecated in favor of `collection_matchers`.
30
37
31
-
## [0.6.1]
38
+
## [v0.6.1] - 2024-11-25
32
39
33
40
### Added
34
41
35
-
- ([#167]) Adds workflow-level
36
-
options to the ProcessDefinition object in a new `workflow_options` field. They are
37
-
combined with each task's options, giving precedence to the task options on conflict.
38
-
- ([#167]) Adds a `workflow_options`
39
-
property to the `Task` class that returns the `workflow_options` dictionary from the
40
-
`ProcessDefinition` object.
41
-
- ([#167]) Adds a `task_options`
42
-
property to the `Task` class that returns the task options from the `tasks` dictionary
43
-
in the `ProcessDefinition` object.
42
+
- ([#167]) Adds workflow-level options to the ProcessDefinition object in a new
43
+
`workflow_options` field. They are combined with each task's options, giving
44
+
precedence to the task options on conflict.
45
+
- ([#167]) Adds a `workflow_options` property to the `Task` class that returns the
46
+
`workflow_options` dictionary from the `ProcessDefinition` object.
47
+
- ([#167]) Adds a `task_options` property to the `Task` class that returns the task
48
+
options from the `tasks` dictionary in the `ProcessDefinition` object.
44
49
45
50
### Deprecated
46
51
47
-
- ([#166]) Bare `ProcessDefinition`
48
-
objects are deprecated in favor of arrays of `ProcessDefinition` objects.
52
+
- ([#166]) Bare `ProcessDefinition` objects are deprecated in favor of arrays of
53
+
`ProcessDefinition` objects.
49
54
50
-
## [0.6.0]
55
+
## [v0.6.0] - 2024-09-19
51
56
52
57
### ⚠️ Breaking Change
53
58
54
-
- ([#147]) Moved
55
-
`Task.validate` from class method to instance method, availing
59
+
- ([#147]) Moved `Task.validate` from class method to instance method, availing
56
60
implementers of other instance convenience methods (i.e. `self.parameters`).
57
61
58
-
## [0.5.1] - 2024-05-23
62
+
## [v0.5.1] - 2024-05-23
59
63
60
64
### Added
61
65
62
-
- download_item_assets and download_items_assets methods now accept a parameter `file_name` for configuring the filename to save the STAC Item as. If unset, it defaults to `item.json` and if set to `None` the filename is inferred from the ID.
66
+
- download_item_assets and download_items_assets methods now accept a parameter
67
+
`file_name` for configuring the filename to save the STAC Item as. If unset, it
68
+
defaults to `item.json` and if set to `None` the filename is inferred from the ID.
63
69
64
-
## [0.5.0] - 2024-05-08
70
+
## [v0.5.0] - 2024-05-08
65
71
66
72
### Deprecated
67
73
68
74
- Support for Python 3.8 has been removed.
69
-
- CLI flags `--skip-upload` and `--skip-validation` deprecated in favor of `--upload/--no-upload` and `--validate/no-validate`
70
-
- Task constructor arguments `skip_upload` and `skip_validation` deprecated in favor of `upload` and `validate`
75
+
- CLI flags `--skip-upload` and `--skip-validation` deprecated in favor of
76
+
`--upload/--no-upload` and `--validate/no-validate`
77
+
- Task constructor arguments `skip_upload` and `skip_validation` deprecated in favor of
78
+
`upload` and `validate`
71
79
72
80
### Fixed
73
81
@@ -80,7 +88,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
80
88
- The `processing:software` field is no longer added to Items by default. This is
81
89
because the intention of the STAC Processing Extension is to add metadata about the
82
90
processing of the data, whereas stactask is frequently used only for processing
83
-
metadata. Users wishing to retain this field can call the method `Task.add_software_version_to_item(item)` on the resulting item to add it.
91
+
metadata. Users wishing to retain this field can call the method
92
+
`Task.add_software_version_to_item(item)` on the resulting item to add it.
84
93
- Task logging now identifies the task instance that is logging, e.g.,
85
94
`INFO:my-task-name:[my-collection/workflow-my-workflow/task-1] Task did a thing.`
86
95
- Collection assignment now assigns the first matching collection expression, rather
@@ -93,13 +102,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
93
102
- Utils method `find_collection` to allow the retrieval of the collection name for
94
103
an Item dict
95
104
- Task method `upload_local_item_assets_to_s3(item)` to upload all local assets to S3
96
-
- Added support for using stdin and stdout as input and output for task, e.g., `cat in.json | src/mytask/mytask.py run --local | tee out.json`
105
+
- Added support for using stdin and stdout as input and output for task, e.g., `cat
106
+
in.json | src/mytask/mytask.py run --local | tee out.json`
97
107
98
108
## [v0.4.2] - 2024-03-08
99
109
100
110
### Added
101
111
102
-
- ([#92]) Task.upload_item_assets_to_s3 and asset_io.upload_item_assets_to_s3 support explicitly specifying the boto3utils3.s3 object.
112
+
- ([#92]) Task.upload_item_assets_to_s3 and asset_io.upload_item_assets_to_s3 support
113
+
explicitly specifying the boto3utils3.s3 object.
103
114
104
115
## [v0.4.1] - 2024-03-06
105
116
@@ -161,11 +172,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
0 commit comments