Releases: merge-api/merge-python-client
Releases · merge-api/merge-python-client
v2.3.2
Merge Python SDK Release Notes - Version [2.3.2]
Improvements
- Adds the following fields to ticketing collection
collection_url
,remote_created_at
andremote_updated_at
- Adds a name query param to ticketing collection
- Adds a email_address query param to ticketing contact
- Add a name query param to ticketing ticket
- Add employee_id and employee_number to hris employee and dependent
v2.3.1
Merge Python SDK Release Notes - Version [2.3.1]
Improvements
- This release addresses an issue with passthrough when using the Async client
AsyncMerge
where calls to the passthrough client were failing with the following errorname 'resources_ticketing_resources_passthrough_client_AsyncPassthroughClient' is not defined
.
v2.3.0
Merge Python SDK Release Notes - Version [2.3.0]
Improvements
- This release adds lazy loading of imports to greatly reduce the memory footprint of the SDK. Note the first usage of a client will have additional latency.
v2.2.0
Merge Python SDK Release Notes - Version [2.2.0]
This release includes support for all of the latest updates to the Merge API. For more information, see https://www.merge.dev/changelog
v2.1.1
Merge Python SDK Release Notes - Version [2.1.1]
Changes
- Update nested object return type
Dictionaries of objects, or lists of strings and objects will now be typed with the object. For example for the following code snippet:
import merge
from merge.client import Merge
merge_client = merge.Merge(api_key=api_key, account_token=account_token)
response = merge_client.filestorage.files.list(page_size=1)
assert response.results
file = response.results[0]
permission = file.permissions[0]
- The type of
permission
will be<class 'merge.resources.filestorage.types.permission.Permission'>
instead of<class 'dict'>
v2.1.0
Merge Python SDK Release Notes - Version [2.1.0]
Changes
- Reduce memory footprint of the SDK
Should resolve issues with memory consumption of the Merge Python SDK. When this version is picked up, users should see drastic improvements, with memory footprint of imports down to 100MB.
v2.0.0
Merge Python SDK Release Notes - Version [2.0.0]
This release includes support for all of the latest updates to the Merge API. For more information, see https://www.merge.dev/changelog
Breaking Changes
- AccessLevelEnum was renamed
Usages ofAccessLevelEnum
need to be updated toTicketAccessLevelEnum
in code as well as when importing
v1.2.1
This change impacts only the Accounting Category.
- Added
category_type
andstatus
query params on the/tracking-categories
endpoint - Added
status
query param on the/accounts
endpoint - Added
status
query param on the/contacts
endpoint
v1.2.0
This release affects all categories.
- (feat): Requests for file download will now allow users to pass in a chunk_size option that allows them to receive chunks of a specific size from the resultant iter_bytes invocation on the response byte stream.
- (fix): Update shared http_client.py to remove omitted entries during file upload requests.
- (fix): pyproject.toml now has a [project] block making it Poetry v2 compatible.
- (feat): Set the default number of retries to 2 (was 0) to align with the generated README.
- (fix): Fix an issue where GeneratorExit was unintentionally being swallowed by code blocks within the HttpClient.stream() contextmanager.
- (fix): Fix an issue where parameter names that conflict with the request_options parameter are now properly deconflicted by prepending an underscore to the request_options parameter name.
- (fix): Fix an issue where the default timeout was not being respected when a custom httpx_client was provided.
- (feat): Add support for raw bytes responses.
- (feat): Add support for user-agent header
- (fix): Always represent nullable as Optional rather than NotRequired, only use NotRequired for optional in typeddicts.
- (fix): Fix an issue where TypedDicts with circular references were not correctly serialized. This issue only affected users that enabled use_typeddict_requests.
v1.1.4
This release impacts all categories.
- Updated descriptions and code snippets
- Add query parameters for multiple Common Model endpoints
- async POST request support
- [accounting] add GeneralLedgerTransactions
- [accounting] add BankFeeds and BankFeedTransactions
- updated RemoteData and RemoteFields objects to allow for better handling