Skip to content

Commit

Permalink
Source Notion: Mark datefields in spec as dates (#22931)
Browse files Browse the repository at this point in the history
* Source Notion: Mark datefields in spec as dates

* Update changelog

* Add allowedHosts

* Update Dockerfile

* auto-bump connector version

---------

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
  • Loading branch information
arsenlosenko and octavia-squidington-iii committed Mar 2, 2023
1 parent 93d2d86 commit 46f522d
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,7 @@
- name: Notion
sourceDefinitionId: 6e00b415-b02e-4160-bf02-58176a0ae687
dockerRepository: airbyte/source-notion
dockerImageTag: 1.0.2
dockerImageTag: 1.0.3
documentationUrl: https://docs.airbyte.com/integrations/sources/notion
icon: notion.svg
sourceType: api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9984,7 +9984,7 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-notion:1.0.2"
- dockerImage: "airbyte/source-notion:1.0.3"
spec:
documentationUrl: "https://docs.airbyte.com/integrations/sources/notion"
connectionSpecification:
Expand All @@ -10002,6 +10002,7 @@
examples:
- "2020-11-16T00:00:00.000Z"
type: "string"
format: "date-time"
credentials:
title: "Authenticate using"
description: "Pick an authentication method."
Expand Down
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-notion/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ COPY source_notion ./source_notion
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=1.0.2
LABEL io.airbyte.version=1.0.3
LABEL io.airbyte.name=airbyte/source-notion
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"description": "UTC date and time in the format 2017-01-25T00:00:00.000Z. Any data before this date will not be replicated.",
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}Z$",
"examples": ["2020-11-16T00:00:00.000Z"],
"type": "string"
"type": "string",
"format": "date-time"
},
"credentials": {
"title": "Authenticate using",
Expand Down
2 changes: 1 addition & 1 deletion connectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
| **New York Times** | <img alt="New York Times icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/nytimes.svg" height="30" height="30"/> | Source | airbyte/source-nytimes:0.1.0 | alpha | [link](https://docs.airbyte.com/integrations/sources/nytimes) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-nytimes) | <small>`0fae6a9a-04eb-44d4-96e1-e02d3dbc1d83`</small> |
| **News API** | <img alt="News API icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/newsapi.svg" height="30" height="30"/> | Source | airbyte/source-news-api:0.1.0 | alpha | [link](https://docs.airbyte.com/integrations/sources/news-api) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-news-api) | <small>`df38991e-f35b-4af2-996d-36817f614587`</small> |
| **Newsdata** | x | Source | airbyte/source-newsdata:0.1.0 | alpha | [link](https://docs.airbyte.com/integrations/sources/newsdata) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-newsdata) | <small>`60bd11d8-2632-4daa-a688-b47336d32093`</small> |
| **Notion** | <img alt="Notion icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/notion.svg" height="30" height="30"/> | Source | airbyte/source-notion:1.0.2 | generally_available | [link](https://docs.airbyte.com/integrations/sources/notion) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-notion) | <small>`6e00b415-b02e-4160-bf02-58176a0ae687`</small> |
| **Notion** | <img alt="Notion icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/notion.svg" height="30" height="30"/> | Source | airbyte/source-notion:1.0.3 | generally_available | [link](https://docs.airbyte.com/integrations/sources/notion) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-notion) | <small>`6e00b415-b02e-4160-bf02-58176a0ae687`</small> |
| **Okta** | <img alt="Okta icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/okta.svg" height="30" height="30"/> | Source | airbyte/source-okta:0.1.14 | alpha | [link](https://docs.airbyte.com/integrations/sources/okta) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-okta) | <small>`1d4fdb25-64fc-4569-92da-fcdca79a8372`</small> |
| **Omnisend** | <img alt="Omnisend icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/omnisend.svg" height="30" height="30"/> | Source | airbyte/source-omnisend:0.1.0 | alpha | [link](https://docs.airbyte.com/integrations/sources/omnisend) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-omnisend) | <small>`e7f0c5e2-4815-48c4-90cf-f47124209835`</small> |
| **OneSignal** | <img alt="OneSignal icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/onesignal.svg" height="30" height="30"/> | Source | airbyte/source-onesignal:0.1.2 | alpha | [link](https://docs.airbyte.com/integrations/sources/onesignal) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-onesignal) | <small>`bb6afd81-87d5-47e3-97c4-e2c2901b1cf8`</small> |
Expand Down
1 change: 1 addition & 0 deletions docs/integrations/sources/notion.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ The connector is restricted by Notion [request limits](https://developers.notion

| Version | Date | Pull Request | Subject |
|:--------|:-----------|:---------------------------------------------------------|:----------------------------------------------------------------|
| 1.0.3 | 2023-03-02 | [22931](https://github.com/airbytehq/airbyte/pull/22931) | Specified date formatting in specification |
| 1.0.2 | 2023-02-24 | [23437](https://github.com/airbytehq/airbyte/pull/23437) | Add retry for 400 error (validation_error) |
| 1.0.1 | 2023-01-27 | [22018](https://github.com/airbytehq/airbyte/pull/22018) | Set `AvailabilityStrategy` for streams explicitly to `None` |
| 1.0.0 | 2022-12-19 | [20639](https://github.com/airbytehq/airbyte/pull/20639) | Fix `Pages` stream schema |
Expand Down

0 comments on commit 46f522d

Please sign in to comment.