1.6.0 (2019-04-05)
Merged pull requests:
- fixes #454 add test cases for AESDecryptor and DecryptConstructor #455 (stevehu)
- fixed caching issue when initlizing multiple token request havenot been tested #452 (BalloonWen)
- Feat/#351 server options configurable #432 (jiachen1120)
- Feat/#427 config decryption #429 (jiachen1120)
- Feat/light 4j/#391 support caching multiple Jwts #410 (BalloonWen)
- Cache unparsed request body (configurable/ for application/json request) #447 (jiachen1120)
- fixes #448 remove broken import statements in Http2Client #449 (stevehu)
- move classes in undertow package to networknet packages - #433 #435 (dz-1)
- Integrate decryption module in all retrievals of config - #413 #414 (dz-1)
- fixes #445 update client module to access signing service #446 (stevehu)
- fixes #443 Add a new constant in http header for service_url #444 (stevehu)
- fixes #441 detect copy/paste code with PMD 6.12.0 #442 (stevehu)
- fixes #438 add NOTICE.txt for all third party dependencies and licenses #439 (stevehu)
- fixes #434 update copyright and license in source code #436 (stevehu)
- fixes #430 add status code to status.yml for light-codegen #431 (stevehu)
- just improvements #419 (jefperito)
- Feat/light 4j/#420 fixed TTL check #428 (BalloonWen)
Upgrade Guidelines:
- This release is backward compatible with 1.5.x in the core and you only need to update the version in pom.xml to upgrade if you are not using the config file decryptor.
- The json-schema-validator has been upgraded to the version 1.0.5
- The API for the decryptor has been changed to make it transparent for users.
Upon the requests from our users, we have started the 1.6.x branch for new features. The 1.5.x branch will only include bug fixes to ensure stability.
As you can see, we are adding new features daily, so we have divided the platform into the core and new features. Within the 1.6.x branch, we will make sure that the core is backward compatible. For new features introduced, we sometimes correct the mistakes and change the API. Since not a lot of people are using these features, the impact will be limited.
In this release, we have corrected a mistake we made for the config file decryption. Previously, we have provided an API for users to call and the interface is in the utility module with pluggable implementation in service.yml (DecryptUtil
). Now, we have implemented it in the config module so that the decryption is done transparently for users. Thus in upgrading to this version you can remove any Decryptor
references in service.yml
as well as your invocations of DecryptUtil
if using the Config module. If you were using the default AESDecryptor
implementation, you need to add the decryptorClass
in config.yml
as follows:
decryptorClass:
com.networknt.decrypt.AESDecryptor
If you have your customized implementation, you need to put your implementation class name in the config.yml file. Please contact us if you have questions.
For more info, please review the related issues and pull requests.
The document for the config module has been updated to reflect the change.
https://doc.networknt.com/concern/config/
For all changes in this release, please visit Trello