Skip to content

Commit

Permalink
🐛 Source Recharge: fix Charges.total_weight field data-type (#17080)
Browse files Browse the repository at this point in the history
  • Loading branch information
bazarnov authored Sep 23, 2022
1 parent dbe25f6 commit 5928b48
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@
- name: Recharge
sourceDefinitionId: 45d2e135-2ede-49e1-939f-3e3ec357a65e
dockerRepository: airbyte/source-recharge
dockerImageTag: 0.2.0
dockerImageTag: 0.2.1
documentationUrl: https://docs.airbyte.io/integrations/sources/recharge
icon: recharge.svg
sourceType: api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8772,7 +8772,7 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-recharge:0.2.0"
- dockerImage: "airbyte/source-recharge:0.2.1"
spec:
documentationUrl: "https://docs.airbyte.com/integrations/sources/recharge"
connectionSpecification:
Expand Down
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-recharge/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ RUN pip install .
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.2.0
LABEL io.airbyte.version=0.2.1
LABEL io.airbyte.name=airbyte/source-recharge
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ tests:
- config_path: "integration_tests/invalid_config.json"
status: "failed"
discovery:
# schemas were changed in `0.1.9` compare to `0.1.8`,
# schemas were changed in `0.2.1` compare to `0.2.0`,
# plase remove this bypass, once updated to the newer version!
- config_path: "secrets/config.json"
backward_compatibility_tests_config:
disable_for_version: "0.1.8"
disable_for_version: "0.2.0"
basic_read:
- config_path: "secrets/config.json"
configured_catalog_path: "integration_tests/streams_with_output_records_catalog.json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@
"type": ["null", "string"]
},
"total_weight": {
"type": ["null", "number"]
"type": ["null", "integer"]
},
"transaction_id": {
"type": ["null", "string"]
Expand Down
1 change: 1 addition & 0 deletions docs/integrations/sources/recharge.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ The Recharge connector should gracefully handle Recharge API limitations under n

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

0 comments on commit 5928b48

Please sign in to comment.