Skip to content

Commit

Permalink
API version upgrade and schema changes (#157)
Browse files Browse the repository at this point in the history
* Changes :
- Updated Shopify API and SDK version
- Removed below fields from the customer object of orders streams :
last_order_id
last_order_name
orders_count
total_spent
- Added email_marketing_consent object in customer resource as well as in customer.order resource

* changes in CHANGELOG.md and setup.py (#158)
  • Loading branch information
rdeshmukh15 committed Dec 28, 2022
1 parent 60c5935 commit 31b3a86
Show file tree
Hide file tree
Showing 5 changed files with 463 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,11 @@
# Changelog

## 1.7.0
From [#157](https://github.com/singer-io/tap-shopify/pull/157):
* API/SDK Upgrade to v12.0.1
* New Field Additions to Schema
* Fields removal from the schema

## 1.6.2
* Add canonicalization of transaction receipts to OrderRefunds [#156] (https://github.com/singer-io/tap-shopify/pull/156)

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -3,15 +3,15 @@

setup(
name="tap-shopify",
version="1.6.2",
version="1.7.0",
description="Singer.io tap for extracting Shopify data",
author="Stitch",
url="http://github.com/singer-io/tap-shopify",
classifiers=["Programming Language :: Python :: 3 :: Only"],
python_requires='>=3.5.2',
py_modules=["tap_shopify"],
install_requires=[
"ShopifyAPI==10.0.0",
"ShopifyAPI==12.0.1",
"singer-python==5.12.1",
],
extras_require={
Expand Down
2 changes: 1 addition & 1 deletion tap_shopify/__init__.py
Expand Up @@ -25,7 +25,7 @@
def initialize_shopify_client():
api_key = Context.config['api_key']
shop = Context.config['shop']
version = '2022-01'
version = '2022-07'
session = shopify.Session(shop, version, api_key)
shopify.ShopifyResource.activate_session(session)

Expand Down

0 comments on commit 31b3a86

Please sign in to comment.