Releases: merge-api/merge-python-client
v1.0.13
Note: This change impacts all categories.
- Sync the SDKs with the latest updates to the Merge API.
- New common models, query parameters, and fields
- [CRM + Ticketing] Improved typing on the RemoteFields object
valuefield to avoid breakage when returning variable types. - Improvements to developer experience
v1.0.12
v1.0.11
Note - this release impacts all categories. There is no change to the underlying AP; only limited to the SDK usage.
- Addressing the bug in #90 where the OpenAPI spec is not matching the SDK due to a misconfiguration of the Pydantic configs. All models should go back to matching the API in this release.
v1.0.10
Note: This release impacts all categories. No changes to the underlying API, only includes changes to SDK usage.
- Pydantic introduced a "break" to their 1.x libs by adding in a .v1 submodule that does not mirror the one that comes with pydantic v2. To get around this we now force the usage of the v1 submodule only if the pydantic version is v2.
- Many minor upgrades to code and code snippet quality.
v1.0.9
Note that changes in this release impact all categories!
- Addition of
coveragefield on theRemoteFieldAPIobject - Addition of
integration_specific_configfield on theEndUserDetailsRequestobject - Updated field and model descriptions
CRM
- Fix bug in the CRMAccountRequest object where the
Addressobject field was missing.
Ticketing
- Add new endpoints POST Contact and POST Contact Meta
v1.0.8
Note: The changes in this release impact all categories.
- We sync the SDK with the latest improvements to the Merge API
- [Accounting] PATCH Invoices added
- [Accounting] PATCH Payments added
- [ATS] GET Job Postings added
- [FILE] added
mime_typeas a query parameter onFile - Better inline examples and model examples
v1.0.7
Note: The changes in this release impact all categories.
- We sync the SDK with the latest improvements to the Merge API
- Addition of the Field Mappings API
- Addition of the Scopes manipulation API (both Organization-wide and Linked Account-wide)
- Replacing the old
is_in_betafield on theAccountIntegrationmodel with the new and more accuratecategory_beta_statusfield. - [HRIS] Addition of the
ended_after,ended_before,started_after, andstarted_beforequery parameters on the/time-offendpoint - [File Storage] We fix typing on the
PermissionRequestmodel - Better inline examples
v1.0.6
Note: This change adds improvements to all categories.
-
We fix some reported enum serialization issues regarding sending the enum directly rather than the value of the enum itself.
-
Add support for a RequestOptions object for each generated function within Python SDKs. This parameter is an optional final parameter that allows for configuring timeout, as well as pass in arbitrary data through to the request. RequestOptions is a TypedDict, with optional fields, so there's no need to instantiate an object, just pass in the relevent keys within a dict!
timeout_in_secondsoverrides the timeout for this specific requestadditional_body_parametersare expanded into the JSON request bodyadditional_query_parametersare expanded into the JSON query parameters mapadditional_headersare expanded into the request's header map
-
Remove support for Python 3.7. In order to support newer versions of libraries we depend on (such as typing and typing-extensions), we must move on to Python 3.8. With this change we are also able to:
- Remove the
backportsdependency, ascached_propertyis now included withinfunctools - Remove the upper bound dependency on Pydantic which had dropped support for Python 3.7
- Note: Python 3.7 had reached end of life so we strongly encourage users to upgrade to >= 3.8. https://www.python.org/downloads/release/python-370/
- Remove the
v1.0.5
v1.0.4
Note: this release impacts the Accounting, ATS, CRM, and Ticketing categories
- For these categories, we fix the typing of the
RemoteDataobject, specifically thedatafield. The typing is updated from being a list of theRemoteDataobject to a list ofanytypes.