Releases: bitte-kaufen/expo-umami
Release list
v0.2.6
v0.2.5
🔧 Bug Fixes
Fixed server rejection of events with decimal screen dimensions - Screen width and height are now rounded to integers before sending to Umami server, preventing API rejections
🧪 Testing
Added test coverage for screen dimension rounding to ensure decimal values are properly handled
v0.2.4
Breaking Changes
Renamed name to eventName in TrackEventOptions for better clarity
trackEvent(url, { name: 'click' }) → trackEvent(url, { eventName: 'click' })
Helper functions trackClick, trackImpression, trackCustomEvent updated accordingly
Removed automatic URL transformations
URLs are now used as-is (with minimal normalization to ensure leading /)
No more kebab-case conversion (e.g., ProductList stays ProductList instead of product-list)
No more automatic removal of "Screen" suffix
Migration: Use explicit URL paths like /product/list instead of relying on automatic formatting
Removed change-case dependency
Reduces bundle size and simplifies URL handling
New Features
Added title option to TrackEventOptions
Allows custom human-readable titles separate from URLs
Defaults to the URL if not provided
Example: trackEvent('/home', { title: 'Home Screen' })
Improvements
Better API clarity: eventName vs title distinction is now clearer
Simpler URL handling: What you pass is what gets tracked
Comprehensive test coverage: Added 16 new tests for UmamiClient behavior
Updated documentation: README now includes best practices for web-style URL formatting
Documentation
Added best practice guide recommending web-style URLs (/overview instead of OverviewScreen)
Updated all examples to reflect new API
Clarified the difference between title (display name) and eventName (event type)
v0.2.3
v0.2.2
v0.2.1
v0.2.0
v0.1.0
Full Changelog: https://github.com/bitte-kaufen/expo-umami/commits/v0.1.0