Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Releases: equinixmetal-archive/packngo

v0.14.0

06 May 11:41
Compare
Choose a tag to compare

Deprecations

  • Href deprecated from Metro

Features

  • Added Port attribute to Virtual Circuit
  • Added PricesByFacility to SpotMarketService interface
  • Added PricesByMetro to SpotMarketService interface

Fixes

  • Publish state constants for Virtual Circuit
  • Changed type of Global attribute in IP reservation from *bool to bool
  • Pagination in Hardware Reservation Listing

v0.13.0

12 Apr 18:39
v0.13.0
3b1ca95
Compare
Choose a tag to compare

Breaking Changes

  • Metro in SpotMarketRequest is now a reference (#263)

v0.12.0

12 Apr 17:51
v0.12.0
f0aa36b
Compare
Choose a tag to compare

Deprecations

  • Prices deprecated from *SpotMarketServiceOp (see
    PricesByFacility)

Features

  • BatchCreateDevice now includes SpotInstance and SpotPriceMax fields
  • Href field added to Plan
  • PricesByMetro field added to *SpotMarketServiceOp
  • PricesByFacility field added to *SpotMarketServiceOp
  • Metro field added to SpotMarketRequestInstanceParameters
  • Metro field added to SpotMarketRequestCreateRequest
  • Metro field added to SpotMarketRequest

v0.10.0

07 Apr 14:40
v0.10.0
0d47a07
Compare
Choose a tag to compare

Fixes

  • removed VirtualNetworkCreateRequest.VLAN field (renamed to VXLAN) #257
  • added VirtualNetworkCreateRequest.VXLAN field #257

Features

  • Deprecation and Sunset headers (including Link headers related to these
    headers) will now be logged when detected #254

v0.9.0

01 Apr 19:22
v0.9.0
cdf9057
Compare
Choose a tag to compare

Features

Adds Metro support to VirtualNetwork services and types. #253

  • added field VirtualNetwork.Metro
  • added field VirtualNetwork.MetroCode
  • added field VirtualNetworkCreateRequest.Metro
  • added field VirtualNetworkCreateRequest.VLAN

v0.8.0

31 Mar 17:49
45d7091
Compare
Choose a tag to compare

This version introduces support for the upcoming Metros feature #238. Either of Metro or Facility should be used in requests that permit both field. This changelog will be updated with more details as they are made available.

Features

  • added Metro type
  • added MetroService interface
  • added MetroServiceOp type with List (fulfilling MetroService)
  • added method CapacityService.ListMetros
  • added method CapacityService.CheckMetros
  • added field Client.Metros
  • added field Plan.AvailableInMetros
  • added field ServerInfo.Metro
  • added field Connection.Metro
  • added field ConnectionCreateRequest.Metro
  • added field Device.Metro
  • added field Facility.Metro
  • added field DeviceCreateRequest.Metro
  • added field IPAddressCommon.Metro
  • added field IPReservationRequest.Metro
  • added packngo.Version constant
  • added packngo.UserAgent constant

Changes

  • DeviceCreateRequest.Facility is now omitted when empty

v0.7.1

29 Mar 12:37
v0.7.1
551e511
Compare
Choose a tag to compare

Fixes

  • Updated the reported version used by User-Agents to 0.7.1 (from 0.6.0)

v0.7.0

22 Mar 21:10
6293896
Compare
Choose a tag to compare

Breaking Changes

  • DevicePortService has been deprecated in favor of PortService or Device methods #230
  • VPNService has been deprecated, the feature is being disabled for all users on March 31, 2021
  • RetryPolicy has been removed. This was effectively a poor copy of retryable.DefaultRetryPolicy.

Fixes

  • incorrect URL was used for *BGPConfigServiceOp.Create resulting in 404

Added

  • PortService

Improvements

  • Linting is run through Docker

v0.6.0

01 Feb 13:37
Compare
Choose a tag to compare

Changed

  • CustomData fields are now type interface{} to capture general JSON
  • removed hashicorp retryablehttp.Client in favor of standard Golang http.Client
  • better handling of non-standard content-types in API responses
  • golangci-lint is now used for lint checks
  • GH Actions are now used for CI instead of Packet Drone
  • Golang version to 1.15

Added

  • Logic for handing connections, connection ports and virtual circuits
  • Plan for acceptance test of device is now configurable over envvar PACKNGO_TEST_PLAN
  • comment fields for IPAddressCreateRequest
  • Legacy bool attr for plan resource

Removed

  • dead code in L2 handling

v0.5.1

30 Nov 16:36
Compare
Choose a tag to compare

Changed

  • Handling of API responses with unexpected (not application/json) Content-Type. When API endpoint replies with unexpected content type, packngo will fail early and will not try to parse json from the response body.

Added

  • SpotMarketRequestInstanceParameters.IPXEScriptURL is now available. It allows to create spot devices with IPXE boot image URL