Skip to content

Commit e754bbe

Browse files
bazarnovrobbinhan
authored andcommitted
🐛 Source Recharge: fix Charges.total_weight field data-type (airbytehq#17080)
1 parent 492c74c commit e754bbe

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

airbyte-config/init/src/main/resources/seed/source_definitions.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -853,7 +853,7 @@
853853
- name: Recharge
854854
sourceDefinitionId: 45d2e135-2ede-49e1-939f-3e3ec357a65e
855855
dockerRepository: airbyte/source-recharge
856-
dockerImageTag: 0.2.0
856+
dockerImageTag: 0.2.1
857857
documentationUrl: https://docs.airbyte.io/integrations/sources/recharge
858858
icon: recharge.svg
859859
sourceType: api

airbyte-config/init/src/main/resources/seed/source_specs.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8772,7 +8772,7 @@
87728772
supportsNormalization: false
87738773
supportsDBT: false
87748774
supported_destination_sync_modes: []
8775-
- dockerImage: "airbyte/source-recharge:0.2.0"
8775+
- dockerImage: "airbyte/source-recharge:0.2.1"
87768776
spec:
87778777
documentationUrl: "https://docs.airbyte.com/integrations/sources/recharge"
87788778
connectionSpecification:

airbyte-integrations/connectors/source-recharge/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ RUN pip install .
1212
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
1313
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
1414

15-
LABEL io.airbyte.version=0.2.0
15+
LABEL io.airbyte.version=0.2.1
1616
LABEL io.airbyte.name=airbyte/source-recharge

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ tests:
88
- config_path: "integration_tests/invalid_config.json"
99
status: "failed"
1010
discovery:
11-
# schemas were changed in `0.1.9` compare to `0.1.8`,
11+
# schemas were changed in `0.2.1` compare to `0.2.0`,
1212
# plase remove this bypass, once updated to the newer version!
1313
- config_path: "secrets/config.json"
1414
backward_compatibility_tests_config:
15-
disable_for_version: "0.1.8"
15+
disable_for_version: "0.2.0"
1616
basic_read:
1717
- config_path: "secrets/config.json"
1818
configured_catalog_path: "integration_tests/streams_with_output_records_catalog.json"

airbyte-integrations/connectors/source-recharge/source_recharge/schemas/charges.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@
244244
"type": ["null", "string"]
245245
},
246246
"total_weight": {
247-
"type": ["null", "number"]
247+
"type": ["null", "integer"]
248248
},
249249
"transaction_id": {
250250
"type": ["null", "string"]

docs/integrations/sources/recharge.md

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ The Recharge connector should gracefully handle Recharge API limitations under n
6767

6868
| Version | Date | Pull Request | Subject |
6969
| :--- | :--- | :--- | :--- |
70+
| 0.2.1 | 2022-09-23 | [17080](https://github.com/airbytehq/airbyte/pull/17080) | Fix `total_weight` value to be `int` instead of `float`
7071
| 0.2.0 | 2022-09-21 | [16959](https://github.com/airbytehq/airbyte/pull/16959) | Use TypeTransformer to reliably convert to schema declared data types
7172
| 0.1.8 | 2022-08-27 | [16045](https://github.com/airbytehq/airbyte/pull/16045) | Force total_weight to be an integer |
7273
| 0.1.7 | 2022-07-24 | [14978](https://github.com/airbytehq/airbyte/pull/14978) | Set `additionalProperties` to True, to guarantee backward cababilities |

0 commit comments

Comments
 (0)