Releases: merge-api/merge-python-client
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_beta
field on theAccountIntegration
model with the new and more accuratecategory_beta_status
field. - [HRIS] Addition of the
ended_after
,ended_before
,started_after
, andstarted_before
query parameters on the/time-off
endpoint - [File Storage] We fix typing on the
PermissionRequest
model - 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_seconds
overrides the timeout for this specific requestadditional_body_parameters
are expanded into the JSON request bodyadditional_query_parameters
are expanded into the JSON query parameters mapadditional_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, ascached_property
is 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
RemoteData
object, specifically thedata
field. The typing is updated from being a list of theRemoteData
object to a list ofany
types.
v1.0.3
v1.0.2
Note: this release impacts the Accounting, CRM, File Storage, and Ticketing categories
- In the Accounting category, we add the
purchase_orders
field to theInvoiceRequest
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 theContact
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
v1.0.0
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
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 theremote_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 thecustom_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
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.