Skip to content

Releases: xanaawakens/bundle-size-tracker

v0.1.4

13 Jan 09:01
2054d34
Compare
Choose a tag to compare
Merge pull request #17 from avixiii-dev/develop

Develop

Bundle Size History & Trends v0.1.3

12 Jan 05:49
Compare
Choose a tag to compare

Bundle Size History & Trends v0.1.3

Features

Bundle Size History Tracking

  • Track and store historical bundle size data
  • Support for multiple chunk analysis
  • Gzip and Brotli size tracking

Trend Analysis

  • Size trend detection and visualization
  • Historical data querying with filters
  • Date range and size range filtering
  • Chunk-specific analysis

Alert System

  • Configurable size increase thresholds
  • Chunk size monitoring
  • Automated alerts for size regressions

Data Management

  • Import/Export functionality
  • Data retention policies
  • Historical data cleanup

Improvements

  • Enhanced TypeScript type safety
  • Improved error handling
  • Added test coverage reporting
  • Updated CI/CD pipeline

v0.1.2

02 Jan 11:49
85ff50d
Compare
Choose a tag to compare

🤖 New Features

  • AI-powered bundle analysis using OpenAI GPT models
  • Smart code splitting suggestions and optimization recommendations
  • Preact compatibility layer for React applications
  • Advanced tree shaking configuration
  • Styled-components optimization

⚡️ Performance Improvements

  • Optimized chunk splitting strategies
  • Dynamic imports and code splitting
  • Bundle size reduction up to 50%
  • Enhanced HTML reports with interactive features

🛠️ Technical Updates

  • Added new CLI options for AI analysis
  • Improved error handling and reporting
  • Added TypeScript type definitions
  • Updated dependencies to latest versions
  • Added comprehensive test project with examples

📚 Documentation

  • Added detailed AI configuration guide
  • Updated installation and usage instructions
  • Added new examples and use cases
  • Enhanced API documentation

Release v0.1.1

29 Dec 08:20
Compare
Choose a tag to compare

What's Changed

Features

  • Add file compression analysis support
    • Gzip compression
    • Brotli compression
  • Add compressed size limits configuration
  • Update reports to show compressed sizes
    • Console output now shows raw and compressed sizes
    • HTML report includes compression metrics
    • JSON report includes detailed size information

Documentation

  • Update README with compression features
  • Add compression configuration examples
  • Improve type documentation

Development

  • Refactor analyzer to support compression
  • Add compression-related types and interfaces
  • Update test projects

Bundle Size Tracker v0.1.0 - Initial Release

29 Dec 04:54
Compare
Choose a tag to compare

Bundle Size Tracker v0.1.0 - Initial Release

A powerful and flexible tool to track and analyze JavaScript bundle sizes across different build tools.

Features

Core Functionality

  • Track and analyze bundle sizes across multiple build tools
  • Support for maximum size limits and warning thresholds
  • Detailed size reporting with human-readable formats
  • Configurable output formats

Build Tool Integration

  • Webpack Plugin: Track bundle sizes in Webpack projects
  • Rollup Plugin: Monitor bundle sizes in Rollup builds
  • Vite Plugin: Analyze bundle sizes in Vite applications

Configuration Options

  • Custom size limits per bundle
  • Warning thresholds for early detection
  • Flexible output formats and paths
  • ESM support for modern JavaScript projects

Installation

npm install @avixiii/bundle-size-tracker

Usage Examples

Webpack

import { bundleSizeTrackerWebpack } from '@avixiii/bundle-size-tracker';

export default {
  plugins: [
    bundleSizeTrackerWebpack({
      maxSize: '100KB',
      warningSize: '50KB'
    })
  ]
};

Rollup

import { bundleSizeTracker } from '@avixiii/bundle-size-tracker';

export default {
  plugins: [
    bundleSizeTracker({
      maxSize: '100KB',
      warningSize: '50KB'
    })
  ]
};

Vite

import { bundleSizeTrackerVite } from '@avixiii/bundle-size-tracker';

export default {
  plugins: [
    bundleSizeTrackerVite({
      maxSize: '100KB',
      warningSize: '50KB'
    })
  ]
};

Breaking Changes

  • None (Initial Release)

Bug Fixes

  • None (Initial Release)

Dependencies

  • Support for Node.js versions 16.x, 18.x, and 20.x
  • Compatible with latest versions of Webpack, Rollup, and Vite

Contributors

  • @avixiii-dev