Releases: flexera-public/policy_sdk
Releases · flexera-public/policy_sdk
v1.4.0 Release
- Add support for
atob
andbtoa
JavaScript Base64 functions infpt script
- Handle eventual consistency issues with
fpt run
log output which could result in panics
Pre-compiled binaries:
- Linux: v1.4.0/fpt-linux-amd64.tgz
- macOS: v1.4.0/fpt-darwin-amd64.tgz
- Windows: v1.4.0/fpt-windows-amd64.zip
v1.3.0 Release
- Add support for Flexera One EU using
eu-central-1.policy-eu.flexeraeng.com
for the host configuration item - Display Flexera One URLs in
fpt run
out when using Flexera One EU or the refresh token is for Flexera One
instead of RightScale - Fix a bug where
fpt run
would hang trying to print the log after the policy execution completed
Pre-compiled binaries:
- Linux: v1.3.0/fpt-linux-amd64.tgz
- macOS: v1.3.0/fpt-darwin-amd64.tgz
- Windows: v1.3.0/fpt-windows-amd64.zip
v1.2.2 Release
- Fix a bug in
fpt script
parameter parsing where non-numeric bare parameters came through asnil
and numeric
parameters were not actually parsed and just came through as strings
Pre-compiled binaries:
- Linux: v1.2.2/fpt-linux-amd64.tgz
- macOS: v1.2.2/fpt-darwin-amd64.tgz
- Windows: v1.2.2/fpt-windows-amd64.zip
v1.2.1 Release
- Error if a
script
block does not specify a result infpt script
Pre-compiled binaries:
- Linux: v1.2.1/fpt-linux-amd64.tgz
- macOS: v1.2.1/fpt-darwin-amd64.tgz
- Windows: v1.2.1/fpt-windows-amd64.zip
v1.2.0 Release
- Add support for Flexera One refresh tokens using an optional
flexera
boolean parameter in account entries in
the configuration file
Pre-compiled binaries:
- Linux: v1.2.0/fpt-linux-amd64.tgz
- macOS: v1.2.0/fpt-darwin-amd64.tgz
- Windows: v1.2.0/fpt-windows-amd64.zip
v1.1.4 Release
- Remove double read of access token response for non-200 codes so the actual error message comes through
Pre-compiled binaries:
- Linux: v1.1.4/fpt-linux-amd64.tgz
- macOS: v1.1.4/fpt-darwin-amd64.tgz
- Windows: v1.1.4/fpt-windows-amd64.zip
v1.1.3 Release
- Fix an incorrect use of
fmt.Printf
without a format to usefmt.Print
instead - Handle the
'EOS'
and"EOS"
forms of HEREDOCs when detecting JavaScriptcode
blocks in thefpt script
subcommand - Actually check if
--result
/-r
is being passed when executing raw JavaScript with thefpt script
subcommand - Handle Policy Template (Ruby) comments correctly when parsing for the
fpt script
subcommand
Pre-compiled binaries:
- Linux: v1.1.3/fpt-linux-amd64.tgz
- macOS: v1.1.3/fpt-darwin-amd64.tgz
- Windows: v1.1.3/fpt-windows-amd64.zip
v1.1.2 Release
- Actually check for any updates if
update.check
is set totrue
Pre-compiled binaries:
- Linux: v1.1.2/fpt-linux-amd64.tgz
- macOS: v1.1.2/fpt-darwin-amd64.tgz
- Windows: v1.1.2/fpt-windows-amd64.zip
v1.1.1 Release
- Clean up JSON output and output files so they are more readable without escaped
<
,>
, and&
characters - Clean up
console.log
andconsole.dir
output so brackets and braces line up correctly - Fix a bug where the format for
fmt.Printf
included user input unnecessarily in JavaScriptconsole.log
/console.dir
functions - Only write
fpt script
JSON output if there is no error
Pre-compiled binaries:
- Linux: v1.1.1/fpt-linux-amd64.tgz
- macOS: v1.1.1/fpt-darwin-amd64.tgz
- Windows: v1.1.1/fpt-windows-amd64.zip
v1.1.0 Release
- Print all JavaScript compilation errors in the
fpt script
command (#21)
Pre-compiled binaries:
- Linux: v1.1.0/fpt-linux-amd64.tgz
- macOS: v1.1.0/fpt-darwin-amd64.tgz
- Windows: v1.1.0/fpt-windows-amd64.zip