Skip to content

Releases: launchdarkly/api-client-python

10.0.0

12 Jul 19:14
Compare
Choose a tag to compare

[10.0.0] - 2022-07-11

Added

  • Support for federal server https://app.launchdarkly.us
  • Teams API out of beta
  • New beta OAuth2 Clients API
  • New follow flags API
  • Added optional ruleClause to ParameterDefault object
  • Added optional oauthProviders to Member object
  • Added optional templateKey to CustomWorkflowInputRep object
  • Added optional notifyTeamKeys parameter to
    • create approval
    • create approval request to copy flag configurations across environments
    • create workflow

Changed

  • Changed StatementRep to Statement
  • Using version 6.0.0 of OpenAPI generator
  • Changes to beta experimentation API
  • Renamed StatementRep to Statement
  • List projects has a default limit of 20, added support for filter and sort
  • List projects environment field is expandable, omitted by default
  • Get project environment field is expandable, omitted by default
  • Changed notifyMemberIds from required to optional for create approval and flag config copy approval requests
  • In the Approvals endpoints, updated existing fields in response types to only include the allowed enum values:
    • reviewStatus and status in FlagConfigApprovalRequestResponse
    • kind in ReviewResponse

Bug Fixes

  • Removed unintentionally exposed optional variationJsonSchema from FeatureFlagBody
  • Added missing variations to FlagSummary object
  • Removed required attribute from fields on the GET /api/v2/flags/{projectKey} response that are only shown when the request contains ?summary=false

9.0.1

29 Apr 20:27
Compare
Choose a tag to compare

[9.0.1] - 2022-04-29

Changed:

  • Changes to Experiments (beta) endpoints

9.0.0

12 Apr 21:45
Compare
Choose a tag to compare

[9.0.0] - 2022-04-12

Added:

  • Added Experiments (beta) endpoints
    • GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments
    • POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments
    • GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}
    • PATCH /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}
    • POST /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/iterations
    • GET /api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/metrics/{metricKey}/results
  • Added optional reason to ExecutionOutputRep
  • Added executeConditionsInSequence to StageInputRep
  • Added required fileCount to StatisticRep

Changed

  • Changes to Experiments (beta) endpoints

8.0.0

11 Mar 16:46
Compare
Choose a tag to compare

[8.0.0] - 2022-03-11

Added:

  • Added Tags endpoint
    • GET /api/v2/tags
  • Added Flag links (beta) endpoints
    • GET /api/v2/flag-links/projects/{projectKey}/flags/{featureFlagKey}
    • POST /api/v2/flag-links/projects/{projectKey}/flags/{featureFlagKey}
    • DELETE /api/v2/flag-links/projects/{projectKey}/flags/{featureFlagKey}/{id}
    • PATCH /api/v2/flag-links/projects/{projectKey}/flags/{featureFlagKey}/{id}
  • Added Integration delivery configurations (beta) endpoints
    • GET /api/v2/integration-capabilities/featureStore
    • GET /api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}
    • POST /api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey}
    • GET /api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey}/{id}
    • DELETE /api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey}/{id}
    • PATCH /api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey}/{id}
    • POST /api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey}/{id}/validate
  • Added Segments (beta) endpoints
    • POST /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/exports
    • GET /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/exports/{exportID}
    • POST /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/imports
    • GET /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/imports/{importID}
  • Added Teams (beta) endpoints
    • GET /api/v2/teams/{teamKey}/maintainers
    • GET /api/v2/teams/{teamKey}/roles
  • Added optional source to EnvironmentPost
  • Added compare query parameter to GET /api/v2/flags/{projectKey}
  • Added totalCountWithDifferences property to FeatureFlags object

Changed:

  • Updates to our Teams (beta) endpoint
  • Updates to our Worfklows (beta) endpoint

Removed:

  • Removed derived property from User object

Fixed:

  • Added 409 conflict response to DELETE /api/v2/flags/{projectKey}/{featureFlagKey}

[7.1.1] - 2022-01-14

15 Jan 01:06
Compare
Choose a tag to compare

Changed:

  • Renamed the body of Teams (beta) endpoint postMemberTeams from MemberTeamsFormPost to MemberTeamsPostInput

Fixed:

  • StatementPost and StatementPostData had incorrectly marked resources and actions as required properties

[7.1.0] - 2022-01-06

07 Jan 00:00
Compare
Choose a tag to compare

Added:

  • Audit log subscription endpoints
    • GET /api/v2/integrations/{integrationKey}
    • POST /api/v2/integrations/{integrationKey}
    • GET /api/v2/integrations/{integrationKey}/{id}
    • DELETE /api/v2/integrations/{integrationKey}/{id}
    • PATCH /api/v2/integrations/{integrationKey}/{id}
  • Flag trigger endpoints
    • GET /api/v2/flags/{projKey}/{flagKey}/triggers/{envKey}
    • POST /api/v2/flags/{projKey}/{flagKey}/triggers/{envKey}
    • GET /api/v2/flags/{projKey}/{flagKey}/triggers/{envKey}/{id}
    • DELETE /api/v2/flags/{projKey}/{flagKey}/triggers/{envKey}/{id}
    • PATCH /api/v2/flags/{projKey}/{flagKey}/triggers/{envKey}/{id}
  • Teams (beta) endpoint
    • POST /api/v2/teams/{key}/members
  • Account Members endpoint
    • POST /api/v2/members/{id}/teams
  • Added to and from query parameters in getExtinctions
  • Added ref property to rule object
  • Added commitTime property to branch object

Changed:

  • Switched from minutesAgo to timestamp in our beta GET /api/v2/flags/{projKey}/{flagKey}/experiments/{envKey}/{metricKey} response

Fixed:

  • successCriteria property now expects a string with value HigherThanBaseline or LowerThanBaseline, it was previously incorrectly expecting an int
  • GET /api/v2/teams/{key} was incorrectly returning TeamRep. It’s been corrected to return ExpandedTeamRep
  • PATCH /api/v2/teams/{key} was incorrectly returning TeamCollectionRep. It’s been corrected to return ExpandedTeamRep

[7.0.0] - 2021-12-03

03 Dec 22:13
Compare
Choose a tag to compare

Added:

  • Workflows API (Beta)
  • Teams API (Beta)
  • Added limit, offset, and filter query parameters for getTeams
  • Added basePermissions setting to custom roles
  • Added filter query parameter to getSearchUsers
  • Added sort query parameter for getSearchUsers
  • Added creationDate to Member
  • Added metricSeen to ExperimentResultsRep
  • Added requireComments, confirmChanges to Environment

Changed:

  • Return body of getRoot was previously undocumented
  • Post body of postExtinction was previously undocumented
  • Post body of postMembers was previously undocumented
  • resources and notResources types in StatementRep was previously undocumented
  • environments type in ProjectPost was previously undocumented
  • Renamed Variate to Variation

Fixed:

  • Fixed postCustomRole post body
  • Fixed return type of getCustomRole
  • Fixed customWorkflowMetaData to customWorkflowMetadata in FlagConfigApprovalRequestResponse
  • Fixed putBranch post body
  • Fixed incorrect route for postFlagCopyConfigApprovalRequest
  • Fixed response body of getUser to return full user payload
  • Various required annotations fixed

[6.0.0] - 2021-09-02

02 Sep 18:07
Compare
Choose a tag to compare

Added:

  • With the new OpenAPI specification, many additional resources have been added to the API clients. Refer to the client source code for more information.
  • The Go API client generates with both pointers and types.

Changed:

  • Replaced the manually-curated OpenAPI 2.0 specification with an OpenAPI 3.0 specification that is generated from annotations in our source code.
  • Updated from Swagger Codegen v2.4.17 to OpenAPI Generator v5.2.1.
  • With the new OpenAPI specification and the new generator, many models and resources have been changed for improved correctness, completeness, and consistency. Refer to the client source code for more information.

Deprecated:

  • The Bash API client was not updated as part of this release and will no longer be maintained.
  • The .NET API client was not updated as part of this release due to an issue in the generator library. In the meantime, the repository will remain frozen in the prior state. We will resume updates to the .NET API Client as soon as the generator bug is resolved.