Releases: firstof9/gasbuddy-card
Releases · firstof9/gasbuddy-card
Release list
1.5.0
Changes
🚀 Features
- feat: suggest card in HA 2026.6 card picker for GasBuddy entities @firstof9 (#64)
- feat: implement compact mode for gas prices and EV views @firstof9 (#65)
📖 Documentation
🧰 Maintenance
5 changes
- build(deps): bump actions/checkout from 6.0.2 to 6.0.3 @dependabot[bot] (#56)
- build(deps-dev): bump @types/node from 25.9.1 to 25.9.2 @dependabot[bot] (#57)
- build(deps-dev): bump tsx from 4.22.3 to 4.22.4 @dependabot[bot] (#58)
- build(deps-dev): bump vitest from 4.1.7 to 4.1.8 @dependabot[bot] (#60)
- build(deps-dev): bump rollup from 4.60.4 to 4.61.1 @dependabot[bot] (#59)
📦 Dependencies
5 changes
- build(deps): bump actions/checkout from 6.0.2 to 6.0.3 @dependabot[bot] (#56)
- build(deps-dev): bump @types/node from 25.9.1 to 25.9.2 @dependabot[bot] (#57)
- build(deps-dev): bump tsx from 4.22.3 to 4.22.4 @dependabot[bot] (#58)
- build(deps-dev): bump vitest from 4.1.7 to 4.1.8 @dependabot[bot] (#60)
- build(deps-dev): bump rollup from 4.60.4 to 4.61.1 @dependabot[bot] (#59)
1.4.0
Changes
🚀 Features
🧰 Maintenance
3 changes
- build(deps): bump release-drafter/release-drafter from 7.3.0 to 7.3.1 @dependabot[bot] (#49)
- build(deps): bump actions/upload-artifact from 4.4.3 to 7.0.1 @dependabot[bot] (#50)
- build(deps): bump step-security/harden-runner from 2.8.1 to 2.19.4 @dependabot[bot] (#51)
📦 Dependencies
3 changes
- build(deps): bump release-drafter/release-drafter from 7.3.0 to 7.3.1 @dependabot[bot] (#49)
- build(deps): bump actions/upload-artifact from 4.4.3 to 7.0.1 @dependabot[bot] (#50)
- build(deps): bump step-security/harden-runner from 2.8.1 to 2.19.4 @dependabot[bot] (#51)
1.3.1
1.3.0
1.2.0
Changes
✨ Enhancements
- style(card): refine price tile visual hierarchy on top of #42 @bharvey88 (#43)
🚀 Features
- feat: add support for deal price entities and upgrade sparkline rendering to cubic Bezier curves @firstof9 (#42)
🐛 Bug Fixes
- fix(card): soften sparkline mask so full curve is visible @bharvey88 (#45)
📖 Documentation
🧰 Maintenance
1.1.0
Changes
🚀 Features
- feat: add background trend history graph to price cards @firstof9 (#18)
- feat: wire up full WAI-ARIA tab pattern with keyboard nav @bharvey88 (#4)
- feat: tap station title to open in Google Maps @bharvey88 (#9)
- feat: compute getCardSize() from what will actually render @bharvey88 (#10)
- feat: add i18n scaffolding via hass.localize + dictionary @bharvey88 (#13)
- feat(editor): surface every option, group into collapsible sections @bharvey88 (#26)
- feat: inline price-trend indicator (▲/▼/≈ + percent vs N hours ago) @bharvey88 (#31)
- feat: mark min/max points on the trend sparkline @bharvey88 (#32)
- feat: hover tooltip on the trend sparkline @bharvey88 (#33)
- feat: configurable tap_action / hold_action on price tiles @bharvey88 (#34)
- feat(editor): consolidate trend toggles under Price Trend Graph section @bharvey88 (#37)
🐛 Bug Fixes
- fix: derive price currency and distance unit from Home Assistant @bharvey88 (#1)
- fix: correct American Express brand color @bharvey88 (#7)
- fix: hide footer 'Updated' line when no last_updated entity exists @bharvey88 (#6)
- fix: drop white brand-logo framing when only generic icon renders @bharvey88 (#8)
- fix: resolve background trend graph rendering issues @firstof9 (#19)
- fix: prevent _fetchHistory race + memory leak @bharvey88 (#21)
- fix: mark trend background SVG as aria-hidden @bharvey88 (#22)
- fix(editor): show_trend and other section toggles weren't persisting @bharvey88 (#36)
- fix: getCardSize accounts for the inline trend chip @bharvey88 (#38)
- fix: clear stale hover + fetch state on setConfig @bharvey88 (#39)
⚡ Performance
- perf: memoize findDeviceEntities by hass.entities registry @bharvey88 (#5)
📖 Documentation
- docs: document show_trend, trend_hours, and default_mode @bharvey88 (#25)
🧰 Maintenance
14 changes
- test: add vitest unit tests for helpers.ts @bharvey88 (#3)
- chore: convert issue templates to github forms @firstof9 (#17)
- refactor: use real brand marks for Tesla/Shell, text pills for others @bharvey88 (#2)
- refactor: move inline template styles into styles.ts @bharvey88 (#11)
- refactor: split render() into focused helpers, dedupe entity list @bharvey88 (#12)
- chore: update collapse-after settings in release-drafter.yml @firstof9 (#20)
- test: cover generateSparklinePaths gap cases @bharvey88 (#24)
- refactor: use _resolveEntities in _fetchHistory @bharvey88 (#23)
- chore: stop committing the built bundle @bharvey88 (#35)
- refactor: single-pass min/max in generateSparklinePaths @bharvey88 (#27)
- refactor: split _renderEVContent into focused sub-renderers @bharvey88 (#28)
- refactor: stable instance methods for tab @click handlers @bharvey88 (#29)
- test: extract action dispatch + add tests for runAction @bharvey88 (#40)
- chore: update outdated screenshots in documentation @firstof9 (#41)
📦 Dependencies
2 changes
- chore(deps): bump esbuild and vitest @dependabot[bot] (#14)
- chore(deps): bump vite and vitest @dependabot[bot] (#15)
Initial Release
✨ Features & Enhancements
- EV Payment Icons: Added visual icons for accepted credit and debit card payment methods on EV charging stations.
- Relative Timestamps: Enhanced timestamp formatting to display older timestamps as relative "time ago" strings (e.g., days, weeks, months).
- Station Address: Replaced the generic "Gasbuddy Location" with the "Station Address" attribute, adding robust scanning across active entities to ensure it always displays correctly.
- Performance Optimizations: Optimized the card's rendering loop using Lit's
shouldUpdatelifecycle method to prevent unnecessary re-renders. - Version Tracking: Added a console logger that outputs the active card version, which is now automatically injected during the GitHub release workflow.
🎨 Accessibility & Styling
- Accessibility Improvements: Added ARIA screen reader tags (
aria-label,role,aria-hidden) across the card elements for better accessibility. - Icon Sizing: Increased the payment card icon sizes to 45x30px for better visibility and a more premium feel.
📝 Documentation & Chores
- README Overhaul: Added real-world screenshots of the Gas, EV, and Card Editor views.
- Configuration Docs: Removed the deprecated
default_modeoption and expanded the advanced configuration section to explicitly list all supported fuel and EV sensor overrides. - HACS: Cleaned up internal diagnostic logs and removed the
render_betaflag fromhacs.json.