Skip to content

Releases: meltenc/week-identifier

🚀 Major 2025 Modernization - Complete ES6+ Rewrite & Enhanced CLI

26 Jul 21:36

Choose a tag to compare

🎉 Major Release: Complete 2025 Modernization

This release represents a complete modernization of
week-identifier from 2016 to 2025 standards, with breaking changes
and significant improvements.

💥 Breaking Changes

  • Error Handling: Functions now throw descriptive errors
    instead of returning NaN
  • Input Validation: Strict validation for all date inputs
  • Modern Syntax: Complete ES6+ rewrite (const/let, arrow
    functions, template literals)

✨ Major New Features

  • Enhanced CLI: New --from <weekId> option to convert week
    numbers back to dates
  • CLI Options: Added -h/--help and -v/--version flags
  • Performance: Optimized with cached constants and better
    algorithms
  • Error Messages: User-friendly error messages with
    suggestions

🛠️ Modern Development Stack

  • ESLint v9 with flat configuration
  • Prettier code formatting
  • NYC for 100% test coverage (19 comprehensive tests)
  • GitHub Actions CI/CD with multi-Node.js testing (18, 20, 22)
  • Codecov integration for coverage reporting

📦 Package Optimization (v2.0.3)

  • 54% smaller npm package (28.8 kB → 13.1 kB)
  • Optimized with .npmignore - only essential files included
  • Faster installation and reduced bundle size

🔒 Security & Quality

  • Zero vulnerabilities (npm audit clean)
  • Zero runtime dependencies (minimal attack surface)
  • 5/5 security rating with comprehensive input validation
  • 100% test coverage maintained across all versions

📚 Enhanced Documentation

  • Complete README rewrite with modern examples
  • Comprehensive JSDoc annotations
  • Updated CLAUDE.md with 2025 development guidelines
  • Detailed CLI help and usage examples

🧹 Cleanup & Maintenance

  • Removed obsolete dependencies and configuration files
  • Updated LICENSE to 2016-2025
  • Streamlined development workflow
  • Modern Git configuration

Migration Guide: This is a major version with breaking
changes. Please test thoroughly before upgrading production
applications.

Full Changelog: v1.0.2...v2.0.3

Dependencies update

10 Mar 15:20

Choose a tag to compare

v1.0.2

remove history.md

Minor fix for Firefox

10 Mar 10:04
ef817ed

Choose a tag to compare

Merge pull request #1 from corporateanon/master

fix: IllegalDate in Firefox

First release

16 Aug 15:47

Choose a tag to compare

v1.0.0

add publish-please package