Skip to content

1.5.19

Compare
Choose a tag to compare
@stevehu stevehu released this 22 Sep 12:33
· 1515 commits to master since this release

1.5.19 (2018-09-22)

Full Changelog

Fixed bugs:

  • Consul heartbeat stream limit being exceeded #279

Closed issues:

  • Update the config module output to error only when config file not found #294
  • move light-tokenization status codes to status.ym in light-4j #289
  • remove unused status code from status.yml #288
  • add status code for user-management in light-portal #287
  • fix a typo in HashUtil #286
  • BodyHandler Middleware to support configurable Content-Type #285
  • add pattern matching to differentiate email and userId in StringUtils #283
  • update EmailSender to trust the host from the email.yml #278
  • change email module name to email-sender #277
  • create http-url module for url related utility #276
  • create a new http-string module that depends on Undertow #275
  • add replaceOnce to StringUtil in utility module #274
  • set the right default port number for DirectRegistry #273
  • add error codes for light-config-server #271
  • rename datasource to data-source #269
  • rename deref to deref-token #268
  • rename limit to rate-limit #267
  • rename basic to basic-auth #266
  • update deregisterAfter from 90m to 2m #264
  • OpenAPI and GraphQL ValidatorHandlers conflict on config file names #252
  • add a handler for IP whitelisting #235

Merged pull requests:

  • Updated oauth helper files to handle SAMLBearer grant type #292 (dguncb)
  • Update Readme #284 (anilmuppalla)
  • Related to #249, adds an EndpointSource interface for injecting path,… #282 (logi)
  • fixes #279 Consul heartbeat stream limit being exceeded #281 (stevehu)
  • enhancement for light-oauth2 provider module #265 (stevehu)

Upgrade Guidelines:

This release added more features and fixed several bugs. It should be backward compatible for most existing services. Just update the pom.xml version should work from previous release 1.5.18. If you are in an older version, please follow the guideline to upgrade to 1.5.18 first or just regenerate your project with the latest light-codegen.

  • Several modules are renamed with two words and they are all optional modules. If you are using them, please update the pom.xml in the dependencies section. They are basic-auth, rate-limit, deref-token email-sender, and data-source.
  • A new module http-string is created with all the Undertow HTTP headers. This is extracted from the utility module to remove the dependency of Undertow from the utility. If you see some HTTP Header cannot be resolved, please add this into the dependencies.
  • A typo is fixed in the HashUtil and this utility used internally most of the case.
  • ip-whitelist is a new security middleware handler. It will be used for /health to ensure requests are from Consul cluster.
  • multiple chains defined in handler.yml is the recomended way to handle middleware handlers instead of service.yml file. For more info on how to config it, please see example at https://github.com/networknt/light-example-4j/tree/master/middleware-performance