Skip to content

newrelic-client-go v2.30.0

Compare
Choose a tag to compare
@pranav-new-relic pranav-new-relic released this 18 Apr 03:56
· 141 commits to main since this release

newrelic-client-go v2.30.0 has been released! πŸŽ‰πŸ“’
The following includes a summary of everything that's included in this release.

What's Changed

Feature: Support for Queries in the Package customerAdministration (#1126)

  • Starting this version, the client would support performing queries to endpoints within the customeradministration package, currently available on NerdGraph.
  • This includes endpoints accounts, authenticationDomains, grants, groups, users, roles and more, as seen in the package on NerdGraph.
  • Functions written in the client, as part of the customeradministration package correspond to an endpoint in the NerdGraph customerAdministration endpoint each. For more details on the arguments accepted by each of these functions to perform queries, kindly head over to this file.
  • In order to utilise these queries within your Go project, one would need to add newrelic-client-go as a dependency to the project (if not done already), and upgrade to this version, v2.30.0. Detailed instructions on adding newrelic-client-go as a dependency/import can be found in this section, while instructions to upgrade to a specific version of the client can be found here.
  • It may be noted that using few datatypes within this package with a specific attribute may cause errors, owing to a minor limitation with the schema of the datatypes on NerdGraph, a detailed excerpt of which has been listed here, along with a workaround.
  • Bonus: It may also be noted that the changes published as part of this release not only include support for querying within the customerAdministration package on NerdGraph, but also support performing mutations to grant and revoke roles within the authorizationManagement package on NerdGraph and facilitate creating/updating/deleting supported entities in organizations via the package organization on NerdGraph, for both of which packages authorizationmanagement and organization have respectively, been included in this release as well.