Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Bump version 3.0.2.

Mike Cao33e927ed1fe0
diff --git a/biome.json b/biome.json
index 0dec793be..61d094cac 100644
--- a/biome.json
+++ b/biome.json
@@ -46,6 +46,14 @@
"arrowParentheses": "asNeeded"
}
},
+ "css": {
+ "formatter": {
+ "enabled": true,
+ "indentStyle": "space",
+ "indentWidth": 2,
+ "lineEnding": "lf"
+ }
+ },
"assist": {
"enabled": true,
"actions": {
diff --git a/package.json b/package.json
index e20ae62d0..09a691352 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "umami",
- "version": "3.0.1",
+ "version": "3.0.2",
"description": "A modern, privacy-focused alternative to Google Analytics.",
"author": "Umami Software, Inc. <[email protected]>",
"license": "MIT",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index ef3eb1fa2..10eed8210 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -331,44 +331,7 @@ importers:
specifier: ^5.9.3
version: 5.9.3
- dist:
- dependencies:
- chart.js:
- specifier: ^4.5.0
- version: 4.5.1
- chartjs-adapter-date-fns:
- specifier: ^3.0.0
- colord:
- specifier: ^2.9.2
- version: 2.9.3
- jsonwebtoken:
- specifier: ^9.0.2
- version: 9.0.2
- lucide-react:
- specifier: ^0.542.0
- version: 0.542.0([email protected])
- pure-rand:
- specifier: ^7.0.1
- version: 7.0.1
- react-simple-maps:
- specifier: ^2.3.0
- react-use-measure:
- specifier: ^2.0.4
- react-window:
- specifier: ^1.8.6
- serialize-error:
- specifier: ^12.0.0
- version: 12.0.0
- thenby:
- specifier: ^1.3.4
- version: 1.3.4
- uuid:
- specifier: ^11.1.0
- version: 11.1.0
+ dist: {}
packages:
@@ -5095,11 +5058,6 @@ packages:
resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==}
engines: {node: '>=10'}
- resolution: {integrity: sha512-w3hD8/SQB7+lzU2r4VdFyzzOzKnUjTZIF/MQJGSSvni7Llewni4vuViRppfRAa2guOsY5k4jZyxw/i9DQHv+dw==}
- peerDependencies:
- react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0
-
resolution: {integrity: sha512-fpVfuOQO0V3HBaOA1stIiP/A2fPCXHIleRZL16Mx3HmjTYwNSbimhnFBygs2CAfU1geexMX5ItUcWBGUaqw5CA==}
peerDependencies:
@@ -12738,10 +12696,6 @@ snapshots:
dependencies:
yallist: 4.0.0
- dependencies:
- react: 19.2.1
-
dependencies:
react: 19.2.1
diff --git a/src/lib/prisma.ts b/src/lib/prisma.ts
index 06336d3b5..64cb870fd 100644
--- a/src/lib/prisma.ts
+++ b/src/lib/prisma.ts
@@ -303,9 +303,7 @@ function getClient() {
const url = process.env.DATABASE_URL;
const replicaUrl = process.env.DATABASE_REPLICA_URL;
const logQuery = process.env.LOG_QUERY;
-
- const connectionUrl = new URL(url);
- const schema = connectionUrl.searchParams.get('schema') ?? undefined;
+ const schema = getSchema();
const baseAdapter = new PrismaPg({ connectionString: url }, { schema });