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: webknossos/Changelog.md
+48Lines changed: 48 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,8 @@ For upgrade instructions, please check the respective _Breaking Changes_ section
14
14
15
15
### Breaking Changes
16
16
- Changed writing behavior. There is a new argument `allow_resize` for `MagView.write`, which defaults to `False`. If set to `True`, the bounding box of the underlying `Layer` will be resized to fit the to-be-written data. That largely mirrors the previous behavior. However, it is not safe for concurrent operations, so it is disabled by default. It is recommended to set the `Layer.bounding_box` to the desired size before writing. Additionally, by default, writes need to be aligned with the underlying shard grid to guard against concurrency issues and avoid performance footguns. There is a new argument `allow_unaligned`, which defaults to `False`. If set to `True`, the check for shard alignment is skipped.
17
+
- Deprecated `chunks_per_shard` arguments in favor of `shard_shape`, which equals to `shard_shape = chunk_shape * chunks_per_shard`. The shard shape is more intuitive, because it directly defines the size of shards instead of being a factor of the chunk shape.
18
+
- Deprecated `dtype_per_layer` argument, because it promotes the use of uncommon dtypes and leads to confusion with the other `dtype_per_channel` argument. With this change only the use of `dtype_per_channel` is encouraged.
17
19
- Removed deprecated functions, properties and arguments:
18
20
- Functions:
19
21
-`open_annotation`, use `Annotation.load()` instead
@@ -101,12 +103,58 @@ For upgrade instructions, please check the respective _Breaking Changes_ section
101
103
-`compress` in `Layer.upsample` is now `True`
102
104
-`buffer_size` in `View.get_buffered_slice_reader` is now computed from the shard shape
103
105
-`buffer_size` in `View.get_buffered_slice_writer` is now computed from the shard shape
106
+
- Moved from positional argument to keyword-only argument:
107
+
-`json_update_allowed` in `MagView.write`
108
+
-`organization_id`, `sharing_token`, `webknossos_url`, `bbox`, `layers`, `mags`, `path`, `exist_ok` in `Dataset.download`
109
+
-`layers_to_link`, `jobs` in `Dataset.upload`
110
+
-`dtype_per_layer`, `dtype_per_channel`, `num_channels`, `data_format`, `bounding_box` in `Dataset.add_layer`
111
+
-`dtype_per_layer`, `dtype_per_channel`, `num_channels`, `data_format` in `Dataset.get_or_add_layer`
112
+
-`data_format`, `mag`, `chunk_shape`, `chunks_per_shard`, `shard_shape`, `compress` in `Dataset.add_layer_from_images`
113
+
-`chunk_shape`, `shard_shape`, `chunks_per_shard`, `data_format`, `compress`, `executor` in `Dataset.add_copy_layer`
114
+
-`organization_id`, `tags`, `name`, `folder_id` in `Dataset.get_remote_datasets`
115
+
-`make_relative` in `Dataset.add_symlink_layer`
116
+
-`name`, `make_relative`, `layers_to_ignore` in `Dataset.shallow_copy_dataset`
117
+
-`executor` in `Dataset.compress`
118
+
-`sampling_mode`, `coarsest_mag`, `executor` in `Dataset.downsample`
119
+
-`voxel_size`, `chunk_shape`, `shard_shape`, `chunks_per_shard`, `data_format`, `compress`, `executor`, `voxel_size_with_unit` in `Dataset.copy_dataset`
120
+
-`chunk_shape`, `shard_shape`, `chunks_per_shard`, `compress` in `Layer.add_mag`
121
+
-`chunk_shape`, `shard_shape`, `chunks_per_shard`, `compress` in `Layer.get_or_add_mag`
122
+
-`extend_layer_bounding_box`, `chunk_shape`, `shard_shape`, `chunks_per_shard`, `compress`, `executor` in `Layer.add_copy_mag`
123
+
-`make_relative`, `extend_layer_bounding_box` in `Layer.add_symlink_mag`
124
+
-`extend_layer_bounding_box` in `Layer.add_remote_mag`
125
+
-`extend_layer_bounding_box` in `Layer.add_fs_copy_mag`
126
+
-`move`, `extend_layer_bounding_box` in `Layer.add_mag_from_zarrarray`
0 commit comments