Changelog for Altworx 23.3.0
Warnings
- Searching for a last non-tick message has much lower step size now (10 instead of 1000), which means that it could take very long to e.g. start a run that inputs a very infrequent topic that has a lot of ticks at the tail. Such topics must be recomputed before upgrading. You can find such topics via these snippets: https://gitlab.dev.altworx.com/erlang/product/altworx/-/merge_requests/1917#note_19075
-
There is a great change in the way Altworx releases are assembled.
Some commands of the
altworxexecutable (inside the Altworx container) got renamed with this change:-
foreground=>start -
start=>daemon -
console=>start_iex -
remote_console=>remoteTheremote_consolecommand is used inutils/console.shof the empty deployment, so you may have to change it (toremote) in your deployments. This should be the only visible change, but beware that might not be the case!
-
- Altworx now requires Runbox 2.0 or newer. Scenarios built with Runbox 1.4 and older will stop working.
Breaking changes
-
Database version has changed, additional steps bellow has to be performed in order of successful upgrade. Please note that database dump may require significant amount of disc space and take some time to dump and restore.
Consider backing up changed database configuration files (e.g. $DATA_DIR/db/postgresql.conf).
cd /opt/altworx/deployment docker-compose -f altworx-prod.yml stop docker-compose -f altworx-prod.yml up -d db docker exec -i aw_db_1 /bin/bash -c "PGPASSWORD=assetmap pg_dump --username assetmap assetmap" | zstd -zc > /home/altworx/asset_map_dump.sql.zst docker-compose -f altworx-prod.yml stop rm -rf /var/altworx/db git pull --rebase docker-compose -f altworx-prod.yml pull docker-compose -f altworx-prod.yml up -d db zstd -dc /home/altworx/asset_map_dump.sql.zst | docker exec -i aw_db_1 psql -U assetmap /opt/altworx/deployment/install.sh
Changes
- Utils: Check application versions before starting slave node. (PR, #5828)
- Runtime: Ignore and report input out of order messages (PR, #5727)
- AssetMap: Fix graph API for non-admin user calls (PR, #5894)
- Asset Map: Improve Incidents severities SQL (PR)
- REST: Document Search and User in OpenAPI (PR, #5680)
- Asset map database image upgraded to 3.0.0 (PR, #5882)
- Upgrade to Elixir 1.14 and OTP 25 (PR, #5727)
-
Replace Distillery with
mix release(PR) - Kafka Utils: Lower step size when searching for a last non-tick message (PR, #5680)
- Remove old kafka-based ticking (PR, #5408)
- Asset Map: Remove deprecated views and rewrite affected selects (PR, #5408)
- Fix failing migration scripts caused by changes in bc5f774f
-
Add some UI prompts to configuration and REST API. See documentation (from
23.2.1) (PR, #5932) - Runbox upgraded to 2.1.0 (incl. 1.4.0, 1.4.1 and 2.0.0)
- Toolbox upgrade tot 2.0.0 (incl. 1.1.0)