Skip to content

Commit 217aabb

Browse files
committed
Merge branch 'analytics' into qa
2 parents 17f6a62 + d43293d commit 217aabb

Some content is hidden

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

81 files changed

+1421
-1048
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
strategy:
1717
matrix:
1818
include:
19-
- node-version: 18.17
19+
- node-version: 18.18
2020
db-type: postgresql
21-
- node-version: 18.17
21+
- node-version: 18.18
2222
db-type: mysql
2323

2424
steps:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ RUN addgroup --system --gid 1001 nodejs
3636
RUN adduser --system --uid 1001 nextjs
3737

3838
RUN set -x \
39-
&& apk add --no-cache curl \
39+
&& apk add --no-cache curl openssl \
4040
&& yarn add npm-run-all dotenv semver [email protected]
4141

4242
# You only need to copy next.config.js if you are NOT using the default configuration

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ A detailed getting started guide can be found at [umami.is/docs](https://umami.i
3535

3636
### Requirements
3737

38-
- A server with Node.js version 16.13 or newer
38+
- A server with Node.js version 18.18 or newer
3939
- A database. Umami supports [MariaDB](https://www.mariadb.org/) (minimum v10.5), [MySQL](https://www.mysql.com/) (minimum v8.0) and [PostgreSQL](https://www.postgresql.org/) (minimum v12.14) databases.
4040

4141
### Install Yarn

db/postgresql/schema.prisma

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
generator client {
2-
provider = "prisma-client-js"
2+
provider = "prisma-client-js"
3+
binaryTargets = ["native", "linux-musl-openssl-3.0.x"]
34
}
45

56
datasource db {
@@ -19,8 +20,8 @@ model User {
1920
updatedAt DateTime? @updatedAt @map("updated_at") @db.Timestamptz(6)
2021
deletedAt DateTime? @map("deleted_at") @db.Timestamptz(6)
2122
22-
websiteUser Website[] @relation("user")
23-
websiteCreateUser Website[] @relation("createUser")
23+
websiteUser Website[] @relation("user")
24+
websiteCreateUser Website[] @relation("createUser")
2425
teamUser TeamUser[]
2526
report Report[]
2627
@@ -112,7 +113,6 @@ model WebsiteEvent {
112113
@@index([visitId])
113114
@@index([websiteId])
114115
@@index([websiteId, createdAt])
115-
116116
@@index([websiteId, createdAt, urlPath])
117117
@@index([websiteId, createdAt, urlQuery])
118118
@@index([websiteId, createdAt, referrerDomain])
@@ -150,7 +150,7 @@ model SessionData {
150150
id String @id() @map("session_data_id") @db.Uuid
151151
websiteId String @map("website_id") @db.Uuid
152152
sessionId String @map("session_id") @db.Uuid
153-
dataKey String @map("data_key") @db.VarChar(500)
153+
dataKey String @map("data_key") @db.VarChar(500)
154154
stringValue String? @map("string_value") @db.VarChar(500)
155155
numberValue Decimal? @map("number_value") @db.Decimal(19, 4)
156156
dateValue DateTime? @map("date_value") @db.Timestamptz(6)

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ services:
1212
depends_on:
1313
db:
1414
condition: service_healthy
15+
init: true
1516
restart: always
1617
healthcheck:
1718
test: ["CMD-SHELL", "curl http://localhost:3000/api/heartbeat"]

package.json

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "umami",
3-
"version": "2.14.0",
3+
"version": "2.15.0",
44
"description": "A simple, fast, privacy-focused alternative to Google Analytics.",
55
"author": "Umami Software, Inc. <[email protected]>",
66
"license": "MIT",
@@ -63,18 +63,21 @@
6363
"cacheDirectories": [
6464
".next/cache"
6565
],
66+
"resolutions": {
67+
"jackspeak": "2.1.1"
68+
},
6669
"dependencies": {
6770
"@clickhouse/client": "^1.4.1",
6871
"@date-fns/utc": "^1.2.0",
6972
"@dicebear/collection": "^9.2.1",
7073
"@dicebear/core": "^9.2.1",
7174
"@fontsource/inter": "^4.5.15",
72-
"@prisma/client": "5.17",
75+
"@prisma/client": "5.22.0",
7376
"@prisma/extension-read-replicas": "^0.3.0",
7477
"@react-spring/web": "^9.7.3",
7578
"@tanstack/react-query": "^5.28.6",
7679
"@umami/prisma-client": "^0.14.0",
77-
"@umami/redis-client": "^0.21.0",
80+
"@umami/redis-client": "^0.24.0",
7881
"chalk": "^4.1.1",
7982
"chart.js": "^4.4.2",
8083
"chartjs-adapter-date-fns": "^3.0.0",
@@ -99,16 +102,15 @@
99102
"kafkajs": "^2.1.0",
100103
"maxmind": "^4.3.6",
101104
"md5": "^2.3.0",
102-
"moment-timezone": "^0.5.35",
103-
"next": "14.2.10",
105+
"next": "15.0.4",
104106
"next-basics": "^0.39.0",
105107
"node-fetch": "^3.2.8",
106108
"npm-run-all": "^4.1.5",
107-
"prisma": "5.17",
108-
"react": "^18.2.0",
109+
"prisma": "5.22.0",
110+
"react": "^19.0.0",
109111
"react-basics": "^0.125.0",
110112
"react-beautiful-dnd": "^13.1.0",
111-
"react-dom": "^18.2.0",
113+
"react-dom": "^19.0.0",
112114
"react-error-boundary": "^4.0.4",
113115
"react-intl": "^6.5.5",
114116
"react-simple-maps": "^2.3.0",
@@ -132,7 +134,7 @@
132134
"@svgr/rollup": "^8.1.0",
133135
"@svgr/webpack": "^8.1.0",
134136
"@types/cypress": "^1.1.3",
135-
"@types/jest": "^29.5.12",
137+
"@types/jest": "^29.5.14",
136138
"@types/node": "^20.9.0",
137139
"@types/react": "^18.2.41",
138140
"@types/react-dom": "^18.2.17",

public/intl/messages/ja-JP.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1450,7 +1450,7 @@
14501450
"label.visits": [
14511451
{
14521452
"type": 0,
1453-
"value": "訪問者数"
1453+
"value": "訪問数"
14541454
}
14551455
],
14561456
"label.website": [

0 commit comments

Comments
 (0)