Skip to content

Commit

Permalink
Merge pull request #648 from stitchdata/changelog/may-24
Browse files Browse the repository at this point in the history
Changelog - May 17 - 24
  • Loading branch information
Erin Cochran authored May 28, 2021
2 parents 752136c + cd4375e commit acb90b8
Show file tree
Hide file tree
Showing 8 changed files with 83 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: "Microsoft SQL Server (v1) bug fix: Quoting Replication Key columns in incremental queries"
content-type: "changelog-entry"
date: 2021-05-17
entry-type: bug-fix
entry-category: integration, replication
connection-id: "mssql"
connection-version: "1"
pull-request: "https://github.com/singer-io/tap-mssql/pull/59"
---
{{ site.data.changelog.metadata.single-integration | flatify }}

Previously, the names of Replication Key columns weren't being quoted when used in incremental queries. If a column name contained spaces, this would cause an error in the query and extraction to fail. This fix ensures Replication Key columns are properly quoted.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: "Shopify (v1) improvement: Improved data typing for abandoned checkouts"
content-type: "changelog-entry"
date: 2021-05-19
entry-type: improvement
entry-category: integration
connection-id: "shopify"
connection-version: "1"
pull-request: "https://github.com/singer-io/tap-shopify/pull/44"
---
{{ site.data.changelog.metadata.single-integration | flatify }}

Previously, some users were encountering JSON schema validation errors for the `abandoned_checkouts` table due to how some columns were being typed. This change types the following columns correctly, eliminating the validation errors:

- `note_attributes`
- `line_items.applied_discounts`
- `shipping_lines.applied_discounts`
- `shipping_lines.custom_tax_lines`

Check out the [pull request]({{ entry.pull-request }}){:target="new"} for more info.
15 changes: 15 additions & 0 deletions _changelog/entries/2021/2021-05-24-slack-v1-user-profile-data.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: "Slack (v1) update: User email now available in users table"
content-type: "changelog-entry"
date: 2021-05-24
entry-type: updated-feature
entry-category: integration
connection-id: "slack"
connection-version: "1"
pull-request: "https://github.com/singer-io/tap-slack/pull/16"
---
{{ site.data.changelog.metadata.single-integration | flatify }}

We've added a new column to the {{ this-connection.display_name }} `users` table: `profile.email`. This column contains the email address for the associated user.

**Note**: To replicate this data, you'll also need to grant the `users:read.email` scope to the [Stitch app created for the integration]({{ site.home | append: site.baseurl | append: this-connection.url | append: "#assign-scopes" }}).
32 changes: 26 additions & 6 deletions _integration-schemas/shopify/abandoned_checkouts.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ attributes:
subattributes:
- name: "id"
type: "integer"
primary-key: true
description: "The customer ID."
foreign-key-id: "customer-id"

Expand Down Expand Up @@ -310,7 +309,7 @@ attributes:

- name: "discount_codes"
type: "array"
description: "The discount codees applied to the checkout."
description: "The discount codes applied to the checkout."
subattributes:
- name: "amount"
type: "number"
Expand Down Expand Up @@ -347,13 +346,16 @@ attributes:
subattributes:
- name: "id"
type: "string"
primary-key: true
description: "The line item ID."

- name: "applied_discount"
type: "integer"
description: "The amount of the discount applied to the line item."

- name: "applied_discounts"
type: "array"
description: ""

- name: "compare_at_price"
type: "string"
description: "The price of a line item before a sale or discount."
Expand Down Expand Up @@ -381,7 +383,6 @@ attributes:
- name: "id"
type: "integer"
primary-key: true
description: "The address ID."

- name: "name"
Expand Down Expand Up @@ -574,6 +575,18 @@ attributes:
type: "string"
description: "The order name as represented by a number."

- name: "note_attributes"
type: "array"
description: ""
subattributes:
- name: "name"
type: "string"
description: ""

- name: "value"
type: "string"
description: ""

- name: "note"
type: "string"
description: "An optional note attached to the order."
Expand All @@ -589,7 +602,7 @@ attributes:
- name: "referring_site"
type: "string"
description: "The website that referred the cusomter to the shop."
description: "The website that referred the customer to the shop."

- name: "shipping_address"
type: "object"
Expand Down Expand Up @@ -662,9 +675,12 @@ attributes:
subattributes:
- name: "id"
type: "integer"
primary-key: true
description: "The shipping line ID."

- name: "applied_discounts"
type: "array"
description: ""

- name: "carrier_identifier"
type: "string"
description: "The shipping carrier's identifier."
Expand All @@ -673,6 +689,10 @@ attributes:
type: "string"
description: "A reference to the shipping method."

- name: "custom_tax_lines"
type: "array"
description: ""

- name: "delivery_category"
type: "string"
description: ""
Expand Down
6 changes: 0 additions & 6 deletions _integration-schemas/shopify/orders.md
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,6 @@ attributes:

- name: "id"
type: "integer"
primary-key: true
description: "The fulfillment ID."

- name: "created_at"
Expand Down Expand Up @@ -981,19 +980,16 @@ attributes:
subattributes: &order-adjustments
- name: "id"
type: "integer"
primary-key: true
description: "The order adjustment ID."

- name: "order_id"
type: "integer"
primary-key: true
description: "The ID of the order associated with the order adjustment."
foreign-key-id: "order-id"

- name: "refund_id"
type: "integer"
description: "The ID of the refund associated with the order adjustment."
primary-key: true
foreign-key-id: "order-refund-id"

- name: "amount"
Expand Down Expand Up @@ -1097,7 +1093,6 @@ attributes:

- name: "id"
type: "integer"
primary-key: true
description: ""
foreign-key-id: "order-refund-id"

Expand Down Expand Up @@ -1126,7 +1121,6 @@ attributes:
subattributes:
- name: "id"
type: "integer"
primary-key: true
description: "The refund line item ID."

- name: "line_item"
Expand Down
4 changes: 0 additions & 4 deletions _integration-schemas/shopify/products.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ attributes:

- name: "id"
type: "integer"
primary-key: true
description: "The product image ID."

- name: "alt"
Expand Down Expand Up @@ -109,7 +108,6 @@ attributes:
subattributes:
- name: "id"
type: "integer"
primary-key: true
description: "The custom property ID."

- name: "name"
Expand All @@ -122,7 +120,6 @@ attributes:

- name: "product_id"
type: "integer"
primary-key: true
description: "The ID of the product."
foreign-key-id: "product-id"

Expand Down Expand Up @@ -173,7 +170,6 @@ attributes:
# description: ""
- name: "id"
type: "integer"
primary-key: true
description: "The product variant ID."

- name: "barcode"
Expand Down
8 changes: 8 additions & 0 deletions _integration-schemas/slack/v1/users.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@ attributes:
type: "string"
description: ""

- name: "profile"
type: "object"
description: ""
subattributes:
- name: "email"
type: "string"
description: ""

- name: "real_name"
type: "string"
description: ""
Expand Down
1 change: 1 addition & 0 deletions _saas-integrations/slack/v1/slack-v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ setup-steps:
- `useergroups:read`
- `users.profile:read`
- `users:read`
- `users:read.email`
{{ integration.display_name }} will automatically save the changes each time a scope is added.
6. Repeat steps 4 and 5 until all the scopes have been added.
Expand Down

0 comments on commit acb90b8

Please sign in to comment.