Releases: univ-of-utah-marriott-library-apple/python-jamf
Releases · univ-of-utah-marriott-library-apple/python-jamf
0.8.3
- Moved keyring code out of api.py to config.py.
- Improved error handling, exits, and printing to STDERR.
- Created exceptions.py.
- Moved all errors to exceptions.py.
- Created more nuanced exceptions like NotFound.
- Improved session management.
- Removed api.py code that wasn't doing anything.
- Applied a little bit of dry to api.py.
- Encode xml data as utf-8 before sending it to Jamf.
- Simplified config.py and setconfig.py by breaking up long methods into multiple methods.
- Created revoke_token .
- Fixed code with null names.
- Cast record id to int if it's a str.
- Added recordsWithName.
- Deprecated recordWithName because Jamf doesn't enforce unique names. recordWithName returns the first item returned by recordsWithName.
- Removed api_mock_test.py and created api_test.py, which runs against a real jamf server.
- Removed/renamed test_config.py to config_test.py and completely rewrote it.
- Removed test_records.py (it's a work in progress)
Known issues
- Creating a new record needs a little work. It needs to get the record right after posting it because the data isn't correct.
- Discovered it's possible to create bad records that can not be deleted and doesn't show up in the GUI.
0.8.2
- Much better error reporting when there's a connection failure to the server
- Checks for "http://" or "https://" when setting a hostname and when connecting to a server
- Added
conf-python-jamf -r
to remove the bearer token saved in the keychain - Unified server connection code
- Replaced all
exit(1)
withraise SystemExit
- pre-commit updated to 4.3.0
- GitHub action updated action names
- Updated README
0.8.1
0.7.5
- Fixed trigger_logout removal from policies triggers
- Fixed bearer token bug
- Lots of automated reformatting and cleaning up
- Adds pre-commit
Thank you homebysix for your contributions.
0.7.4
- Bearer token support
- Fixed bug when creating records (shallow vs deep copy)
- Fixed version in setup.py bug
- Removed jamfnet from main docker-compose and move it to it's own file
- Support smb mounting on linux
Thank you yairf-s1 and pythoninthegrass for your contributions.
0.7.3
Merge pull request #66 from univ-of-utah-marriott-library-apple/v0.7.3 Changed jamf/records.py ln 385 Error to JamfError
0.7.2
Fixed version check
0.7.1
Testing to try to get rid of dual releases/tags
0.6.9
Fixing github action python dependencies
0.6.6
Created with a github action. Go automation!