Skip to content

Releases: merge-api/merge-python-client

v1.0.13

26 Jul 19:54
5233f8f

Choose a tag to compare

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 value field to avoid breakage when returning variable types.
  • Improvements to developer experience

v1.0.12

01 Jul 15:50
f5df8b6

Choose a tag to compare

Note: This release only impacts the ACCOUNTING category.

  • Fix issue with Merge OpenAPI spec (API definition) where the tracking_categories field on submodels was marked as Required.

v1.0.11

25 Jun 14:16
564fc34

Choose a tag to compare

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

21 Jun 16:22
6ceae34

Choose a tag to compare

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

22 May 15:02
cce82ff

Choose a tag to compare

Note that changes in this release impact all categories!

  • Addition of coverage field on the RemoteFieldAPI object
  • Addition of integration_specific_config field on the EndUserDetailsRequest object
  • Updated field and model descriptions

CRM

  • Fix bug in the CRMAccountRequest object where the Address object field was missing.

Ticketing

  • Add new endpoints POST Contact and POST Contact Meta

v1.0.8

22 Apr 04:41
53eba83

Choose a tag to compare

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_type as a query parameter on File
    • Better inline examples and model examples

v1.0.7

25 Feb 19:38
a743df1

Choose a tag to compare

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_beta field on the AccountIntegration model with the new and more accurate category_beta_status field.
    • [HRIS] Addition of the ended_after, ended_before, started_after, and started_before query parameters on the /time-off endpoint
    • [File Storage] We fix typing on the PermissionRequest model
    • Better inline examples

v1.0.6

15 Feb 20:31
18e8e7b

Choose a tag to compare

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_seconds overrides the timeout for this specific request
    • additional_body_parameters are expanded into the JSON request body
    • additional_query_parameters are expanded into the JSON query parameters map
    • additional_headers are 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 backports dependency, as cached_property is now included within functools
    • 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/

v1.0.5

22 Jan 16:35
2712a9a

Choose a tag to compare

Note: This release should have no impacts on SDK usage.

  • Add support for bug fixes to generated Python code snippets
  • General developer quality of life fixes to code.

v1.0.4

09 Jan 00:58
80b82db

Choose a tag to compare

Note: this release impacts the Accounting, ATS, CRM, and Ticketing categories

  • For these categories, we fix the typing of the RemoteData object, specifically the data field. The typing is updated from being a list of the RemoteData object to a list of any types.