Releases: launchdarkly/api-client-python
Releases · launchdarkly/api-client-python
[7.1.0] - 2022-01-06
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
toandfromquery parameters ingetExtinctions - Added
refproperty toruleobject - Added
commitTimeproperty tobranchobject
Changed:
- Switched from
minutesAgototimestampin our betaGET /api/v2/flags/{projKey}/{flagKey}/experiments/{envKey}/{metricKey}response
Fixed:
successCriteriaproperty now expects astringwith valueHigherThanBaselineorLowerThanBaseline, it was previously incorrectly expecting anintGET /api/v2/teams/{key}was incorrectly returningTeamRep. It’s been corrected to returnExpandedTeamRepPATCH /api/v2/teams/{key}was incorrectly returningTeamCollectionRep. It’s been corrected to returnExpandedTeamRep
[7.0.0] - 2021-12-03
Added:
- Workflows API (Beta)
- Teams API (Beta)
- Added
limit,offset, andfilterquery parameters forgetTeams - Added
basePermissionssetting to custom roles - Added
filterquery parameter togetSearchUsers - Added
sortquery parameter forgetSearchUsers - Added
creationDatetoMember - Added
metricSeentoExperimentResultsRep - Added
requireComments,confirmChangestoEnvironment
Changed:
- Return body of
getRootwas previously undocumented - Post body of
postExtinctionwas previously undocumented - Post body of
postMemberswas previously undocumented resourcesandnotResourcestypes inStatementRepwas previously undocumentedenvironmentstype inProjectPostwas previously undocumented- Renamed
VariatetoVariation
Fixed:
- Fixed
postCustomRolepost body - Fixed return type of
getCustomRole - Fixed
customWorkflowMetaDatatocustomWorkflowMetadatainFlagConfigApprovalRequestResponse - Fixed
putBranchpost body - Fixed incorrect route for
postFlagCopyConfigApprovalRequest - Fixed response body of
getUserto return fulluserpayload - Various required annotations fixed
[6.0.0] - 2021-09-02
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.