Releases: ongres/stringprep
Releases · ongres/stringprep
Stringprep Java 2.4
Stringprep Java 2.3
🐛 Bug Fixes
- Fixed an
ArrayIndexOutOfBoundsExceptionthat occurred when mapping characters to an empty output. - Optimized throughput and reduced heap churn by utilizing
Normalizer.isNormalized()to avoid unnecessary processing.
🔒 Security
- Introduced
SecureStringBuilderto safely handle sensitive data and allow for immediate memory clearing during stringprep operations.
🏗️ Infrastructure & Build
- Updated build environment to Java 25.
- Upgraded Maven wrapper/requirement to 3.9.15.
👻 Maintenance
- Updated project dependencies and Maven plugins to their latest stable versions.
- Refactored Stringprep internal logic to store the EnumSet directly, replacing 18 individual boolean flags for better maintainability and reduced memory footprint.
Stringprep Java 2.2
🏗️ Improvements
- Ensure the LICENSE file is included in the Jar file.
- Fix reproducible build.
👻 Maintenance
- Migrate the main repo back to GitHub.
- Updated dependencies and maven plugins.
Full Changelog: 2.1...2.2
Stringprep Java 2.1
🐛 Bug Fixes
Stringprep::getProviderwas not working on the module path.
✨ New features
- The Profile interface now has overloaded methods with
char[]versions.
🏗️ Improvements
- The Java modules profiles
com.ongres.saslprepandcom.ongres.nameprephave implied readability withcom.ongres.stringprep. - Exports the packages of the profiles in the module declaration to allow creating instances without the ServiceLoader lookup.
- Introduce the annotation
@ProfileNameto declare the name of the profile used for ServiceLoader lookup. - Now the released jars are reproducible.
- Publish CycloneDX SBOM.