Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update module github.com/gophercloud/gophercloud to v2 #289

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate-rancher[bot]
Copy link

@renovate-rancher renovate-rancher bot commented Sep 4, 2024

This PR contains the following updates:

Package Type Update Change
github.com/gophercloud/gophercloud require major v0.7.0 -> v2.2.0

Release Notes

gophercloud/gophercloud (github.com/gophercloud/gophercloud)

v2.2.0

Compare Source

What's Changed

Full Changelog: gophercloud/gophercloud@v2.1.1...v2.2.0

v2.1.1

Compare Source

What's Changed

Full Changelog: gophercloud/gophercloud@v2.1.0...v2.1.1

v2.1.0

Compare Source

  • GH-3078 [networking]: add BGP VPNs support
  • GH-3086 build(deps): bump golang.org/x/crypto from 0.24.0 to 0.25.0
  • GH-3090 Adding support for field dns_publish_fixed_ip in a subnet
  • GH-3092 [neutron]: introduce Stateful argument for the security groups
  • GH-3094 [neutron]: introduce Description argument for the portforwarding
  • GH-3106 clouds: Parse trust_id from clouds.yaml
  • GH-3131 Align ServiceFail provisioning state value with Ironic
  • GH-3136 Added node.Retired

v2.0.0

Compare Source

MAIN BREAKING CHANGES:

  • Gophercloud now requires Go v1.22.
  • GH-2821 Gophercloud now escapes container and object names in all objects and containers functions. If you were previously escaping names (with, for example: url.PathEscape or url.QueryEscape), then you should REMOVE that and pass the intended names to Gophercloud directly.
  • GH-2821 The containers.ListOpts#Full and objects.ListOpts#Full properties are REMOVED from the Gophercloud API. The reason for that is: plaintext listing is unfixably wrong and won't handle special characters reliably (i.e. \n).
  • GH-2821 Empty container names, container names containing a slash (/), and empty object names are now rejected in Gophercloud before any call to Swift.
  • GH-2821 In objectstorage: containers.ErrInvalidContainerName is now v1.ErrInvalidContainerName.
  • GH-2821 New name validation errors in objectstorage:
    • v1.ErrEmptyContainerName
    • v1.ErrEmptyObjectName
  • GH-2821 In objects.Copy: the destination field (e.g. objects.CopyOpts#Destination) must be in the form /container/object: the function will reject a destination path if it doesn't start with a slash (/).
  • GH-2560 loadbalancer: Use CreateMemberOpts instead of BatchUpdateMemberOpts in PoolCreateOpts
  • GH-2886 ports: Fix value_specs implementation
  • GH-2665 Cinder: Remove multiatttach request parameter
  • GH-2936 Make Gophercloud context-aware: all function signatures triggering an HTTP call now accept a context.Context for tracing and cancellation
  • GH-2970 Remove context from the Provider client
  • GH-2904 Remove error code types

New features and improvements:

  • GH-2486 Fix BareMetalV1 version
  • GH-2492 Add tags for loadbalancer l7policy and l7rule
  • GH-2560 loadbalancer: Use CreateMemberOpts instead of BatchUpdateMemberOpts in PoolCreateOpts
  • GH-2561 compute: add ext_specs to flavor
  • GH-2613 Migrate baremetal inventory to a common location
  • GH-2724 baremetal: introduce Node Inventory API
  • GH-2725 baremetal: finish moving common inventory bits
  • GH-2736 Composable templates
  • GH-2781 baremetal: support ironic native PluginData
  • GH-2791 Add microversion utilities
  • GH-2806 Fix list ports with multiple fixedip parameters
  • GH-2809 Remove code for CDN (poppy)
  • GH-2812 Revert "Fix baremetal jobs on Ubuntu 20.04"
  • GH-2821 objects: Escape names in Gophercloud
  • GH-2828 Octavia: Add tags to resources missing them
  • GH-2834 baremetal: implemented ParsedLLDP in the standard PluginData
  • GH-2866 loadbalancer additional_vips by snigle
  • GH-2881 Adding missing QoS field for router
  • GH-2883 Context-aware methods to ProviderClient and ServiceClient
  • GH-2892 Authenticate with a clouds.yaml

v1.14.1

Compare Source

What's Changed

Full Changelog: gophercloud/gophercloud@v1.14.0...v1.14.1

v1.14.0

Compare Source

What's Changed

Full Changelog: gophercloud/gophercloud@v1.13.0...v1.14.0

v1.13.0

Compare Source

What's Changed

Full Changelog: gophercloud/gophercloud@v1.12.0...v1.13.0

v1.12.0

Compare Source

  • GH-2979 [v1] CI backports
  • GH-2985 [v1] baremetal: fix handling of the "fields" query argument
  • GH-2989 [v1] [CI] Fix portbiding tests
  • GH-2992 [v1] [CI] Fix portbiding tests
  • GH-2993 [v1] build(deps): bump EmilienM/devstack-action from 0.14 to 0.15
  • GH-2998 [v1] testhelper: mark all helpers with t.Helper
  • GH-3043 [v1] CI: remove Zed from testing coverage

v1.11.0

Compare Source

This version reverts the inclusion of Context in the v1 branch. This inclusion
didn't add much value because no packages were using it; on the other hand, it
introduced a bug when using the Context property of the Provider client.

v1.10.0

Compare Source

  • GH-2893 [v1] authentication: Add WithContext functions
  • GH-2894 [v1] pager: Add WithContext functions
  • GH-2899 [v1] Authenticate with a clouds.yaml
  • GH-2917 [v1] Add ParseOption type to made clouds.Parse() more usable for optional With* funcs
  • GH-2924 [v1] build(deps): bump EmilienM/devstack-action from 0.11 to 0.14
  • GH-2933 [v1] Fix AllowReauth reauthentication
  • GH-2950 [v1] compute: Use volumeID, not attachmentID for volume attachments

v1.9.0

Compare Source

New features and improvements:

  • GH-2884 [v1] Context-aware methods to ProviderClient and ServiceClient
  • GH-2887 [v1] Add support of Flavors and FlavorProfiles for Octavia
  • GH-2875 [v1] [db/v1/instance]: adding support for availability_zone for a db instance

CI changes:

  • GH-2856 [v1] Fix devstack install on EOL magnum branches
  • GH-2857 [v1] Fix networking acceptance tests
  • GH-2858 [v1] build(deps): bump actions/upload-artifact from 3 to 4
  • GH-2859 [v1] build(deps): bump github/codeql-action from 2 to 3

v1.8.0

Compare Source

New features and improvements:

  • GH-2800 [v1] Fix options initialization in ServiceClient.Request (fixes #​2798)
  • GH-2823 [v1] Add more godoc to GuestFormat
  • GH-2826 Allow objects.CreateTempURL with names containing /v1/

CI changes:

  • GH-2802 [v1] Add job for bobcat stable/2023.2
  • GH-2819 [v1] Test files alongside code
  • GH-2814 Make fixtures part of tests
  • GH-2796 [v1] ci/unit: switch to coverallsapp/github-action
  • GH-2840 unit tests: Fix the installation of tools

v1.7.0

Compare Source

New features and improvements:

  • GH-2782 [v1] (manual clean backport) Add tag field to compute block_device_v2

CI changes:

  • GH-2760 [v1 backports] semver auto labels
  • GH-2775 [v1] Fix typos in comments
  • GH-2783 [v1] (clean manual backport) ci/functional: fix ubuntu version & add antelope
  • GH-2785 [v1] Acceptance: Handle numerical version names in version comparison helpers
  • GH-2787 backport-v1: fixes to semver label
  • GH-2788 [v1] Make acceptance tests internal

v1.6.0

Compare Source

New features and improvements:

  • GH-2712 [v1] README: minor change to test backport workflow
  • GH-2713 [v1] tests: run MultiAttach with a capable Cinder Type
  • GH-2714 [v1] Add CRUD support for encryption in volume v3 types
  • GH-2715 [v1] Add projectID to fwaas_v2 policy CreateOpts and ListOpts
  • GH-2716 [v1] Add projectID to fwaas_v2 CreateOpts
  • GH-2717 [v1] [manila]: add reset and force delete actions to a snapshot
  • GH-2718 [v1] [cinder]: add reset and force delete actions to volumes and snapshots
  • GH-2721 [v1] orchestration: Explicit error in optionsmap creation
  • GH-2723 [v1] Add conductor API to Baremetal V1
  • GH-2729 [v1] networking/v2/ports: allow list filter by security group

CI changes:

  • GH-2675 [v1][CI] Drop periodic jobs from stable branch
  • GH-2683 [v1] CI tweaks

v1.5.0

Compare Source

New features and improvements:

  • GH-2634 baremetal: update inspection inventory with recent additions
  • GH-2635 [manila]: Add Share Replicas support
  • GH-2637 [FWaaS_v2]: Add FWaaS_V2 workflow and enable tests
  • GH-2639 Implement errors.Unwrap() on unexpected status code errors
  • GH-2648 [manila]: implement share transfer API

v1.4.0

Compare Source

New features and improvements:

  • GH-2465 keystone: add v3 limits update operation
  • GH-2596 keystone: add v3 limits get operation
  • GH-2618 keystone: add v3 limits delete operation
  • GH-2616 Add CRUD support for register limit APIs
  • GH-2610 Add PUT/HEAD/DELETE for identity/v3/OS-INHERIT
  • GH-2597 Add validation and optimise objects.BulkDelete
  • GH-2602 [swift v1]: introduce a TempURLKey argument for objects.CreateTempURLOpts struct
  • GH-2623 Add the ability to remove ingress/egress policies from fwaas_v2 groups
  • GH-2625 neutron: Support trunk_details extension

CI changes:

  • GH-2608 Drop train and ussuri jobs
  • GH-2589 Bump EmilienM/devstack-action from 0.10 to 0.11
  • GH-2604 Bump mheap/github-action-required-labels from 3 to 4
  • GH-2620 Pin goimport dep to a version that works with go 1.14
  • GH-2619 Fix version comparison for acceptance tests
  • GH-2627 Limits: Fix ToDo to create registered limit and use it
  • GH-2629 [manila]: Add share from snapshot restore functional test

v1.3.0

Compare Source

  • GH-2464 keystone: add v3 limits create operation
  • GH-2512 Manila: add List for share-access-rules API
  • GH-2529 Added target state "rebuild" for Ironic nodes
  • GH-2539 Add release instructions
  • GH-2540 [all] IsEmpty to check for HTTP status 204
  • GH-2543 keystone: add v3 OS-FEDERATION mappings get operation
  • GH-2545 baremetal: add inspection_{started,finished}_at to Node
  • GH-2546 Drop train job for baremetal
  • GH-2549 objects: Clarify ExtractContent usage
  • GH-2550 keystone: add v3 OS-FEDERATION mappings update operation
  • GH-2552 objectstorage: Reject container names with a slash
  • GH-2555 nova: introduce servers.ListSimple along with the more detailed servers.List
  • GH-2558 Expand docs on 'clientconfig' usage
  • GH-2563 Support propagate_uplink_status for Ports
  • GH-2567 Fix invalid baremetal-introspection service type
  • GH-2568 Prefer github mirrors over opendev repos
  • GH-2571 Swift V1: support object versioning
  • GH-2572 networking v2: add extraroutes Add and Remove methods
  • GH-2573 Enable tests for object versioning
  • GH-2576 keystone: add v3 OS-FEDERATION mappings delete operation
  • GH-2578 Add periodic jobs for OpenStack zed release and reduce periodic jobs frequency
  • GH-2580 [neutron v2]: Add support for network segments update
  • GH-2583 Add missing rule protocol constants for IPIP
  • GH-2584 CI: workaround mongodb dependency for messaging and clustering master jobs
  • GH-2587 fix: Incorrect Documentation
  • GH-2593 Make TestMTUNetworkCRUDL deterministic
  • GH-2594 Bump actions/setup-go from 3 to 4

v1.2.0

Compare Source

Starting with this version, Gophercloud sends its actual version in the
user-agent string in the format gophercloud/v1.2.0. It no longer sends the
hardcoded string gophercloud/2.0.0.

  • GH-2542 Add field hidden in containerinfra/v1/clustertemplates
  • GH-2537 Support value_specs for Ports
  • GH-2530 keystone: add v3 OS-FEDERATION mappings create operation
  • GH-2519 Modify user-agent header to ensure current gophercloud version is provided

v1.1.1

Compare Source

The GOPROXY cache for v1.1.0 was corrupted with a tag pointing to the wrong commit. This release fixes the problem by exposing a new release with the same content.

Please use v1.1.1 instead of v1.1.0 to avoid cache issues.

v1.1.0

Compare Source

  • GH-2513 objectstorage: Do not parse NoContent responses
  • GH-2503 Bump golang.org/x/crypto
  • GH-2501 Staskraev/l3 agent scheduler
  • GH-2496 Manila: add Get for share-access-rules API
  • GH-2491 Add VipQosPolicyID to loadbalancer Create and Update
  • GH-2488 Add Persistance for octavia pools.UpdateOpts
  • GH-2487 Add Prometheus protocol for octavia listeners
  • GH-2482 Add createdAt, updatedAt and provisionUpdatedAt fields in Baremetal V1 nodes
  • GH-2479 Add service_types support for neutron subnet
  • GH-2477 Port CreatedAt and UpdatedAt: add back JSON tags
  • GH-2475 Support old time format for port CreatedAt and UpdatedAt
  • GH-2474 Implementing re-image volumeaction
  • GH-2470 keystone: add v3 limits GetEnforcementModel operation
  • GH-2468 keystone: add v3 OS-FEDERATION extension List Mappings
  • GH-2458 Fix typo in blockstorage/v3/attachments docs
  • GH-2456 Add support for Update for flavors
  • GH-2453 Add description to flavor
  • GH-2417 Neutron v2: ScheduleBGPSpeakerOpts, RemoveBGPSpeaker, Lis…

v1.0.0

Compare Source

UPGRADE NOTES + PROMISE OF COMPATIBILITY

  • Introducing Gophercloud v1! Like for every other release so far, all clients will upgrade automatically with go get -d github.com/gophercloud/gophercloud unless the dependency is pinned in go.mod.
  • Gophercloud v1 comes with a promise of compatibility: no breaking changes are expected to merge before v2.0.0.

IMPROVEMENTS

  • Added compute.v2/extensions/services.Delete GH-2427
  • Added support for standard-attr-revisions to networking/v2/networks, networking/v2/ports, and networking/v2/subnets GH-2437
  • Added updated_at and created_at fields to networking/v2/ports.Port GH-2445

v0.25.0

Compare Source

BREAKING CHANGES

  • Replaced blockstorage/noauth.NewBlockStorageNoAuth with NewBlockStorageNoAuthV2 and NewBlockStorageNoAuthV3 GH-2343
  • Renamed blockstorage/extensions/schedulerstats.Capabilities's GoodnessFuction field to GoodnessFunction GH-2346

IMPROVEMENTS

  • Added RequestOpts.OmitHeaders to provider client GH-2315
  • Added identity/v3/extensions/projectendpoints.List GH-2304
  • Added identity/v3/extensions/projectendpoints.Create GH-2304
  • Added identity/v3/extensions/projectendpoints.Delete GH-2304
  • Added protocol any to networking/v2/extensions/security/rules.Create GH-2310
  • Added REDIRECT_PREFIX and REDIRECT_HTTP_CODE to loadbalancer/v2/l7policies.Create GH-2324
  • Added SOURCE_IP_PORT LB method to loadbalancer/v2/pools.Create GH-2300
  • Added AllocatedCapacityGB capability to blockstorage/extensions/schedulerstats.Capabilities GH-2348
  • Added Metadata to dns/v2/recordset.RecordSet GH-2353
  • Added missing fields to compute/v2/extensions/servergroups.List GH-2355
  • Added missing labels fields to containerinfra/v1/nodegroups GH-2377
  • Added missing fields to loadbalancer/v2/listeners.Listener GH-2407
  • Added identity/v3/limits.List GH-2360
  • Added ParentProviderUUID to placement/v1/resourceproviders.Create GH-2356
  • Added placement/v1/resourceproviders.Delete GH-2357
  • Added placement/v1/resourceproviders.Get GH-2358
  • Added placement/v1/resourceproviders.Update GH-2359
  • Added networking/v2/extensions/bgp/peers.List GH-2241
  • Added networking/v2/extensions/bgp/peers.Get GH-2241
  • Added networking/v2/extensions/bgp/peers.Create GH-2388
  • Added networking/v2/extensions/bgp/peers.Delete GH-2388
  • Added networking/v2/extensions/bgp/peers.Update GH-2396
  • Added networking/v2/extensions/bgp/speakers.Create GH-2395
  • Added networking/v2/extensions/bgp/speakers.Delete GH-2395
  • Added networking/v2/extensions/bgp/speakers.Update GH-2400
  • Added networking/v2/extensions/bgp/speakers.AddBGPPeer GH-2400
  • Added networking/v2/extensions/bgp/speakers.RemoveBGPPeer GH-2400
  • Added networking/v2/extensions/bgp/speakers.GetAdvertisedRoutes GH-2406
  • Added networking/v2/extensions/bgp/speakers.AddGatewayNetwork GH-2406
  • Added networking/v2/extensions/bgp/speakers.RemoveGatewayNetwork GH-2406
  • Added baremetal/v1/nodes.SetMaintenance and baremetal/v1/nodes.UnsetMaintenance GH-2384
  • Added sharedfilesystems/v2/services.List GH-2350
  • Added sharedfilesystems/v2/schedulerstats.List GH-2350
  • Added sharedfilesystems/v2/schedulerstats.ListDetail GH-2350
  • Added ability to handle 502 and 504 errors GH-2245
  • Added IncludeSubtree to identity/v3/roles.ListAssignments GH-2411

v0.24.0

Compare Source

UPGRADE NOTES

  • Set Go minimum version to 1.14 GH-2294

IMPROVEMENTS

  • Added blockstorage/v3/qos.Get GH-2283
  • Added blockstorage/v3/qos.Update GH-2283
  • Added blockstorage/v3/qos.DeleteKeys GH-2283
  • Added blockstorage/v3/qos.Associate GH-2284
  • Added blockstorage/v3/qos.Disassociate GH-2284
  • Added blockstorage/v3/qos.DisassociateAll GH-2284
  • Added blockstorage/v3/qos.ListAssociations GH-2284

v0.23.0

Compare Source

IMPROVEMENTS

  • Added networking/v2/extensions/agents.ListBGPSpeakers GH-2229
  • Added networking/v2/extensions/bgp/speakers.BGPSpeaker GH-2229
  • Added identity/v3/roles.Project.Domain GH-2235
  • Added identity/v3/roles.User.Domain GH-2235
  • Added identity/v3/roles.Group.Domain GH-2235
  • Added loadbalancer/v2/pools.CreateOpts.Tags GH-2237
  • Added loadbalancer/v2/pools.UpdateOpts.Tags GH-2237
  • Added loadbalancer/v2/pools.Pool.Tags GH-2237
  • Added networking/v2/extensions/bgp/speakers.List GH-2238
  • Added networking/v2/extensions/bgp/speakers.Get GH-2238
  • Added compute/v2/extensions/keypairs.CreateOpts.Type GH-2231
  • When doing Keystone re-authentification, keep the error if it failed GH-2259
  • Added new loadbalancer pool monitor types (TLS-HELLO, UDP-CONNECT and SCTP) GH-2237

v0.22.0

Compare Source

v0.21.0

Compare Source

v0.20.0

Compare Source

v0.19.0

Compare Source

v0.18.0

Compare Source

v0.17.0

Compare Source

v0.16.0

Compare Source

v0.15.0

Compare Source

v0.14.0

Compare Source

v0.13.0

Compare Source

v0.12.0

Compare Source

v0.11.0

Compare Source

v0.10.0

Compare Source

v0.9.0

Compare Source

v0.8.0

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@renovate-rancher renovate-rancher bot force-pushed the renovate/github.com-gophercloud-gophercloud-2.x branch 6 times, most recently from 224654d to b1efb55 Compare September 11, 2024 05:02
@renovate-rancher renovate-rancher bot force-pushed the renovate/github.com-gophercloud-gophercloud-2.x branch 2 times, most recently from e968525 to ea7152e Compare September 19, 2024 04:41
@renovate-rancher renovate-rancher bot force-pushed the renovate/github.com-gophercloud-gophercloud-2.x branch from ea7152e to 5c093bf Compare September 26, 2024 04:41
@renovate-rancher renovate-rancher bot force-pushed the renovate/github.com-gophercloud-gophercloud-2.x branch from 5c093bf to a00d3fa Compare October 11, 2024 04:43
@renovate-rancher renovate-rancher bot force-pushed the renovate/github.com-gophercloud-gophercloud-2.x branch 3 times, most recently from b036d9d to e826a2b Compare October 25, 2024 04:43
@renovate-rancher renovate-rancher bot force-pushed the renovate/github.com-gophercloud-gophercloud-2.x branch from e826a2b to 50b2f53 Compare October 31, 2024 04:42
@renovate-rancher renovate-rancher bot force-pushed the renovate/github.com-gophercloud-gophercloud-2.x branch from 50b2f53 to e455112 Compare November 2, 2024 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants