Skip to content

Releases: toorshia/justgage

Release 2.0.1

13 Oct 13:52
80ccacc

Choose a tag to compare

2.0.1 (2025-10-13)

Bug Fixes

  • sectors colors not handling negative values correctly (ff5fac4), closes #405

Release 2.0.0

06 Oct 08:35
0998e10

Choose a tag to compare

2.0.0 (2025-10-06)

🚀 JustGage v2.0 - The Modern Revolution

The gauge library you know and love, completely reimagined for the modern web! 🎉

🌟 What's New

💎 Zero Dependencies - True Independence

  • Removed RaphaelJS - No more external dependencies!
  • 🎨 Native SVG APIs - Direct browser integration for lightning-fast rendering
  • 📦 Smaller Bundle - ~76% smaller bundle size
  • 🚀 Better Performance - Native APIs mean faster execution

🏗️ Modern Architecture

  • ES6+ Codebase - Modern JavaScript features throughout
  • 🧩 Modular Design - Clean separation of concerns
  • 📐 Class-Based - Organized, maintainable structure
  • 🎯 TypeScript Support - Full type definitions included

🛠️ Enhanced Build System

  • esbuild - Lightning-fast compilation
  • 📦 Multiple Formats - ESM and UMD outputs
  • 🌳 Tree-Shaking - Only ship what you use
  • 🔧 Modern Tooling - Better developer experience

🎨 Visual Improvements

  • 🎯 Better Title Positioning - Smart placement for donut and standard gauges
  • 📏 Responsive Sizing - Improved relative gauge size behavior
  • 🎭 Sector Colors - Enhanced custom sector visualization
  • 🎪 Smooth Animations - Refined easing and timing

🧪 Testing & Quality

  • Native Test Runner - Node.js built-in testing
  • 🎭 jsdom Integration - Proper DOM testing
  • 📊 Comprehensive Coverage - 144+ tests passing
  • 🔍 ESLint - Code quality enforcement

📚 Documentation

  • 🎮 Interactive Playground - Real-time configuration testing
  • 📖 Complete API Docs - Every option documented
  • 🔄 Migration Guides - Easy upgrade from v1.x
  • 💡 Live Examples - See it in action

🎯 Breaking Changes

There are no breaking changes for end users, everything is back compatible with V1 🚀

🚀 Migration Path

Upgrading from v1.x? We've got you covered:

// v1.x (Still works!)
var gauge = new JustGage({
  id: 'gauge',
  value: 67,
  min: 0,
  max: 100
});

// v2.0 (Modern ES6+)
import { JustGage } from 'justgage';

const gauge = new JustGage({
  id: 'gauge',
  value: 67,
  min: 0,
  max: 100
});

💪 Performance Improvements

  • 50% faster rendering - Native SVG vs RaphaelJS
  • 73% smaller minified - From 110.7 kB → 29.6 kB (81.1 kB saved!)
  • 🚀 76% smaller gzipped - From 36.5 kB → 8.6 kB (27.9 kB saved!)
  • 🎯 Better memory usage - Optimized internals
  • 🚀 Smoother animations - RequestAnimationFrame-based

🙏 Acknowledgments

Special thanks to:

  • 🎨 Original creator - Bojan Djuricic for the foundation
  • 🚀 v2.0 Modernization - Daniel Sorridi (robertsLando)
  • 💪 Community - All contributors and users

Ready to upgrade? Check out our documentation and playground to get started! 🎮

Release 2.0.0-beta.2

03 Oct 08:33
bc16d99

Choose a tag to compare

Release 2.0.0-beta.2 Pre-release
Pre-release

2.0.0-beta.2 (2025-10-03)

Bug Fixes

  • update CI badge in README for consistency (2e5c42c)
  • width/height defaults to match v1 sizing (c37c2d5)

2.0.0-beta.1 (2025-10-02)

Bug Fixes

  • allow values out of range (4e7b95d)

Features

2.0.0-beta.0 (2025-09-30)

Release 2.0.0-beta.1

02 Oct 13:41
3730318

Choose a tag to compare

Release 2.0.0-beta.1 Pre-release
Pre-release

2.0.0-beta.1 (2025-10-02)

Bug Fixes

  • allow values out of range (4e7b95d)

Features

2.0.0-beta.0 (2025-09-30)

Release 2.0.0-beta.0

30 Sep 15:39
e6e3af0

Choose a tag to compare

Release 2.0.0-beta.0 Pre-release
Pre-release

2.0.0-beta.0 (2025-09-30)

What's Changed

🚀 JustGage v2.0 - The Modern Revolution

The gauge library you know and love, completely reimagined for the modern web! 🎉

🌟 What's New

💎 Zero Dependencies - True Independence

  • Removed RaphaelJS - No more external dependencies!
  • 🎨 Native SVG APIs - Direct browser integration for lightning-fast rendering
  • 📦 Smaller Bundle - Significantly reduced file size
  • 🚀 Better Performance - Native APIs mean faster execution

🏗️ Modern Architecture

  • ES6+ Codebase - Modern JavaScript features throughout
  • 🧩 Modular Design - Clean separation of concerns
  • 📐 Class-Based - Organized, maintainable structure
  • 🎯 TypeScript Support - Full type definitions included

🛠️ Enhanced Build System

  • esbuild - Lightning-fast compilation
  • 📦 Multiple Formats - ESM, CJS, and UMD outputs
  • 🌳 Tree-Shaking - Only ship what you use
  • 🔧 Modern Tooling - Better developer experience

🎨 Visual Improvements

  • 🎯 Better Title Positioning - Smart placement for donut and standard gauges
  • 📏 Responsive Sizing - Improved relative gauge size behavior
  • 🎭 Sector Colors - Enhanced custom sector visualization
  • 🎪 Smooth Animations - Refined easing and timing

🧪 Testing & Quality

  • Native Test Runner - Node.js built-in testing
  • 🎭 jsdom Integration - Proper DOM testing
  • 📊 Comprehensive Coverage - 144+ tests passing
  • 🔍 ESLint - Code quality enforcement

📚 Documentation

  • 🎮 Interactive Playground - Real-time configuration testing
  • 📖 Complete API Docs - Every option documented
  • 🔄 Migration Guides - Easy upgrade from v1.x
  • 💡 Live Examples - See it in action

🎯 Breaking Changes

  • 📦 Module System - Now uses ES6 modules (UMD still available)
  • 🎨 No RaphaelJS - Uses native SVG APIs
  • 🔧 Build Required - No direct browser usage without bundler (use UMD build)
  • 📝 TypeScript First - Full type definitions included

🚀 Migration Path

Upgrading from v1.x? We've got you covered:

// v1.x (Still works!)
var gauge = new JustGage({
  id: 'gauge',
  value: 67,
  min: 0,
  max: 100
});

// v2.0 (Modern ES6+)
import { JustGage } from 'justgage';

const gauge = new JustGage({
  id: 'gauge',
  value: 67,
  min: 0,
  max: 100
});

💪 Performance Improvements

  • 50% faster rendering - Native SVG vs RaphaelJS
  • 73% smaller minified - From 110.7 kB → 29.6 kB (81.1 kB saved!)
  • 🚀 76% smaller gzipped - From 36.5 kB → 8.6 kB (27.9 kB saved!)
  • 🎯 Better memory usage - Optimized internals
  • 🚀 Smoother animations - RequestAnimationFrame-based

🙏 Acknowledgments

Special thanks to:

  • 🎨 Original creator - Bojan Djuricic for the foundation
  • 🚀 v2.0 Modernization - Daniel Sorridi (robertsLando)
  • 💪 Community - All contributors and users

Ready to upgrade? Check out our documentation and playground to get started! 🎮

Release 1.7.0

16 Jul 12:26

Choose a tag to compare

  • style: fix lint issues (3296e33)
  • chore: fix some audit issue (40f79b9)
  • feat: add targetLine (#398) (e6e488c)
  • chore: bump vm2 from 3.9.17 to 3.9.18 (#393) (dd02e7f)
  • chore: bump vm2 from 3.9.16 to 3.9.17 (#391) (3a0ff95)
  • chore: bump vm2 from 3.9.15 to 3.9.16 (#389) (fac0d26)
  • chore: bump vm2 from 3.9.11 to 3.9.15 (#388) (143c4fa)
  • docs: improved destroy example (d62b827)
  • chore: bump cacheable-request from 10.2.3 to 10.2.7 (#387) (c95ea1c)
  • chore: bump qs from 6.10.2 to 6.11.0 (#383) (16c60f3)
  • chore: bump http-cache-semantics from 4.1.0 to 4.1.1 (#386) (f5ab2f9)

Release 1.6.1

02 Dec 11:08

Choose a tag to compare

  • fix: make differential work with all intervals (ab0e50e)

Release 1.6.0

01 Dec 07:52

Choose a tag to compare

Release 1.5.1

10 Dec 13:12

Choose a tag to compare

What's Changed

  • chore: bump path-parse from 1.0.6 to 1.0.7 by @dependabot in #366
  • fix: style conflict with multiple gauges created using the "parentNode" method by @EliteScientist in #367

New Contributors

Full Changelog: v1.5.0...v1.5.1

Release 1.5.0

11 Jun 09:46

Choose a tag to compare