Skip to content

Releases: networknt/light-4j

1.1.0

07 Nov 00:49
Compare
Choose a tag to compare

1.1.0 - 2016-11-06

Added

  • Traceability handler to set traceabilityId to the response header from request header
  • Correlation handler to generate correlationId if it doesn't exist in the request header
  • Create dump handler but not implemented yet

Changed

  • Update Client to support traceabilityId and correlationId propagation
  • Refactor Audit to split full dump out.
  • Refactor Audit handler to output into audit log
  • Update Swagger Handler to add endpoint into the request header for audit log
  • Update JwtVerifyHandler to put scope_client_id into the request header

1.0.2

04 Nov 02:10
Compare
Choose a tag to compare

1.0.2 - 2016-11-03

Added

Changed

  • Upgrade to json-schema-form 0.1.3
  • Fixes #2 exchange completed already issue.

1.0.1

30 Oct 12:03
Compare
Choose a tag to compare

1.0.1 - 2016-10-30

Added

  • Sanitizer middleware to handle cross site scripting on header and body of request.
  • Health endpoint to indicate if the server is alive by sending OK.

Changed

  • Update body middleware so that it checks content type and parse the application/json to list or map.
  • Update Validator middleware to handle body as object or string
  • Move info to package info instead of audit
  • Upgrade undertow to 1.4.4-Final to address patch issue.
  • Update default server.json to bind to 0.0.0.0 instead of localhost for docker

1.0.0

21 Oct 11:51
Compare
Choose a tag to compare

1.0.0 - 2016-10-21

Added

  • Add startup hook provider to allow API project to initialize resource, loading spring app context etc.
  • Add shutdown hook provider to allow API project to release connection pools or other resources.
  • Add Dockerfile to the root of generated API project.

Changed

  • Rename project to light-java
  • JsonPath configuration is done in a startup hook provider now.

0.1.9

18 Oct 10:14
Compare
Choose a tag to compare

0.1.9 - 2016-10-17

Added

  • Add metrics with Influx DB and Grafana combination.

Changed

  • Move swagger.json from swagger module resources to test resources so that petstore specification won't be included in API project by default.
  • Security scope verification will check swagger object before enabling it.
  • Validator test now has petstore swagger.json in test resources.
  • Update docs

0.1.8

11 Oct 02:16
Compare
Choose a tag to compare

0.1.8 - 2016-10-10

Added

  • Add new Status code into status.json for OAuth2 server
  • Add docs folder for project documentation

Changed

  • Fix a bug in client to prevent calling oauth2 server multiple times if in renew window.
  • Add socket timeout for client
  • update client.json in test resource to simulate different errors.

0.1.7

05 Oct 23:14
Compare
Choose a tag to compare

0.1.7 - 2016-10-05

Added

  • Introduce MiddlewareHandler interface so that user can plug in more middleware or switch middleware

Changed

  • Fixed info test case to clear the injected config
  • All middleware handlers implement MiddlewareHandler interface so that they are loaded from SPI
  • Middleware handlers will be enabled by checking isEnable()
  • Update validator test case to remove oauth2 dependency
  • Fix the NPE issue if swagger specification does not have security defined
  • SwaggerHandler will only be enabled if swagger.json exists in config
  • Fix the token helper to get token from OAuth2 server

0.1.6

02 Oct 19:04
Compare
Choose a tag to compare

0.1.6 - 2016-10-02

Added

  • Add header parameter validation against swagger specification

Changed

  • Refactor validator to fail fast while error occurs
  • All validator returns Status object instead

0.1.5

02 Oct 00:02
Compare
Choose a tag to compare

0.1.5 - 2016-10-01

Added

  • A body parser handler to parse body into String and attached to the exchange
  • A swagger handler to identify operation based on request uri and method and attach to the exchange

Changed

  • Move swagger related classes from utility to swagger module
  • Update security module to leverage swagger handler attachment
  • Update validator module to leverage swagger handler and body handler attachments
  • Server Info handler is not injected in server but is included into swagger specification

0.1.4

30 Sep 00:23
Compare
Choose a tag to compare

0.1.4 - 2016-09-29

Added

  • A generic exception handler for runtime exception, ApiException and uncaught exception

Changed

  • Move checked exceptions to exception module from status