Skip to content

Commit 5e2f16e

Browse files
author
Baz
authored
🐛 Source Slack: fix lookback window value range limits (#26497)
1 parent 45c506c commit 5e2f16e

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

airbyte-integrations/connectors/source-slack/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ COPY main.py ./
1717
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
1818
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
1919

20-
LABEL io.airbyte.version=0.1.26
20+
LABEL io.airbyte.version=0.2.0
2121
LABEL io.airbyte.name=airbyte/source-slack

airbyte-integrations/connectors/source-slack/acceptance-test-config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ acceptance_tests:
44
spec:
55
tests:
66
- spec_path: "source_slack/spec.json"
7+
backward_compatibility_tests_config:
8+
# edited `min`/`max` > `minimum`/`maximum` for `lookback_window` field
9+
disable_for_version: "0.1.26"
710
connection:
811
tests:
912
- config_path: "secrets/config.json"

airbyte-integrations/connectors/source-slack/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ data:
55
connectorSubtype: api
66
connectorType: source
77
definitionId: c2281cee-86f9-4a86-bb48-d23286b4c7bd
8-
dockerImageTag: 0.1.26
8+
dockerImageTag: 0.2.0
99
dockerRepository: airbyte/source-slack
1010
githubIssueLabel: source-slack
1111
icon: slack.svg

airbyte-integrations/connectors/source-slack/source_slack/spec.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
"title": "Threads Lookback window (Days)",
2121
"description": "How far into the past to look for messages in threads, default is 0 days",
2222
"examples": [7, 14],
23-
"min": 0,
23+
"minimum": 0,
2424
"default": 0,
25-
"max": 365
25+
"maximum": 365
2626
},
2727
"join_channels": {
2828
"type": "boolean",

docs/integrations/sources/slack.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ It is recommended to sync required channels only, this can be done by specifying
136136

137137
| Version | Date | Pull Request | Subject |
138138
|:--------|:-----------|:---------------------------------------------------------|:------------------------------------------------------------|
139+
| 0.2.0 | 2023-05-24 | [26497](https://github.com/airbytehq/airbyte/pull/26497) | Fixed `lookback window` value limitations |
139140
| 0.1.26 | 2023-05-17 | [26186](https://github.com/airbytehq/airbyte/pull/26186) | Limited the `lookback window` range for input configuration |
140141
| 0.1.25 | 2023-03-20 | [22889](https://github.com/airbytehq/airbyte/pull/22889) | Specified date formatting in specification |
141142
| 0.1.24 | 2023-03-20 | [24126](https://github.com/airbytehq/airbyte/pull/24126) | Increase page size to 1000 |

0 commit comments

Comments
 (0)