Skip to content

Releases: merge-api/merge-python-client

v1.0.7

25 Feb 19:38
a743df1
Compare
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
Compare
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
Compare
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
Compare
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.

v1.0.3

04 Jan 20:08
92a2bfd
Compare
Choose a tag to compare

Note: This change is to roll back a bug in the SDK generator. There should be no impact on usage of the SDK or the models/fields available otherwise.

  • Fix incorrect API endpoint paths bug in the Python generator

v1.0.2

28 Dec 07:27
312e696
Compare
Choose a tag to compare

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

  • In the Accounting category, we add the purchase_orders field to the InvoiceRequest object along with updating some field descriptions.
  • In the CRM category, we add a query parameter on the accounts endpoint, multiple query parameters on the engagements endpoint, and the owner field to the Contact object.
  • In the File Storage category, we add a query parameter to the file download endpoint.
  • In the Ticketing category, we add a query parameter on the attachment download endpoint, and a new /roles endpoint along with its associated objects.

v1.0.1

15 Nov 16:06
2253dde
Compare
Choose a tag to compare

Note: this release only impacts the Accounting category

  • For the Accounting category, we fix two enums that were mishandled in the initial implementation. currency on the ExpenseLineRequest model and status on the Invoice object.

v1.0.0

14 Nov 03:09
400c9a0
Compare
Choose a tag to compare

Note: this release only impacts the Accounting category

  • For the Accounting category, we update the Payment Line item. This impacts all Payment Line item submodels as well.

Note: We update the version to v1.0.0 for semantic purposes. This SDK has been out of Beta since a much earlier version.

v0.3.0

30 Oct 22:15
c4e76f3
Compare
Choose a tag to compare

Note: This change impacts ALL of the Merge Categories. Below we've listed some of the larger changes.

  • For ALL Merge categories, we've added the Audit Trail endpoint to access events via API

  • For all Merge common models, we've also added the created_at field and the remote_was_deleted field.

  • In the Accounting category, we've added the Accounting Periods common model.

  • In the ATS category, we've added the job_id query param on the Interview model and the Screening Questions and Screening Question Option common models.

  • In the CRM category, we've removed the custom_object_classes_custom_objects_partial_update PATCH endpoint and the custom_object_classes_generator_update PUT endpoint to allow for us to properly fix the endpoints before rereleasing. You should have received comms about this if you were an active user of these endpoints.

  • In the File Storage category, we've added better Expands support for all the common models allowing for a more reliable request building and deserialization.

  • In the HRIS category, we've added a query parameter on location_type on the Location object and added the Timesheet Entries common model.

  • In the Ticketing category, we've updated some model descriptions to better capture the purpose of each model within the category.

v0.2.10

20 Oct 19:52
2c71a3f
Compare
Choose a tag to compare

This release makes no changes to our existing SDKs!

We update the generator to allow us to internally generate code snippets for better documentation on the docs.merge.dev website. This change is different from v0.2.9 in that it fixes a few issues with the code generation code as well as adds snippets inline as well.