id_generator 1.0.2
id_generator: ^1.0.2 copied to clipboard
A comprehensive Dart library for generating secure, customizable random IDs with support for numeric, alphabetic, special characters, and mixed combinations.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.2 - 2024-01-20 #
Changed #
- Updated README with dynamic "latest" version text for better maintainability
- Improved installation instructions to always use current version
- Enhanced user guidance for version management
- Updated example code with better formatting practices
- Improved readability of long print statements
Fixed #
- Code formatting improvements in example file
- Enhanced documentation formatting and consistency
- Documentation consistency improvements
- Version-agnostic installation guide
- Minor performance optimizations
1.0.1 - 2024-01-20 #
1.0.0 - 2024-01-20 #
Added #
- Initial release of ID Generator library
- Support for numeric ID generation (digits 1-9)
- Support for alphabetic ID generation with mixed case (a-z, A-Z)
- Support for special character ID generation (- _ ! @ # $ % ^ & *)
- Mixed ID generation combining all character types
- Custom mix functionality with user-defined character type combinations
- Batch generation methods for efficient multiple ID creation
- Comprehensive documentation and examples
- Thread-safe implementation using Dart's Random class
- Professional API documentation with detailed examples
Features #
IDGenerator.generateNum()- Generate numeric IDsIDGenerator.generateAlpha()- Generate alphabetic IDsIDGenerator.generateSpecial()- Generate special character IDsIDGenerator.mix()- Generate mixed IDs with all character typesIDGenerator.customMix()- Generate IDs with custom character combinationsIDGenerator.listOfNums()- Batch generate numeric IDsIDGenerator.listOfAlpha()- Batch generate alphabetic IDsIDGenerator.listOfSpecial()- Batch generate special character IDsIDGenerator.listOfMix()- Batch generate mixed IDsIDGenerator.listOfCustomMix()- Batch generate custom mix IDsIdgEnum- Enumeration for specifying character types
Security #
- Uses cryptographically secure random number generation
- High entropy output suitable for security-sensitive applications
- Carefully chosen character sets to avoid common confusion issues