diff --git a/_changelog/entries/2021/2021-05-17-mssql-v1-bugfix-rep-key-quoting.md b/_changelog/entries/2021/2021-05-17-mssql-v1-bugfix-rep-key-quoting.md new file mode 100644 index 000000000..7455c5d88 --- /dev/null +++ b/_changelog/entries/2021/2021-05-17-mssql-v1-bugfix-rep-key-quoting.md @@ -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. \ No newline at end of file diff --git a/_changelog/entries/2021/2021-05-19-shopify-v1-abandoned-checkouts-validation.md b/_changelog/entries/2021/2021-05-19-shopify-v1-abandoned-checkouts-validation.md new file mode 100644 index 000000000..1f4d53979 --- /dev/null +++ b/_changelog/entries/2021/2021-05-19-shopify-v1-abandoned-checkouts-validation.md @@ -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. \ No newline at end of file diff --git a/_changelog/entries/2021/2021-05-24-slack-v1-user-profile-data.md b/_changelog/entries/2021/2021-05-24-slack-v1-user-profile-data.md new file mode 100644 index 000000000..f866f692e --- /dev/null +++ b/_changelog/entries/2021/2021-05-24-slack-v1-user-profile-data.md @@ -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" }}). \ No newline at end of file diff --git a/_integration-schemas/shopify/abandoned_checkouts.md b/_integration-schemas/shopify/abandoned_checkouts.md index 266588274..393b0dcbf 100644 --- a/_integration-schemas/shopify/abandoned_checkouts.md +++ b/_integration-schemas/shopify/abandoned_checkouts.md @@ -134,7 +134,6 @@ attributes: subattributes: - name: "id" type: "integer" - primary-key: true description: "The customer ID." foreign-key-id: "customer-id" @@ -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" @@ -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." @@ -381,7 +383,6 @@ attributes: - name: "id" type: "integer" - primary-key: true description: "The address ID." - name: "name" @@ -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." @@ -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" @@ -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." @@ -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: "" diff --git a/_integration-schemas/shopify/orders.md b/_integration-schemas/shopify/orders.md index 93e35e6c9..8d8f8687d 100644 --- a/_integration-schemas/shopify/orders.md +++ b/_integration-schemas/shopify/orders.md @@ -485,7 +485,6 @@ attributes: - name: "id" type: "integer" - primary-key: true description: "The fulfillment ID." - name: "created_at" @@ -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" @@ -1097,7 +1093,6 @@ attributes: - name: "id" type: "integer" - primary-key: true description: "" foreign-key-id: "order-refund-id" @@ -1126,7 +1121,6 @@ attributes: subattributes: - name: "id" type: "integer" - primary-key: true description: "The refund line item ID." - name: "line_item" diff --git a/_integration-schemas/shopify/products.md b/_integration-schemas/shopify/products.md index 39ae5a914..3594e93d8 100644 --- a/_integration-schemas/shopify/products.md +++ b/_integration-schemas/shopify/products.md @@ -62,7 +62,6 @@ attributes: - name: "id" type: "integer" - primary-key: true description: "The product image ID." - name: "alt" @@ -109,7 +108,6 @@ attributes: subattributes: - name: "id" type: "integer" - primary-key: true description: "The custom property ID." - name: "name" @@ -122,7 +120,6 @@ attributes: - name: "product_id" type: "integer" - primary-key: true description: "The ID of the product." foreign-key-id: "product-id" @@ -173,7 +170,6 @@ attributes: # description: "" - name: "id" type: "integer" - primary-key: true description: "The product variant ID." - name: "barcode" diff --git a/_integration-schemas/slack/v1/users.md b/_integration-schemas/slack/v1/users.md index 9b46db825..b87004c43 100644 --- a/_integration-schemas/slack/v1/users.md +++ b/_integration-schemas/slack/v1/users.md @@ -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: "" diff --git a/_saas-integrations/slack/v1/slack-v1.md b/_saas-integrations/slack/v1/slack-v1.md index 02dfce217..301640c42 100644 --- a/_saas-integrations/slack/v1/slack-v1.md +++ b/_saas-integrations/slack/v1/slack-v1.md @@ -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.