v1.10.3
Discover the new features, logic changes, bug fixes, breaking changes, and known issues and limitations in Piiano Vault release v1.10.3.
New features
Tokenizeaccepts a new optional parameter:token_id. This is useful for having the Vault use your externaltoken_idas the ID of the token returned. Read more about it.- Updates to the behavior of HTTP requests performed by the
_httpPostand_httpGetJavaScript helper functions:- Requests now respect the
PVAULT_SERVICE_ALLOWED_HTTP_DESTINATIONSenvironment variable so they are allowed only if both thePVAULT_SERVICE_ALLOWED_HTTP_DESTINATIONSand the functionhttp_get_access/http_post_accessdependencies allow the destination. - The
Request-IDheader is now being set to the request trace ID. - The Vault
User-Agentheader is now being added to the request.
- Requests now respect the
Logic changes
- Vault is now updated to accept a new license only if the new license expiration is later than the current license expiration.
Breaking changes
- Functions that were using the
_httpPostand_httpGetJavaScript helper functions now must add the target destination toPVAULT_SERVICE_ALLOWED_HTTP_DESTINATIONSto allow the request.
Bug fixes
- Fix a bug where requests initiated with JavaScript
_httpPostor_httpGethelper functions weren't canceled properly on request timeout. - Fix a bug where vault reported a new license in logs even when the license was unchanged.