TPT-4470: Bump major version to v2#980
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the linodego Go module to a new major version (/v2) by switching the module path and propagating that change across library code, submodules, tests, and supporting repo metadata.
Changes:
- Bump module path to
github.com/linode/linodego/v2(includingk8sandtestsubmodules) and update internal imports accordingly. - Update unit/integration tests to import
github.com/linode/linodego/v2(and.../v2/internal/testutil,.../v2/k8s/...). - Update documentation and CI workflow references to the v2 module path.
Reviewed changes
Copilot reviewed 225 out of 225 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| vpc.go | Update internal parseabletime import to /v2 module path. |
| vpc_subnet.go | Update internal parseabletime import to /v2 module path. |
| volumes.go | Update internal parseabletime import to /v2 module path. |
| vlans.go | Update internal parseabletime import to /v2 module path. |
| version.go | Update build-info package path to /v2 and adjust default User-Agent string. |
| stackscripts.go | Update internal parseabletime import to /v2 module path. |
| request_helpers_test.go | Update internal testutil import to /v2 module path. |
| README.md | Update install/docs/examples links to /v2 module path. |
| profile_tokens.go | Update internal parseabletime import to /v2 module path. |
| profile_tfa.go | Update internal parseabletime import to /v2 module path. |
| profile_sshkeys.go | Update internal parseabletime import to /v2 module path. |
| profile_logins.go | Update internal parseabletime import to /v2 module path. |
| profile_devices.go | Update internal parseabletime import to /v2 module path. |
| profile_apps.go | Update internal parseabletime import to /v2 module path. |
| prefixlists.go | Update internal parseabletime import to /v2 module path. |
| postgres.go | Update internal parseabletime import to /v2 module path. |
| object_storage_buckets.go | Update internal parseabletime import to /v2 module path. |
| nodebalancer.go | Update internal parseabletime import to /v2 module path. |
| mysql.go | Update internal parseabletime import to /v2 module path. |
| monitor_dashboards.go | Update internal parseabletime import to /v2 module path. |
| monitor_alert_definitions.go | Update internal parseabletime import to /v2 module path. |
| monitor_alert_channels.go | Update internal parseabletime import to /v2 module path. |
| longview.go | Update internal parseabletime import to /v2 module path. |
| lke_clusters.go | Update internal parseabletime import to /v2 module path. |
| kernels.go | Update internal parseabletime import to /v2 module path. |
| interfaces.go | Update internal parseabletime import to /v2 module path. |
| instances.go | Update internal parseabletime import to /v2 module path. |
| instance_snapshots.go | Update internal parseabletime import to /v2 module path. |
| instance_disks.go | Update internal parseabletime import to /v2 module path. |
| instance_configs.go | Update internal parseabletime import to /v2 module path. |
| images.go | Update internal parseabletime import to /v2 module path. |
| image_sharegroups_producer.go | Update internal parseabletime import to /v2 module path. |
| image_sharegroups_consumer.go | Update internal parseabletime import to /v2 module path. |
| firewalls.go | Update internal parseabletime import to /v2 module path. |
| firewall_rulesets.go | Update internal parseabletime import to /v2 module path. |
| firewall_devices.go | Update internal parseabletime import to /v2 module path. |
| domain_records.go | Update internal parseabletime import to /v2 module path. |
| databases.go | Update internal parseabletime import to /v2 module path. |
| betas.go | Update internal parseabletime import to /v2 module path. |
| account.go | Update internal parseabletime import to /v2 module path. |
| account_users.go | Update internal parseabletime import to /v2 module path. |
| account_service_transfer.go | Update internal parseabletime import to /v2 module path. |
| account_promo_credits.go | Update internal parseabletime import to /v2 module path. |
| account_payments.go | Update internal parseabletime import to /v2 module path. |
| account_payment_methods.go | Update internal parseabletime import to /v2 module path. |
| account_notifications.go | Update internal parseabletime import to /v2 module path. |
| account_maintenance.go | Update internal parseabletime import to /v2 module path. |
| account_logins.go | Update internal parseabletime import to /v2 module path. |
| account_invoices.go | Update internal parseabletime import to /v2 module path. |
| account_events.go | Update internal duration/parseabletime imports to /v2 module path. |
| account_betas.go | Update internal parseabletime import to /v2 module path. |
| go.mod | Change root module path to github.com/linode/linodego/v2. |
| test/go.mod | Change test module path and replaces/requires to /v2. |
| k8s/go.mod | Change k8s submodule path and dependency to /v2. |
| k8s/clientset.go | Update linodego import to /v2. |
| k8s/pkg/condition/lke.go | Update linodego and k8s submodule imports to /v2. |
| .github/workflows/release-cross-repo-test.yml | Update replace directive to use /v2 module path. |
| .github/ISSUE_TEMPLATE/bug.yml | Update version placeholder to /v2. |
| test/unit/waitfor_test.go | Update linodego import to /v2. |
| test/unit/vpc_test.go | Update linodego import to /v2. |
| test/unit/vpc_subnets_test.go | Update linodego import to /v2. |
| test/unit/vpc_ips_test.go | Update linodego import to /v2. |
| test/unit/volume_types_test.go | Update linodego import to /v2. |
| test/unit/volume_test.go | Update linodego import to /v2. |
| test/unit/vlan_test.go | Update linodego import to /v2. |
| test/unit/util_test.go | Update linodego and internal testutil imports to /v2. |
| test/unit/types_test.go | Update linodego import to /v2. |
| test/unit/tag_test.go | Update linodego import to /v2. |
| test/unit/support_test.go | Update linodego import to /v2. |
| test/unit/stackscripts_test.go | Update linodego import to /v2. |
| test/unit/region_test.go | Update linodego import to /v2. |
| test/unit/profile_token_test.go | Update linodego import to /v2. |
| test/unit/profile_tfa_test.go | Update linodego import to /v2. |
| test/unit/profile_test.go | Update linodego import to /v2. |
| test/unit/profile_sshkey_test.go | Update linodego import to /v2. |
| test/unit/profile_security_questions_test.go | Update linodego import to /v2. |
| test/unit/profile_preferences_test.go | Update linodego import to /v2. |
| test/unit/profile_phone_number_test.go | Update linodego import to /v2. |
| test/unit/prefixlists_test.go | Update linodego import to /v2. |
| test/unit/postgres_test.go | Update linodego import to /v2. |
| test/unit/placement_group_test.go | Update linodego import to /v2. |
| test/unit/object_storage_quota_test.go | Update linodego import to /v2. |
| test/unit/object_storage_object_test.go | Update linodego import to /v2. |
| test/unit/object_storage_key_test.go | Update linodego import to /v2. |
| test/unit/object_storage_endpoint_test.go | Update linodego import to /v2. |
| test/unit/object_storage_bucket_test.go | Update linodego import to /v2. |
| test/unit/object_storage_bucket_cert_test.go | Update linodego import to /v2. |
| test/unit/nodebalancers_test.go | Update linodego import to /v2. |
| test/unit/nodebalancer_types_test.go | Update linodego import to /v2. |
| test/unit/nodebalancer_test.go | Update linodego import to /v2. |
| test/unit/nodebalancer_node_test.go | Update linodego import to /v2. |
| test/unit/nodebalancer_firewalls_test.go | Update linodego import to /v2. |
| test/unit/nodebalancer_configs_test.go | Update linodego import to /v2. |
| test/unit/nodebalancer_config_test.go | Update linodego import to /v2. |
| test/unit/network_reserved_ips_test.go | Update linodego import to /v2. |
| test/unit/network_ranges_test.go | Update linodego import to /v2. |
| test/unit/network_ipv6_pools_test.go | Update linodego import to /v2. |
| test/unit/network_ips_test.go | Update linodego import to /v2. |
| test/unit/mysql_test.go | Update linodego import to /v2. |
| test/unit/monitor_services_token_test.go | Update linodego import to /v2. |
| test/unit/monitor_services_test.go | Update linodego import to /v2. |
| test/unit/monitor_services_metrics_definition_test.go | Update linodego import to /v2. |
| test/unit/monitor_dashboards_test.go | Update linodego import to /v2. |
| test/unit/monitor_api_services_test.go | Update linodego import to /v2. |
| test/unit/monitor_alert_definitions_test.go | Update linodego import to /v2. |
| test/unit/monitor_alert_channels_test.go | Update linodego import to /v2. |
| test/unit/longview_test.go | Update linodego import to /v2. |
| test/unit/longview_subscriptions_test.go | Update linodego import to /v2. |
| test/unit/lke_node_pools_test.go | Update linodego import to /v2. |
| test/unit/lke_clusters_test.go | Update linodego import to /v2. |
| test/unit/lke_cluster_control_plane_acl_test.go | Update linodego import to /v2. |
| test/unit/interface_test.go | Update linodego import to /v2. |
| test/unit/instance_volume_test.go | Update linodego import to /v2. |
| test/unit/instance_test.go | Update linodego import to /v2. |
| test/unit/instance_ip_test.go | Update linodego import to /v2. |
| test/unit/instance_firewall_test.go | Update linodego import to /v2. |
| test/unit/instance_disks_test.go | Update linodego import to /v2. |
| test/unit/instance_config_test.go | Update linodego import to /v2. |
| test/unit/instance_config_interfaces_test.go | Update linodego import to /v2. |
| test/unit/instance_backup_test.go | Update linodego import to /v2. |
| test/unit/images_test.go | Update linodego import to /v2. |
| test/unit/image_sharegroups_producer_test.go | Update linodego import to /v2. |
| test/unit/image_sharegroups_consumer_test.go | Update linodego import to /v2. |
| test/unit/firewalls_test.go | Update linodego import to /v2. |
| test/unit/firewall_rulesets_test.go | Update linodego import to /v2. |
| test/unit/firewall_rules_test.go | Update linodego import to /v2. |
| test/unit/firewall_devices_test.go | Update linodego import to /v2. |
| test/unit/entities_test.go | Update linodego import to /v2. |
| test/unit/domainrecord_test.go | Update linodego import to /v2. |
| test/unit/domain_test.go | Update linodego import to /v2. |
| test/unit/database_test.go | Update linodego import to /v2. |
| test/unit/client_test.go | Update linodego import to /v2. |
| test/unit/base.go | Update linodego and internal testutil imports to /v2. |
| test/unit/account_users_test.go | Update linodego import to /v2. |
| test/unit/account_user_grants_test.go | Update linodego import to /v2. |
| test/unit/account_test.go | Update linodego import to /v2. |
| test/unit/account_settings_test.go | Update linodego import to /v2. |
| test/unit/account_service_transfer_test.go | Update linodego import to /v2. |
| test/unit/account_promo_credits_test.go | Update linodego import to /v2. |
| test/unit/account_payments_test.go | Update linodego import to /v2. |
| test/unit/account_payment_methods_test.go | Update linodego import to /v2. |
| test/unit/account_oauth_client_test.go | Update linodego import to /v2. |
| test/unit/account_notifications_test.go | Update linodego import to /v2. |
| test/unit/account_logins_test.go | Update linodego import to /v2. |
| test/unit/account_events_test.go | Update linodego import to /v2. |
| test/unit/account_betas_test.go | Update linodego import to /v2. |
| test/unit/account_availability_test.go | Update linodego import to /v2. |
| test/unit/account_agreements_test.go | Update linodego import to /v2. |
| test/integration/waitfor_test.go | Update linodego import to /v2. |
| test/integration/vpc_test.go | Update linodego imports (including dot import) to /v2. |
| test/integration/vpc_subnet_test.go | Update linodego imports (including dot import) to /v2. |
| test/integration/volumes_test.go | Update linodego import to /v2. |
| test/integration/volume_types_test.go | Update linodego import to /v2. |
| test/integration/vlans_test.go | Update linodego import to /v2. |
| test/integration/types_test.go | Update linodego import to /v2. |
| test/integration/tags_test.go | Update linodego imports (including dot import) to /v2. |
| test/integration/stackscripts_test.go | Update linodego import to /v2. |
| test/integration/regions_test.go | Update linodego import to /v2. |
| test/integration/profile_tokens_test.go | Update linodego dot import to /v2. |
| test/integration/profile_sshkeys_test.go | Update linodego dot import to /v2. |
| test/integration/postgres_test.go | Update linodego import to /v2. |
| test/integration/postgres_db_config_test.go | Update linodego import to /v2. |
| test/integration/placement_group_test.go | Update linodego import to /v2. |
| test/integration/object_storage_quota_test.go | Update linodego import to /v2. |
| test/integration/object_storage_object_test.go | Update linodego import to /v2. |
| test/integration/object_storage_keys_test.go | Update linodego imports (including dot import) to /v2. |
| test/integration/object_storage_global_quota_test.go | Update linodego import to /v2. |
| test/integration/object_storage_buckets_test.go | Update linodego imports (including dot import) to /v2. |
| test/integration/object_storage_bucket_certs_test.go | Update linodego import to /v2. |
| test/integration/nodebalancers_test.go | Update linodego import to /v2. |
| test/integration/nodebalancer_types_test.go | Update linodego import to /v2. |
| test/integration/nodebalancer_stats_test.go | Update linodego import to /v2. |
| test/integration/nodebalancer_configs_test.go | Update linodego import to /v2. |
| test/integration/nodebalancer_config_nodes_test.go | Update linodego import to /v2. |
| test/integration/network_transfer_prices_test.go | Update linodego import to /v2. |
| test/integration/network_reserved_ips_test.go | Update linodego imports (including dot import) to /v2. |
| test/integration/network_ranges_test.go | Update linodego dot import to /v2. |
| test/integration/network_ips_test.go | Update linodego imports (including dot import) to /v2. |
| test/integration/mysql_test.go | Update linodego import to /v2. |
| test/integration/mysql_db_config_test.go | Update linodego import to /v2. |
| test/integration/monitor_services_token_creation_test.go | Update linodego import to /v2. |
| test/integration/monitor_services_test.go | Update linodego import to /v2. |
| test/integration/monitor_metrics_definitions_test.go | Update linodego import to /v2. |
| test/integration/monitor_dashboards_test.go | Update linodego import to /v2. |
| test/integration/monitor_api_service_test.go | Update linodego import to /v2. |
| test/integration/monitor_alert_definitions_test.go | Update linodego import to /v2. |
| test/integration/main_test.go | Update linodego import to /v2. |
| test/integration/longview_test.go | Update linodego import to /v2. |
| test/integration/locks_test.go | Update linodego import to /v2. |
| test/integration/lke_types_test.go | Update linodego import to /v2. |
| test/integration/lke_node_pools_test.go | Update linodego and k8s condition import paths to /v2. |
| test/integration/lke_clusters_test.go | Update linodego and k8s condition import paths to /v2. |
| test/integration/lke_clusters_acl_test.go | Update linodego import to /v2. |
| test/integration/integration_suite_test.go | Update linodego import to /v2. |
| test/integration/instances_test.go | Update linodego import to /v2. |
| test/integration/instance_snapshots_test.go | Update linodego import to /v2. |
| test/integration/instance_reserved_ips_test.go | Update linodego import to /v2. |
| test/integration/instance_interfaces_test.go | Update linodego import to /v2. |
| test/integration/instance_firewalls_test.go | Update linodego import to /v2. |
| test/integration/instance_config_test.go | Update linodego imports (including dot import) to /v2. |
| test/integration/images_test.go | Update linodego imports (including dot import) to /v2. |
| test/integration/image_sharegroups_test.go | Update linodego import to /v2. |
| test/integration/iam_io_ready_test.go | Update linodego import to /v2. |
| test/integration/firewalls_test.go | Update linodego import to /v2. |
| test/integration/firewalls_devices_test.go | Update linodego import to /v2. |
| test/integration/firewall_rulesets_test.go | Update linodego import to /v2. |
| test/integration/firewall_rules_test.go | Update linodego import to /v2. |
| test/integration/example_test.go | Update linodego import to /v2. |
| test/integration/example_stackscripts_test.go | Update linodego import to /v2. |
| test/integration/example_nodebalancers_test.go | Update linodego import to /v2. |
| test/integration/domains_test.go | Update linodego import to /v2. |
| test/integration/domain_records_test.go | Update linodego import to /v2. |
| test/integration/databases_test.go | Update linodego import to /v2. |
| test/integration/cache_test.go | Update linodego import to /v2. |
| test/integration/betas_test.go | Update linodego import to /v2. |
| test/integration/account_users_test.go | Update linodego imports (including dot import) to /v2. |
| test/integration/account_user_grants_test.go | Update linodego import to /v2. |
| test/integration/account_settings_test.go | Update linodego import to /v2. |
| test/integration/account_payments_test.go | Update linodego dot import to /v2. |
| test/integration/account_oauth_client_test.go | Update linodego imports (including dot import) to /v2. |
| test/integration/account_notifications_test.go | Update linodego import to /v2. |
| test/integration/account_maintenance_test.go | Update linodego import to /v2. |
| test/integration/account_events_test.go | Update linodego import to /v2. |
| test/integration/account_betas_test.go | Update linodego import to /v2. |
| test/integration/account_availability_test.go | Update linodego import to /v2. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
1f7b27d to
345672a
Compare
345672a to
cb494dc
Compare
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2db3f5b to
ea4fb4d
Compare
lgarber-akamai
approved these changes
May 27, 2026
ezilber-akamai
approved these changes
May 27, 2026
mawilk90
added a commit
to mawilk90/linodego
that referenced
this pull request
Jun 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.