This repository has been archived by the owner on Jun 21, 2024. It is now read-only.
Releases: equinixmetal-archive/packngo
Releases · equinixmetal-archive/packngo
v0.14.0
Deprecations
Href
deprecated fromMetro
Features
- Added
Port
attribute to Virtual Circuit - Added
PricesByFacility
toSpotMarketService
interface - Added
PricesByMetro
toSpotMarketService
interface
Fixes
- Publish state constants for Virtual Circuit
- Changed type of
Global
attribute in IP reservation from*bool
tobool
- Pagination in Hardware Reservation Listing
v0.13.0
v0.12.0
Deprecations
Prices
deprecated from*SpotMarketServiceOp
(see
PricesByFacility)
Features
BatchCreateDevice
now includesSpotInstance
andSpotPriceMax
fieldsHref
field added toPlan
PricesByMetro
field added to*SpotMarketServiceOp
PricesByFacility
field added to*SpotMarketServiceOp
Metro
field added toSpotMarketRequestInstanceParameters
Metro
field added toSpotMarketRequestCreateRequest
Metro
field added toSpotMarketRequest
v0.10.0
v0.9.0
v0.8.0
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 withList
(fulfillingMetroService
) - 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
v0.7.0
Breaking Changes
DevicePortService
has been deprecated in favor ofPortService
orDevice
methods #230VPNService
has been deprecated, the feature is being disabled for all users on March 31, 2021RetryPolicy
has been removed. This was effectively a poor copy ofretryable.DefaultRetryPolicy
.
Fixes
- incorrect URL was used for
*BGPConfigServiceOp
.Create
resulting in 404
Added
PortService
Improvements
- Linting is run through Docker
v0.6.0
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
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