Navigation Menu

Skip to content

Releases: networknt/light-4j

2.1.33

31 Mar 22:01
Compare
Choose a tag to compare

2.1.33 (2024-03-31)

Merged pull requests:

2.1.32

27 Feb 23:21
Compare
Choose a tag to compare

2.1.32 (2024-02-27)

Merged pull requests:

1.6.47

18 Jan 18:33
Compare
Choose a tag to compare

1.6.47 (2024-01-18)

Merged pull requests:

2.1.31

17 Jan 01:30
Compare
Choose a tag to compare

2.1.31 (2024-01-16)

Merged pull requests:

Upgrade Guide

For this release, we have combined all caches together so that they can be managed centrally through the admin endpoints from the Light Portal. With this change, the default cache for jwk and jwt won't work anymore, and you need to add the following section to your values.yml file. Please adjust the expiry and size according to your API and OAuth 2.0 provider.

# cache.yml
cache.caches:
  - cacheName: jwt
    expiryInMinutes: 15
    maxSize: 100
  - cacheName: jwk
    expiryInMinutes: 129600
    maxSize: 100

Also, you need to add the following implementation mapping in the service.yml section.

  - com.networknt.cache.CacheManager:
      - com.networknt.cache.CaffeineCacheManager

1.6.46

31 Dec 03:12
Compare
Choose a tag to compare

1.6.46 (2023-12-30)

Merged pull requests:

  • Ensure leaked connections are closed in SimpleURIConnectionPool.restore() (SimplePool v2) (1.6.x) #2042 (miklish)
  • Ensure XnioSSL and XnioWorker resources are created only once in multithreaded environment (SimplePool v2) (1.6.x) #2054 (miklish)
  • remove unused code in SimpleUndertowConnectionMaker #2024 (miklish)
  • Issue1897 #1980 (miklish)
  • SimplePool v2 #1963 (miklish)
  • Update variable names for Token Connection and Request Timeout #1957 (jaydeepparekh1311)
  • revert upgrades of snakeyaml and jackson until compatibility updates made (1.6.x) #1959 (miklish)
  • fixes #1954 Upgrade snakeyaml to 2.2 from 1.33 to resolve security vu… #1955 (stevehu)
  • Update client module unit tests to allows sub-1ms response times (Issue 1950) #1951 (miklish)
  • fix NPE in SimpleConnectionPool.restore() and optimize borrow() with computeIfAbsent() #1938 (miklish)
  • Use Simple Pool for Token verification call #1933 (jaydeepparekh1311)
  • Backwards compatibility for Consul blocking queries time #1932 (jaydeepparekh1311)
  • Fix test for windows environment. Reset light config property at the end of test #1941 (zabooma)
  • Fix flaky test: com.networknt.audit.AuditHandlerTest.testAuditWithErrorStatus #1919 (KiruthikaJanakiraman)
  • fixes #1893 verifyHostname stop working with 1.6.x client after upgra… #1894 (stevehu)

2.1.30

21 Nov 13:50
Compare
Choose a tag to compare

2.1.30 (2023-11-21)

Merged pull requests:

2.1.29

19 Nov 21:49
Compare
Choose a tag to compare

2.1.29 (2023-11-19)

Merged pull requests:

  • fixes #2006 move the oauth-helper to http-client #2007 (stevehu)
  • Fix order dependent test in handler test #1996 (SaaiVenkat)
  • fixes #2003 update the module registry key to use only the CONFIG_NAM… #2004 (stevehu)
  • fixes #1999 support apikey hashing option with light-hash command lin… #2000 (stevehu)
  • fixes #1997 Use ServerConfig.getInstance() instead of getJsonObjectCo… #1998 (stevehu)
  • fixes #1994 disble the config server response header valildation in t… #1995 (stevehu)
  • fixes #1992 add back the getServerConfig to ensure backward compatibi… #1993 (stevehu)
  • fixes #1990 refactor module registry to add config name #1991 (stevehu)
  • fixes #1988 Add maskConfigProperties to server.yml to control the mod… #1989 (stevehu)
  • fixes #1986 add maskConfigProperties to the server config #1987 (stevehu)
  • fixes #1981 RequestTransformerInterceptor and ResponseTransformerInte… #1984 (stevehu)
  • fixes #1982 Update the security.yml to sync with openapi-security.yml #1983 (stevehu)
  • fixes #1978 register the logging.yml to the server info #1979 (stevehu)
  • fixes #1976 register info.yml config to the server info #1977 (stevehu)
  • fixes #1974 uncomment sign serverUrl, proxyHost and proxyPort in clie… #1975 (stevehu)
  • fixes #1968 rule-load config is not registered to the server info #1973 (stevehu)
  • fixes #1966 OAuthServer config is not register to the server info #1972 (stevehu)
  • fixes #1964 ConfigReloadHandler is not register the module to the ser… #1971 (stevehu)
  • fixes #1969 add back deref serverUrl, proxyHost and proxyPort in clie… #1970 (stevehu)
  • fixes #1961 check the cacheManager before using jwt and jwk caches #1962 (stevehu)
  • fixes #1952 Add delete method for CacheManager interface #1953 (stevehu)
  • Change the scope of dependency com.networknt:status to test. [\#1949](https://github.com/networknt/light-4j/pull/1949) ([HappyHacker123](https://github.com/HappyHacker123))
    
  • fixes #1946 Implement JWT and JWK caches with cache-manager #1947 (stevehu)
  • fixes #1944 Change the JWT cache from JwtClaims to JSON string #1945 (stevehu)
  • fixes #1942 split the cache-manager to move caffeine cache to a separ… #1943 (stevehu)
  • fixes #1936 verify the light-config-server response headers with jar … #1937 (stevehu)
  • fixes #1939 split the CacheExplorerHandler into cache-explorer #1940 (stevehu)
  • fixes #150 upgrade the http-client to 1.0.3 #1931 (stevehu)

2.1.28

24 Oct 20:26
Compare
Choose a tag to compare

2.1.28 (2023-10-24)

Merged pull requests:

2.1.27

04 Oct 15:36
Compare
Choose a tag to compare

2.1.27 (2023-10-04)

Merged pull requests:

2.1.26

17 Aug 19:43
Compare
Choose a tag to compare

2.1.26 (2023-08-17)

Merged pull requests: