Skip to content
This repository was archived by the owner on Apr 26, 2026. It is now read-only.

feat: sync with openiap v1.3.17#13

Merged
hyochan merged 1 commit into
mainfrom
feat/openiap-sync-1.3.17
Feb 11, 2026
Merged

feat: sync with openiap v1.3.17#13
hyochan merged 1 commit into
mainfrom
feat/openiap-sync-1.3.17

Conversation

@hyochan

@hyochan hyochan commented Feb 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • Sync with OpenIAP v1.3.17
  • Add InstallmentPlanDetailsAndroid class (Billing Library 7.0+)
  • Add PendingPurchaseUpdateAndroid class (Billing Library 5.0+)
  • Add purchase_option_id_android field to DiscountOffer (Billing Library 7.0+)
  • Update llms.txt with new type documentation
  • Add release blog post

Related

OpenIAP Versions

Package Version
openiap-gql 1.3.17
openiap-google 1.3.28
openiap-apple 1.3.14

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features

    • Added support for Google Play Billing Library 7.0+ features including installment payment plans and purchase option identification
    • Enhanced support for pending purchase updates (Billing Library 5.0+)
    • Improved data structure initialization across Android and iOS in-app purchases
  • Documentation

    • Added v1.2.4 release notes documenting new billing library feature support
  • Chores

    • Updated dependency versions for improved compatibility

@coderabbitai

coderabbitai Bot commented Feb 10, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

This PR synchronizes the OpenIAP GDScript addon with OpenIAP v1.3.17/v1.3.28, adding support for Google Play Billing Library 5.0+ and 7.0+ features. Key changes include adding default values to existing IAP type fields, introducing new fields like purchase_option_id_android and installment-related structures, and implementing new types with updated serialization logic.

Changes

Cohort / File(s) Summary
Core Types & Serialization
addons/godot-iap/types.gd
Expanded default initialization for public fields across multiple IAP type classes (strings to "", numbers to 0/0.0, booleans to false, arrays to []). Introduced new fields: purchase_option_id_android, installment-related structures (InstallmentPlanDetailsAndroid, PendingPurchaseUpdateAndroid), and platform-specific metadata fields. Updated to_dict/from_dict methods to handle newly introduced fields and nested structures.
Documentation & Versioning
docs/blog/2026-02-11-1.2.4.md, docs/static/llms.txt, openiap-versions.json
Added v1.2.4 release notes documenting new types and fields for Google Play Billing Library support. Updated LLM documentation with new data structures. Bumped OpenIAP dependency versions (gql: 1.3.16 → 1.3.17, google: 1.3.27 → 1.3.28).

Possibly related PRs

Poem

🐰 The billing garden grows so tall,
With installments and options for all,
Defaults now clear, no mysteries here,
Google Play features make it crystal clear!

🎯 3 (Moderate) | ⏱️ ~20 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title 'feat: sync with openiap v1.3.17' directly and accurately summarizes the main change—synchronizing the codebase with OpenIAP v1.3.17.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/openiap-sync-1.3.17

No actionable comments were generated in the recent review. 🎉


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@gemini-code-assist

Copy link
Copy Markdown

Summary of Changes

Hello @hyochan, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request updates the Godot IAP plugin to align with OpenIAP v1.3.17, primarily focusing on enhancing Android billing capabilities. It introduces new data structures to support features from Google Play Billing Library 5.0+ and 7.0+, such as installment plans and pending purchase updates. These additions ensure the plugin remains compatible with the latest Android billing system advancements, providing more detailed information for in-app purchases and subscriptions.

Highlights

  • OpenIAP Sync: The project has been synchronized with OpenIAP v1.3.17, incorporating the latest features and updates from the OpenIAP ecosystem.
  • New Android Billing Classes: Two new classes, InstallmentPlanDetailsAndroid (for Billing Library 7.0+) and PendingPurchaseUpdateAndroid (for Billing Library 5.0+), have been added to support advanced Android billing functionalities.
  • Expanded DiscountOffer Functionality: A new field, purchase_option_id_android, has been added to the DiscountOffer and ProductAndroidOneTimePurchaseOfferDetail classes, enhancing support for Google Play Billing Library 7.0+.
  • Documentation Updates: The llms.txt documentation has been updated to reflect the newly added types and fields, ensuring accurate and up-to-date information for developers.
  • Release Blog Post: A new blog post has been added to document the 1.2.4 release, outlining the changes and new features introduced in this update.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • addons/godot-iap/types.gd
    • Added purchase_option_id_android property to DiscountOffer and ProductAndroidOneTimePurchaseOfferDetail classes.
    • Introduced InstallmentPlanDetailsAndroid class for subscription installment plan details.
    • Introduced PendingPurchaseUpdateAndroid class for pending subscription upgrade/downgrade details.
    • Integrated InstallmentPlanDetailsAndroid into ProductSubscriptionAndroidOfferDetails and SubscriptionOffer.
    • Integrated PendingPurchaseUpdateAndroid into PurchaseAndroid.
  • docs/blog/2026-02-11-1.2.4.md
    • Added a new release blog post for version 1.2.4, detailing the OpenIAP 1.3.17 sync and new Android billing types.
  • docs/static/llms.txt
    • Updated type documentation to include purchase_option_id_android for DiscountOffer.
    • Added documentation for InstallmentPlanDetailsAndroid and PendingPurchaseUpdateAndroid classes.
  • openiap-versions.json
    • Updated google package version from 1.3.27 to 1.3.28.
    • Updated gql package version from 1.3.16 to 1.3.17.
Activity
  • The pull request was generated automatically using Claude Code.
  • It synchronizes the project with OpenIAP v1.3.17.
  • Related OpenIAP PR and release notes links are provided for context.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request syncs with OpenIAP v1.3.17, introducing new classes and fields to support recent features from Google Play Billing Library 5.0+ and 7.0+. The changes primarily affect the auto-generated types.gd file and include corresponding updates to documentation. The implementation is consistent with the existing codebase. I've provided a few suggestions to initialize member variables in the new data classes to improve robustness and prevent potential null-related issues.

Comment thread addons/godot-iap/types.gd Outdated
Comment thread addons/godot-iap/types.gd Outdated
Comment thread addons/godot-iap/types.gd Outdated
- Update openiap-versions.json (gql: 1.3.17, apple: 1.3.14, google: 1.3.28)
- Add InstallmentPlanDetailsAndroid class (Billing Library 7.0+)
- Add PendingPurchaseUpdateAndroid class (Billing Library 5.0+)
- Add purchase_option_id_android field to DiscountOffer (Billing Library 7.0+)
- Update llms.txt with new type documentation
- Add release blog post

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@hyochan hyochan force-pushed the feat/openiap-sync-1.3.17 branch from 5a8563d to 5120122 Compare February 11, 2026 02:29
@hyochan hyochan merged commit 079567c into main Feb 11, 2026
13 checks passed
@hyochan hyochan deleted the feat/openiap-sync-1.3.17 branch February 11, 2026 02:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant