Skip to content

Commit f159938

Browse files
authored
Merge pull request #1063 from karrioapi/hotfix/archiving-db-default
fix(manager,orders): add db_default=False to is_archived fields
2 parents f4a3a81 + 220b465 commit f159938

68 files changed

Lines changed: 505 additions & 200 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/platform-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
./bin/setup-server-env -v &&
2828
./bin/cli plugins list &&
2929
./bin/migrate &&
30+
source bin/activate-env && karrio check --tag database --fail-level ERROR &&
3031
./bin/run-server-tests -v
3132
3233
platform-ci:

.github/workflows/tests.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,19 @@ jobs:
138138
ENABLE_ALL_PLUGINS_BY_DEFAULT: "true"
139139
run: ./bin/migrate
140140

141+
- name: Check rolling-deploy schema safety
142+
env:
143+
DATABASE_ENGINE: postgresql
144+
DATABASE_NAME: karrio
145+
DATABASE_HOST: localhost
146+
DATABASE_PORT: "5432"
147+
DATABASE_USERNAME: postgres
148+
DATABASE_PASSWORD: postgres
149+
ENABLE_ALL_PLUGINS_BY_DEFAULT: "true"
150+
run: |
151+
source bin/activate-env
152+
karrio check --tag database --fail-level ERROR
153+
141154
- name: Run server tests
142155
env:
143156
DATABASE_ENGINE: postgresql

CHANGELOG.md

Lines changed: 15 additions & 0 deletions

apps/api/karrio/server/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2026.1.27
1+
2026.1.28

apps/www/openapi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ info:
1414
## Versioning
1515
1616
When backwards-incompatible changes are made to the API, a new, dated version is released.
17-
The current version is `2026.1.27`.
17+
The current version is `2026.1.28`.
1818
1919
Read our API changelog to learn more about backwards compatibility.
2020
@@ -84,7 +84,7 @@ info:
8484
All API requests must be made over [HTTPS](http://en.wikipedia.org/wiki/HTTP_Secure).
8585
API requests without authentication will also fail.
8686
title: Karrio API
87-
version: 2026.1.27
87+
version: 2026.1.28
8888
paths:
8989
/:
9090
get:

bin/deploy-hobby

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

33
set -e
44

5-
export KARRIO_TAG="${KARRIO_TAG:-2026.1.27}"
5+
export KARRIO_TAG="${KARRIO_TAG:-2026.1.28}"
66
export SENTRY_DSN="${SENTRY_DSN:-'https://public@sentry.example.com/1'}"
77

88
SECRET_KEY=$(head -c 28 /dev/urandom | sha224sum -b | head -c 56)
@@ -22,7 +22,7 @@ echo ""
2222
if ! [ -z "$1" ]; then
2323
export KARRIO_TAG=$1
2424
else
25-
echo "What version of Karrio would you like to install? (We default to '2026.1.27')"
25+
echo "What version of Karrio would you like to install? (We default to '2026.1.28')"
2626
echo "You can check out available versions here: https://hub.docker.com/r/karrio/server/tags"
2727
read -r KARRIO_TAG_READ
2828
if [ -z "$KARRIO_TAG_READ" ]; then

bin/deploy-insiders

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -e
44

5-
export KARRIO_TAG="${KARRIO_TAG:-2026.1.27}"
5+
export KARRIO_TAG="${KARRIO_TAG:-2026.1.28}"
66
export SENTRY_DSN="${SENTRY_DSN:-'https://public@sentry.example.com/1'}"
77

88
SECRET_KEY=$(head -c 28 /dev/urandom | sha224sum -b | head -c 56)

bin/upgrade-hobby

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ else
4141
fi
4242

4343
[[ -f ".env" ]] && export $(cat .env | xargs) || (echo "No .env file found. Please create it with SECRET_KEY and DOMAIN set." && exit 1)
44-
export KARRIO_TAG="${KARRIO_TAG:-2026.1.27}"
44+
export KARRIO_TAG="${KARRIO_TAG:-2026.1.28}"
4545

4646
# get karrio scripts
4747
mkdir -p ./karrio

docker/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ REDIS_PORT=6379
3030
# API - Configuration for the Nginx Reverse proxy.
3131
############
3232

33-
KARRIO_TAG=2026.1.27
33+
KARRIO_TAG=2026.1.28
3434
KARRIO_HTTP_PORT=5002
3535

3636
############

0 commit comments

Comments
 (0)