Skip to content

Commit b2ac21f

Browse files
authored
Merge pull request #964 from karrioapi/patch-2026.1.9
2 parents d6d03ff + 0137783 commit b2ac21f

File tree

324 files changed

+19285
-11249
lines changed

Some content is hidden

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

324 files changed

+19285
-11249
lines changed

.github/workflows/build.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,50 @@ jobs:
8888
# Only clone the community submodule which is public and needed for the build
8989
git submodule update --init community
9090
91+
- name: Set up Node.js
92+
uses: actions/setup-node@v4
93+
with:
94+
node-version: "20"
95+
9196
- id: get_tag
9297
run: |
9398
cat ./apps/api/karrio/server/VERSION
9499
echo "tag=$(cat ./apps/api/karrio/server/VERSION)" >> "$GITHUB_ENV"
95100
101+
- name: Build JS client
102+
run: |
103+
# Generate TypeScript fetch client from OpenAPI schema
104+
docker run --rm -v ${PWD}:/local openapitools/openapi-generator-cli generate \
105+
-i /local/schemas/openapi.yml \
106+
-g typescript-fetch \
107+
-o /local/packages/karriojs/api/generated \
108+
--additional-properties=typescriptThreePlus=true \
109+
--additional-properties=modelPropertyNaming=snake_case \
110+
--additional-properties=useSingleRequestParameter=true
111+
112+
# Build browser JS bundle
113+
cd packages/karriojs
114+
npm install
115+
npx gulp build --output "${GITHUB_WORKSPACE}/apps/api/karrio/server/static/karrio/js/karrio.js"
116+
cd -
117+
118+
- name: Build embeddable elements
119+
run: |
120+
cd packages/elements
121+
npm install
122+
npm run build
123+
124+
# Copy built elements to Django static directory
125+
ELEMENTS_STATIC="${GITHUB_WORKSPACE}/apps/api/karrio/server/static/karrio/elements"
126+
mkdir -p "${ELEMENTS_STATIC}" "${ELEMENTS_STATIC}/chunks"
127+
cp dist/elements.js dist/globals.css "${ELEMENTS_STATIC}/"
128+
cp dist/ratesheet.js dist/ratesheet.html "${ELEMENTS_STATIC}/"
129+
cp dist/devtools.js dist/devtools.css dist/devtools.html "${ELEMENTS_STATIC}/"
130+
cp dist/template-editor.js dist/template-editor.html "${ELEMENTS_STATIC}/"
131+
cp dist/connections.js dist/connections.html "${ELEMENTS_STATIC}/"
132+
[ -d dist/chunks ] && cp dist/chunks/* "${ELEMENTS_STATIC}/chunks/"
133+
cd -
134+
96135
- name: Build karrio server image
97136
run: |
98137
echo 'Building karrio server:${{ env.tag }}...'

.github/workflows/insiders-build.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,47 @@ jobs:
9191
submodules: recursive
9292
token: ${{ secrets.GH_PAT }}
9393

94+
- name: Set up Node.js
95+
uses: actions/setup-node@v4
96+
with:
97+
node-version: "20"
98+
9499
- id: get_tag
95100
run: |
96101
cat ./apps/api/karrio/server/VERSION
97102
echo "tag=$(cat ./apps/api/karrio/server/VERSION)" >> "$GITHUB_ENV"
98103
104+
- name: Build JS client
105+
run: |
106+
docker run --rm -v ${PWD}:/local openapitools/openapi-generator-cli generate \
107+
-i /local/schemas/openapi.yml \
108+
-g typescript-fetch \
109+
-o /local/packages/karriojs/api/generated \
110+
--additional-properties=typescriptThreePlus=true \
111+
--additional-properties=modelPropertyNaming=snake_case \
112+
--additional-properties=useSingleRequestParameter=true
113+
114+
cd packages/karriojs
115+
npm install
116+
npx gulp build --output "${GITHUB_WORKSPACE}/apps/api/karrio/server/static/karrio/js/karrio.js"
117+
cd -
118+
119+
- name: Build embeddable elements
120+
run: |
121+
cd packages/elements
122+
npm install
123+
npm run build
124+
125+
ELEMENTS_STATIC="${GITHUB_WORKSPACE}/apps/api/karrio/server/static/karrio/elements"
126+
mkdir -p "${ELEMENTS_STATIC}" "${ELEMENTS_STATIC}/chunks"
127+
cp dist/elements.js dist/globals.css "${ELEMENTS_STATIC}/"
128+
cp dist/ratesheet.js dist/ratesheet.html "${ELEMENTS_STATIC}/"
129+
cp dist/devtools.js dist/devtools.css dist/devtools.html "${ELEMENTS_STATIC}/"
130+
cp dist/template-editor.js dist/template-editor.html "${ELEMENTS_STATIC}/"
131+
cp dist/connections.js dist/connections.html "${ELEMENTS_STATIC}/"
132+
[ -d dist/chunks ] && cp dist/chunks/* "${ELEMENTS_STATIC}/chunks/"
133+
cd -
134+
99135
- name: Build insider server image
100136
run: |
101137
echo 'Build and push karrio-insiders server:${{ env.tag }}...'

.github/workflows/platform-build.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,46 @@ jobs:
3737
submodules: recursive
3838
token: ${{ secrets.GH_PAT }}
3939

40+
- name: Set up Node.js
41+
uses: actions/setup-node@v4
42+
with:
43+
node-version: "20"
44+
4045
- id: get_tag
4146
run: |
4247
echo "tag=$(cat ./apps/api/karrio/server/VERSION)" >> "$GITHUB_OUTPUT"
4348
49+
- name: Build JS client
50+
run: |
51+
docker run --rm -v ${PWD}:/local openapitools/openapi-generator-cli generate \
52+
-i /local/schemas/openapi.yml \
53+
-g typescript-fetch \
54+
-o /local/packages/karriojs/api/generated \
55+
--additional-properties=typescriptThreePlus=true \
56+
--additional-properties=modelPropertyNaming=snake_case \
57+
--additional-properties=useSingleRequestParameter=true
58+
59+
cd packages/karriojs
60+
npm install
61+
npx gulp build --output "${GITHUB_WORKSPACE}/apps/api/karrio/server/static/karrio/js/karrio.js"
62+
cd -
63+
64+
- name: Build embeddable elements
65+
run: |
66+
cd packages/elements
67+
npm install
68+
npm run build
69+
70+
ELEMENTS_STATIC="${GITHUB_WORKSPACE}/apps/api/karrio/server/static/karrio/elements"
71+
mkdir -p "${ELEMENTS_STATIC}" "${ELEMENTS_STATIC}/chunks"
72+
cp dist/elements.js dist/globals.css "${ELEMENTS_STATIC}/"
73+
cp dist/ratesheet.js dist/ratesheet.html "${ELEMENTS_STATIC}/"
74+
cp dist/devtools.js dist/devtools.css dist/devtools.html "${ELEMENTS_STATIC}/"
75+
cp dist/template-editor.js dist/template-editor.html "${ELEMENTS_STATIC}/"
76+
cp dist/connections.js dist/connections.html "${ELEMENTS_STATIC}/"
77+
[ -d dist/chunks ] && cp dist/chunks/* "${ELEMENTS_STATIC}/chunks/"
78+
cd -
79+
4480
- name: Build platform server image
4581
run: |
4682
echo 'Build and push karrio-platform server:${{ steps.get_tag.outputs.tag }}...'

CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,41 @@
1+
# Karrio 2026.1.9
2+
3+
## Changes
4+
5+
### Feat
6+
7+
- feat: add rate sheet editor to connections element and strip carrier SVG bundling
8+
- feat: enhance shipments and trackers list views with rate and destination columns
9+
- feat: add webhook event replay with event_id support
10+
- feat: add carrier network link to admin sidebar
11+
- feat: merge tracker logs and events into shipment activity timeline
12+
- feat: add dynamic carrier config fieldsets to platform admin
13+
- feat: add event timeline with tracing records and dedicated tracing view
14+
- feat: add worker monitoring and system health views to developer tools
15+
16+
### Fix
17+
18+
- fix: web app Next.js 16 Turbopack and ESM compatibility
19+
- fix: update nextra import paths for v4 compatibility
20+
- fix: resolve auth token caching issues causing repeated OAuth requests
21+
22+
### Refactor
23+
24+
- refactor: improve developer tools drawer and views
25+
- refactor: split admin GraphQL into admin/ and admin-ee/ for OSS/EE separation
26+
- refactor: move admin module from ee/insiders to OSS
27+
- refactor: relocate carrier integration skills from CLI to SKILLS/
28+
- refactor: clean up tracking pipeline and add task lock for deduplication
29+
- refactor: replace monolithic tracker update with dispatcher + per-carrier worker tasks
30+
31+
### Chore
32+
33+
- chore: regenerate schemas and frontend types
34+
- chore: add JS client and elements build steps to CI workflows
35+
- chore: update built element static assets
36+
37+
---
38+
139
# Karrio 2026.1.8
240

341
## Changes

0 commit comments

Comments
 (0)