Skip to content

Latest commit

 

History

History
306 lines (237 loc) · 12.8 KB

CHANGELOG.md

File metadata and controls

306 lines (237 loc) · 12.8 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[0.12.12] - 2025-02-03

Fixed

[0.12.11] - 2025-01-28

Fixed

0.12.10 - 2024-12-27

Added

  • Add functions to retrieve server version (CNJR-7207)

Fixed

  • Checks Conjur server version before using policy dry-run and fetch (CNJR-7207)

0.12.9 - 2024-12-13

Added

0.12.8 - 2024-11-19

Added

  • Policy dry-run now returns deleted policy resources. (CNJR-6369)
  • Policy dry-run now returns updated policy resources. (CNJR-6111)
  • Policy dry-run now returns create policy resources. (CNJR-6110)

[0.12.7] - 2024-11-18

Fixed

0.12.6 - 2024-10-30

Security

  • Remove debug logging of "Authorization" header when processing requests (CNJR-7025)

0.12.5 - 2024-10-23

Added

  • Added RoleMembershipsAll to fetch inherited memberships for a role (CNJR-5213)
  • Added support for creating a client using an OIDC token (CNJR-6081)
  • Added support for rotating the API key of an authenticated host (CNJR-5699)
  • Added support for checking authenticator status (CNJR-6371)
  • Return error when trying to call unsupported methods in Conjur Cloud (CNJR-5700)

0.12.4 - 2024-08-01

Added

  • Added support for creating hosts with annotations via HostFactory (CNJR-5495)
  • Added support for enabling authenticators (CNJR-5548)
  • Added support for fetching effective policy (CNJR-5673)

Security

  • Redact "Authorization" header when logging requests using CONJURAPI_LOG (CONJSE-1897)

0.12.3 - 2024-07-15

Changed

  • Rename validate query parameter to dryRun (CNJR-4593)

0.12.2 - 2024-07-15

Changed

  • Rename validate policy type definition to Dry Run (CNJR-4593)

0.12.1 - 2024-07-08

Changed

  • Automatically add 'api' prefix to Conjur Cloud base URLs (CNJR-5493)
  • Default Account to 'conjur' for Conjur Cloud (CNJR-5494)
  • Update validate policy type definition (CNJR-4593)

0.12.0 - 2024-05-05

Changed

  • Reworked JWT authentication to use standard configuration options (CNJR-4190)

0.11.4 - 2024-05-09

Security

  • Rollback to Go 1.20 as a requirement to build conjur-cli-go as FIPS compliant (CONJSE-1864)

0.11.2 - 2024-04-18

Changed

  • Added validate policy (CNJR-4539)

Security

  • Upgrade to Go 1.22 (CONJSE-1842)

0.11.1 - 2023-06-14

Changed

Security

0.11.0 - 2023-02-28

Added

Removed

Changed

  • Resource IDs can now be partially-qualified, adhering to the form [<account>:]<kind>:<identifier>. cyberark/conjur-api-go#153
  • User and Host IDs passed to their respective API key rotation functions can now be fully-qualified, adhering to the form [[<account>:]<kind>:]<identifier>. cyberark/conjur-api-go#166
  • The Hostfactory id is no longer required to be a fully qualified id. cyberark/conjur-api-go#164

Security

0.10.2 - 2022-11-14

Fixed

0.10.1 - 2022-06-14

Changed

0.10.0 - 2022-05-19

Added

0.9.0 - 2022-02-20

Changed

Added

  • New CONJUR_AUTHN_JWT_SERVICE_ID & JWT_TOKEN_PATH environment variables as configuration to support authn-jwt cyberark/conjur-api-go#124

0.8.1 - 2021-12-16

Changed

0.8.0 - 2021-09-10

Changed

Added

  • New check in RetrieveBatchSecretSafe method which will return an error if the Content-Type header is not set in the response (this indicates Conjur is out of date with the client). cyberark/conjur-api-go#104

0.7.1 - 2021-03-01

Fixed

  • Resources method no longer sends improperly URL-encoded query strings when filtering resources with the "Search" parameter. Previously, if you used a "Search" value that included a slash "/", the client would return no results even if the server had matching resources due to an issue with the URL-encoding. cyberark/conjur-api-go#93

0.7.0 - 2021-02-10

Changed

  • Updated Go versions to 1.15.

Added

  • RetrieveBatchSecretsSafe method, which allows the user to specify the use of the Accept: base64 header in batch retrieval requests. This allows binary secrets to be retrieved from Conjur. cyberark/conjur-api-go#88

0.6.1 - 2020-12-02

Changed

0.6.0 - 2019-03-04

Added

  • Converted to Golang 1.12
  • Started using os.UserHomeDir() built-in instead of go-homedir module

0.5.2 - 2019-02-06

Fixed

  • Fixed homedir pathing for Darwin/Linux
  • Converted from Godep to native go modules for dependency management.

0.5.1 - 2019-02-01

Fixed

  • Fix path generation of variables with spaces
  • Modify configuration loading to skip options that check home dirs if there is an error retrieving the home dir

0.5.0 - 2018-09-07

Added

  • Add support for passing fully qualified variable id to RetrieveSecret API method in v4 mode
  • Change signature of conjurapi.LoadConfig so it returns an error in addition to the conjurapi.Config
  • Fix marshaling of conjurapi.Config into YAML.

0.4.0 - 2018-08-28

Added

  • Add Resource, to fetch a resource by id.
  • Add Resources, to show all resources, optionally filtered by a ResourceFilter.
  • Use a separate logrus logger for the API. Control the destination for messages with the environment variable CONJURAPI_LOG.
  • Add support for .conjurrc and .netrc in Windows user directories.
  • Add support for conjur.conf in Windows system directory.

0.3.3 - 2018-08-02

Changed

  • Update the tags on PolicyResponse so they match the JSON returned by the server.

0.3.2 - 2018-07-19

Added

  • Use github.com/sirupsen/logrus for logging.
  • When the log level for logrus is set to DebugLevel, show debug information, including:
    • what configuration information is contained in each of the locations (e.g. the environment, config files, etc), as well as the final configuration
    • HTTP request sent to, and the responses received from, the Conjur server
  • Make CONJUR_VERSION an alias for CONJUR_MAJOR_VERSION to match other client libraries.

0.3.0 - 2018-01-09

Added

  • Adds new API methods RotateAPIKey and CheckPermission.
  • Provides API methods that return secret data as an io.ReadCloser rather than of []byte. This way, the API client gets the only copy of the secret data and can handle it however she sees fit.
  • Loading a policy requires PolicyMode argument.
  • Loading a policy returns PolicyResponse.

0.2.0 - 2018-01-08

Added

  • Adds support for structured error responses from the Conjur v5 server, using the struct conjurapi.ConjurError. This is a backwards incompatible change.
  • All API methods accept fully qualified object ids in v5 mode. This is a backwards compatible bug fix.
  • API methods which do not work in v4 mode return an appropriate error message. This is a backwards compatible bug fix.

0.1.0 - 2017-11-21

Added

  • Initial version