Releases: canonical/pylxd
Releases · canonical/pylxd
2.4.0
What's Changed
- pylxd/models/instance: fix a compatibility issue regarding instance name by @liushuyu in #712
- Switch to PEP-517 and update test dependencies by @liushuyu in #713
- Release pylxd 2.4.0 by @simondeziel in #716
Full Changelog: 2.3.9...2.4.0
2.3.9
What's Changed
- pylxd/models/instance: Support selective state recursion in Instance.all() by @gajeshbhat in #707
- pylxd/models/instance: allow creating container without a name by @liushuyu in #708
- pylxd/models: Fix missing instance type in create() payload after endpoint migrationAdd explicit type parameter by @tugbataluy in #709
- pylxd/models/instance: allow specifying compression algorithm by @liushuyu in #710
- setup.cfg: bump version to 2.3.9 by @simondeziel in #711
New Contributors
- @gajeshbhat made their first contribution in #707
- @liushuyu made their first contribution in #708
Full Changelog: 2.3.8...2.3.9
2.3.8
Important Note
Following the removal of the /1.0/containers and /1.0/virtual-machines endpoints in LXD (canonical/lxd#17706), pylxd was updated to consistently use the /1.0/instances endpoint everywhere.
What's Changed
- build(deps): bump github/codeql-action from 4.31.3 to 4.31.4 by @dependabot[bot] in #682
- build(deps): bump actions/checkout from 5.0.0 to 6.0.0 by @dependabot[bot] in #681
- build(deps): bump actions/setup-python from 6.0.0 to 6.1.0 by @dependabot[bot] in #683
- build(deps): bump github/codeql-action from 4.31.4 to 4.31.5 by @dependabot[bot] in #684
- build(deps): bump actions/checkout from 6.0.0 to 6.0.1 by @dependabot[bot] in #687
- build(deps): bump github/codeql-action from 4.31.5 to 4.31.7 by @dependabot[bot] in #686
- Fix/recursive get permissions by @Guillaumebeuzeboc in #685
- build(deps): bump github/codeql-action from 4.31.7 to 4.31.8 by @dependabot[bot] in #690
- build(deps): bump github/codeql-action from 4.31.8 to 4.31.9 by @dependabot[bot] in #691
- build(deps): bump redhat-plumbers-in-action/differential-shellcheck from 5.5.5 to 5.5.6 by @dependabot[bot] in #689
- build(deps): bump github/codeql-action from 4.31.9 to 4.31.10 by @dependabot[bot] in #692
- pylxd/models/storage_pool: tiny fix to please
blackby @simondeziel in #693 - build(deps): bump github/codeql-action from 4.31.10 to 4.31.11 by @dependabot[bot] in #694
- build(deps): bump actions/setup-python from 6.1.0 to 6.2.0 by @dependabot[bot] in #695
- build(deps): bump actions/checkout from 6.0.1 to 6.0.2 by @dependabot[bot] in #696
- build(deps): bump github/codeql-action from 4.31.11 to 4.32.0 by @dependabot[bot] in #697
- CI tweaks by @simondeziel in #698
- build(deps): bump github/codeql-action from 4.32.0 to 4.32.2 by @dependabot[bot] in #699
- build(deps): bump github/codeql-action from 4.32.2 to 4.32.3 by @dependabot[bot] in #700
- setup.cfg: pin
setuptoolsto version before 82 by @simondeziel in #701 - Fix container endpoint drop by @tugbataluy in #704
- Add async test cases for project deletion. by @tugbataluy in #703
- setup.cfg: bump version to 2.3.8 by @simondeziel in #705
New Contributors
- @Guillaumebeuzeboc made their first contribution in #685
Full Changelog: 2.3.7...2.3.8
2.3.7
Important Note
Recently, LXD changed some storage and profile operations to become asynchronous which required some changes on pylxd. On the LXD side, those newly asynchronous changes were introduced by:
- canonical/lxd#16921
- canonical/lxd#16934
- canonical/lxd#16935
- canonical/lxd#16942
- canonical/lxd#16944
- canonical/lxd#16948
- canonical/lxd#16949
What's Changed
- build(deps): bump github/codeql-action from 4.31.0 to 4.31.2 by @dependabot[bot] in #676
- build(deps): bump github/codeql-action from 4.31.2 to 4.31.3 by @dependabot[bot] in #679
- Support newly async API operations on storage and profile by @tugbataluy in #677
- Avoid decoding
response.json()multiple times by @simondeziel in #678 - setup.cfg: bump version to 2.3.7 by @simondeziel in #680
New Contributors
- @tugbataluy made their first contribution in #677
Full Changelog: 2.3.6...2.3.7
2.3.6
What's Changed
- build(deps-dev): bump black from 23.1.0 to 24.8.0 by @dependabot[bot] in #608
- build(deps-dev): bump isort from 5.6.4 to 5.13.2 by @dependabot[bot] in #609
- build(deps-dev): bump pytest-cov from 2.10.1 to 5.0.0 by @dependabot[bot] in #610
- Run unit tests in CI by @simondeziel in #611
- github: avoid running tests twice in PRs by @simondeziel in #613
- pylxd/client: inspect secret before trying to use it as a token by @simondeziel in #616
- doc/source: Document
authenticatefunction usage by @hamistao in #617 - pylxd/client: guard against cert=None by @simondeziel in #618
- github: enable CodeQL by @simondeziel in #620
- build(deps): bump github/codeql-action from 3.27.9 to 3.28.0 by @dependabot[bot] in #621
- Introduce missing fields on
StorageVolumeandImageby @hamistao in #623 - Drop
waitargument from image create by @hamistao in #622 - build(deps): bump github/codeql-action from 3.28.0 to 3.28.1 by @dependabot[bot] in #625
- README: fix links to GitHub CI badge by @simondeziel in #627
- build(deps): bump github/codeql-action from 3.28.1 to 3.28.5 by @dependabot[bot] in #628
- build(deps): bump github/codeql-action from 3.28.5 to 3.28.8 by @dependabot[bot] in #629
- build(deps): bump github/codeql-action from 3.28.8 to 3.28.9 by @dependabot[bot] in #630
- build(deps): bump github/codeql-action from 3.28.9 to 3.28.10 by @dependabot[bot] in #631
- build(deps): bump github/codeql-action from 3.28.10 to 3.28.11 by @dependabot[bot] in #632
- Require GitHub actions to be pinned to their SHA1 version by @simondeziel in #633
- build(deps): bump github/codeql-action from 3.28.11 to 3.28.12 by @dependabot[bot] in #634
- pylxd/models: remove unneeded global specifier by @simondeziel in #637
- build(deps): bump github/codeql-action from 3.28.12 to 3.28.13 by @dependabot[bot] in #635
- build(deps): bump actions/setup-python from 5.4.0 to 5.5.0 by @dependabot[bot] in #636
- build(deps): bump github/codeql-action from 3.28.13 to 3.28.15 by @dependabot[bot] in #638
- build(deps): bump actions/setup-python from 5.5.0 to 5.6.0 by @dependabot[bot] in #639
- build(deps): bump github/codeql-action from 3.28.15 to 3.28.16 by @dependabot[bot] in #640
- build(deps): bump github/codeql-action from 3.28.16 to 3.28.17 by @dependabot[bot] in #641
- build(deps): bump github/codeql-action from 3.28.17 to 3.28.18 by @dependabot[bot] in #642
- build(deps): bump redhat-plumbers-in-action/differential-shellcheck from 5.5.3 to 5.5.4 by @dependabot[bot] in #643
- build(deps): bump github/codeql-action from 3.28.18 to 3.28.19 by @dependabot[bot] in #644
- github: ask CodeQL to also scan GH actions by @simondeziel in #645
- Drop support for Python 3.8 by @simondeziel in #646
- build(deps): bump github/codeql-action from 3.28.19 to 3.29.0 by @dependabot[bot] in #647
- Misc by @simondeziel in #649
- build(deps): bump redhat-plumbers-in-action/differential-shellcheck from 5.5.4 to 5.5.5 by @dependabot[bot] in #653
- Feature/preserve file mode by @mate-amargo in #652
- build(deps): bump github/codeql-action from 3.29.1 to 3.29.2 by @dependabot[bot] in #651
- setup.cfg: have
blackshow a diff when formatting is not to its liking by @simondeziel in #654 - build(deps): bump github/codeql-action from 3.29.2 to 3.29.4 by @dependabot[bot] in #655
- build(deps): bump github/codeql-action from 3.29.4 to 3.29.5 by @dependabot[bot] in #656
- build(deps): bump github/codeql-action from 3.29.7 to 3.29.8 by @dependabot[bot] in #657
- build(deps): bump github/codeql-action from 3.29.8 to 3.29.11 by @dependabot[bot] in #658
- build(deps): bump actions/checkout from 4.2.2 to 5.0.0 by @dependabot[bot] in #659
- Update GitHub actions by @simondeziel in #662
- build(deps): bump github/codeql-action from 3.30.1 to 3.30.3 by @dependabot[bot] in #665
- Add support for restoring stateful snapshots by @ameily in #664
- Make websockets use client's certificate data in
executemethod by @alemar99 in #667 - build(deps): bump github/codeql-action from 3.30.3 to 3.30.5 by @dependabot[bot] in #668
- build(deps): bump github/codeql-action from 3.30.5 to 3.30.6 by @dependabot[bot] in #669
- build(deps): bump github/codeql-action from 3.30.6 to 4.30.8 by @dependabot[bot] in #670
- build(deps): bump github/codeql-action from 4.30.8 to 4.31.0 by @dependabot[bot] in #673
- setup.cfg: bump version to 2.3.6 by @simondeziel in #675
New Contributors
- @mate-amargo made their first contribution in #652
- @ameily made their first contribution in #664
- @alemar99 made their first contribution in #667
Full Changelog: 2.3.5...2.3.6
2.3.5
What's Changed
- Skip password auth tests if not supported by LXD by @simondeziel in #588
- Introduce storage volume snapshots by @hamistao in #584
- github: use canonical/setup-lxd action to setup LXD by @simondeziel in #592
- Test against
4.0/edgeon22.04by @simondeziel in #593 - Fix test regression on LXD 4.0 by @hamistao in #594
- integration: fix detection of explicit_trust_token API extension by @simondeziel in #595
- README: create a venv to pip install pylxd by @simondeziel in #597
- Add support for trust tokens by @hamistao in #599
- pylxd/models/certificate: re-add password arg for backward compat by @simondeziel in #603
- Remove
requests_unixsocketby @hamistao in #604 - setup.cfg: bump version to 2.3.5 by @simondeziel in #605
- github: ask Dependabot to look after pip updates by @simondeziel in #606
New Contributors
Full Changelog: 2.3.4...2.3.5
2.3.4
What's Changed
- setup.cfg: requests 2.32.0+ breaks requests-unixsocket by @simondeziel in #580
- setup.cfg: bump version to 2.3.4 by @simondeziel in #582
Full Changelog: 2.3.3...2.3.4
2.3.3
What's Changed
- github: drop DCO check now that we have the DCO app enabled by @simondeziel in #571
- Switch to
ubuntu-daily:for integration tests inside LXD containers by @simondeziel in #574 - Revert "run-integration-tests-in-lxd: ignore error returned by cloud-init status by @simondeziel in #575
- bugfix: fix error message printing error by @dbaldy in #576
- feat: add vm img support by @yanksyoon in #577
- setup.cfg: bump version to 2.3.3 by @simondeziel in #578
New Contributors
- @yanksyoon made their first contribution in #577
Full Changelog: 2.3.2...2.3.3
2.3.2
Release 2.3.2
What's Changed
- bump version to 2.3.2a by @albertodonato in #491
- integration: Skip cluster test when standalone by @stgraber in #495
- Fix storage type fixtures by @atrautsch in #497
- Project doc by @simondeziel in #498
- Improve TLS doc by @simondeziel in #499
- Cleanup docs build by @fliiiix in #501
- github-action: auto create release on tag by @fliiiix in #502
- doc/instances: improve doc around image use by @simondeziel in #503
- Misc fixes by @simondeziel in #504
- Misc fixes by @simondeziel in #505
- Check for TLS certs in the path used by LXD 3.0 snap by @simondeziel in #506
- Simplify fingerprint retrieval in Certificates.create() by @simondeziel in #507
- Add support for cert_type, name, projects list and restricted flag for certificates by @simondeziel in #508
- doc/events: fix arg name for events() by @simondeziel in #509
- Add create_token method to get a token usable with lxc remote add by @simondeziel in #511
- Fix create_token() s/name/client_name/ by @simondeziel in #512
- Strip query string from profile name by @simondeziel in #515
- Cluster fixes by @simondeziel in #517
- More cluster fixes by @simondeziel in #518
- lxc cluster enable by @simondeziel in #519
- Adding support for network forwards by @gregmccoy in #521
- Fixing linting issues by @gregmccoy in #522
- Fix: Github CI dropped support for Python 3.6 on ubuntu-latest by @fliiiix in #527
- Fix: Github CI file os needs to be a array by @fliiiix in #528
- bugfix: ConnectionResetError on container.execute by @dbaldy in #526
- Add pylxd.exceptions.Conflict to handle HTTP 409 by @simondeziel in #530
- Pin click at < 8.1.0 to avoid conflict with black by @sparkiegeek in #531
- Bump black to 23.1.0 by @sparkiegeek in #532
- Pass _APINode.session down to children classes by @sparkiegeek in #533
- Clean up test_instance - remove defunct code by @sparkiegeek in #534
- Extract get_session_for_url from Client.init by @sparkiegeek in #535
- Add target node documentation by @ben-ihelputech in #536
- Pin
urllib3to 1.x by @simondeziel in #539 - Update codestyle for Python 3.6 by @simondeziel in #541
- Avoid leaving local LXD wide open after running integration tests by @simondeziel in #545
- workflows: Changes target branch check to main. by @markylaing in #552
- instance(all): added passing recursion to all method to get all information in instance by @MrDaGree in #551
- Update links now that PyLXD and LXD have moved to Canonical by @simondeziel in #553
- Update code for fixed issues in LXD by @simondeziel in #554
- github: Run integration tests by @simondeziel in #555
- Fix script to run integration tests in LXD by @simondeziel in #556
- integration: avoid needrestart from prompting by @simondeziel in #557
- Remove code deprecated in early 2016 by @simondeziel in #559
- Misc improvements by @simondeziel in #560
- build(deps): bump actions/checkout from 3 to 4 by @dependabot in #561
- github: add python 3.12 to test matrix by @simondeziel in #562
- Two small fixes by @simondeziel in #564
- Allow setting the profile description upon creation by @simondeziel in #566
- build(deps): bump actions/setup-python from 4 to 5 by @dependabot in #568
- Prepare
2.3.2release by @simondeziel in #570
New Contributors
- @gregmccoy made their first contribution in #521
- @dbaldy made their first contribution in #526
- @ben-ihelputech made their first contribution in #536
- @markylaing made their first contribution in #552
- @MrDaGree made their first contribution in #551
- @dependabot made their first contribution in #561
Full Changelog: 2.3.1...2.3.2