Skip to content

Commit

Permalink
šŸ› source-paypal-transaction: retroactively mark 2.1.0 as a breaking cā€¦
Browse files Browse the repository at this point in the history
ā€¦hange (#31806)
  • Loading branch information
girarda authored Oct 27, 2023
1 parent 0b51b53 commit 30c2437
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ data:
enabled: true
releaseDate: 2021-06-10
releaseStage: generally_available
releases:
breakingChanges:
2.1.0:
message: 'Version 2.1.0 changes the format of the state. The format of the cursor changed from "2021-06-18T16:24:13+03:00" to "2021-06-18T16:24:13Z". The state key for the transactions stream changed to "transaction_updated_date" and the key for the balances stream change to "as_of_time". The upgrade is safe, but rolling back is not.'
upgradeDeadline: "2023-09-18"
supportLevel: certified
tags:
- language:low-code
Expand Down
11 changes: 11 additions & 0 deletions docs/integrations/sources/paypal-transaction-migrations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Paypal Transaction Migration Guide

## Upgrading to 2.1.0

Version 2.1.0 changes the format of the state object. Upgrading to 2.1.0 is safe, but downgrading to 2.0.0 is not.

To downgrade to 2.0.0:
- Edit your connection state:
- Change the the keys for the transactions and balances streams to "date"
- Change the format of the cursor to "yyyy-MM-dd'T'HH:mm:ss+00:00"
Alternatively, you can also reset your connection.

0 comments on commit 30c2437

Please sign in to comment.