All migrations of webKnossos are documented in this file.
See MIGRATIONS.unreleased.md
for the changes which are not yet part of an official release.
This project adheres to Calendar Versioning 0Y.0M.MICRO
.
User-facing changes are documented in the changelog.
20.12.0 - 2020-11-23
- As volume annotations in arbitrary magnifications are now supported and the behavior of magnification restrictions of tasks has changed (allow full zoom, but disable tools unless in correct magnification), you may want to restrict all volume and hybrid task types to mag 1 to achieve the old behavior (mag1-only). NOTE: This query has to be executed BEFORE evolution 59 is performed.
update webknossos.tasktypes
set settings_allowedmagnifications = '{"min":1,"max":1,"shouldRestrict":true}'
where (tracingtype = 'volume' or tracingtype = 'hybrid')
and (settings_allowedmagnifications is null or settings_allowedmagnifications::json->>'shouldRestrict'='false');
- 057-add-layer-specific-view-configs.sql
- 058-add-onlyAllowedOrganization.sql
- 059-resolution-restrictions.sql
20.11.0 - 2020-10-26
20.10.0 - 2020-09-21
No migrations necessary.
20.09.0 - 2020-08-20
No migrations necessary.
20.08.0 - 2020-07-20
20.07.0 - 2020-06-29
No migrations necessary.
20.06.0 - 2020-05-25
20.05.0 - 2020-05-05
- The optional
defaultOrganization
attribute from thefeatures
block inapplication.conf
is not used anymore and can be removed. #4559
20.04.0 - 2020-03-23
- Default interval for detecting new/deleted datasets on disk (
braingames.binary.changeHandler.tickerInterval
in the config) has been reduced from 10 to 1 minute. If you relied on the value being 10 minutes, you have to set it explicitly now.
20.03.0 - 2020-02-27
No migrations necessary.
20.2.0 - 2020-01-27
20.1.0 - 2020-01-08
- The initial organization was renamed to
sample_organization
. Make sure to move the data over or to put a symlink in place. - The default
operatorData
was replaced. Make sure to update with valid information for public deployments. - The config
uri
has been refactored. Pairs ofuri
andsecured
have been replaced with justuri
which now requires ahttp://
orhttps://
prefix.
19.12.0 - 2019-11-25
No migrations necessary.
19.11.0 - 2019-10-28
19.10.0 - 2019-09-30
19.09.0 - 2019-08-28
No migrations necessary.
19.08.0 - 2019-07-29
No migrations necessary.
19.07.0 - 2019-07-01
19.06.0 - 2019-05-27
No migrations necessary.
19.05.0 - 2019-04-29
19.04.0 - 2019-04-01
- Redis is now needed for the tracingstore module. Make sure to install redis in your setup and adapt the config keys
tracingstore.redis.address
andtracingstore.redis.port
. - To ensure that the existing behavior for loading data is preserved ("best quality first" as opposed to the new "progressive quality" default) execute:
update webknossos.user_datasetconfigurations set configuration = configuration || jsonb '{"loadingStrategy":"BEST_QUALITY_FIRST"}'
. See #3801 for additional context. - The config parameter
application.title
has been added. Make sure to set a title for your instance. - The assets URLs now include
assets/
again, if you link to assets directly, please update the paths (e.g. in postgresorganizations.logoUrl
)
19.03.0 - 2019-03-04
- The config paramters
application.authentication.enableDevAutoVerify
andapplication.authentication.enableDevAutoAdmin
have been removed. To enable automatic verification for user signup, set the organization’s newenableAutoVerify
field totrue
in the database.
19.02.0 - 2019-02-04
- WebKnossos has a publication gallery now. There is no public interface to create publications yet, but instead those need to be inserted into the database directly.
Publications and additional dataset properties that are displayed in the gallery as well, can be inserted as follows:
insert into webknossos.publications(_id, publicationDate, imageUrl, title, description) values('5c3c9ec895010095014759fd', NOW(), '<LINK_TO_IMAGE>', '<TITLE>', '<DESCRIPTION>'); update webknossos.datasets set _publication = '5c3c9ec895010095014759fd', details='{"species":"<e.g. Mouse>", "brain-region":"<e.g. cortex>", "acquisition":"<e.g. Raw CLSM data>"}' where _id = '<DATASET_ID>' ;
19.01.0 - 2019-01-14
18.12.0 - 2018-11-26
- If additional dataset directories were watched using the config key
additionalFolders
, those symlinks are no longer updated. Consider setting up additional datastores for these directories respectively.
18.11.0 - 2018-10-29
- Some config keys have changed, if you overwrite them in your setup, please adapt: the
oxalis
prefix is renamed towebKnossos
so the new keys arewebKnossos.user.time.tracingPauseInSeconds
,webKnossos.tasks.maxOpenPerUser
,webKnossos.newOrganizationMailingList
as well asdatastore.webKnossos.uri
,datastore.webKnossos.secured
,datastore.webKnossos.pingIntervalMinutes
for the data store. - There is now a separate module for the tracingstore, the datastore is no longer responsible for saving tracings. This module can run as a standalone application, or as a module of webKnossos locally. It is recommended that you choose the option that was previously also in place for datastores. In case of a standalone datastore, the local one needs to be disabled in application.conf:
tracingstore.enabled = false
andplay.modules.disabled += "com.scalableminds.braingames.datastore.TracingStoreModule
– and in either case, the adress of the tracingstore (localhost or remote) needs to be inserted in the db inwebknossos.tracingStores
. - The FossilDB version has changed from
0.1.10
to0.1.14
. - The FossilDB needs to be run with an additional column family
volumeUpdates
. - If your setup overwrites the config key
play.http.router
to disable the local datastore, change it to"noDS.Routes"
(or"noDS.noTS.Routes"
to also disable the local tracingstore).
- 027-drop-dataset-name-unique-constraint.sql
- 028-add-isBlacklistedFromReport.sql
- 029-foreign-keys-deferrable.sql
- 030-tracingstore.sql
- 031-maintenance.sql
- 032-scratch-datastores.sql
18.10.0 - 2018-09-22
- 022-add-foreign-datastore.sql
- 023-drop-datastore-type.sql
- 024-drop-md5hash.sql
- 025-add-dataset-sortingKey.sql
- 026-decrease-total-instance.sql
- some keys in
application.conf
have changed, if you overwrite them in your setup, please adapt:application.secret
is nowplay.http.secret.key
,postgres.*
is nowslick.db.*
- Logger configuration has been simplified. Webknossos no longer comes with multiple logger config xmls, so if your setup selected a specific one of these, that needs to be removed (or a custom file needs to be supplied). Same for standalone datastore.
- Use
tools/volumeAddFallbackLayer.py
to add a fallback segmentation layer to existing volume tracing zip files (also compare CHANGELOG.md).
18.09.0 - 2018-08-20
18.08.0 - 2018-07-23
- 013-add-logoUrl.sql
- 014-equalize-schema-and-evolutions.sql
- 015-add-organization-displayname.sql
- To clean up half-deleted tasks as caused by this bug, run
update webknossos.annotations set isDeleted = true where _id in (select a._id from webknossos.annotations_ a join webknossos.tasks t on a._task = t._id where t.isDeleted and a.typ == 'Task')
- 016-add-schema-version.sql
- 017-add-organization-email.sql
- Add email addresses for notifications about new users and about task overtime to the
webknossos.organizations
entries in the Postgres database (previously inapplication.conf
>braintracing.newuserlist
andbraintracing.overTimeList
)
18.07.0 - 2018-07-05
First release