github krakend/krakend-ce v1.4.0

latest releases: v2.6.2, v2.6.1, v2.6.0...
2 years ago

Changes in KrakenD

  • All dependencies for the framework moved to Lura
  • json-collection added 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, plural and more.
    • String List Functions: splitList, sortAlpha and more.
  • Integer Math Functions: add, max, mul and more.
    • Integer Slice Functions: until, untilStep
  • Float Math Functions: addf, maxf, mulf and more.
  • Date Functions: now, date and more.
  • Defaults Functions: default, empty, coalesce, fromJson, toJson, toPrettyJson, toRawJson, ternary
  • Encoding Functions: b64enc, b64dec and more.
  • Lists and List Functions: list, first, uniq and more.
  • Dictionaries and Dict Functions: get, set, dict, hasKey, pluck, dig, deepCopy and more.
  • Type Conversion Functions: atoi, int64, toString and 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, typeIsLike and more.
    • Cryptographic and Security Functions: derivePassword, sha256sum, genPrivateKey and more.
    • Network: getHostByName

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
  • del operation for lists added
  • del method added to Lua tables
  • Check if the value is a json number before pushing it to the context

Don't miss a new krakend-ce release

NewReleases is sending notifications on new releases.