Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1410 commits
Select commit Hold shift + click to select a range
75c4ef8
trivial: prettier
vklimontovich Feb 25, 2025
bc59c49
trivial: notification typo
vklimontovich Feb 25, 2025
239e26a
console: fix Sites link
absorbb Feb 26, 2025
ce3b740
posthog-destination: fix an issue with the tracking of anonymous user…
jspizziri Feb 26, 2025
419a257
fix(ga4-destination): fix an issue with zero value purchases/transact…
jspizziri Feb 26, 2025
bc61671
console: small tweaks
absorbb Feb 28, 2025
9f0c487
console: small tweaks
absorbb Feb 28, 2025
c8546ae
console: small tweaks
absorbb Feb 28, 2025
d390793
console: small tweaks
absorbb Feb 28, 2025
6abf0d3
console: small tweaks
absorbb Feb 28, 2025
fa725c3
Feat/newjitsu/profile builder 2 (#1184)
absorbb Mar 5, 2025
8d60d16
small tweaks
absorbb Mar 5, 2025
ea757dd
clarify Warehouse API types
absorbb Mar 5, 2025
33897d2
clarify Warehouse API types
absorbb Mar 5, 2025
87d6e1f
jitsu-js: added option to customize cookie names
absorbb Mar 6, 2025
aae781d
rotor: don't apply additional fromJitsuClassic conversion for retried…
absorbb Mar 7, 2025
dd2bf97
console: make Deduplication Window setting visible for Redshift
absorbb Mar 10, 2025
652d4eb
rotor: Enhance Redis support (#1185)
dmeremyanin Mar 10, 2025
655622e
rotor: add allConnections array into Profile Builder's Transformation…
absorbb Mar 10, 2025
9c3f167
feat: support of Jitsu Classic billing
vklimontovich Mar 10, 2025
d2ec631
fix: prettier
vklimontovich Mar 10, 2025
bc3b2aa
console: snowflake: #1182 Snowflake: Support for Key-Pair authentication
absorbb Mar 12, 2025
e9d4403
rotor: metrics performance improvements
absorbb Mar 13, 2025
ca3d731
rotor: metrics performance improvements
absorbb Mar 13, 2025
bb42c6f
functions: enable metrics
absorbb Mar 13, 2025
2681491
rotor: Warehouse API: better support for array params
absorbb Mar 16, 2025
d7b06ce
console: use turbopack for dev
absorbb Mar 17, 2025
5466aea
console: events log: show queue size for batches
absorbb Mar 17, 2025
c042469
console: migration
absorbb Mar 20, 2025
bd38107
console: migration
absorbb Mar 20, 2025
9e92c1e
console: sync scheduler workaround
absorbb Mar 20, 2025
b452924
console: remove response size limit from export endpoints
absorbb Mar 20, 2025
04d25d3
console: sync scheduler workaround
absorbb Mar 20, 2025
351651b
console: syncs: don't run full sync with Google Scheduler each time o…
absorbb Mar 21, 2025
e5b2d5b
fix
absorbb Mar 21, 2025
cea001e
fix
absorbb Mar 21, 2025
80e4480
console: wrap long sync names in task log
absorbb Mar 21, 2025
8e83235
De-duplicate messageID generation in high throughput scenarios (#1186)
ikraamg Mar 23, 2025
019bbd8
console: fix Create new button int the ConnectionsDiagram
absorbb Mar 23, 2025
f216c4e
console: fix Create new button int the ConnectionsDiagram
absorbb Mar 23, 2025
96f774e
canary version up.
absorbb Mar 23, 2025
034bb77
upgrade next.js
absorbb Mar 23, 2025
86645ce
console: notifications: even is status doesn't change, update descrip…
absorbb Mar 24, 2025
042762a
console: notifications: even is status doesn't change, update descrip…
absorbb Mar 24, 2025
2d8f29b
console: notifications: fix
absorbb Mar 24, 2025
4e711d2
console: notifications: fix
absorbb Mar 24, 2025
220bb6a
console: notifications: fix
absorbb Mar 24, 2025
54b6480
console: notifications: fix
absorbb Mar 24, 2025
3a51278
console: notifications: fix
absorbb Mar 24, 2025
ff98a63
console: notifications: fix
absorbb Mar 24, 2025
f30f7fe
console: notifications: fix
absorbb Mar 24, 2025
c641a09
console: notifications: fix
absorbb Mar 25, 2025
625a6d6
Revert "console: notifications: fix"
absorbb Mar 25, 2025
24e20cc
console: notifications: fix
absorbb Mar 25, 2025
70adbaf
console: notifications: fix
absorbb Mar 25, 2025
093d468
console: migration adjustments
absorbb Mar 26, 2025
6e33bd2
console: clickhouse: correctly show 'Use JSONEachRow format' option s…
absorbb Mar 28, 2025
2c0d542
jitsu-js: added `myshopify.com` to list of tld public suffixes
absorbb Mar 28, 2025
97c080c
console: clickhouse: correctly show 'Use JSONEachRow format' option s…
absorbb Mar 28, 2025
0e9c8ce
console: clickhouse-logger and metrics: don't provide async_insert_bu…
absorbb Mar 28, 2025
10edbd4
console: connection editor: don't crash on missing frequency setting
absorbb Mar 31, 2025
9a33939
console: migration adjustments
absorbb Mar 31, 2025
98868ad
rotor: user-recognition: by default initiate stitching only by 'ident…
absorbb Apr 1, 2025
09caf8e
Feat/newjitsu/email notifications (#1191)
absorbb Apr 2, 2025
5002a05
console: Notifications improvements
absorbb Apr 2, 2025
8d18a72
console: fixes
absorbb Apr 2, 2025
cb795e2
console: fixes
absorbb Apr 2, 2025
98419fc
console: enable email notifications
absorbb Apr 2, 2025
49b1db9
console: Notifications: separate template for PARTIAL status
absorbb Apr 2, 2025
1fb807d
console: Notifications: separate template for PARTIAL status
absorbb Apr 2, 2025
94d92f2
console: Notifications: fixes
absorbb Apr 2, 2025
0a38812
console: Notifications: tweaks
absorbb Apr 2, 2025
593f1f1
console: Notifications: tweaks
absorbb Apr 2, 2025
2a95857
rotor: fix for identity stitching in profile builder
absorbb Apr 3, 2025
bab6f60
migration fixes
absorbb Apr 3, 2025
730279a
migration fixes
absorbb Apr 3, 2025
7885291
migration fixes
absorbb Apr 3, 2025
8734dc6
rotor: events log: fix for record cannot be inserted on some CH versions
absorbb Apr 4, 2025
7a6d70d
console: increase flappingWindowHours to 4
absorbb Apr 4, 2025
b071de0
console: increase flappingWindowHours to 6
absorbb Apr 5, 2025
087fc94
console: actually change flappingWindowHours to 4
absorbb Apr 6, 2025
7f665f2
console: mixpanel: allow max batch size up to 2000
absorbb Apr 6, 2025
04fd196
console: migration fixes
absorbb Apr 8, 2025
f44a17a
console: migration fixes
absorbb Apr 8, 2025
10a3af3
console: migration fixes
absorbb Apr 8, 2025
70b2d07
console: Live Events: don't show tmp table name in the UI
absorbb Apr 8, 2025
9709130
ee: s3-connections: added updatedAt field
absorbb Apr 8, 2025
3bd750c
fix (billing): annual pricing support
vklimontovich Apr 8, 2025
a923ef3
Merge remote-tracking branch 'origin/newjitsu' into newjitsu
vklimontovich Apr 8, 2025
0350d06
fix: prettier
vklimontovich Apr 8, 2025
5c20884
console: remove switch to classic workspace
absorbb Apr 10, 2025
d8248b9
profile builder: user ReadPreference NEAREST
absorbb Apr 10, 2025
40be3ce
console: Profile Builder: don't automatically raise pb version on pub…
absorbb Apr 10, 2025
b85fb2c
console: Profile Builder: bring back version up
absorbb Apr 11, 2025
0aba799
rotor: collect queue size metrics only by the first pod in stateful set
absorbb Apr 15, 2025
d2d2a74
console: UI fixes.
absorbb Apr 15, 2025
a7ae744
fix: css made compatible with turbopack
vklimontovich Apr 15, 2025
0d223eb
console: Sync Tasks list - add time picker
absorbb Apr 16, 2025
611c792
console: Syncs: optimize overall sync stats query
absorbb Apr 17, 2025
202a5dd
console: Syncs: optimize overall sync stats query
absorbb Apr 17, 2025
694b62b
console: Live Events: show Queue size for stream mode
absorbb Apr 17, 2025
66d2923
feat: jitsu analytics js client improvements
vklimontovich Apr 17, 2025
58e8b3a
fix: prettier
vklimontovich Apr 17, 2025
086477a
console: notifications: fix for incorrect "Incident started at" on re…
absorbb Apr 18, 2025
0a09cdc
console: Syncs: fix for sync start date not reflecting actual start d…
absorbb Apr 18, 2025
d958e49
console: fix typo
absorbb Apr 18, 2025
2d12cf2
console: switch from resend to nodemailer
absorbb Apr 19, 2025
ef3248f
console: switch from resend to nodemailer
absorbb Apr 19, 2025
2faee6b
console: switch from resend to nodemailer
absorbb Apr 19, 2025
1f82922
console: switch from resend to nodemailer
absorbb Apr 19, 2025
d946e0a
console: events-log-trim: increase eventsLogSize for specific entities
absorbb Apr 19, 2025
48a7df4
rotor: performance optimizations (#1192)
absorbb Apr 21, 2025
734103a
profile builder: tweak index usage to avoid full scan
absorbb Apr 21, 2025
0922390
canary version up
absorbb Apr 21, 2025
7beba08
rotor: persistent store: fix for not working store error metrics
absorbb Apr 22, 2025
fa65703
fix test
absorbb Apr 22, 2025
7889861
Feat/newjitsu/pb consumer (#1195)
absorbb Apr 24, 2025
5019af0
small fixes
absorbb Apr 24, 2025
a272523
warehouseAPI: introduce timeout for queries (Default: 1000ms)
absorbb Apr 25, 2025
fe21f05
profiles: fix for speed measurements
absorbb Apr 25, 2025
902b165
fix: don't attempt vercel deploys from a branch
vklimontovich Apr 28, 2025
ccbc8bf
feat: added `react/jsx-curly-brace-presence` lint rule, not activated…
vklimontovich Apr 28, 2025
fa63bdf
fix: prettier
vklimontovich Apr 28, 2025
d98f219
github-actions: change issue-stale and issue-close to 60 days
absorbb Apr 29, 2025
99ad6af
Merge remote-tracking branch 'origin/newjitsu' into newjitsu
absorbb Apr 29, 2025
acad052
profile builder:fix
absorbb Apr 29, 2025
65723a2
package.json: workaround for breaking change introduced in pnpm 10
absorbb Apr 30, 2025
aff74fd
package.json: workaround for breaking change introduced in pnpm 10
absorbb Apr 30, 2025
000c091
package.json: workaround for breaking change introduced in pnpm 10
absorbb Apr 30, 2025
729d779
all.Dockerfile explicitly install pnpm9
absorbb Apr 30, 2025
4b06834
jitsu-js: added additional file dist/jitsu-no-ext.cjs.js that doesnt …
absorbb Apr 30, 2025
51b8a4a
jitsu-js: fix for type definitions
absorbb May 5, 2025
136a72e
profile builder tweaks
absorbb May 6, 2025
1cf27bd
rotor enable profiler
absorbb May 6, 2025
e454bdb
fix deps
absorbb May 6, 2025
89a83de
fix deps
absorbb May 6, 2025
4948938
fix
absorbb May 6, 2025
82b9ed0
deps fix
absorbb May 6, 2025
f3b26a6
console: clickhouse: leave loadAsJson enabled only for provisioned ch
absorbb May 12, 2025
e4884b1
profiles: don't repeat pb logs into stdout
absorbb May 14, 2025
82d415d
clickhouse: loadAsJson: disable by default and hide by default
absorbb May 14, 2025
906e68e
console: notifications: trim slack payload's error length to respect …
absorbb May 14, 2025
09b3648
console: vercel.json fix ignoreCommand
absorbb May 14, 2025
df786b2
console: vercel.json fix ignoreCommand
absorbb May 14, 2025
598321d
console: vercel.json remove ignoreCommand
absorbb May 14, 2025
9037f51
console: added queue sizes to metrics endpoints
absorbb May 15, 2025
2899c93
rotor: added connection_message_statuses metric
absorbb May 16, 2025
920bdf8
console: added MotherDuck destination
absorbb May 20, 2025
8c673c2
console: EventsLog: don't offere selection of not configured profile …
absorbb May 20, 2025
397145e
console: EventsLog: don't offere selection of not configured profile …
absorbb May 20, 2025
796fed9
console: MotherDuck destination: better description
absorbb May 20, 2025
2f26c70
console: syncs: added Schema Changes option
absorbb May 26, 2025
f4fd775
console: syncs: added Schema Changes option
absorbb May 26, 2025
a3fc533
console: syncs: added Schema Changes option
absorbb May 26, 2025
f31eb1b
feature: soft delete workspace (#1196)
danhemerlein May 28, 2025
75cd578
console: fix for infinite redirect
absorbb May 28, 2025
30753b7
docker-compose: change port to http
absorbb May 28, 2025
9e69f73
console: remove hardcoded emails
absorbb May 28, 2025
16f4c11
console: remove hardcoded emails
absorbb May 28, 2025
35635c6
feat: add workspace search with pagination, redesign settings and oth…
vklimontovich May 29, 2025
7372c94
console: active-events & workspace-stat switch to use active_incoming…
absorbb Jun 2, 2025
a2846a1
console: ConfigurationObjectLink add index by workspaceId
absorbb Jun 2, 2025
d078528
console: overage: optimize getSyncsStat query
absorbb Jun 2, 2025
022a3df
console: overage: optimize getSyncsStat query
absorbb Jun 2, 2025
13702a7
console: /api/workspaces bring back support for unpaged results becau…
absorbb Jun 5, 2025
1bf069b
console: /api/workspaces bring back support for unpaged results becau…
absorbb Jun 5, 2025
cb2258b
console: fix Workspace Configuration on onboarding
absorbb Jun 6, 2025
096844f
console: sync: properly fill package and version in createOrUpdateTask
absorbb Jun 9, 2025
55a76a1
jitsu-js: added setContextProperty & getContextProperty methods
absorbb Jun 16, 2025
fa42e7c
console: added Deduplicate option for Syncs
absorbb Jun 16, 2025
786fcc5
console: events-log-trim: remove entities with large log size
absorbb Jun 23, 2025
e6acbee
console: events-log-trim: remove entities with large log size
absorbb Jun 23, 2025
9840841
console: implement per-workspace OIDC configuration (#1202)
absorbb Jun 25, 2025
cb185b8
console: oidc tweaks
absorbb Jun 25, 2025
fb26c08
console: oidc tweaks
absorbb Jun 25, 2025
512da99
console: fix for sign out logic
absorbb Jun 25, 2025
4359c6b
console: signin: remove misleading text
absorbb Jun 25, 2025
23ff159
console: workspace user roles
absorbb Jun 27, 2025
d334541
console: fixes
absorbb Jun 27, 2025
fa590b4
console: workspace settings: show danger zone only for owners
absorbb Jun 27, 2025
ef50414
rotor: braze-destination: track event: omit reserved props
absorbb Jul 1, 2025
176ee40
feat: changes in billing, do not block workspace for enterprise plans
vklimontovich Jul 7, 2025
0d37b01
console, rotor: Salesforce destination
absorbb Jul 8, 2025
c86f617
Merge remote-tracking branch 'origin/newjitsu' into newjitsu
absorbb Jul 8, 2025
8c99f39
console, rotor: node24 support. small fixes
absorbb Jul 8, 2025
2b3f42e
rotor: disable inspect
absorbb Jul 9, 2025
05934fe
bulker: postgres support for Google Private Service Connect auth
absorbb Jul 9, 2025
2d001ef
console: small fixes
absorbb Jul 10, 2025
fe9864f
#1203 jitsu-react: support for react 19.x and react-router-dom 7.x
absorbb Jul 14, 2025
21f718d
amplitude: added Minimum ID Length option
absorbb Jul 15, 2025
17cedd7
Feat/newjitsu/roles (#1209)
absorbb Jul 15, 2025
7f84a44
console: fix UI glitches on displaying function with long descriptions
absorbb Jul 16, 2025
488a5a0
console: fix UI glitches on displaying function with long descriptions
absorbb Jul 16, 2025
b595f1c
console: fix UI glitches on displaying function with long descriptions
absorbb Jul 16, 2025
f47b0c6
console: fix for password-based login
absorbb Jul 17, 2025
6332695
rotor: don't retry for tainted connection id
absorbb Jul 18, 2025
ef53419
rotor: don't retry for tainted connection id
absorbb Jul 18, 2025
e6bb002
rotor: don't retry for tainted connection id
absorbb Jul 18, 2025
0a8b93a
rotor: don't retry for tainted connection id
absorbb Jul 18, 2025
309e00f
jitsu-js: added getConfiguration method
absorbb Jul 22, 2025
b042c19
mixpanel-destination: don't allow to override general props
absorbb Jul 22, 2025
5a502a3
console: option to disable connections
absorbb Jul 23, 2025
5738b4d
console: option to disable connections
absorbb Jul 23, 2025
688c1f9
console: fix for incorrectly displayed profile builder status
absorbb Jul 24, 2025
051c636
console: fix for incorrectly displayed profile builder status
absorbb Jul 24, 2025
9797d48
console: fix for incorrectly displayed profile builder status
absorbb Jul 24, 2025
f74642a
console: fix for incorrectly displayed profile builder status
absorbb Jul 24, 2025
48fd896
console: visual tweak
absorbb Jul 24, 2025
3d63581
console: notifications small opts
absorbb Jul 24, 2025
b47025e
console: EventBrowser better reporting for Mixpanel Batch API status
absorbb Jul 25, 2025
6bc52bd
salesforce-destination: support for field operations for upsert and u…
absorbb Jul 29, 2025
43c23b4
support for FETCH_LOGS_ENABLED env on connection level
absorbb Jul 30, 2025
5d688ed
jitsu-js: prevent changes made by functions for one sync destination …
absorbb Aug 8, 2025
acaa1ca
fix(console): remove unsued deps
absorbb Aug 14, 2025
d1f9745
fix(console): Workspace settings - correctly show user icon based on …
absorbb Aug 25, 2025
05882f4
fix(console): change auth type priority order: prefer workspace's oid…
absorbb Aug 25, 2025
1732899
fix(mixpanel-destination): skip events with invalid distinct id
absorbb Aug 26, 2025
14561f7
fix(console): change default auth type for sign-up to firebase-google
absorbb Aug 27, 2025
0a88243
fix(jitsu-js): fix regression introduced by #1135. Canonical URLs onc…
absorbb Aug 27, 2025
26fe918
WIP - workspace onboarding notes
vklimontovich Aug 27, 2025
9899ced
fix(console): check-email: allow multiple auth type for a single email
absorbb Aug 28, 2025
e3f7971
Merge branch 'newjitsu' into feat/newjitsu/workspace-onboarding
absorbb Aug 28, 2025
737642a
refactor(console): prettier
absorbb Aug 28, 2025
5e97d5f
fix(salesforce-destination): don't retry timed out PATCH request beca…
absorbb Aug 29, 2025
038396b
fix(jitsu-js): support for parsing GA4 session id from new GA4 Sessio…
absorbb Aug 29, 2025
19c18fd
fix(jitsu-js): support for parsing GA4 session id from new GA4 Sessio…
absorbb Aug 29, 2025
4047404
refactor(jitsu-js): added CHANGELOG.md. Canary version up
absorbb Aug 29, 2025
8aa6666
fix(rotor): support for hostnames blacklist for fetch method
absorbb Sep 1, 2025
9e2557d
fix(rotor): added option to block all local resource for fetch method
absorbb Sep 1, 2025
2789f96
fix(rotor): fetch: added support for whitelist of local resources
absorbb Sep 2, 2025
aac9520
fix(core-functions): fix mongodb collection index for identity stitch…
absorbb Sep 3, 2025
020d1e1
fix(console): improvements to setting up new workspaces (#1220)
absorbb Sep 3, 2025
f4fe65c
perf(rotor): optimize mongodb collection's indexes
absorbb Sep 8, 2025
4e5ba87
fix(jitsu-cli): make sure ~/.jitsu created before the first login
absorbb Sep 8, 2025
8f9b9eb
fix(mixpanel): support for dataResidency = EU
absorbb Sep 9, 2025
5f9d001
fix(rotor): support for multithreaded option
absorbb Sep 9, 2025
63853e7
fix(rotor): support for multithreaded option
absorbb Sep 9, 2025
aec6820
fix(rotor): support for multithreaded option
absorbb Sep 10, 2025
0a311f9
fix(console): support for spreadTablesSchedule option
absorbb Sep 10, 2025
23d808a
fix(console): bring back default deduplicate window value of 31 day
absorbb Sep 10, 2025
342dec8
Revert "fix(rotor): support for multithreaded option"
absorbb Sep 10, 2025
58393bb
refactor(console): deps upgrade
absorbb Sep 11, 2025
7eb997c
fix(facebook-conversions): version bump
absorbb Sep 12, 2025
7fc729d
docker: fix Kafka image pull (bitnami → bitnamilegacy) (#1218)
neahtSan Sep 17, 2025
cea0885
rotor: migrate to confluent kafka library (#1222)
absorbb Sep 19, 2025
4daada9
fix(console): added jitsucom/source-attio2 aternative Attio source image
absorbb Sep 22, 2025
34bb24e
fix(mixpanel): don't send merge or alias event if enableAnonymousUser…
absorbb Sep 25, 2025
019022e
fix(console): don't enable deduplication by default for BigQuery conn…
absorbb Oct 1, 2025
7cea888
fix(console): remove jitsucom/source-attio2 aternative Attio source i…
absorbb Oct 2, 2025
dd96a91
fix: fixed readme link
nquinlan Oct 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions .dockerignore

This file was deleted.

1 change: 1 addition & 0 deletions .dockerignore
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
#GITHUB_CLIENT_ID=<Make your own client>
#GITHUB_CLIENT_SECRET=<Make your own client>

#AUTH_OIDC_PROVIDER='{"issuer":"http://localhost:8080/realms/dev_realm","clientId":"dev_client","clientSecret":"your_generated_secret"}'

#DATABASE_URL=postgresql://postgres:postgres-mqf3nzx@localhost:5438/postgres
#REDIS_URL=redis://default:redis-mqf3nzx@localhost:6380
#KAFKA_BOOTSTRAP_SERVERS=localhost:19092
Expand Down
34 changes: 34 additions & 0 deletions .github/ISSUE_TEMPLATE/issue-template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: Issue template
about: Template for creating issues, both bugs and feature requests
title: ''
labels: ''
assignees: vklimontovich

---
```
┌─────────────────────────────────────────────────────────────────────────────────────────────────┐
│ IMPORTANT: GitHub is for discussing issues of self-hosting Jitsu. Please make sure that your │
│ issue can be reproduced for self-hosting environment. If you're experiencing problem with your │
│ Jitsu Cloud account, please contact [email protected]
└─────────────────────────────────────────────────────────────────────────────────────────────────┘

Please delete this block before submitting the issue
```

## Summary

<!-- Please put a summary of the issue with a clear context and motivation -->

## System configuration and versions

<!--
Is it Jitsu Classic or Jitsu Next? What is the version of Docker images you're using?
-->

## Artifacts (logs, etc)

<!--
If you're reporting a problem, please attach logs.
If possible, attach all log entries, not only lines with error message. Make sure to remove or mask any sensitive information such as api keys, IP addresses etc
-->
23 changes: 23 additions & 0 deletions .github/workflows/close-stale-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Close inactive issues
on:
schedule:
- cron: "30 1 * * *" #once a day at 1:30am

jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
days-before-issue-stale: 60
days-before-issue-close: 60
stale-issue-label: "🕰️Stale"
exempt-issue-labels: "⏳Postpone"
stale-issue-message: "This issue is stale because it has been open for 60 days with no activity."
close-issue-message: "This issue was closed because it has been inactive for 60 days since being marked as stale."
days-before-pr-stale: -1
days-before-pr-close: -1
repo-token: ${{ secrets.GITHUB_TOKEN }}
46 changes: 46 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Jitsu 2.0 Build Docker Images
on:
push:
branches:
# todo - change with main
- feat/newjitsu/self-hosted-revamped

jobs:
build:
name: Build Project
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8

- uses: actions/checkout@v3
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT

- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-

- name: Install dependencies with pnpm
run: pnpm install --no-frozen-lockfile

- name: Build Beta Images for AMD64
run: pnpm build-scripts docker --platform linux/amd64 --tag beta --push-git-tag --push-docker --logs
32 changes: 21 additions & 11 deletions .github/workflows/test-and-build.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,30 @@
name: Build and Test
name: Jitsu 2.0 Test and Build
on:
push:
branches: [newjitsu]
pull_request:
branches: [newjitsu]
workflow_dispatch:

env:
#container jitsucom/node16builder:latest has playwright browsers binaries preinstalled on this path:
#container jitsucom/node18builder:latest has playwright browsers binaries preinstalled on this path:
PLAYWRIGHT_BROWSERS_PATH: /root/.cache/ms-playwright

jobs:
test:
name: Test and Build project
container: jitsucom/node16builder:latest
build:
name: Build Project
container: jitsucom/node22builder:latest
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT

- uses: actions/cache@v3
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
Expand All @@ -34,18 +35,27 @@ jobs:
- name: Install dependencies with pnpm
run: pnpm install --no-frozen-lockfile
- name: Check code format
run: pnpm format:check
run: pnpm format:check:all
- name: Run linter
run: pnpm lint
- name: Build project
run: pnpm build
# - name: Publish canary versions
# run: pnpm build
- name: Run Tests
run: pnpm test
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: always()
with:
path: libs/jitsu-js/playwright/artifacts
name: artifacts/@jitsu/js
retention-days: 30
- name: Notify Slack
uses: rtCamp/action-slack-notify@v2
# Do not send notification for PRs, feature branches, or forks
if: ${{ env.SLACK_WEBHOOK != '' && github.ref == 'refs/heads/newjitsu' }}
env:
SLACK_USERNAME: "GitHub Actions"
SLACK_WEBHOOK: ${{ secrets.SLACK_DEV_CHANNEL }}
SLACK_COLOR: ${{ job.status }}
MSG_MINIMAL: "true"
SLACK_ICON_EMOJI: ":github-mark:"
SLACK_MESSAGE: "${{ job.status }}: Jitsu 2.0 Build: ${{ github.event.head_commit.message }}"
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
**/node_modules
.idea
.env.local
.turbo
Expand All @@ -8,3 +9,15 @@ node_modules

/libs/jitsu-react/dist/
/examples/nextjs-app/.next/
/examples/hubspot-function/dist/
/cli/jitsu-cli/compiled/
/cli/jitsu-cli/dist/
/types/protocols/dist/
/libs/functions/dist/
/docker/data/**
/cache/**
/cli/build-scripts/compiled/
/cli/build-scripts/dist/
/libs/jsondiffpatch/coverage/
/libs/jsondiffpatch/dist/
/devenv-*
6 changes: 5 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# bundle stats
*.mdx
*.md

jitsu
# configs -- will keep multi-line json arrays
.eslintrc.json
Expand All @@ -24,4 +25,7 @@ pnpm-lock.yaml
/webapps/console/prisma/schema
/libs/jitsu-js/__tests__/playwright/artifacts
/libs/jitsu-js/compiled/
libs/jitsu-js/dist/
libs/jitsu-js/dist/
/cli/jitsu-cli/compiled/
/cli/jitsu-cli/dist/
/libs/functions/dist/
Binary file added .readme-assets/overview-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed .readme-assets/screenshot.png
Binary file not shown.
4 changes: 4 additions & 0 deletions .versions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"beta": "2.3.*",
"latest": "2.2.*"
}
74 changes: 61 additions & 13 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,37 @@
# Prerequisites

- `node: 16.x`
- `pnpm: >= 7.15.0`
- `node: 18.x`
- `npx`
- `pnpm: >= 8.2.0`
- `docker: >= 19.03.0`

# Commands

- `pnpm install` - Install dependencies
- `pnpm build` - Build the project
- `pnpm format` - Apply prettier to the project
- `pnpm format:check` - Check if prettier needs to be applied
- `pnpm format` - Apply prettier to the project, only to changed files
- `pnpm format:check` - Check if prettier needs to be applied, check only changed files
- `pnpm format:check:all` - Check if prettier needs to be applied. Check all files
- `pnpm format:all` - Same as `pnpm format`, but check all files, regardless of changes
- `pnpm lint` - Run linter
- `pnpm test` - Run tests
- CI runs equivalent of `pnpm install && pnpm format:check && pnpm build && pnpm lint && pnpm test`.
- CI runs equivalent of `pnpm install && pnpm format:check:all && pnpm build && pnpm lint && pnpm test`.
- `pnpm factory-reset` - if you have any problems


# Releasing
# Releasing NPM packages

We use [monorel](https://github.com/jitsu/monorel) to publish releases. At the moment only `@jitsu/jitsu-react`, and `@jitsu/js` are published to npm. To avoid confusion,
always release them together, even if only one of them has changes.
We use [monorel](https://github.com/jitsucom/monorel) to publish releases to npm.

## Packages

- `@jitsu/protocols` (./types/protocols) - Base types for JS and React SDKs and Functions library
- `@jitsu/jitsu-react` (./libs/jitsu-react) - React SDK
- `@jitsu/js` (./libs/jitsu-js) - JS SDK
- `@jitsu/functions-lib` (./libs/functions) - library for Jitsu Functions
- `@jitsu/jitsu-cli` (./cli/jitsu-cli) - CLI to create, debug and deploy Jitsu Functions

To avoid confusion, always release all npm packages together, even if only one of them has changes.

## Common steps

Expand All @@ -28,15 +41,50 @@ always release them together, even if only one of them has changes.

## Canary releases

- `pnpm exec monorel --filter '@jitsu/js' --filter '@jitsu/jitsu-react' --filter '@jitsu/protocols' --version '1.1.0-canary.{rev}.{time}' --npm-tag canary` - to **dry-run** publishing
- Same command, but with `--publish` - to **publish**.
- `pnpm release:canary` - to **dry-run** publishing
- Same command, but with `pnpm release:canary --publish` - to **publish**.

> **Note**
> Replace `1.1.0` in `--version '1.1.0-canary.{rev}'` to the version that makes sense

## Stable releases

- `pnpm exec monorel --filter '@jitsu/js' --filter '@jitsu/jitsu-react' --filter '@jitsu/protocols' --version '**<put new version>**' --npm-tag latest` - to **dry-run** publishing
- `pnpm release --version <put a version here>` - to **dry-run** publishing
- Same command, but with `--publish` - to **publish**.


# Releasing Docker packages

We use [build-scripts](https://github.com/jitsucom/jitsu/tree/newjitsu/cli/build-scripts) along with `all.Dockerfile` to publish releases to Docker.

## Packages

- `jitsucom/console` (./webapps/console) - UI for Jitsu
- `jitsucom/rotor` (./services/rotor) - Functions Server for Jitsu

To avoid confusion, always release all packages together, even if only one of them has changes.

## Common steps

- Make sure that you are logged to your docker account `docker login`
- `pnpm install && pnpm format:check && pnpm build && pnpm lint && pnpm test` should succeed
- All changes should be committed (check with `git status`). It's ok to release canary from branches!

## Beta releases

- `./release.sh --dryRun` - to **dry-run** publishing.
- `./release.sh` - to actually **publish** beta.

## Stable releases

- `./release.sh --release latest --dryRun` - to **dry-run** publishing.
- `./release.sh --release latest ` - to actually **publish** latest image.

## Bumping versions

For initial release or to bump major/minor version pass `--version` argument to `./release.sh` script.

- `./release.sh --version 2.5.0`
- `./release.sh --release latest --version 2.5.0`




21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021 Jitsu Labs, Inc

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading