Stanislaw
dcf1b8b8b5
fix(tracker): track clicks on annotated containers and gracefully handle invalid pushState URLs
...
Three bugs in src/tracker/index.js, all empirically reproduced.
1. handleClicks() missed clicks on container elements: closest('a,button')
could not find a non-anchor ancestor with data-umami-event, so a click on
any descendant of <div data-umami-event=...> went untracked. Reworked to
closest([data-umami-event]) so any annotated ancestor matches.
2. handlePush() called new URL(url, location.href) outside normalize()'s
try/catch, so a host page calling history.pushState({}, '', invalidUrl)
would have umami's wrapper throw a TypeError into the host's router.
normalize(url) already handles base resolution and catches parse errors.
3. The history hook ran the umami callback BEFORE native pushState, so a
failed native call (SecurityError on invalid URL, etc.) would still mutate
currentUrl/currentRef and schedule a phantom pageview. Run native first;
if it throws, the callback never fires and tracker state stays consistent.
Bug 2 verified: 4/10 representative click scenarios missed before
(span inside div, deep span inside div, a with no href, button inside a),
all 10/10 tracked after.
Bug 1+3 verified: pushState({}, '', invalidUrl) now leaves tracker state
unchanged (currentUrl unchanged, no phantom pageview).
2026-05-07 16:04:16 +02:00
Francis Cao
b5c4dbfa56
Merge pull request #4207 from c0ball/fix/i18n-missing-saved-labels
...
🌐 fix(i18n): add missing 'saved' labels for german and swiss locales
2026-05-06 09:57:03 -07:00
Francis Cao
af68bcc12c
Merge branch 'dev' into fix/i18n-missing-saved-labels
2026-05-06 09:56:18 -07:00
Francis Cao
71893e4f89
fix maxheight on DialogButton
2026-05-06 09:51:28 -07:00
Francis Cao
f463a4ce3f
rename propertyName parameter
2026-05-05 10:48:56 -07:00
Mike Cao
b062484798
Merge pull request #4192 from tairosonloa/patch-1
...
fix: fixes #4186
2026-05-04 19:42:54 -04:00
Mike Cao
76bef132e6
Merge pull request #4231 from umami-software/dependabot/npm_and_yarn/uuid-14.0.0
...
Bump uuid from 13.0.0 to 14.0.0
2026-05-04 19:40:02 -04:00
Mike Cao
75e6b2461b
Merge branch 'dev' into dependabot/npm_and_yarn/uuid-14.0.0
2026-05-04 19:39:55 -04:00
Mike Cao
2ffa655097
Merge pull request #4224 from JLUpengjiaji/V2.0
...
Flatten JSON data
2026-05-04 19:38:47 -04:00
Mike Cao
0e586dc2f9
Merge pull request #4223 from JLUpengjiaji/V1.0
...
Remove redundant search logic
2026-05-04 19:37:17 -04:00
Francis Cao
fbac7518fc
Add MAX_PAGING_RESULTS on hooks for performance improvements.
2026-05-04 15:43:05 -07:00
Francis Cao
a8c1f26775
remove duration from session property stats
2026-05-04 14:26:27 -07:00
Francis Cao
21eb6d21ec
remove unused session_data_pivot table
2026-05-04 14:12:08 -07:00
Francis Cao
e349a040e5
add deduplicate_merge_projection_mode settings
2026-05-04 12:48:44 -07:00
Francis Cao
a113f5be79
query optimizations on session property filters
2026-05-04 12:42:25 -07:00
Francis Cao
5fc02b6aef
fix formatting and css for session property screen
2026-05-04 10:54:58 -07:00
dependabot[bot]
55f515aa4d
Bump uuid from 13.0.0 to 14.0.0
...
Bumps [uuid](https://github.com/uuidjs/uuid ) from 13.0.0 to 14.0.0.
- [Release notes](https://github.com/uuidjs/uuid/releases )
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/uuidjs/uuid/compare/v13.0.0...v14.0.0 )
---
updated-dependencies:
- dependency-name: uuid
dependency-version: 14.0.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-05-04 08:42:48 +00:00
Mike Cao
3136660588
Merge pull request #4197 from umami-software/dependabot/npm_and_yarn/uuid-14.0.0
...
Bump uuid from 13.0.0 to 14.0.0
2026-05-02 03:12:18 -04:00
Mike Cao
e5e8a7ccc2
Merge branch 'dev' into dependabot/npm_and_yarn/uuid-14.0.0
2026-05-02 03:12:04 -04:00
Mike Cao
8723cf3307
Merge pull request #4228 from manuelfesantos/feat/auto-pageview-attribute
...
feat: add data-auto-pageview attribute to tracker script
2026-05-02 03:09:54 -04:00
Mike Cao
46bf1904e3
Merge branch 'master' into dev
2026-05-01 15:34:18 -07:00
Mike Cao
62c214d7c5
Add CONTRIBUTING.md.
2026-05-01 15:34:07 -07:00
Francis Cao
946a969df6
fix syntax error
2026-05-01 13:25:54 -07:00
Francis Cao and Copilot
00c0273500
fix clickhouse filtering on event_name
...
Co-authored-by: Copilot <copilot@github.com >
2026-05-01 13:16:30 -07:00
Francis Cao
d5c48ee75f
clean-up session property string charts and insights.
2026-05-01 12:09:22 -07:00
Francis Cao
1f2bd7cad9
fix property filter css. format date columns in pivot table
2026-05-01 10:00:30 -07:00
Manuel Fé Santos
8ce833c93b
fix: suppress SPA pageview tracking when auto-pageview is disabled
...
The handlePush function was still calling track() on SPA navigations
regardless of the auto-pageview setting. Gate that call behind the
autoPageview flag while keeping URL state and performance flush active.
2026-04-30 11:22:30 +01:00
Manuel Fé Santos
790354d3ac
Add data-auto-pageview attribute to tracker script
...
Allow disabling the automatic initial pageview while keeping
performance tracking, click handling, and path change detection active.
2026-04-30 11:04:26 +01:00
Francis Cao
ea52adea6b
Merge branch 'dev' of https://github.com/umami-software/umami into dev
2026-04-29 13:11:06 -07:00
Francis Cao
680a1ca1a2
refactor Property components to be resused for both session/event data. Implement session-data screens + filtering. Remove all event-data specific compoenents/queries
2026-04-29 13:11:03 -07:00
JLUpengjiaji
f6703d3d6d
refactor(data): 重构 JSON 扁平化函数并添加测试
...
- 将 flattenJSON 重构为更简洁的递归实现
- 提取 KeyValueData 接口并导出 createKeyValue 函数
- 添加完整的单元测试覆盖所有功能
2026-04-29 15:04:08 +08:00
JLUpengjiaji
17a00f62a4
fix: 移除重复的搜索条件检查并修复搜索查询逻辑
2026-04-29 14:57:24 +08:00
Mike Cao
3ebd5a44e8
Fix 500 on /api/send when client IP is malformed.
2026-04-28 19:47:38 -07:00
Francis Cao
9da332c489
Add Property filters for booleans, dates, arrays
2026-04-27 13:31:47 -07:00
Francis Cao
877945e721
Event data UI/UX polish
2026-04-27 12:09:13 -07:00
Francis Cao
afa878cd3a
include team-manager in includeTeams option
2026-04-27 11:02:00 -07:00
Cobal
1e711d79e1
🌐 fix(i18n): add missing 'saved' labels for german and swiss locales
2026-04-25 14:30:31 +02:00
Francis Cao
5a1ef5e674
add event-data support and charts for arrays, booleans, dates
2026-04-24 15:04:59 -07:00
Francis Cao
43fb351ac7
add logic for booleans, dates, arrays
2026-04-24 13:48:28 -07:00
Francis Cao
77dda7268e
add event-data property filtering
2026-04-24 11:39:40 -07:00
Francis Cao
cf2ab575ba
mobile-friendly changes
2026-04-23 11:24:32 -07:00
Francis Cao
be6154cb68
Event data properties refactor and design
2026-04-23 11:15:59 -07:00
Francis Cao
93ed3cb89f
Merge pull request #4190 from Nirator78/fix-translation-multiple-language
...
fix: translation multiple language
2026-04-23 09:44:52 -07:00
Francis Cao
c1e7e78ec9
Merge pull request #4188 from Nirator78/fix-french-translation
...
fix: add missing french translation
2026-04-23 09:44:37 -07:00
dependabot[bot]
cb9a94f89b
Bump uuid from 13.0.0 to 14.0.0
...
Bumps [uuid](https://github.com/uuidjs/uuid ) from 13.0.0 to 14.0.0.
- [Release notes](https://github.com/uuidjs/uuid/releases )
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/uuidjs/uuid/compare/v13.0.0...v14.0.0 )
---
updated-dependencies:
- dependency-name: uuid
dependency-version: 14.0.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-23 03:09:07 +00:00
Francis Cao
947e76fe55
add board type to board tables
2026-04-21 12:04:10 -07:00
Aitor Alonso
3070189537
fix: fixes 4186
...
Some database providers, like supabase, provides two URLs to access the database. A main URL behind pgBouncer's for load balancing, and a direct separated URL to perform migrations (running DDL operations), as does not support
advisory locks or multi-statement DDL required by migrations.
Before v3.1.0, adding `directUrl` along with `url` to `prisma/schema.prisma` was enought. Now, I'm making a commit to use direct url when set
2026-04-20 21:58:54 +02:00
Francis Cao
7d7dd336f9
fix funnel alias issues. Closes #4144
2026-04-20 12:58:17 -07:00
Francis Cao
4455d773e9
Merge pull request #4187 from Karthited/master
...
4168 - Fix for 'Dashboard and Board Editing in Firefox Isn't Working'
2026-04-20 12:12:26 -07:00
Francis Cao
e58131cb72
fix ambiguous query errors. Closes #4176
2026-04-20 11:31:04 -07:00