Skip to content

Commit 8c5b9a6

Browse files
Merge branch 'master' into fix-screenshot-tests
2 parents d347c58 + fe53375 commit 8c5b9a6

File tree

6 files changed

+20
-11
lines changed

6 files changed

+20
-11
lines changed

CHANGELOG.unreleased.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,14 @@ For upgrade instructions, please check the [migration guide](MIGRATIONS.released
2828
- Fixed a bug that uploading a zarr dataset with an already existing `datasource-properties.json` file failed. [#8268](https://github.com/scalableminds/webknossos/pull/8268)
2929
- Fixed the organization switching feature for datasets opened via old links. [#8257](https://github.com/scalableminds/webknossos/pull/8257)
3030
- Fixed that uploading an NML file without an organization id failed. Now the user's organization is used as fallback. [#8277](https://github.com/scalableminds/webknossos/pull/8277)
31-
- Fixed that the frontend did not ensure a minium length for annotation layer names. Moreover, names starting with a `.` are also disallowed now. [#8244](https://github.com/scalableminds/webknossos/pull/8244)
31+
- Fixed that the frontend did not ensure a minimum length for annotation layer names. Moreover, names starting with a `.` are also disallowed now. [#8244](https://github.com/scalableminds/webknossos/pull/8244)
3232
- Fixed a bug where in the add remote dataset view the dataset name setting was not in sync with the datasource setting of the advanced tab making the form not submittable. [#8245](https://github.com/scalableminds/webknossos/pull/8245)
3333
- Fix read and update dataset route for versions 8 and lower. [#8263](https://github.com/scalableminds/webknossos/pull/8263)
3434
- Fixed that task bounding boxes are again converted to user bounding boxes when uploading annotations via nmls. [#8280](https://github.com/scalableminds/webknossos/pull/8280)
3535
- Added missing legacy support for `isValidNewName` route. [#8252](https://github.com/scalableminds/webknossos/pull/8252)
3636
- Fixed some layout issues in the upload view. [#8231](https://github.com/scalableminds/webknossos/pull/8231)
3737
- Fixed `FATAL: role "postgres" does not exist` error message in Docker compose. [#8240](https://github.com/scalableminds/webknossos/pull/8240)
38+
- Fixed the Zarr 3 implementation not accepting BytesCodec without "configuration" key. [#8282](https://github.com/scalableminds/webknossos/pull/8282)
3839

3940
### Removed
4041
- Removed support for HTTP API versions 3 and 4. [#8075](https://github.com/scalableminds/webknossos/pull/8075)

MIGRATIONS.unreleased.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ User-facing changes are documented in the [changelog](CHANGELOG.released.md).
88
## Unreleased
99
[Commits](https://github.com/scalableminds/webknossos/compare/24.12.0...HEAD)
1010
- Removed support for HTTP API versions 3 and 4. [#8075](https://github.com/scalableminds/webknossos/pull/8075)
11+
- New FossilDB version `0.1.33` (docker image `scalableminds/fossildb:master__504`) is required.
1112

1213
### Postgres Evolutions:
1314
- [124-decouple-dataset-directory-from-name](conf/evolutions/124-decouple-dataset-directory-from-name)

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ services:
269269

270270
# FossilDB
271271
fossildb:
272-
image: scalableminds/fossildb:master__484
272+
image: scalableminds/fossildb:master__504
273273
command:
274274
- fossildb
275275
- -c

fossildb/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.31
1+
0.1.33

tools/hosting/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: "2.2"
22

33
services:
44
webknossos:
5-
image: scalableminds/webknossos:${DOCKER_TAG:-23.04.0}
5+
image: scalableminds/webknossos:${DOCKER_TAG:-24.12.0}
66
ports:
77
- "127.0.0.1:9000:9000"
88
depends_on:
@@ -58,7 +58,7 @@ services:
5858

5959
# FossilDB
6060
fossildb:
61-
image: scalableminds/fossildb:master__489
61+
image: scalableminds/fossildb:master__504
6262
command:
6363
- fossildb
6464
- -c

webknossos-datastore/app/com/scalableminds/webknossos/datastore/datareaders/zarr3/Zarr3ArrayHeader.scala

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -211,12 +211,19 @@ object Zarr3ArrayHeader extends JsonImplicits {
211211
val codecSpecs = rawCodecSpecs.map(c => {
212212
for {
213213
spec: CodecConfiguration <- c("name") match {
214-
case JsString(BytesCodecConfiguration.name) => c(configurationKey).validate[BytesCodecConfiguration]
215-
case JsString(BytesCodecConfiguration.legacyName) => c(configurationKey).validate[BytesCodecConfiguration]
216-
case JsString(TransposeCodecConfiguration.name) => c(configurationKey).validate[TransposeCodecConfiguration]
217-
case JsString(GzipCodecConfiguration.name) => c(configurationKey).validate[GzipCodecConfiguration]
218-
case JsString(BloscCodecConfiguration.name) => c(configurationKey).validate[BloscCodecConfiguration]
219-
case JsString(ZstdCodecConfiguration.name) => c(configurationKey).validate[ZstdCodecConfiguration]
214+
// BytesCodec may have no "configuration" key
215+
case JsString(BytesCodecConfiguration.name) =>
216+
(c \ configurationKey).toOption
217+
.map(_.validate[BytesCodecConfiguration])
218+
.getOrElse(JsSuccess(BytesCodecConfiguration(None)))
219+
case JsString(BytesCodecConfiguration.legacyName) =>
220+
(c \ configurationKey).toOption
221+
.map(_.validate[BytesCodecConfiguration])
222+
.getOrElse(JsSuccess(BytesCodecConfiguration(None)))
223+
case JsString(TransposeCodecConfiguration.name) => c(configurationKey).validate[TransposeCodecConfiguration]
224+
case JsString(GzipCodecConfiguration.name) => c(configurationKey).validate[GzipCodecConfiguration]
225+
case JsString(BloscCodecConfiguration.name) => c(configurationKey).validate[BloscCodecConfiguration]
226+
case JsString(ZstdCodecConfiguration.name) => c(configurationKey).validate[ZstdCodecConfiguration]
220227
case JsString(Crc32CCodecConfiguration.name) =>
221228
JsSuccess(Crc32CCodecConfiguration) // Crc32 codec has no configuration
222229
case JsString(ShardingCodecConfiguration.name) => readShardingCodecConfiguration(c(configurationKey))

0 commit comments

Comments
 (0)