Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pedro/sdk kotlin 1.8 #139

Merged
merged 3 commits into from
Jan 12, 2024
Merged

Pedro/sdk kotlin 1.8 #139

merged 3 commits into from
Jan 12, 2024

Conversation

pedronveloso
Copy link
Collaborator

List of changes on this PR:

  • Update AGP to latest stable version 8.2.1
  • Updated Kotlin to 1.8.21
  • JVM toolchain updated to Java 11
  • Updated KSP version accordingly (to match Kotlin and JVM versions) : currently used for the Moshi codegen

Updated several internal libraries to the latest version that would align with a Kotlin 1.8.X release. For individual release notes on each dependency:

Verification

Verified the following was working:

  • Happy path for 1-time customer request
  • Network retry on 1-time customer request
  • Google Impersonation feature
  • Console History working as expected

@pedronveloso pedronveloso requested a review from cpetzel January 11, 2024 22:33
@pedronveloso pedronveloso merged commit 3b8e953 into develop Jan 12, 2024
1 check passed
@pedronveloso pedronveloso deleted the pedro/sdk-kotlin-1.8 branch January 12, 2024 17:59
cpetzel added a commit that referenced this pull request Jan 12, 2024
pedronveloso added a commit that referenced this pull request Jul 17, 2024
* Fix Retrieve Existing request ID behavior for PROCESSING state (#95)

* Fix Retrieve Existing request ID behavior for PENDING state

* Add distinction between Pending & Processing

* Code cleanup (and research on proguard rules being handed to consumers) (#98)

* Add proguard rules to project for automatic client consumption

* Fix constant name after renaming class

* Concrete R8 rules are actually not needed

* Add enum for GrantType (#99)

* Update Robolectric dependency (#102)

* Update changelog

* Use Epoch usec for Analytics timestamp (#107)

* Add UT for Analytics (#108)

* Refresh Auth Token for Customer Request (#109)

* Initial support for Unauthorized Customer Request refresh

* Add useful docs about token refresh window

* Improve logging for CashAppCashAppPayImpl

* Use Duration instead of Long for better time handling

* Remove not needed call to interrupt

* Schedule auth token refresh on `startWithExistingCustomerRequest` when status is "pending"

* Support deferred auth token refresh upon authorize call

* Better thread safety and handling

* Update comment

* Add new Refreshing state (#110)

* Add Refreshing state

* Use better explicit tag for logging

* Abstract thread managment away from main class (#113)

* Redact PII for logs and metrics (#112)

* Redact PII for logs and metrics

* Add UTs for PiiString

* Swap redact with unredacted defaults

* Redact more fields; move redaction step to encoding

* Simplify internal class names (#115)

* Modify CashAppPayButton to allow for dynamic styles (#116)

* Modify CashAppPayButton to allow for dynamic styles

* Update CHANGELOG

* Update testing frameworks and link baseline

* Add PR template (#120)

* Logging abstraction (#119)

* Create new module for logging

* CashPayLogger implementation, and apply it to Analytics module

* Add CAP logger to Core module

* Create lint baseline file for logging module

* Fix tests

* Change Analytics implementation to log only Warn level or above

* Add support to observe logging changes

* Add some UT for logging module

* Add UTs for CashAppLoggerImpl

* Add some useful documentation to tests

* Set default PR template (#121)

* Make Initializer open to modification (#123)

* Update Spotless Plugin and Ktlint version (#124)

* Add minify rules (#125)

* Add consumer-rules for minify

* Bump release version; update release notes

* Add more minify rules

* Update Core dependency on OkHttp (#126)

* Add consumer-rules for minify

* Bump release version; update release notes

* Add more minify rules

* Update Core dependency on OkHttp

* Update Android target version (#133)

* Increase compile version to API 33

* Update CHANGELOG

* Update AGP to 8.1.2 (#134)

* Update AGP to 8.1.2

* Update Java version for CI to 17

* Update AGP & Gradle (#138)

* Update AGP and Gradle

* Update Robolectric dependency

* Pedro/sdk kotlin 1.8 (#139)

* Update AGP version

* Update Kotlin to 1.8.x, along with various library dependencies

* Update Dev App versions and baseline lint files

* Update AGP and dev app version

* Use reference_id param correctly (#145)

* Add Start Screen to split different playgrouds within Dev App

* Improve webview logs display

* Increase log history size

* Fix accountReferenceId param missing from network call

* Update some of the project libraries

* Fix test related to size of log history

* Minor changes based on PR feedback

* Change build version to 2.0.4

* Changelog updates
pedronveloso added a commit that referenced this pull request Jul 19, 2024
* Fix Retrieve Existing request ID behavior for PROCESSING state (#95)

* Fix Retrieve Existing request ID behavior for PENDING state

* Add distinction between Pending & Processing

* Code cleanup (and research on proguard rules being handed to consumers) (#98)

* Add proguard rules to project for automatic client consumption

* Fix constant name after renaming class

* Concrete R8 rules are actually not needed

* Add enum for GrantType (#99)

* Update Robolectric dependency (#102)

* Update changelog

* Use Epoch usec for Analytics timestamp (#107)

* Add UT for Analytics (#108)

* Refresh Auth Token for Customer Request (#109)

* Initial support for Unauthorized Customer Request refresh

* Add useful docs about token refresh window

* Improve logging for CashAppCashAppPayImpl

* Use Duration instead of Long for better time handling

* Remove not needed call to interrupt

* Schedule auth token refresh on `startWithExistingCustomerRequest` when status is "pending"

* Support deferred auth token refresh upon authorize call

* Better thread safety and handling

* Update comment

* Add new Refreshing state (#110)

* Add Refreshing state

* Use better explicit tag for logging

* Abstract thread managment away from main class (#113)

* Redact PII for logs and metrics (#112)

* Redact PII for logs and metrics

* Add UTs for PiiString

* Swap redact with unredacted defaults

* Redact more fields; move redaction step to encoding

* Simplify internal class names (#115)

* Modify CashAppPayButton to allow for dynamic styles (#116)

* Modify CashAppPayButton to allow for dynamic styles

* Update CHANGELOG

* Update testing frameworks and link baseline

* Add PR template (#120)

* Logging abstraction (#119)

* Create new module for logging

* CashPayLogger implementation, and apply it to Analytics module

* Add CAP logger to Core module

* Create lint baseline file for logging module

* Fix tests

* Change Analytics implementation to log only Warn level or above

* Add support to observe logging changes

* Add some UT for logging module

* Add UTs for CashAppLoggerImpl

* Add some useful documentation to tests

* Set default PR template (#121)

* Make Initializer open to modification (#123)

* Update Spotless Plugin and Ktlint version (#124)

* Add minify rules (#125)

* Add consumer-rules for minify

* Bump release version; update release notes

* Add more minify rules

* Update Core dependency on OkHttp (#126)

* Add consumer-rules for minify

* Bump release version; update release notes

* Add more minify rules

* Update Core dependency on OkHttp

* Update Android target version (#133)

* Increase compile version to API 33

* Update CHANGELOG

* Update AGP to 8.1.2 (#134)

* Update AGP to 8.1.2

* Update Java version for CI to 17

* Update AGP & Gradle (#138)

* Update AGP and Gradle

* Update Robolectric dependency

* Pedro/sdk kotlin 1.8 (#139)

* Update AGP version

* Update Kotlin to 1.8.x, along with various library dependencies

* Update Dev App versions and baseline lint files

* Update AGP and dev app version

* Use reference_id param correctly (#145)

* Add Start Screen to split different playgrouds within Dev App

* Improve webview logs display

* Increase log history size

* Fix accountReferenceId param missing from network call

* Update some of the project libraries

* Fix test related to size of log history

* Minor changes based on PR feedback

* Reference id mixup fix (#147)

* Correct distinction between reference_id and account_reference_id

* Spotless apply

* Make function changes be backwards compatible

* Update CHANGELOG

* Fix UTs

* Prepare release 2.5.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants