All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
This version includes breaking changes for credential providers. BasicAuthCredentialProvider has been deprecated and removed.
Please migrate to ApiClientCredentialsProvider if you haven't done so already. Client credentials with API roles and clients is the recommended path forward.
Where basic auth is still required with username/password use UserCredentialsProvider.
- Update sort and filter fields for device inventory endpoints.
- Change default credential provider to
ApiClientCredentialsProviderin docs. - Refactored
LoadFromAWSSecretsManager,PromptForCredentialsandLoadFromKeychaininto helper functions instead of classes. Each function returns aCredentialProvidertype that is specified or raises aTypeErrorif an invalid credential provider was passed.
- GitHub Actions workflows now pin action versions to commit hash. Docs publishing was broken due to outdated actions.
Special shoutout to macserv for this contribution to the project!
- Pro API
get_packages_v1()
- Overload interfaces for Pro API methods that have multiple return types (this will now be a standard going forward).
- Added
filesargument forpro_api_request()to pass through torequestsforPOSTrequests.
- Various Python typing enhancements.
- Fixed missing criteria options for Classic API advanced searches and groups.
- Fixed sections not being passed when calling
get_mobile_device_inventory_v2(). - Fix malformed XML when generating computer group data from a model.
- Removed
blackfrom dev tools.
- Pro API
get_mobile_device_inventory_v2()
- Added
end_pageargument toget_mdm_commands_v2()
- V1Site model optional values did not have default of
None.
- Classic API
update_category_by_id() - Classic API
delete_category_by_id() - Classic API
create_category()
- Pydantic V2 Update
- Pagination bug with Pro API paginator.
- Classic API
create_advanced_computer_search() - Classic API
list_all_advanced_computer_searches() - Classic API
get_advanced_computer_search_by_id() - Classic API
update_advanced_computer_search_by_id() - Classic API
delete_advanced_computer_search_by_id() - Classic API
list_all_categories() - Classic API
get_category_by_id() - Classic API
set_computer_unmanaged_by_id() - Classic API
set_computer_managed_by_id()