Skip to content

Latest commit

 

History

History
1426 lines (980 loc) · 104 KB

CHANGELOG.md

File metadata and controls

1426 lines (980 loc) · 104 KB

Change Log

2.0.26 (2021-04-27)

Merged pull requests:

  • added base path in the HandlerConfig #934 (BalloonWen)
  • fixes #932 make the health check path configurable in the portal-regi… #933 (stevehu)
  • fixes #929 add error codes for the light-mesh kafka-sidecar #930 (stevehu)

2.0.25 (2021-03-28)

Merged pull requests:

2.0.24 (2021-02-24)

Merged pull requests:

  • fixes #920 update CookiesDumper in DumpHandler after upgrade to under… #921 (stevehu)
  • Bump version.jackson from 2.10.4 to 2.12.1 #919 (dependabot)
  • issue #897 key resolving at the start up #918 (BalloonWen)
  • fixes #916 register the handler and server modules to server info #917 (stevehu)
  • fixes #914 move the getFileExtension from light-codegen to the NioUti… #915 (stevehu)
  • allow key injection in configuration #913 (BalloonWen)
  • issue #898 log err when get oauth key exception #911 (BalloonWen)
  • fixes #909 make shutdown timeout and shutdown graceful period configu… #910 (stevehu)
  • fixes #906 remove primary and secondary jks from security resources/c… #907 (stevehu)

2.0.23 (2021-01-29)

Merged pull requests:

2.0.22 (2020-12-22)

Merged pull requests:

  • fixes #880 add two status codes for light-aws-lambda #881 (stevehu)
  • issue #877 #878 (BalloonWen)
  • issue-#874 #875 (BalloonWen)
  • fixes #872 add tId to the MDC from TraceabilityHandler so that it can… #873 (stevehu)
  • fixes #870 add primary_scopes and secondary_scopes to constants #871 (stevehu)
  • fixes #868 disable the audit on requestBody and responseBody audit in… #869 (stevehu)
  • fixes #866 move TlsUtil to config module from utility to remove confi… #867 (stevehu)
  • #841 added StatusWrapper interface #859 (jiachen1120)
  • issue-864 seprate logging error status and stack trace #865 (BalloonWen)
  • issue-858 auditing timestamp supports custome date format #860 (BalloonWen)
  • Fix/861 config load exception when auditing service id #863 (BalloonWen)
  • Add missing package import in PortalRegistryTest.java #862 (KellyShao)
  • Fix flaky tests in PortalRegistryTest.java and ConsulRegistryTest.java #857 (KellyShao)
  • Fixed flaky tests caused by SharedMetricRegistries in SharedMetricRegistriesTest.java #856 (KellyShao)
  • fixes #854 RoundRobinLoadBalance is unpredictable if there are more t… #855 (stevehu)
  • fixes #852 parameterize health and info configuration file #853 (stevehu)
  • fixes #850 add an error code for the logger post if the body does not… #851 (stevehu)
  • fixes #847 add status code for the registry failure during the server… #848 (stevehu)
  • fixes #845 add startOnRegistryFailure to server.yml to control if sta… #846 (stevehu)
  • fixes #843 update logger-config for light-controller to query and upd… #844 (stevehu)
    • fixed #839 Error status resulted at framework middleware handler is… #842 (jiachen1120)

2.0.21 (2020-11-25)

Merged pull requests:

  • fixes #837 invoke notify only if listener is not null in the direct r… #838 (stevehu)
  • fixes #835 add CID and UID string into the constants for Okta token #836 (stevehu)
  • fixes #833 subscribe and unsubscribe regardless listener for Abstract… #834 (stevehu)
  • fixes #829 remove the serviceMap cache from the LightCluster and use … #832 (stevehu)
  • fixes #830 remove zookeeper registry as nobody is using it #831 (stevehu)
  • fixes #827 update discovered cache with WebSocket message from contro… #828 (stevehu)
  • fixes #825 update the service lookup for the Portal Registry #826 (stevehu)
  • fixes #823 add a new test case for JwtIssuerTest to generate light-pr… #824 (stevehu)
  • Issue821 #822 (stevehu)
  • fixes #819 output the body in the ServerInfoGetHandlerTest as it fail… #820 (stevehu)
  • fixes #817 update the currentPort and currentAddress in server module #818 (stevehu)
  • Issue815 #816 (stevehu)
  • fixes #813 update portal-registry.yml with templates in both main and… #814 (stevehu)
  • fixes #811 upgrade server info handler to output openapi.yaml and upd… #812 (stevehu)
  • fixes #809 update handler to support websocket in the handler.yml #810 (stevehu)
  • fixes #807 add portal-registry model for portal registry and discovery #808 (stevehu)
  • fixes #805 update server.yml to add keystore and truststore passwords #806 (stevehu)
  • fixes #803 update client.yml to add truststore password #804 (stevehu)
  • fixes #801 add password to the jwt.yml as the secret.yml is removed #802 (stevehu)
  • fixes #799 remove secret.yml and add config property missing error code #800 (stevehu)
  • fixes #775 log the connection info when failed to connect to the OAut… #798 (stevehu)
  • fixes #796 update the redirect_uri to localhost 3000 to sync with lig… #797 (stevehu)
  • fixes #794 switch OauthHelper to HttpClient of jdk11 to support forwa… #795 (stevehu)

2.0.20 (2020-11-05)

Merged pull requests:

  • fixes #792 add a scp constant string to enure there is no hard-coded … #793 (stevehu)
  • fixes #790 update security test to generate long lived tokens with sc… #791 (stevehu)
  • fixes #788 update the OAuth key request for jwk integration #789 (stevehu)

2.0.19 (2020-11-01)

Merged pull requests:

  • Issue786 #787 (stevehu)
  • fixes #784 get server config without cache in the client module #785 (stevehu)
  • fixes #782 add startup.yml to the server module to suppress the warning #783 (stevehu)
  • fixes #780 Add callerId to the metrics collection with a header in th… #781 (stevehu)
  • fixes #778 add scopeClientId to the metrics handler #779 (stevehu)
  • Bump junit from 4.12 to 4.13.1 #777 (dependabot)
  • Avoid NoSuchElementException in ManualAESDecryptor. #776 (rgrig)

2.0.18 (2020-10-01)

Merged pull requests:

  • fixes #773 resolve a defect to handle the environment tag with single… #774 (stevehu)
  • fixes #771 change the STATUS_HOST_IP to public #772 (stevehu)
  • fixes #769 add environment tag to the DirectRegistry to support tag b… #770 (stevehu)
  • fixes #765 add email registered error to the status.yml for light-rou… #766 (stevehu)
  • fixes #763 add client authenticated user request in the OauthHelper f… #764 (stevehu)
  • fixes #761 capture the ip address and port number on server for metrics #762 (stevehu)

2.0.17 (2020-08-28)

Merged pull requests:

  • fixes #759 skip sanitizer if the body is not JSON #760 (stevehu)
  • fixes #757 avoid parsing the body if content-type is missing #758 (stevehu)
  • fixes #753 handle text/plain and content type missing in BodyHandler #755 (stevehu)
  • fixes #754 Add content type text/plain header to the InfluxDbSender #756 (stevehu)
  • Issue 742 #749 (chenyan71)
  • fixes #751 add a method to create client credentials token in issuer … #752 (stevehu)
  • fixes #747 Add a generic status code for 404 object not found #748 (stevehu)

2.0.16 (2020-08-01)

Merged pull requests:

  • fixes #743 Handle the limit file size for upload/download #746 (stevehu)
  • Issue #744: Valuemap not pickup the values loaded from config server #745 (jsu216)
  • fixes #740 check escape backslash before appy quoteReplacement config #741 (stevehu)
  • fixes #723 Token replacement in config files does not allow special c… #738 (stevehu)
  • fixes #710 #739 (chenyan71)
  • fixes #735 update client.yml in test resources to disable http2 as th… #736 (stevehu)
  • fixes #721 update consul client to leverage connecction pool of Http2… #722 (stevehu)
  • fixes #718 add borrowConnection and returnConnection to Http2Client #720 (stevehu)

2.0.15 (2020-07-01)

Merged pull requests:

2.0.14 (2020-05-29)

Merged pull requests:

2.0.13 (2020-05-01)

Merged pull requests:

  • fixes #699 add start_time to refresh_token table with default #700 (stevehu)
  • fixes #696 add remember to token response to handle refresh token #697 (stevehu)
  • fixes #694 double check the tracer has activeSpan in the client heade… #695 (stevehu)
  • fixes #692 add host and port to the JaegerHandler for tracing #693 (stevehu)
  • fixes #690 add test case to email-sender to demo the environment vari… #691 (stevehu)

2.0.12 (2020-03-31)

Merged pull requests:

  • fixes #688 add status codes for light-portal #689 (stevehu)
  • fixes #686 apply issue 679 to master branch #687 (stevehu)
  • fixes #683 update master based on 677 and 681 #685 (stevehu)
  • fixes #675 resolve a defect in client.yml for the oauth2 urls #676 (stevehu)
  • fixes #673 add replaceToken method for html email template #674 (stevehu)
  • fixes #671 change Http2Client createClientCallback debug to trace #672 (stevehu)
  • fixes #669 parameterize default client.yml in client module #670 (stevehu)
  • fixes #667 comment out server_url in client.yml to default to service… #668 (stevehu)
  • fixes #665 need to promote the scope token to authorization header if… #666 (stevehu)
  • fixes #663 update security test cases to add roles to the long-lived … #664 (stevehu)

2.0.11 (2020-02-29)

Merged pull requests:

  • fixes #658 add trace logging to help debug cors rejections in CorsUtil #659 (stevehu)
  • fixes #655 update logging level to trace for consul module #656 (stevehu)
  • fixes for #649 #652 (stevehu)
  • fixes #653 update OauthHelper to allow redirectUri optional when gett… #654 (stevehu)
  • fixes #647 Service registration fails with the latest Consul #651 (stevehu)
  • Issue645 #648 (stevehu)
  • fixes #645 loose the condition to apply the cors headers #646 (stevehu)
  • fixes #643 Add user_type and roles constants in utility for light-spa-4j #644 (stevehu)

2.0.10 (2020-01-31)

Merged pull requests:

2.0.9 (2019-12-30)

Merged pull requests:

  • fixes #637 refactor the LightHttpHandler to ensure the auditInfo is c… #638 (stevehu)
  • fixes #635 add a test case with two generic types for service module #636 (stevehu)
  • Bug fix: ConsulRegistry keeps the first service url discovered in cache #633 (jsu216)
  • fixes issue #625 #626 (chenyan71)
  • Make Http2Client.SSL public again, but deprecate it #631 (miklish)
  • Make SSL private to prevent its usage before it is initialized. #630 (miklish)
  • Make valueMap to be static to prevent multiple warning #628 (jiachen1120)

2.0.8 (2019-11-27)

Merged pull requests:

2.0.7 (2019-10-26)

Merged pull requests:

  • Fix/Replace - to _ to match the OpenShift environment variable syntax #618 (jiachen1120)
  • fixes #613 service throws UT005001 once the metrics/influxdb module i… #614 (stevehu)

2.0.6 (2019-09-13)

Merged pull requests:

2.0.5 (2019-08-30)

Merged pull requests:

  • fixes #605 server exits without any error in the console #606 (stevehu)
  • fixes #603 add JwtVerifier to replace JwtHelper #604 (stevehu)

2.0.4 (2019-08-16)

Merged pull requests:

  • fixes #509 -DskipTests does not work to skip unit tests for master #602 (stevehu)
  • Fix/#590 skip tests #591 (BalloonWen)
  • fixes #600 upgrade jackson-databind to 2.9.9.3 #601 (stevehu)

2.0.3 (2019-07-31)

Merged pull requests:

  • fixes #596 useJson default to false to ensure backward compatibility #597 (stevehu)
  • API-189: Return Json format result from HealthGetHandler #589 (jsu216)
  • fixes #592 add a debug statement to output the discovered url in Oaut… #593 (stevehu)
  • fixes #586 FormData.FormValue cannot be handled by Jackson JSON parser #587 (stevehu)
  • fixes #583 Success result is returned even light-oauth2 returns an er… #585 (stevehu)
  • fixes #578 to use a hashset to track used ports #582 (stevehu)
  • fixes #579 when all instances are down and restarted, the client disc… #580 (stevehu)
  • randomly pick up port number for dynamic registry #578 (stevehu)
  • Fix/#573 consul registry notify #577 (BalloonWen)
  • Fix/#547 deprecate apis - client module #561 (BalloonWen)
  • Fix/npe service to url #576 (jiachen1120)

2.0.2 (2019-07-10)

Merged pull requests:

  • add Prometheus hotspot monitor #567 (chenyan71)
  • 514 sanitizer new config properties #563 (jefperito)
  • Add OpenTracing support for observability #549 (stevehu)
  • reverted some values of client.yml for testing #558 (BalloonWen)
  • fixes #559 update default consulUrl to http instead of https #560 (stevehu)
  • fixes #556 remove dependency on secret.yml from server and email modules #557 (stevehu)
  • fixes #554 move the consul token to the consul.yml from the secret.yml #555 (stevehu)
  • fixes #552 get client_secret from client.yml instead of secret.yml #553 (stevehu)
  • fixes #550 loopback address is used when register to Consul from a st… #551 (stevehu)
  • Fix/#519 keystore fall back #525 (jiachen1120)
  • Feat/#502 consul integrate test #503 (jiachen1120)
  • fixes #539 sync jdk11 branch to 1.6.x to ensure code similarity #540 (stevehu)

2.0.1 (2019-06-13)

Merged pull requests:

  • Add JsonWebKey support in JWT key verification #511 (jsu216)
  • Fix/#512 config overwritten #516 (jiachen1120)
  • fixes #513 disable sanitizer handler by default #515 (stevehu)
  • Fix/#504 read keystore from system property #505 (jiachen1120)
  • fixes #508 associate the correlationId with the traceabilityId when c… #509 (stevehu)
  • Feat/default decryptor #501 (jiachen1120)
  • fixes #499 ConsulRegistry discoverService returns http always #500 (stevehu)
  • fixes #497 implement service discovery in OauthHelper #498 (stevehu)
  • fix path separator - #483 #484 (dz-1)
  • fixes #495 support multiple key servers for token and sign #496 (stevehu)
  • fixes #493 update timeoutCount to AtomicInteger in circuit breaker #494 (stevehu)
  • Fix/#491 direct registry with env #492 (jiachen1120)
  • #240 timeout feature #241 circuit breaker #485 (jefperito)
  • Fix/#482 consul service discovery caching #486 (BalloonWen)
  • fixes #489 need to rollback the lazy init of config in Server #490 (stevehu)
  • fixes #487 resolve test case failure in the server module #488 (stevehu)
  • fixes #474 register light-hybrid-4j services in Server module #475 (stevehu)
  • fixes issue #480 #481 (chenyan71)
  • fixes #478 service getting unregistered from consul after a while #479 (stevehu)
  • Fixed the scope caching error #477 (jiachen1120)
  • fixes #468 resolve backward compatible issue for server.config #469 (stevehu)
  • fixes #466 Incorrect status code #467 (stevehu)
  • fixes #464 update license and copyright headers #465 (stevehu)
  • Pluggable config server feature RFC#0019 #451 (santoshaherkar)
  • Added new server option ALLOW_UNESCAPED_CHARACTERS_IN_URL #462 (jiachen1120)
  • populate path params - #light-rest-4j/issues/67 #463 (dz-1)
  • fixes #460 upgrade maven plugins to the latest versions #461 (stevehu)
  • fixes #456 resolve warnnings from errorprone #457 (stevehu)
  • 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)

1.6.2 (2019-05-17)

Merged pull requests:

  • Add JsonWebKey support in JWT key verification #511 (jsu216)
  • Fix/#512 config overwritten #516 (jiachen1120)
  • fixes #513 disable sanitizer handler by default #515 (stevehu)
  • Fix/#504 read keystore from system property #505 (jiachen1120)
  • fixes #508 associate the correlationId with the traceabilityId when c… #509 (stevehu)

1.6.1 (2019-05-03)

Merged pull requests:

  • Feat/default decryptor #501 (jiachen1120)
  • fixes #499 ConsulRegistry discoverService returns http always #500 (stevehu)
  • fixes #497 implement service discovery in OauthHelper #498 (stevehu)
  • fix path separator - #483 #484 (dz-1)
  • fixes #495 support multiple key servers for token and sign #496 (stevehu)
  • fixes #493 update timeoutCount to AtomicInteger in circuit breaker #494 (stevehu)
  • Fix/#491 direct registry with env #492 (jiachen1120)
  • #240 timeout feature #241 circuit breaker #485 (jefperito)
  • Fix/#482 consul service discovery caching #486 (BalloonWen)
  • fixes #489 need to rollback the lazy init of config in Server #490 (stevehu)
  • fixes #487 resolve test case failure in the server module #488 (stevehu)
  • fixes #474 register light-hybrid-4j services in Server module #475 (stevehu)
  • fixes issue #480 #481 (chenyan71)
  • fixes #478 service getting unregistered from consul after a while #479 (stevehu)
  • Fixed the scope caching error #477 (jiachen1120)
  • fixes #468 resolve backward compatible issue for server.config #469 (stevehu)
  • fixes #466 Incorrect status code #467 (stevehu)
  • fixes #464 update license and copyright headers #465 (stevehu)
  • Pluggable config server feature RFC#0019 #451 (santoshaherkar)
  • Added new server option ALLOW_UNESCAPED_CHARACTERS_IN_URL #462 (jiachen1120)
  • populate path params - #light-rest-4j/issues/67 #463 (dz-1)
  • fixes #460 upgrade maven plugins to the latest versions #461 (stevehu)
  • fixes #456 resolve warnnings from errorprone #457 (stevehu)

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)

1.5.32 (2019-03-19)

Full Changelog

Implemented enhancements:

  • original status.yml info in light-4j is overwritten by customer, which will lose errors for light-4j #389

Fixed bugs:

  • Dynamic Port binding not working as expected in light4j #415
  • Error happen if there is not value in values.yml for services.yml injection #407

Closed issues:

  • add last handler to Handler class for handler chain inject in the beginning #421
  • setup Travis cron to run integration test daily #405

Merged pull requests:

2.0.0 (2019-03-24)

Full Changelog

Implemented enhancements:

  • Add conditional handler in the handler chain #300

Fixed bugs:

Closed issues:

  • accept default group key in Http2Client #423

Merged pull requests:

1.5.32 (2019-03-19)

Full Changelog

Implemented enhancements:

  • original status.yml info in light-4j is overwritten by customer, which will lose errors for light-4j #389

Fixed bugs:

  • Dynamic Port binding not working as expected in light4j #415
  • Error happen if there is not value in values.yml for services.yml injection #407

Closed issues:

  • add last handler to Handler class for handler chain inject in the beginning #421
  • setup Travis cron to run integration test daily #405

Merged pull requests:

1.5.31 (2019-03-02)

Full Changelog

Fixed bugs:

  • Maven build error on eclipse #406

Closed issues:

  • SSL error - client module - release 1.5.29 #398
  • Backwards incompatible changes: client module - release 1.5.29 #397

Merged pull requests:

1.5.30 (2019-02-21)

Full Changelog

Implemented enhancements:

  • support a list of config directories in Config module #383
  • support absolute path for the config file in Config module #381
  • Allow exclusion list of files which should not check/allow for environment variable setting #368
  • Environment variable references in the light-4j yaml config files #321
  • Read configurations from arbitrary directories #309

Closed issues:

  • Config Module - addressing gaps #371
  • Validation of server identify in a CaaS environment #358
  • cluster.ServiceToUrl hang sometime #303

Merged pull requests:

  • update basic-auth and some minor update in audit, balance #400 (lanphan)
  • Fixing backwards incompatible interface change in OauthHelper getToken and getTokenFromSaml #399 (NicholasAzar)

1.5.29 (2019-02-16)

Full Changelog

Implemented enhancements:

  • support flexible config directory in Config module #382
  • Correlation module: add ability to control the generation of the CorrelationID #370
  • Feat/#41 exception handling #380 (BalloonWen)

Closed issues:

  • Add a default config.yml to the light-4j/Config module #394
  • output the stacktrace when server registration fails #384
  • upgrade jsonpath to 2.4.0 and exclude json-smart #378
  • TechEmpower benchmark #369
  • Standardize repo line endings on LF #365
  • Add a new constant string in http header for service url #362
  • If handler path not implemented/wrong path , it will throw the 404 error code instead of 400. #360
  • upgrade to undertow 2.0.16.Final #356
  • Config module build failing on windows environment #354
  • Upgrade jackson version to 2.9.8 #347
  • jdk11 release to maven central failed #344
  • Performance Optimizations for Max Troughput #342
  • GraalVM Native Image #341
  • codegen-cli generated code does not compile - openapi-3 #330
  • [question] - grpc adoption within light4j #161
  • Warnings with Java 9 #103

Merged pull requests:

1.5.28 (2019-01-13)

Full Changelog

Fixed bugs:

  • Config module failing if config file has a key which is not a String #353

1.5.27 (2019-01-12)

Full Changelog

Closed issues:

  • resolve the syntax error in java doc for dump #352
  • remove the check exception ConfigException #350

Merged pull requests:

  • #321 Enhanced config injection to support injecting List and Map #349 (jiachen1120)
  • refactored dump handler, add mask feature to it #345 (BalloonWen)

2.0.0-BETA2 (2018-12-29)

Full Changelog

Closed issues:

  • add several network related utilities #343
  • move JsonMapper from taiji-blockchain to light-4j #340

1.5.25 (2018-12-24)

Full Changelog

Closed issues:

  • give wait a default value for backward compatibility #339

1.5.24 (2018-12-15)

Full Changelog

Implemented enhancements:

  • Attachment Handler #326
  • refactor the dump handler to support response body logging #23

Closed issues:

  • ignore the random number test in balance #338
  • add a new services method to the Cluster #336
  • make round robin load balance start with random number #335
  • A bug that shows Unknown protocol light in service discovery #334
  • In consul client the hard coded wait value changed through configuration. #332
  • add a new method to get local IP for interactive queries #331

Merged pull requests:

  • Issue #332, (API 6) in consul client the wait hard coded value changed through configuration #333 (sreenicibc)
  • #326 created a form handler #329 (jiachen1120)
  • Refactor the dump handler to support response body logging #328 (BalloonWen)

1.5.23 (2018-12-01)

Full Changelog

Closed issues:

  • light-4j benchmark #315
  • Need to allow server to be embedded #312

1.5.22 (2018-11-10)

Full Changelog

Fixed bugs:

  • handle the situation that the alias is not server in the server.keystore #317

Closed issues:

  • add monad-result module to wrap success T and failure Status #325
  • add successful status code to status.yml #324
  • gzip and deflate encoding and decoding support in middleware handlers #323
  • add static CONFIG_NAME to serverConfig #320
  • add another default method in LightHttpHandler to bubble up the status #319
  • support default path in handler.yml for single page application #316
  • update status.yml ERR10016 to have only one parameter #314

Merged pull requests:

  • fixes #316 update resource and handler to support SPA from handler.yml #318 (stevehu)
  • Refactored code from main() to init() so server can be embedded. #311 (farrukhnajmi)

1.5.21 (2018-10-26)

Full Changelog

Implemented enhancements:

  • Collect environment element in the Metrics Handler #310
  • Enhance logging in the AuditHandler #295
  • Environment config in client only applications #272

Fixed bugs:

  • Set correct status code if Method or URI from request could not be resolved in the handler chain #308

1.5.20 (2018-10-05)

Full Changelog

Fixed bugs:

  • MiddlewareHandler.register is called for each endpoint #305

Closed issues:

  • Handler needs to properly escape characters in the Status description #306
  • provide default security.yml and move providerId to jwt.yml #304
  • Indicate that the BufferSize is too small in client.yml if Body cannot be parsed #302
  • Intermittent issues with Consul API discovery #301
  • make bufferSize configurable for default buffer pool in Http2Client #299
  • Add more debug info during startup for the Kubernetes status.hostIP #297
  • Update the config module output to error only when config file not found #294
  • Update OAuthHelper to include new method to support SAML grant type flow #290
  • server does not create zip file from config server correctly #157

1.5.19 (2018-09-22)

Full Changelog

Fixed bugs:

  • Consul heartbeat stream limit being exceeded #279

Closed issues:

  • 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
  • Created by accident #270
  • 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)

1.5.18 (2018-08-15)

Full Changelog

Implemented enhancements:

  • Support HandlerProvider definitions in handler.yml configuration definitions #258
  • When stopping the server, give 30 seconds grace period to let service discovery propagate to all clients #20

Fixed bugs:

  • Fix issue causing path variables not to show up in query params when using new handler config #250
  • Reproduce issue in handler chaining, ensure that the MiddlewareHandler interface is respected #247

Closed issues:

  • Re-starting Server no longer works #263
  • health endpoint with serviceId as path parameter #262
  • Address graceful server shutdown while encountering an exception during start-up #261
  • add a default consul.yml for consul client #260
  • flatten the config files into the same directory for k8s #257
  • add getJwtClaimsWithExpiresIn for digital signing only in light-oauth2 token service #256
  • remove description in the CorrelationHandler config file #255
  • enable http2 for consul client when TLS is enabled #246
  • catastrophic setExchangeStatus calls without args #244
  • upgrade to undertow 2.0.11.Final #243
  • several enhancements for Consul registration #242
  • networknt page is not working #238
  • extend Http2Client to OAuth 2.0 provider communication to support arbitrary number of parameters #181

Merged pull requests:

  • Adding HandlerProvider support to list of handlers. #259 (NicholasAzar)
  • Do not require ignored config #254 (logi)
  • Descriptive Exception on unknown chain or handler in handler.yml #253 (logi)
  • Fix issue causing query params to be missing from exchange. #251 (NicholasAzar)
  • Safer set exchange status #245 (logi)

1.5.17 (2018-07-15)

Full Changelog

Closed issues:

  • update readme.md to fix the document links #239

1.5.16 (2018-07-05)

Full Changelog

Implemented enhancements:

  • Add "severity" to Status #232
  • Extending handler chain configuration functionality #222

Closed issues:

  • move HandlerProvider interface to handler package from server #236
  • separate de-reference middleware handler to its own module #233
  • add error status for token dereference in light-oauth2 token service #230
  • add an error status code for light-oauth2 client registration #229
  • log the class, method, file and line number for status #228
  • move the basic authentication middleware handler from light-rest-4j #226
  • enhance client module to add de-reference token in OauthHelper #225
  • Add a middleware handler to de-reference opaque access token to JWT #224
  • log error if config file cannot be found in all possible locations #223

Merged pull requests:

1.5.15 (2018-06-18)

Full Changelog

Implemented enhancements:

  • Dynamic server listener port configuration #210
  • Unexpected behavior when Status is created for non-existent status code #169

Closed issues:

  • add datasource module for most popular relational databases #220
  • create LightHttpHandler with default method to handle the error status #217
  • A default content-type is not set #216
  • add a new status code in status.yml for authenticate class not found #215
  • Add a Build Number to the server.yml #214
  • add constants to utility Constants for light-router #212
  • OAuthHelper needs to handle the error status from OAuth 2.0 provider #202

Merged pull requests:

1.5.14 (2018-05-19)

Full Changelog

Closed issues:

  • update client.yml and secret.yml in other modules #211
  • Rename resources module to resource for consistency #209
  • update client module to support refresh token flow for light-spa-4j #208
  • update verifyJwt with ignoreExpiry flag #207
  • add default method setExchangeStatus into MiddlewareHandler #206
  • move auth and csrf to light-spa-4j repository #205
  • add error code for light-spa-4j stateless-token handler #204
  • switch StatelessAuthHandler to middleware handler #203
  • add stateless auth and csrf handlers for SPA application #201
  • pass csrf token in oauth token request #200
  • add status code for light-proxy tableau authentication handler #199
  • move password in jwt.yml to secret.yml #198
  • share the connections to consul in ConsulClientImpl #196

Merged pull requests:

1.5.13 (2018-04-20)

Full Changelog

Implemented enhancements:

  • create a middleware handler for Prometheus #150
  • Sanitizer mangles content #51

Closed issues:

  • light-codegen command line error handling #195
  • upgrade jackson library to 2.9.4 #187
  • put client credentials token into authorization header instead of X-Scope-Token header #185
  • name convention between metrics and prometheus #165

1.5.12 (2018-04-08)

Full Changelog

Closed issues:

  • upgrade to prometheus 0.3.0 #192
  • rollback zkclient to 0.3 #191
  • remove consul client and update version for zkclient and curator #190
  • remove antlr4 from dependencies #189
  • upgrade jackson 2.9.5 remove swagger from light-4j dependencies #188
  • add two more test cases for Http2Client #186

1.5.11 (2018-03-31)

Full Changelog

Fixed bugs:

  • JWT signing private key cannot be externalized #178
  • scope encoding changes space to plus sign in OAuthHelper #172

Closed issues:

  • add ERR11300 FAIL_TO_GET_TABLEAU_TOKEN error code in status.yml #184
  • check if trace is enabled in Http2Client logger #183
  • add isBlank to StringUtil in utility class #180
  • split JwtHelper to JwtHelper for token verification and JwtIssuer to issue token #179
  • remove Apache commons-lang dependency from mask #177
  • remove commons-io dependencies #176
  • refactor CorsHttpHandlerTest to use Http2Client #175
  • add status code ERR11202 for hybrid-4j get request #173
  • remove unused import in DecryptUtil #171

Merged pull requests:

  • feat(util): Add toByteBuffer overload util method to convert files. #174 (NicholasAzar)

1.5.10 (2018-03-02)

Full Changelog

Closed issues:

  • add subject_claims and access_claims constants #170
  • Port enabling indicator #168
  • add prometheus to the module list in parent pom.xml #164

Merged pull requests:

1.5.9 (2018-02-21)

Full Changelog

Closed issues:

  • Support dynamic port binding for Kubernetes hostNetwork #162
  • switch light-config-server connection to HTTP 2.0 #159

Merged pull requests:

1.5.8 (2018-02-03)

Full Changelog

Closed issues:

  • fix a typo in variable JwT_CLOCK_SKEW_IN_SECONDS #158
  • accept other optional fields in OAuth2 token response #156
  • handle a list of string instead of list of maps in BodyHandler #154
  • Add a status code ERR12042 SERVICE_ENDPOINT_NOT_FOUND #153

Merged pull requests:

1.5.7 (2018-01-09)

Full Changelog

Implemented enhancements:

  • provide a utility to substitute environment variables in config #149

Closed issues:

  • change secret.yml loading from SecretConfig to Map for flexibility #151
  • Remove docs folder and repo specific document site once all contents are migrated #139

1.5.6 (2017-12-29)

Full Changelog

Fixed bugs:

  • Get token un Http2Client line 367 is hard coded using Http2 #146

Closed issues:

  • some compiler warnings #148
  • Add email sender module and update secret.yml #147
  • Add host header for getkey in oauthHelper for HTTP 1.1 #145

1.5.5 (2017-12-15)

Full Changelog

Implemented enhancements:

  • make it configurable to get jwt public certificates from cache or from oauth server #140

Closed issues:

  • Find a way to propagate callback exception to the caller thread in Http2Client #144
  • Encrypt the values in secret.yml #143
  • Add two more callback functions in Http2Client to return response time #142
  • Adding java bean initializer and manual injection test cases for service module #141
  • Add support for two or more beans initialized by one initializer class and method #138
  • Add an API to manipulate SingletonServiceFactory to add new entries programatically #137
  • Loading Java bean with initializer class and method in service module #136
  • Reduce token endpoint access timeout to 4 seconds #135
  • Remove e.printStackTrace() in the source code #134

1.5.4 (2017-11-21)

Full Changelog

Fixed bugs:

  • Need to ensure that server lookup returns null if there is no entry defined in service.yml #132

1.5.3 (2017-11-20)

Full Changelog

Fixed bugs:

  • Fixed the class cast exception in service module if getting an array but only one impl is configured #131

1.5.2 (2017-11-20)

Full Changelog

Implemented enhancements:

  • Add a new constant OPENAPI_OPERATION_STRING for OpenAPI 3.0 support #130
  • Improve configurability for networknt.handler.MiddlewareHandler #129
  • Add support for interface with generic type in service module #127
  • Update serviceMap key to interface class name instead of class in service module #126

Fixed bugs:

  • Need to check certain section is empty for header.yml in HeaderHandler #125

1.5.1 (2017-11-09)

Full Changelog

Implemented enhancements:

  • Upgrade to Undertow 1.4.20.Final #108
  • Implement rpc and websocket support with light-java-rpc #6
  • Server module should only initialize client instance if config server is enabled #119
  • Make Jwt token verification cache configurable. #113

Closed issues:

  • Remove mockito dependencies in most modules #124
  • Add pre-release script to update versions #123
  • Customize return of the status from cross-cutting concerns #122
  • Add url debug output in ConsulClientImpl #121
  • Split integration tests from unit tests #120

1.5.0 (2017-10-21)

Full Changelog

Implemented enhancements:

  • Add SecretConfig to model properties in secret.yml instead of Map. #117
  • Change server registry and client discovery to support environment tag for test segregation #116
  • Add utilities classes for light-workflow-4j #114
  • Remove some dependencies as they are not being used or can be eliminated #112
  • Utility methods in server project for accessing path variables #104

Closed issues:

  • Add a header handler to manipulate request header based on the config file #118
  • Upgrade dependency versions for commons lang + deprecate commons-codec #106
  • Implement session manager that can support web server cluster. #73

Merged pull requests:

  • Upgraded Undertow, Added Utility Interfaces for Header, path, query extraction #111 (sachin-walia)
  • Resolved #1 Upgrading libraries and other changes #107 (sachin-walia)

1.4.6 (2017-09-22)

Full Changelog

1.4.5 (2017-09-22)

Full Changelog

Closed issues:

  • Return invalid json error in body handler for malformed body #102

1.4.4 (2017-09-21)

Full Changelog

Implemented enhancements:

  • service.yml configuration need to have entry name that is unique in order to support two or more db connection pools #50
  • Centralize configurations to light-config-server which is backed by git repositories #29
  • Revisit client module for the per route connection pooling in config in cluster/load balance/discovery environment. #24
  • [service module] Add support for multiple definitions and bean references #9

Closed issues:

  • Update BodyHandler to parse the body and then put the stream back for subsequent handlers #101
  • Add a reverse proxy middleware handler #100

1.4.3 (2017-09-10)

Full Changelog

Closed issues:

  • Calling consul directly with Http2Client instead of consul client #94

1.4.2 (2017-08-31)

Full Changelog

Merged pull requests:

1.4.1 (2017-08-30)

Full Changelog

Fixed bugs:

  • Timeout when looking up from consul with ecwid client #19

Closed issues:

  • Upgrade to undertow 1.4.19.Final as there an HTTP 2.0 bug in 1.4.18.Final #98
  • Add host head when sending requests to influxdb in InfluxDbHttpSender #97
  • Add enableHttp2 in client.yml to control if Http2Client will be using HTTP 2.0 protocol #96
  • Refactor server info component object so that it is easy to be consumed by api-certification #95
  • update default client.yml to remove the settings for http1.1 #93
  • Create a websocket example in light-example-4j to demo how to use websocket endpoint. #64

Merged pull requests:

1.4.0 (2017-08-22)

Full Changelog

Implemented enhancements:

  • Register JavaTimeModule for the default Jackson ObjectMapper from Config #82

Closed issues:

  • Remove Client which depends on apache httpclient and replace with Http2Client #90
  • gzip compression #88
  • Upgrade to undertow 1.4.18.Final to support http2 #87
  • Complete the Http2Client in client module #85
  • Dynamically load public key certificate from OAuth2 provider #84

Merged pull requests:

  • Config module: Added 2 extra test cases for LocalDateTime and LocalDate #83 (pragmaticway)

1.3.5 (2017-08-01)

Full Changelog

Closed issues:

  • Remove jsoniter dependencies in mask until it has a feature of jsonpath #81
  • Update validatePassword in HashUtil to accept origianlPassword as char[] instead of String #80
  • Add TLS certificate and OAuth2 certificate SHA1 fingerprint to the /server/info output #79
  • Resolve security issues reported from Fortify scanner #78
  • Remove JsonPath in Mask module with JsonIter to simplify dependencies #77
  • Add getTempDir for NioUtils and add test cases for zip file manipulation #76

1.3.4 (2017-07-08)

Full Changelog

Implemented enhancements:

  • test: use random port #55
  • JWT token verification with cached token and expire time #47
  • Need to encrypt secrets in config files so that they won't be leaked #31

Closed issues:

  • InetAddress is not working in Docker for Mac as hostname is not mapped to /etc/hosts #75
  • Update ConsulRegistry to refactor discovery cache to one layer from two #74
  • Add CodeVerifierUtil to support PKCE in light-oauth2 implementation #72

1.3.3 (2017-06-14)

Full Changelog

Closed issues:

  • Break the metrics tie to security for client_id #71

1.3.2 (2017-06-14)

Full Changelog

Implemented enhancements:

  • Request and response filter implementation #58

Closed issues:

  • Make UnsafeLongAdderImpl default construction public #70
  • Switch to AuditInfo attachment for metrics collection #69
  • Add debug level log when InfluxDb reporter is call with counter size. #68
  • Add serviceId sId into slf4j MDC so that it can be added to all logging statement along with cId #67
  • Switch to undertow server and client truststore and keystore #66
  • microservices sample error #65
  • Any plan to create tools like "jhispter" to help build microservices? #5

1.3.1 (2017-06-03)

Full Changelog

Implemented enhancements:

  • Put more comments in source code to improve the readability #60

Fixed bugs:

  • Response time and status code is not shown up in audit log #61

Closed issues:

  • Update HealthHandler to HealthGetHandler in order to inject into the light-rest-4j generator in light-codegen #63
  • Upgrade json-schema-validator to 0.1.7 from 0.1.5 #62

1.3.0 (2017-05-06)

Full Changelog

Closed issues:

  • Change the project name to light-4j instead of light-java as java is a trademark of Oracle #59

1.2.8 (2017-05-02)

Full Changelog

Implemented enhancements:

  • Clean up status.yml and add comments for each segment #48
  • Add more debug info to metrics as people having trouble to config it right with Influxdb #43
  • Upgrade dependencies to the latest version #42

Fixed bugs:

  • Client - propagateHeaders expect JWT token to be in the request header or output an error. #41

Closed issues:

  • Create a NioUtils with some helpers in utility module #54
  • Add NIO utility and status code to support light-codegen #52
  • Adding kid to the header of the JWT token issued by light-java. #46
  • Bump up scope mismatch log from debug to warn as it is security violation #45

1.2.7 (2017-03-28)

Full Changelog

Implemented enhancements:

  • Add status code and a util method for light-java-graphql #38
  • Separate secrets from config files in order to support Kubernetes secrets and configmap #33

Closed issues:

  • Upgrade to undertow 1.4.11.Final #36
  • Implement GraphQL support with light-java-graphql #8

1.2.6 (2017-03-18)

Full Changelog

Implemented enhancements:

  • Token scope and spec scope mismatch error is not clear in logs #35
  • Switch server and client to HTTP/2 #34
  • Config file support yaml format along with json #32

Closed issues:

  • NullPointerException when populating a request to call another API due to original token is missing #30

1.2.5 (2017-03-04)

Full Changelog

Implemented enhancements:

  • Find the best location to inject server info to the routing handler #11

Closed issues:

  • Alternate Config impls ... S3, http? #28

1.2.4 (2017-02-20)

Full Changelog

Implemented enhancements:

  • Add rate limit in order to prevent DDOS attack for public facing services #27
  • Allow cors handler to specify which method is allowed. #26

1.2.3 (2017-02-09)

Full Changelog

Implemented enhancements:

  • Add a system property to redirect jboss logs to slf4j #25

Closed issues:

  • Add TLS support for server module #22
  • Add cluster module to work with client module for service discovery and load balance #21

1.2.2 (2017-02-04)

Full Changelog

1.2.1 (2017-01-25)

Full Changelog

1.2.0 (2017-01-22)

Full Changelog

Implemented enhancements:

  • Integrate service registry and discovery with Server and Client modules #17
  • Implement a CORS handler to support calls from Single Page Application from another domain #14
  • Update JwtHelper to throw JoseException instead of throwing Exception #12
  • Implement service registry and discovery that support consul and zookeeper #10

Closed issues:

  • Spin off swagger, validator and security to light-java-rest repo #18
  • service - support parameterized constructor instead of default constructor and then set properties #16

Merged pull requests:

1.1.7 (2017-01-08)

Full Changelog

1.1.6 (2017-01-02)

Full Changelog

Merged pull requests:

  • Add a load balancer matching across the local host, then round-robin #7 (ddobrin)

1.1.5 (2016-12-24)

Full Changelog

1.1.4 (2016-12-13)

Full Changelog

1.1.3 (2016-12-03)

Full Changelog

1.1.2 (2016-11-29)

Full Changelog

1.1.1 (2016-11-27)

Full Changelog

Merged pull requests:

  • Docs: Fix switched links #4 (spinscale)
  • Fixing small issue with documentation's example. (Changing "clone ...… #3 (lkoolma)

1.1.0 (2016-11-07)

Full Changelog

1.0.2 (2016-11-04)

Full Changelog

Fixed bugs:

  • Exchange already complete in jwt token if scope is mismatched #2

1.0.1 (2016-10-30)

Full Changelog

1.0.0 (2016-10-21)

Full Changelog

0.1.9 (2016-10-18)

Full Changelog

0.1.8 (2016-10-11)

Full Changelog

0.1.7 (2016-10-05)

Full Changelog

0.1.6 (2016-10-02)

Full Changelog

0.1.5 (2016-10-01)

Full Changelog

0.1.4 (2016-09-30)

Full Changelog

0.1.3 (2016-09-28)

Full Changelog

0.1.2 (2016-09-25)

Full Changelog

0.1.1 (2016-09-18)

* This Change Log was automatically generated by github_changelog_generator