Skip to content

Latest commit

 

History

History
executable file
·
309 lines (250 loc) · 12.4 KB

CHANGELOG-JDK11.md

File metadata and controls

executable file
·
309 lines (250 loc) · 12.4 KB

BULL Change Log (jdk 11 or above)

All notable changes to this project will be documented in this file.

[2.1.4-jdk11] 2024.01.03

  • Bumps to the latest version available all the project dependencies

[2.1.3-jdk11] 2022.12.01

  • Adds the Bill of Materials (BOM) module
  • Replaces javax with jakarta
  • Add the possibility to customize the special types avoiding any transformation on them

[2.1.1-jdk11] 2022.06.09

  • Fixes an issue that was preventing skipping the injection for a given field. For more info about the feature see here.

[2.1.0-jdk11] 2022.01.10

Changed

  • Updated hibernate-validator version to 6.2.1.Final (was 7.0.1.Final). This replaces the jakarta validation with the javax one.

[2.0.1-jdk11] 2021.10.24

Added

  • Adds a function to reset all the defined settings
  • Adds the possibility to map the same source field into multiple fields
  • Adds the possibility to apply the same field transformation function on multiple fields

Changed

  • Updated eg-oss-parent version to 2.4.1 (was 2.4.0).

[2.0.0-jdk11] 2021.07.23

Added

  • Renames the package from com.hotels to com.expediagroup

[1.7.7] 2021.06.23

Changed

  • Fixes an issue that was preventing the transformation of Object type fields

[1.7.6] 2021.01.11

Added

  • Provides new module bull-bom that includes all the project modules

[1.7.4] 2020.10.07

Changed

  • Provides new utilities methods

[1.7.3] 2020.06.09

Changed

  • Removes the deprecated method: setDefaultValueSetEnabled

[1.7.2] 2020.06.09

Changed

  • Deprecates the method: setDefaultValueSetEnabled and replaces it with: setDefaultValueForMissingPrimitiveField
  • Updated hibernate-validator version to 6.1.5.Final (was 6.1.4.Final).

[1.7.1] 2020.03.21

Added

  • Implemented transformation of JavaBeans using custom Builder pattern (see: Issue 144).

Changed

  • Updated hibernate-validator version to 6.1.4.Final (was 6.1.2.Final).

[1.6.6] 2020.03.16

Changed

  • Updated hotels-oss-parent version to 5.0.0 (was 4.2.0).
  • Updated commons-lang3 version to 3.10 (was 3.9).

[1.6.5] 2020.01.21

Changed

  • Testing dependencies update

[1.6.4] 2019.12.24

Added

  • Implemented Wildcards types support (see: Issue 111).
  • Implemented transformation of a field declared with its interface.

[1.6.3.2] 2019.12.19

Added

  • Added method for retrieving the class getter methods.

[1.6.3.1] 2019.12.09

Changed

  • Testing dependencies update

[1.6.3] 2019.12.02

Added

  • Added retry mechanism on the Bean injection in case the parameter names are not available in the compiled code.
  • Modified Travis configuration in order to test the compatibility with other JDKs versions

[1.6.2] 2019.11.22

Changed

  • Removed warning leg message in case the constructor parameter names are not available in the compiled code.
  • Removed slf4j-api dependency from the library jar.

[1.6.1] 2019.11.18

Added

  • Added specific exception message in case the constructor invoke fails due to missing parameter name in the compiled code.

Changed

  • Updated hotels-oss-parent version to 4.2.0 (was 4.1.0).

[1.6.0.2] 2019.10.30

Removed

  • Removed deprecated module bean-utils-library, the new one is: bean-bean-transformer
  • The following deprecated classes has been removed:
    • com.expediagroup.beans.model.FieldMapping
    • com.expediagroup.beans.model.FieldTransformer
    • com.expediagroup.beans.Transformer

Added

  • New specific exception in case the Field Transformation function defined is not valid
  • Implemented a new functionality that allows to transform also Map object applying transformation function and mappings

Changed

  • Transformer class previously in charge of the Java Bean transformation has been moved to BeanTransformer
  • Updated hibernate-validator version to 6.1.0.Final (was 6.0.17.Final).

[1.5.1] 2019.09.02

Changed

  • The module bean-utils-library has been deprecated and will be no longer available since version 1.6.0, use bull-bean-transformer instead.

    <dependency>
        <groupId>com.expediagroup.beans</groupId>
        <artifactId>bull-bean-transformer</artifactId>
        <version>x.y.z</version>
    </dependency>
  • Module bean-utils-library has been relocated into bull-bean-transformer.

  • The following classes has been deprecated, please find below the complete list and the new one to be used:

    Deprecated New one
    com.expediagroup.beans.model.FieldMapping FieldMapping
    com.expediagroup.beans.model.FieldTransformer FieldTransformer
    com.expediagroup.beans.Transformer Transformer

[1.5.0] 2019.08.06

Added

  • Implemented automatic conversion of basic types (see: Issue 61).

Changed

  • Modified Transformer initialization in order to create a Validator instance only if the validation is enabled
  • Modified Transformer initialization in order to create a ConversionAnalyzer instance only if the automatic conversion is enabled

[1.4.7.1] [1.4.7.2] [1.4.7.3] 2019.07.05

Changed

  • Changed sonatype credential

[1.4.7] 2019.07.03

Added

  • Implemented possibility to disable the default value set for primitive types in case its value is null (see: Issue 73).

[1.4.6] 2019.06.27

Changed

  • Improved exception messages in order to provide more details (see: Issue 70).

[1.4.5] 2019.06.05

Added

  • Added new maven profile: check-for-updates for checking if any dependency can be updated (see: Issue 68).
  • Added check during project build in order to prevent the add different versions of the same dependency.

Changed

  • Modified library in order to let it able to retrieve values from getters if a field does not exist (see: Issue 66).

[1.4.4.1] 2019.05.29

Changed

  • Improved Javadoc
  • Added reference to the articles published on DZone and InfoQ

[1.4.2] 2019.05.24

Added

  • Added possibility to define transformer function without arguments if not needed (see: Issue 62).

Fixed

  • Fixed a bug: FieldTransformer was receiving a default value instead of the source bean one (see: Issue 64).

[1.4.1.1] 2019.05.24

Changed

  • Made the project multi module

[1.4.1] 2019.05.18

Changed

  • Removed deprecated method: setValidationDisabled
  • Testing dependencies update

[1.4.0] 2019.05.13

Changed

  • Modified project behaviour: since this version the "Bean Validation" is disabled by default, to enable it, the following instruction needs to be executed: transformer.setValidationEnabled(true);

[1.3.2] 2019.05.11

Added

  • Modified project structure in order to offer Java Bean validation feature against the defined constraints as public feature (see: Issue 57).

[1.3.1] 2019.05.08

Changed

  • In order to improve the library performances the following Changed have been applied:
    • Modified no args constructor invocation in order to use LambdaMetafactory
    • Modified field value retrieval in order to use LambdaMetafactory
    • Modified value retrieval/set from/to source/destination object in order to minimise the executed actions
  • Updated hotels-oss-parent version to 4.0.1 (was 4.0.0).

[1.3.0] 2019.04.28

Added

  • Added support for the transformation of Java Beans built through Builder

[1.2.7] 2019.04.18

Changed

  • Improved optional usage.
  • Fixed a bug that was preventing the transformer function to return a null value (see: Issue 52).

[1.2.6] 2019.04.06

Added

  • Implemented possibility to use static transformation with a given transformer (see: Issue 44).

[1.2.5] 2019.03.31

Added

  • Improved field value retrieval function.

[1.2.4] 2019.03.23

Changed

  • Added caching for method: getDeclaredField

[1.2.3] 2019.03.22

Added

  • Implemented a new feature that allows to skip the transformation for a given set of fields (see: Issue 38)
  • Performance improvement

[1.2.2] 2019.03.20

Changed

  • Testing dependencies update

[1.2.1] 2019.03.05

Added

  • Implemented a new feature that allows the copy on an existing object instance (see: Issue 24)
  • Added profile: fast that skips the following plugin execution: javadoc, checkstyle, pmd and jacoco

[1.2.0] 2019.02.25

Added

  • Added possibility to skip the object validation (see: Issue 31)
  • Provided documentation and samples for the above functionality

Changed

  • Updated jdk version to 11 (was 1.8).
  • Updated Travis configuration in order to work with java 11
  • Modified Travis configuration in order to automatically create the GitHub site as soon as a tag is created

[1.1.4] 2019.02.20

Added

  • Added possibility to apply a transformation function only on a specific field (see: Issue 27).
  • Added possibility to apply a transformation function on all fields matching with the given name without evaluating the full field path.
  • Added samples and tests for the above functionality

Fixed

  • Fixed issue that was preventing the Set transformation

[1.1.3] 2019.02.17

Added

  • Added static transformation functionality (see: Issue 25).

[1.1.2] 2019.02

Added

  • Made the field name mapping more flexible adding the possibility to map destination object field with field contained into nested objects.
  • Added samples and tests for the above functionality.

Changed

  • Updated hibernate dependency: org.hibernate.validator (was org.hibernate.validator).
  • Removed parallel execution where not needed because this could cause performance degradation.

[1.1.1] 2019.02.09

Changed

  • Improved exception messaging in order to simplify the troubleshooting process
  • Improved readme file

[1.1.0] 2019.02.04

Added

  • Added dependency to: slf4j-api as no longer available from Spring.
  • Added ValidationUtils class for raising an IllegalArgumentException in case any parameter is null.

Removed

  • Removed dependency: spring-boot-starter-validation and imported one by one the required validation dependencies
  • Removed dependency: spring-boot-starter-cache and imported one by one the required validation dependencies

[1.0.17] 2019.02.03

Changed

  • Improved package-info comments

Added

  • Configured Travis in order to automatically release artifacts

[1.0.16] 2019.01.26

Changed

  • Updated spring-boot version to 2.1.2.RELEASE (was 2.1.0.RELEASE).
  • Updated hotels-oss-parent version to 4.0.0 (was 2.3.5).

Added

  • Configured Travis in order to automatically build the application, perform a quality check and publish site. Travis build site available here
  • Added build, test coverage and security badge to readme file.

[1.0.15] 2019.01.23

Added

  • Added GitHub site build with maven.

[1.0.14] 2019.01.18

Added

  • Added possibility to configure the transformer in order to set the default value for all destination's object fields that are not existing in the source object. See README.md for more details.

Changed

  • Jumped to version 1.0.14 in order to be consequent to the previous library version hosted on a private repo.

[1.0.3] 2019.01.17

Added

  • Added changelog file.

[1.0.2] 2019.01.17

Changed

  • Removed not needed comments

[1.0.1] 2019.01.17

Changed

  • Added maven build info to the readme file.

[1.0.0] 2019.01.16

Added

  • First BULL release.