Skip to content

Releases: bitte-kaufen/expo-umami

v0.2.6

Choose a tag to compare

@sdepold sdepold released this 13 Dec 18:57

Full Changelog: v0.2.5...v0.2.6

v0.2.5

Choose a tag to compare

@sdepold sdepold released this 12 Dec 19:22

🔧 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

Choose a tag to compare

@sdepold sdepold released this 07 Dec 19:37

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

Choose a tag to compare

@sdepold sdepold released this 07 Dec 15:58

Full Changelog: v0.2.2...v0.2.3

v0.2.2

Choose a tag to compare

@sdepold sdepold released this 07 Dec 15:55

Full Changelog: v0.2.1...v0.2.2

v0.2.1

Choose a tag to compare

@sdepold sdepold released this 07 Dec 15:18

Full Changelog: v0.2.0...v0.2.1

v0.2.0

Choose a tag to compare

@sdepold sdepold released this 07 Dec 15:07

Full Changelog: v0.1.0...v0.2.0

v0.1.0

Choose a tag to compare

@sdepold sdepold released this 07 Dec 12:54