Skip to content

Merge 'master' into 'develop' after release#713

Merged
itmindbox merged 4 commits into
developfrom
master
May 14, 2026
Merged

Merge 'master' into 'develop' after release#713
itmindbox merged 4 commits into
developfrom
master

Conversation

@itmindbox
Copy link
Copy Markdown
Contributor

Automated Pull Request to merge 'master' into 'develop' after release

Copilot AI review requested due to automatic review settings May 14, 2026 08:02
@itmindbox itmindbox enabled auto-merge May 14, 2026 08:02
@itmindbox itmindbox merged commit 1394622 into develop May 14, 2026
5 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Automated post-release merge of master back into develop for SDK version 2.15.1. The diff bundles together the changes that shipped in the 2.15.1 release: a version bump, narrowed/cleaned ProGuard consumer rules, explicit @SerializedName annotations on bridge message and webview payload data classes (to survive R8 minification), and a substantial set of new unit tests for Gson type adapters.

Changes:

  • Bump SDK_VERSION_NAME and example app dependency from 2.15.0 → 2.15.1.
  • Tighten consumer ProGuard rules (drop broad inapp.data** keep and enum models** member rule; add narrower inapp.data.dto.** rule; remove the unused android.preference.Preference keep).
  • Add @SerializedName annotations to BridgeMessage.{Request,Response,Error} fields and to NavigationInterceptedPayload.url / ErrorPayload.error.
  • Add unit tests for IdsAdapter, CustomerFieldsAdapter, DateOnlyAdapter, DateTimeAdapter, ProductListResponseAdapter, and MindboxErrorAdapter.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.

Show a summary per file
File Description
gradle.properties SDK version bump 2.15.0 → 2.15.1.
example/app/build.gradle Sample app pulls released 2.15.1 artifact.
sdk/consumer-rules.pro Narrows ProGuard keep rules; drops enum keep and Preference rule.
sdk/src/main/java/.../WebViewAction.kt Adds explicit @SerializedName to all BridgeMessage subtypes.
sdk/src/main/java/.../WebViewInappViewHolder.kt Adds @SerializedName to inner payload data classes.
sdk/src/test/.../IdsAdapterTest.kt New tests covering numeric/string ID handling and round-trip.
sdk/src/test/.../CustomerFieldsAdapterTest.kt New tests for CustomFields (de)serialization and convertTo.
sdk/src/test/.../DateOnlyAdapterTest.kt New tests for yyyy-MM-dd parsing/writing and null/error handling.
sdk/src/test/.../DateTimeAdapterTest.kt New tests for ISO-8601 parsing and write format.
sdk/src/test/.../ProductListResponseAdapterTest.kt New tests for array vs object dispatch.
sdk/src/test/.../MindboxErrorAdapterTest.kt New tests documenting toJson shape and the broken read path.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

4 participants