Skip to content

Releases: bold-commerce/go-shopify

The one with gomod

03 Feb 14:34
054a36d
Compare
Choose a tag to compare

v3.0.0

Big thanks to @luthermonson for adding gomod support to this library.

Due to the nature of this change we've elected to bump a major version to notify users of breaking changes.

The one with variant metafields and pre launch enabled flag

06 Sep 17:59
Compare
Choose a tag to compare

Overview

We've implemented support for metafields on the variant struct

type Variant struct {
	ID                   int64            `json:"id,omitempty"`
        ...
	Metafields           []Metafield      `json:"metafields,omitempty"`
}

and the pre_launch_enabled flag on the shop model.

type Shop struct {
	ID                              int64      `json:"id"`
        ...
	PreLaunchEnabled                bool       `json:"pre_launch_enabled"`
}

#63 Adding pre_launch_enabled to shop model (Thanks @fidel-ruiz)
#60 Add metafields to the shopify variant struct (Thanks @sandersjessica)

The One during Shopify Unite 2019

20 Jun 01:15
Compare
Choose a tag to compare

Itty bitty minor release 🛍

  • #56 Remove omit_empty from json tag for Fulfillment.NotifyCustomer (Thanks @MathiasGr)

The one where we unbreak backwards compatibility!

16 May 01:47
Compare
Choose a tag to compare

Overview

We forgot to initialize the globalApiPathPrefix. Thanks to @ckeyes88 for fixing that up for us!

Also @baorv added a missing parameter to LineItem, and fixed up a json tag in DraftOrder. Thanks!

The one with Shopify API versioning support!

25 Apr 21:32
Compare
Choose a tag to compare

Overview

We've implemented support for Shopify's API versioning. To use it instantiate a client like below:

// Instantiate client with specific API version - 2019-12
client := goshopify.NewClient(app, "my-shop", "not-a-real-token", goshopify.WithVersion("2019-12"))
// Instantiate client without specific API version, will default to no api version, which defaults to the oldest supported API version
client := goshopify.NewClient(app, "my-shop", "not-a-real-token")

You can read more about this here

Thanks a tonne to @dougyss4 for implementing this!

The one where we break everything by being specific about integers

28 Mar 22:02
Compare
Choose a tag to compare

Overview

We converted the int declarations throughout to int64.

Why?

Many of Shopify's internal ids have exceeded the maximum 32-bit integer value. On systems that were compiling go without 64 bit integer defaults, this library was not working for those internal ids. Being explicit about the size of these integers allows this library to work on more systems.

v1.3.0 - The one with discount codes and inventory items

21 Mar 02:07
Compare
Choose a tag to compare

Overview

Added support for Discount Codes and Inventory items as well as adding a few missing attributes from the shop model.

#42 - Add discount codes service
#43 - Add Inventory item API
#44 - Add missing properties to shop

Thank you to MarinX for your contribution :).

v1.2.0 - The one with more endpoint support and the pursuit of a free t-shirt

20 Dec 17:02
Compare
Choose a tag to compare

Overview

Mostly adding missing support for some endpoints, little bit of test cleanup, and a few struct field tweaks in some models.

Here's what is different in v1.2.0 from v1.1.0:

  • Convert some tests to use RegisterResponderWithQuery (#36)
  • Add order update endpoint (#41)
  • Add endpoint to get all tags across customers (#40)
  • Add Location endpoint. (#25)
  • Add list collects endpoint (#38)
  • Add usage charge service (#35)
  • Update tests due to breaking changes in http mock update (#33)
  • Add properties to RefundLineItem (#29)
  • Add omitempty tag for CustomerAddress properties (#28)
  • Theme resource fix tag (#27)
  • Added CustomerAddressService (#26)
  • Remove execute permission from go source files. (#24)
  • Add product and variant admin_graphql_api_id attribute (#23)

v1.1.0 - The one with a breaking change

28 Sep 13:54
Compare
Choose a tag to compare

Overview

We've merged in our first breaking change (Although this change breaks something that was also released after v1.0.0, we still feel like we should increment the minor version number). We expect that more breaking changes will follow so it's important to us to get versioning working.

Here's what is different in v1.1.0 from v1.0.0:

  • Add IDs []int as option for List method in client - JakeSchoermer (#17)
  • Add storefront access token service (#19)
  • Add list customer orders endpoint (#20) <- New feature added
  • Add primary location ID to Shop struct (#22)
  • Adding debug webhook verify method (#18)
  • Add options to list customer orders (#21) <- Breaking change for new feature

v1.0.0 - The one about a Bold takeover

13 Sep 22:00
Compare
Choose a tag to compare

Overview

Initial release created for go-shopify package. Created after Bold inherited the go-shopify package from Conversio. The go-shopify library is being used in production and therefore is ready for a 1.0.0 release.

Thank you to Conversio for creating and maintaining this Library for the last 2 years. We at Bold are looking forward to managing and contributing to this Library for the foreseeable future.