Skip to content

TPT-4470: Bump major version to v2#980

Merged
zliang-akamai merged 6 commits into
mainfrom
zhiwei/linodego-v2-version-bump
May 27, 2026
Merged

TPT-4470: Bump major version to v2#980
zliang-akamai merged 6 commits into
mainfrom
zhiwei/linodego-v2-version-bump

Conversation

@zliang-akamai
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings May 27, 2026 19:19
@zliang-akamai zliang-akamai requested review from a team as code owners May 27, 2026 19:19
@zliang-akamai zliang-akamai requested review from ezilber-akamai and psnoch-akamai and removed request for a team May 27, 2026 19:19
@zliang-akamai zliang-akamai changed the title Bump major version to v2 TPT-4470: Bump major version to v2 May 27, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 (including k8s and test submodules) 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.

Comment thread version.go Outdated
Comment thread README.md Outdated
@zliang-akamai zliang-akamai force-pushed the zhiwei/linodego-v2-version-bump branch from 1f7b27d to 345672a Compare May 27, 2026 19:35
@zliang-akamai zliang-akamai force-pushed the zhiwei/linodego-v2-version-bump branch from 345672a to cb494dc Compare May 27, 2026 19:37
zliang-akamai and others added 2 commits May 27, 2026 15:39
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@zliang-akamai zliang-akamai force-pushed the zhiwei/linodego-v2-version-bump branch from 2db3f5b to ea4fb4d Compare May 27, 2026 19:41
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 226 out of 227 changed files in this pull request and generated 1 comment.

Comment thread go.mod
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 227 out of 228 changed files in this pull request and generated no new comments.

Copy link
Copy Markdown
Contributor

@lgarber-akamai lgarber-akamai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great and I couldn't find any residual v1's, nice work!

@zliang-akamai zliang-akamai merged commit f77d904 into main May 27, 2026
11 checks passed
@zliang-akamai zliang-akamai deleted the zhiwei/linodego-v2-version-bump branch May 27, 2026 20:21
mawilk90 added a commit to mawilk90/linodego that referenced this pull request Jun 2, 2026
@zliang-akamai zliang-akamai added the ignore-for-release PRs you do not want to render in the changelog label Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ignore-for-release PRs you do not want to render in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants