Java convert - Changes
Release History
Version | Date | Description |
---|---|---|
3.0.1 | 2024-10-06 | Version 3.0.1 |
3.0.0 | 2024-10-04 | Version 3.0.0 |
2.2.4 | 2024-10-04 | Version 2.2.4 |
3.0.0-RC1 | 2024-08-11 | Version 3.0.0-RC1 |
2.2.3 | 2023-01-15 | Version 2.2.3 |
2.2.2 | 2021-12-15 | Version 2.2.2 |
2.2.1 | 2019-04-29 | Version 2.2.1 |
2.2.0 | 2019-01-16 | Version 2.2.0 |
2.1.2 | 2018-10-23 | Version 2.1.2 |
2.1.1 | 2018-07-10 | Version 2.1.1 |
2.1 | 2018-06-08 | Version 2.1 |
2.0.2 | 2018-05-30 | Version 2.0.2 |
2.0.1 | 2018-03-12 | Version 2.0.1 |
2.0 | 2018-02-15 | Version 2.0 |
1.9.2 | 2017-09-20 | Version 1.9.2 |
1.9.1 | 2017-09-20 | Version 1.9.1 |
1.9 | 2017-09-18 | Version 1.9 |
1.8.3 | 2017-08-21 | Version 1.8.3 |
1.8.2 | 2017-06-28 | Version 1.8.2 |
1.8.1 | 2015-10-02 | Version 1.8.1 |
1.8 | 2015-09-29 | Version 1.8 |
1.7 | 2014-08-04 | Version 1.7 |
1.6 | 2014-01-27 | Version 1.6 |
1.5 | 2013-09-17 | Version 1.5 |
1.4 | 2013-08-15 | Version 1.4 |
1.3.1 | 2013-03-08 | Version 1.3.1 |
1.3 | 2013-01-25 | Version 1.3 |
1.2 | 2011-10-27 | Version 1.2 |
1.1.2 | 2011-10-21 | Version 1.1.2 |
1.1.1 | 2011-10-24 | Version 1.1.1 |
1.1 | 2010-12-04 | Version 1.1 |
1.0 | 2010-09-05 | Version 1.0 |
0.5 | unreleased | Version 0.5 |
Release 3.0.1 – 2024-10-06
Type | Changes | By |
---|---|---|
Fix OSGi meta-data. | jodastephen |
Release 3.0.0 – 2024-10-04
Type | Changes | By |
---|---|---|
Major version based on Java SE 21. Intended to be effectively compatible with v2.x. Optional dependencies are now resolved via Maven and the Java Module System, not reflection. | jodastephen | |
The ancient `javax.time` package (used during development of JSR-310, note the 'x' suffix) is no longer supported. | jodastephen | |
`Locale` conversion now uses `Locale.of()` instead of `new Locale()`. | jodastephen | |
`URL` conversion now goes via a `URI`. | jodastephen | |
`Package` conversion now uses `ClassLoader.getDefinedPackage()` and `Package.getPackages()`. | jodastephen | |
New methods to find a converter returning `Optional`. | jodastephen |
Release 2.2.4 – 2024-10-04
Type | Changes | By |
---|---|---|
Update dependencies. Setup build system to be a maintainance branch. | jodastephen |
Release 3.0.0-RC1 – 2024-08-11
Type | Changes | By |
---|---|---|
See v3.0.0 above. | jodastephen |
Release 2.2.3 – 2023-01-15
Type | Changes | By |
---|---|---|
Support classes that define `@FromString` but not `@ToString`. This can be used to leniently parse classes where the format used to be a Joda-Convert class. | jodastephen | |
Switch LGTM to CodeQL. | jodastephen |
Release 2.2.2 – 2021-12-15
Type | Changes | By |
---|---|---|
Fix deserialization of array classes. Fixes #30 | jodastephen | |
Switch master to main. | jodastephen |
Release 2.2.1 – 2019-04-29
Type | Changes | By |
---|---|---|
Ensure `ZoneRegion` is correctly converted. | jodastephen |
Release 2.2.0 – 2019-01-16
Type | Changes | By |
---|---|---|
Avoid circular loops in dynamic registration of converters. | jodastephen | |
Optimise dynamic registration of converters. | jodastephen | |
Add Tidelift commercial support and security policy. | jodastephen |
Release 2.1.2 – 2018-10-23
Type | Changes | By |
---|---|---|
Fix `Renamed.ini` to avoid NPE during loading. A null `RenameHandler.INSTANCE` could be observed if `Renamed.ini` referred to a class with a static initializer that referred back to `RenameHandler`. | jodastephen | |
Fix build to work on Java 11. | jodastephen |
Release 2.1.1 – 2018-07-10
Type | Changes | By |
---|---|---|
Log startup issues when using renames by configuration. | jodastephen |
Release 2.1 – 2018-06-08
Type | Changes | By |
---|---|---|
Register renames by configuration. Add `Renamed.ini` to configure renames more cleanly. Fixes #26. | jodastephen |
Release 2.0.2 – 2018-05-30
Type | Changes | By |
---|---|---|
Enhance speed of numeric array parsing. Previous version used regex patterns, which were slower. | jodastephen |
Release 2.0.1 – 2018-03-12
Type | Changes | By |
---|---|---|
Add "classic" variant for systems that can't handle module-info.class. | jodastephen |
Release 2.0 – 2018-02-15
Type | Changes | By |
---|---|---|
Add module-info for Java 9. Fixes #21. | jodastephen | |
Update and redesign build to support Java 9. | jodastephen | |
Remove direct dependency on Guava by copying code into Joda-Convert. The code previously used reflection setAccessible() which would not work on Java 9. The best alternative was to copy (shaded) the relevant part of Guava (same license). This also allowed the converter for `Type` to work without Guava. Given all this, Joda-Convert no longer has an optional dependency on Guava. It will still adapt and setup a converter for `TypeToken` if Guava is present. This adaptation will also work on Java 9, provided the modules are loaded in the same layer. Fixes #20, #22. | jodastephen | |
Enable build to work on Java 9. | jodastephen | |
Dynamic Java 8 code must not extend Guava code. Incorrect setup of reflection-based converters. Fixes #19. | jodastephen | |
Avoid bridge and synthetic methods in reflection. If an annotation is copied to the bridge/synthetic method it causes trouble. Fixes #23. | jodastephen |
Release 1.9.2 – 2017-09-20
Type | Changes | By |
---|---|---|
Standard subclass of `TimeZone` must be explicitly registered. | jodastephen |
Release 1.9.1 – 2017-09-20
Type | Changes | By |
---|---|---|
Add `Automatic-Module-Name` into `MANIFEST.MF`. Locks in module name for Java SE 9. Fixes #17. | jodastephen |
Release 1.9 – 2017-09-18
Type | Changes | By |
---|---|---|
Change converter search to not look at superclasses and interfaces. Looking at these was fine for `convertToString`, but not for `convertFromString`. This change should be compatible for most use cases, but will be incompatible for others. If the new release is incompatible, you will need to register an additional converter for the supertype. Fixes #15. | jodastephen | |
Add support for Java 8 primitive optional types - `OptionalInt`, `OptionalLong`, `OptionalDouble`. These are supported by reflection - Joda-Convert still supports Java 1.6. Fixes #9. | jodastephen |
Release 1.8.3 – 2017-08-21
Type | Changes | By |
---|---|---|
Optional Guava dependency updated to v20.0. As Guava is accessed only by reflection guarded by try-catch, any version of Guava may be used by end users. This version has been selected for the pom.xml as it is the last version for Java 1.6. | jodastephen | |
Provide ability to lock rename handler for additional security. Prevent renames of java.*, javax.* and org.joda.* types. | jodastephen |
Release 1.8.2 – 2017-06-28
Type | Changes | By |
---|---|---|
Fix to ensure primitive types can be deserialized. Fixes #16. | jodastephen |
Release 1.8.1 – 2015-10-02
Type | Changes | By |
---|---|---|
More lenient test of InetAddress format. Fixes #13. | jodastephen | |
Make Guava dependency optional again. Add test run to ensure this Fixes #14. | jodastephen |
Release 1.8 – 2015-09-29
Type | Changes | By |
---|---|---|
Avoid use of java.xml.DatatypeConverter which may help Android. Fixes #7. | jodastephen | |
Add support for Guava TypeToken and java.lang.reflect.Type. Most string formats of TypeToken are handled, but not all (eg. union types, mult-dimensional arrays). The Guava dependency is completely optional, loaded by reflection. | jodastephen | |
Avoid possible null pointer exception when loading a class. | jodastephen |
Release 1.7 – 2014-08-04
Type | Changes | By |
---|---|---|
Add ability to extract the effective type. Useful when serializing data to avoid exposing private subclasses. The effective type is the class defining the FromString. Fixes #8. | jodastephen |
Release 1.6 – 2014-01-27
Type | Changes | By |
---|---|---|
Add support for renaming types and enum constants. Fixes #6. | jodastephen |
Release 1.5 – 2013-09-17
Type | Changes | By |
---|---|---|
Add support for all primitive object arrays. | jodastephen | |
Add support for boolean[]. | jodastephen | |
Add support for numeric primitive arrays. | jodastephen | |
Add support for char[] and byte[]. | jodastephen | |
Add StringConverterFactory for more flexible initialization. | jodastephen | |
Weaken generics to better support framework-level access. | jodastephen | |
Add isConvertible() method. | jodastephen | |
Validate the @FromString is a static method. | jodastephen |
Release 1.4 – 2013-08-15
Type | Changes | By |
---|---|---|
Change to use Maven plugin for OSGi, changing some published info. | jodastephen | |
Home page at GitHub. | jodastephen | |
Add support for FromString using a factory. Issue #5. | jodastephen | |
Change to use m2e Maven Eclipse. | jodastephen |
Release 1.3.1 – 2013-03-08
Type | Changes | By |
---|---|---|
Fix OSGI manifest. | rocketraman |
Release 1.3 – 2013-01-25
Type | Changes | By |
---|---|---|
Add register method designed for JDK 1.8 method references or lambdas. | jodastephen | |
Change to requiring JDK 1.6. | jodastephen | |
Add alternate package locations for JSR-310 classes. | jodastephen |
Release 1.2 – 2011-10-27
Type | Changes | By |
---|---|---|
Add support for CharSequence based fromString methods. | jodastephen | |
Add support for JSR-310 by reflection, avoiding a dependency. | jodastephen | |
Allow registration of conversions by method name. | jodastephen | |
Allow toString conversion to specify the desired type. | jodastephen |
Release 1.1.2 – 2011-10-21
Type | Changes | By |
---|---|---|
Allow conversion of primitive types. | jodastephen |
Release 1.1.1 – 2011-10-24
Type | Changes | By |
---|---|---|
Allow conversion of primitive types | jodastephen |
Release 1.1 – 2010-12-04
Type | Changes | By |
---|---|---|
Enable superclass factories. | jodastephen |
Release 1.0 – 2010-09-05
Type | Changes | By |
---|---|---|
Lots of tests and fixes. | jodastephen |
Release 0.5 – unreleased
Type | Changes | By |
---|---|---|
Initial checkin. | jodastephen |