v1.4.0
Changes in KrakenD
- All dependencies for the framework moved to Lura
json-collectionadded as a valid output encoding for collections
Changes in Flexible Configuration
For those using the flexible configuration, there are over 70 Sprig functions that have been added to the templating system:
- String Functions:
trim, wrap, randAlpha, pluraland more.- String List Functions:
splitList, sortAlphaand more.
- String List Functions:
- Integer Math Functions:
add, max, muland more.- Integer Slice Functions:
until, untilStep
- Integer Slice Functions:
- Float Math Functions:
addf, maxf, mulfand more. - Date Functions:
now, dateand more. - Defaults Functions:
default, empty, coalesce, fromJson, toJson, toPrettyJson, toRawJson, ternary - Encoding Functions:
b64enc, b64decand more. - Lists and List Functions:
list, first, uniqand more. - Dictionaries and Dict Functions:
get, set, dict, hasKey, pluck, dig, deepCopyand more. - Type Conversion Functions:
atoi, int64, toStringand more. - Path and Filepath Functions:
base, dir, ext, clean, isAbs, osBase, osDir, osExt, osClean, osIsAbs - Flow Control Functions:
fail - Advanced Functions
- UUID Functions:
uuidv4 - OS Functions:
env, expandenv - Version Comparison Functions:
semver, semverCompare - Reflection:
typeOf, kindIs, typeIsLikeand more. - Cryptographic and Security Functions:
derivePassword, sha256sum, genPrivateKeyand more. - Network:
getHostByName
- UUID Functions:
See the documentation
Changes in krakend-jose (JWT)
- Dependencies moved to Lura
- Copy the key before adding it to the key mapper, so the latter doesn't override all the other entries
- Test case for the single string role added
- Added condition to avoid parsing namespaced claims as nested
- Allow the propagation of nested claims using dot notation
- Invert the order of the handler factories so the verifier can wrap the signer
- TLS1.3 cipher suites added to the default set
- Serialize the claims after extracting them
- JWT/header propagation: replace existing values
Changes in krakend-lua
- Dependencies moved to Lura
deloperation for lists addeddelmethod added to Lua tables- Check if the value is a json number before pushing it to the context