All notable changes to @devrw/rwanda-location will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.1.2 - 2025-10-25
- License: Changed Read Me to capture license
1.1.1 - 2025-10-25
- License: Changed from Apache-2.0 to MIT license for better compatibility
- Updated package metadata to reflect license change
1.1.0 - 2025-10-25
- Comprehensive test suite with 98%+ coverage (109 tests total)
- Integration tests for real-world usage scenarios
- Performance benchmark tests
- Complete JSDoc documentation for all public methods
- TypeScript strict mode support
- Enhanced type definitions with inline documentation
- Security audit scripts (
npm run audit,npm run audit:fix) - Real-world usage examples (React, Node.js, validation)
- Province codes reference table
- Administrative structure visualization
- Complete API reference in README
- Troubleshooting guide
- Performance benchmarks table
- Browser support information
- Improved README with user-friendly documentation (700+ lines)
- Consolidated all documentation into single README.md
- Enhanced package.json with security improvements
- Updated .npmignore to exclude development files
- Better error messages and null handling
- Improved TypeScript type exports
- Engine requirements now explicit (Node >= 14.0.0, npm >= 6.0.0)
- Security: Fixed all 4 vulnerabilities (1 critical, 1 high, 2 low)
- minimist: Prototype Pollution (Critical) - FIXED
- minimatch: ReDoS vulnerability (High) - FIXED
- brace-expansion: ReDoS vulnerability (Low) - FIXED
- debug: ReDoS vulnerability (Low) - FIXED
- Improved error handling in edge cases
- Better null checking throughout codebase
- Package name corrected in package.json
- Author information restored
- Zero vulnerabilities (reduced from 4 to 0)
- Security policy documentation added (SECURITY.md)
- Comprehensive security audit completed (SECURITY_AUDIT_REPORT.md)
- Package hardening implemented
- Enhanced .npmignore for secure publishing
- Only essential files in published package (18 files vs 100+)
- Optimized query performance (< 20ms for filtered queries)
- Improved memory efficiency
- Faster location lookups with Map data structures
- All operations < 100ms even for 14,837 villages
- Complete API reference in README
- Real-world usage examples
- Troubleshooting guide
- Performance benchmarks
- Security documentation
- TypeScript type definitions with inline docs
- Province codes reference
- Administrative structure diagram
- 109 tests (up from 57, +91% increase)
- 98.01% statement coverage (up from 93.37%)
- 92.68% branch coverage (up from 75.6%)
- 100% function coverage
- 100% line coverage
- Integration tests for complete workflows
- Performance tests for all operations
1.0.0 - 2020
- Initial release with basic province endpoint
- Express API server
- Basic location data from JSON file
- Simple province listing functionality