Skip to content

feat(ios): update for 4.16.2 - #269

Merged
dcrawbuck merged 1 commit into
mainfrom
chore/update-ios-sdk-version-4.16.2
Aug 17, 2026
Merged

feat(ios): update for 4.16.2#269
dcrawbuck merged 1 commit into
mainfrom
chore/update-ios-sdk-version-4.16.2

Conversation

@dcrawbuck

Copy link
Copy Markdown
Collaborator

Summary

Automated SDK docs version bump for the iOS SDK: 4.16.1 -> 4.16.2.

Doc updates performed

  • content/docs/ios/index.mdx — bumped <SdkLatestVersion version="..."> to 4.16.2
  • content/docs/ios/sdk-reference/index.mdx — bumped <SdkLatestVersion version="..."> to 4.16.2
  • content/docs/ios/changelog.mdx — appended the 4.16.2 entry above 4.16.1, additively (all historical entries preserved, nothing replaced)
  • content/docs/ios/sdk-reference/getDeviceAttributes.mdx — documented the three new Dynamic Type device attributes shipped in 4.16.2 (fontScale, fontSize, preferredContentSizeCategory), matching the existing per-attribute + version-annotation pattern used for isApplePayAvailable/swiftVersion
  • content/docs/ios/quickstart/install.mdx — reviewed; SPM/CocoaPods snippets use open version ranges (Up to Next Major Version, < 5.0.0), so no pinned-version edit was needed

Why only these files

I built a checklist from git log 4.16.1..4.16.2, git diff --stat 4.16.1...4.16.2, the full upstream diff, and the upstream CHANGELOG.md 4.16.2 section. Besides the new device attributes, the release is internal fixes/perf (crash fix via Superscript 1.0.15 bump, network retry/error-mapping fixes, paywall debugger fix, permission-selector obfuscation, accent-color fix, locale-injection timing fix, server-side subscription linking on purchase/restore) with no other new/changed public API surface, so those are covered by the changelog entry alone — consistent with how prior patch releases (e.g. 4.16.0's "Fixes a crash due to concurrent calls to preloadAllPaywalls") are documented in this repo.

Verification

  • bun run download:references — synced reference/ios and confirmed tags 4.16.1/4.16.2 both exist upstream
  • bun test — 64 pass, 0 fail
  • bun run build:cf — could not complete in this sandbox (killed with exit 137 / OOM; the script requests --max-old-space-size=5120 against a ~3.8GB-RAM sandbox). As a substitute, all 4 edited MDX files were compiled through the project's actual MDX toolchain (@mdx-js/mdx + remark-gfm + remark-frontmatter) and parsed with no errors.
  • git status — only the 4 intended files are modified

Known gaps / follow-ups

  • content/docs/kmp/index.mdx and content/docs/kmp/quickstart/install.mdx state that the KMP bridge package "pins SuperwallKit iOS to exactly 4.16.1". This is a separate SDK (Kotlin Multiplatform) with its own binary-compatibility pinning lifecycle — left untouched here since there's no evidence the actual KMP bridge release has moved to 4.16.2 yet. Flagging for whoever runs the kmp SDK update.
  • Could not run bun run build:cf to completion locally due to sandbox memory limits (see Verification above); recommend CI run it as the authoritative check.

🤖 Generated with automated update-sdk-docs workflow (iOS 4.16.1 → 4.16.2)

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3af7c29c00

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

- `model` - The device model
- `fontScale` - The user's system-wide Dynamic Type scale factor, e.g. `1.0` at the default size (available in version 4.16.2+)
- `fontSize` - The user's system-wide Dynamic Type font size in points, normalized against a 16pt baseline (available in version 4.16.2+)
- `preferredContentSizeCategory` - The user's system-wide Dynamic Type content size category, e.g. `large`, `xLarge`, `xxxLarge`, or an `accessibility*` variant (available in version 4.16.2+)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Add the new attributes to the variable reference

When iOS developers look up properties for paywall templates or audience rules, content/docs/variable-reference.mdx:25-48 claims to list all device properties, but it still marks fontScale and fontSize as Android-only and omits preferredContentSizeCategory entirely. Update those rows with iOS 4.16.2 availability, account for the platform-specific fontSize units, and add the new category row so the documented feature can actually be discovered and used.

Useful? React with 👍 / 👎.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 17, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
superwall-docs 3af7c29 Commit Preview URL

Branch Preview URL
Aug 17 2026, 04:25 PM

@dcrawbuck
dcrawbuck merged commit 28e7ac7 into main Aug 17, 2026
2 checks passed
@dcrawbuck
dcrawbuck deleted the chore/update-ios-sdk-version-4.16.2 branch August 17, 2026 19:35
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.

1 participant