Skip to content

docs: sort the Flutter 6.0.0 migration guide by when you make each change - #726

Merged
turnipdabeets merged 13 commits into
chore/v6-posthog-ios-4from
docs/migration-guide-structure
Nov 13, 2026
Merged

turnipdabeets merged 13 commits into
chore/v6-posthog-ios-4from
docs/migration-guide-structure

Conversation

@gewenyu99

@gewenyu99 gewenyu99 commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor
  • Fill missing docstring details from migration guides and old docs.
  • Make migration guides easier to read.

…ange

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gewenyu99
gewenyu99 requested a review from a team as a code owner November 12, 2026 17:00
@gewenyu99 gewenyu99 self-assigned this Nov 12, 2026
@veria-ai

veria-ai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

PR overview

No security issues were found in this pull request.

Reviews

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@posthog posthog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

PostHog Review · Standard · reviewed f17442f: 1 Consider.

See this review and its findings in PostHog Review. Comment @posthog review --deep for a Deep review. A Deep review takes longer and looks deeper than a Standard review.

Comment thread posthog_flutter/MIGRATION.md Resolved
@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

posthog-flutter Compliance Report

Date: 2026-11-13T23:30:01.815312+00:00
Duration: 371042ms

✅ All Tests Passed!

232/232 tests passed


Capture_V1 Tests

✅ 105/105 tests passed

View Details
Test Status Duration
Endpoint And Method.Targets V1 Endpoint ✅ 222ms
Endpoint And Method.Does Not Use Legacy Endpoints ✅ 126ms
Required Headers.Has Authorization Bearer Header ✅ 122ms
Required Headers.Has Content Type Json ✅ 124ms
Required Headers.Has Posthog Sdk Info Format ✅ 120ms
Required Headers.Has Posthog Attempt Header ✅ 120ms
Required Headers.Has Posthog Request Id ✅ 120ms
Required Headers.Has Posthog Request Timestamp ✅ 120ms
Required Headers.Has User Agent ✅ 122ms
Body Format.Body Has Created At And Batch ✅ 118ms
Body Format.No Api Key In Body ✅ 119ms
Body Format.No Sent At In Body ✅ 119ms
Event Format.Event Has Required Root Fields ✅ 119ms
Event Format.Event Uuid Is Valid ✅ 119ms
Event Format.Event Timestamp Is Rfc3339 ✅ 118ms
Event Format.Non Utc Event Timestamp Is Converted To Utc ✅ 119ms
Event Format.Distinct Id Is String ✅ 120ms
Event Format.Distinct Id At Root Not Properties ✅ 119ms
Event Format.Custom Properties Preserved ✅ 118ms
Event Format.Set Properties Preserved ✅ 120ms
Event Format.Set Once Properties Preserved ✅ 118ms
Event Format.Groups Properties Preserved ✅ 117ms
Event Format.Sdk Generates Uuid If Not Provided ✅ 118ms
Event Format.Event Has Required Root Fields Batch ✅ 125ms
Event Format.Event Uuid Is Valid Batch ✅ 127ms
Event Format.Event Timestamp Is Rfc3339 Batch ✅ 122ms
Event Format.Distinct Id Is String Batch ✅ 123ms
Event Format.Distinct Id At Root Not Properties Batch ✅ 123ms
Event Format.Custom Properties Preserved Batch ✅ 124ms
Event Format.Set Properties Preserved Batch ✅ 126ms
Event Format.Set Once Properties Preserved Batch ✅ 123ms
Event Format.Groups Properties Preserved Batch ✅ 122ms
Event Format.Sdk Generates Uuid If Not Provided Batch ✅ 123ms
Batch Behavior.Multiple Events In Single Batch ✅ 128ms
Batch Behavior.Batch Envelope Smoke ✅ 125ms
Batch Behavior.Flush With No Events Sends Nothing ✅ 109ms
Batch Behavior.Flush At Triggers Batch ✅ 1016ms
Batch Behavior.Created At Reflects Batch Creation Time ✅ 123ms
Deduplication.Generates Unique Uuids ✅ 128ms
Deduplication.Different Events Same Content Different Uuids ✅ 120ms
Deduplication.Preserves Uuid On Retry ✅ 5129ms
Deduplication.Preserves Timestamp On Retry ✅ 5121ms
Deduplication.Preserves Uuid And Timestamp On Batch Retry ✅ 5129ms
Deduplication.No Duplicate Events In Batch ✅ 129ms
Header Behavior On Retry.Attempt Header Starts At One ✅ 117ms
Header Behavior On Retry.Attempt Header Increments On Retry ✅ 10124ms
Header Behavior On Retry.Request Id Preserved On Retry ✅ 5123ms
Header Behavior On Retry.Different Requests Have Different Request Ids ✅ 2231ms
Header Behavior On Retry.Request Timestamp Changes On Retry ✅ 5125ms
Response Format Validation.Success Response Has Uuid Keyed Results ✅ 117ms
Response Format Validation.Success Response Has Ok For Each Event ✅ 123ms
Response Format Validation.Success No Retry After When All Ok ✅ 123ms
Response Format Validation.Success Retry After Present When Retry Events ✅ 126ms
Response Format Validation.Success No Retry After When Drop Only ✅ 124ms
Response Format Validation.Response Echoes Request Id ✅ 118ms
Retry Behavior.Retries On 408 ✅ 5128ms
Retry Behavior.Retries On 500 ✅ 5122ms
Retry Behavior.Retries On 503 ✅ 5123ms
Retry Behavior.Retries On 504 ✅ 5122ms
Retry Behavior.Retries On 404 ✅ 5128ms
Retry Behavior.Retries On 429 ✅ 5122ms
Retry Behavior.Retries On 502 ✅ 5123ms
Retry Behavior.Retryable Errors Have Retry After ✅ 2120ms
Retry Behavior.Respects Retry After On Retryable Error ✅ 8126ms
Retry Behavior.Does Not Retry On 400 ✅ 2120ms
Retry Behavior.Does Not Retry On 401 ✅ 2119ms
Retry Behavior.Does Not Retry On 402 ✅ 2122ms
Retry Behavior.Does Not Retry On 413 ✅ 2120ms
Retry Behavior.Does Not Retry On 415 ✅ 2119ms
Retry Behavior.Non Retryable Errors Have No Retry After ✅ 2119ms
Retry Behavior.Implements Backoff ✅ 12129ms
Partial Batch Handling.Handles 200 Full Success ✅ 2119ms
Partial Batch Handling.Handles 200 With All Ok ✅ 3126ms
Partial Batch Handling.Does Not Retry Dropped Events ✅ 3123ms
Partial Batch Handling.Does Not Retry Warning Events ✅ 3125ms
Partial Batch Handling.Prunes Ok Events On Partial Retry ✅ 5125ms
Partial Batch Handling.Prunes Dropped Events On Partial Retry ✅ 5126ms
Partial Batch Handling.Retries Only Retry Events From Partial ✅ 5127ms
Partial Batch Handling.Partial Retry Preserves Uuids ✅ 5126ms
Partial Batch Handling.Partial Retry Attempt Header Increments ✅ 5127ms
Partial Batch Handling.Partial Retry Request Id Preserved ✅ 5125ms
Partial Batch Handling.Respects Retry After On Partial ✅ 5125ms
Partial Batch Handling.Unknown Result Treated As Terminal ✅ 3122ms
Partial Batch Handling.Mixed Ok Drop Warning No Retry ✅ 3128ms
Compression.Sends Gzip Content Encoding ✅ 119ms
Compression.No Content Encoding When Disabled ✅ 115ms
Compression.Compressed Body Is Decompressible ✅ 116ms
Error Handling.Does Not Retry On Unknown 4Xx ✅ 2119ms
Event Options.Cookieless Mode Override ✅ 117ms
Event Options.Disable Skew Correction Override ✅ 115ms
Event Options.Process Person Profile Override ✅ 115ms
Event Options.Product Tour Id Override ✅ 116ms
Event Options.Unset Options Omitted ✅ 118ms
Event Options.Options Override In Batch ✅ 120ms
Event Options.Unknown Option Passes Through ✅ 117ms
Event Options.Option Value Is Not Converted ✅ 115ms
Event Options.Lenient Bool Option Values Are Not Converted ✅ 116ms
Event Options.Option Wins Over Legacy Property ✅ 115ms
Event Options.Legacy Property Fills Unset Option ✅ 116ms
Event Options.Null Option Falls Back To Legacy Property ✅ 116ms
Property Layers.Caller Property Beats Registered Property ✅ 116ms
Property Layers.Before Send Runs Last ✅ 116ms
Fail Open.Empty Api Key Sends Nothing ✅ 1111ms
Fail Open.Personal Api Key Sends Nothing ✅ 1111ms
Geoip And Historical Migration.Historical Migration Absent By Default ✅ 116ms

Capture_Ai_V1 Tests

✅ 110/110 tests passed

View Details
Test Status Duration
Endpoint And Method.Targets V1 Endpoint ✅ 117ms
Endpoint And Method.Does Not Use Legacy Endpoints ✅ 115ms
Endpoint And Method.Capture Does Not Reroute Ai Named Events ✅ 116ms
Endpoint And Method.Capture Ai Does Not Reroute Non Ai Events ✅ 115ms
Lane Isolation.Failing Ai Lane Does Not Delay Analytics ✅ 5131ms
Required Headers.Has Authorization Bearer Header ✅ 120ms
Required Headers.Has Content Type Json ✅ 116ms
Required Headers.Has Posthog Sdk Info Format ✅ 115ms
Required Headers.Has Posthog Attempt Header ✅ 115ms
Required Headers.Has Posthog Request Id ✅ 115ms
Required Headers.Has Posthog Request Timestamp ✅ 115ms
Required Headers.Has User Agent ✅ 115ms
Body Format.Body Has Created At And Batch ✅ 122ms
Body Format.No Api Key In Body ✅ 115ms
Body Format.No Sent At In Body ✅ 115ms
Event Format.Event Has Required Root Fields ✅ 115ms
Event Format.Event Uuid Is Valid ✅ 116ms
Event Format.Event Timestamp Is Rfc3339 ✅ 115ms
Event Format.Non Utc Event Timestamp Is Converted To Utc ✅ 115ms
Event Format.Distinct Id Is String ✅ 115ms
Event Format.Distinct Id At Root Not Properties ✅ 117ms
Event Format.Custom Properties Preserved ✅ 117ms
Event Format.Set Properties Preserved ✅ 116ms
Event Format.Set Once Properties Preserved ✅ 115ms
Event Format.Groups Properties Preserved ✅ 116ms
Event Format.Sdk Generates Uuid If Not Provided ✅ 115ms
Event Format.Event Has Required Root Fields Batch ✅ 120ms
Event Format.Event Uuid Is Valid Batch ✅ 120ms
Event Format.Event Timestamp Is Rfc3339 Batch ✅ 120ms
Event Format.Distinct Id Is String Batch ✅ 121ms
Event Format.Distinct Id At Root Not Properties Batch ✅ 120ms
Event Format.Custom Properties Preserved Batch ✅ 120ms
Event Format.Set Properties Preserved Batch ✅ 120ms
Event Format.Set Once Properties Preserved Batch ✅ 121ms
Event Format.Groups Properties Preserved Batch ✅ 119ms
Event Format.Sdk Generates Uuid If Not Provided Batch ✅ 120ms
Batch Behavior.Multiple Events In Single Batch ✅ 125ms
Batch Behavior.Batch Envelope Smoke ✅ 122ms
Batch Behavior.Flush At Triggers Batch ✅ 1013ms
Batch Behavior.Created At Reflects Batch Creation Time ✅ 116ms
Deduplication.Generates Unique Uuids ✅ 125ms
Deduplication.Different Events Same Content Different Uuids ✅ 120ms
Deduplication.Preserves Uuid On Retry ✅ 5121ms
Deduplication.Preserves Timestamp On Retry ✅ 5120ms
Deduplication.Preserves Uuid And Timestamp On Batch Retry ✅ 5126ms
Deduplication.No Duplicate Events In Batch ✅ 127ms
Header Behavior On Retry.Attempt Header Starts At One ✅ 116ms
Header Behavior On Retry.Attempt Header Increments On Retry ✅ 10124ms
Header Behavior On Retry.Request Id Preserved On Retry ✅ 5118ms
Header Behavior On Retry.Different Requests Have Different Request Ids ✅ 2229ms
Header Behavior On Retry.Request Timestamp Changes On Retry ✅ 5122ms
Response Format Validation.Success Response Has Uuid Keyed Results ✅ 116ms
Response Format Validation.Success Response Has Ok For Each Event ✅ 120ms
Response Format Validation.Success No Retry After When All Ok ✅ 119ms
Response Format Validation.Success Retry After Present When Retry Events ✅ 119ms
Response Format Validation.Success No Retry After When Drop Only ✅ 118ms
Response Format Validation.Response Echoes Request Id ✅ 114ms
Retry Behavior.Retries On 408 ✅ 5121ms
Retry Behavior.Retries On 500 ✅ 5122ms
Retry Behavior.Retries On 503 ✅ 5120ms
Retry Behavior.Retries On 504 ✅ 5121ms
Retry Behavior.Retries On 404 ✅ 5122ms
Retry Behavior.Retries On 429 ✅ 5122ms
Retry Behavior.Retries On 502 ✅ 5122ms
Retry Behavior.Retryable Errors Have Retry After ✅ 2119ms
Retry Behavior.Respects Retry After On Retryable Error ✅ 8125ms
Retry Behavior.Does Not Retry On 400 ✅ 2119ms
Retry Behavior.Does Not Retry On 401 ✅ 2119ms
Retry Behavior.Does Not Retry On 402 ✅ 2119ms
Retry Behavior.Does Not Retry On 413 ✅ 2119ms
Retry Behavior.Does Not Retry On 415 ✅ 2120ms
Retry Behavior.Non Retryable Errors Have No Retry After ✅ 2119ms
Retry Behavior.Implements Backoff ✅ 12128ms
Partial Batch Handling.Handles 200 Full Success ✅ 2118ms
Partial Batch Handling.Handles 200 With All Ok ✅ 3124ms
Partial Batch Handling.Does Not Retry Dropped Events ✅ 3123ms
Partial Batch Handling.Does Not Retry Warning Events ✅ 3122ms
Partial Batch Handling.Prunes Ok Events On Partial Retry ✅ 5125ms
Partial Batch Handling.Prunes Dropped Events On Partial Retry ✅ 5125ms
Partial Batch Handling.Retries Only Retry Events From Partial ✅ 5126ms
Partial Batch Handling.Partial Retry Preserves Uuids ✅ 5123ms
Partial Batch Handling.Partial Retry Attempt Header Increments ✅ 5124ms
Partial Batch Handling.Partial Retry Request Id Preserved ✅ 5124ms
Partial Batch Handling.Respects Retry After On Partial ✅ 5124ms
Partial Batch Handling.Unknown Result Treated As Terminal ✅ 3122ms
Partial Batch Handling.Mixed Ok Drop Warning No Retry ✅ 3127ms
Compression.Sends Gzip Content Encoding ✅ 116ms
Compression.No Content Encoding When Disabled ✅ 115ms
Compression.Compressed Body Is Decompressible ✅ 115ms
Error Handling.Does Not Retry On Unknown 4Xx ✅ 2118ms
Event Options.Cookieless Mode Override ✅ 116ms
Event Options.Disable Skew Correction Override ✅ 115ms
Event Options.Process Person Profile Override ✅ 115ms
Event Options.Product Tour Id Override ✅ 115ms
Event Options.Unset Options Omitted ✅ 114ms
Event Options.Options Override In Batch ✅ 120ms
Event Options.Unknown Option Passes Through ✅ 115ms
Event Options.Option Value Is Not Converted ✅ 115ms
Event Options.Lenient Bool Option Values Are Not Converted ✅ 114ms
Event Options.Option Wins Over Legacy Property ✅ 115ms
Event Options.Legacy Property Fills Unset Option ✅ 115ms
Event Options.Null Option Falls Back To Legacy Property ✅ 115ms
Event Size.Event Over Ceiling Is Not Sent ✅ 4269ms
Event Size.Over Ceiling Drop Is Reported Or Logged Without Content ✅ 2197ms
Event Size.Batches Close Before Byte Target ✅ 6356ms
Geoip And Historical Migration.Historical Migration Absent By Default ✅ 119ms
Property Layers.Caller Property Beats Registered Property ✅ 115ms
Property Layers.Before Send Runs Last ✅ 115ms
Fail Open.Empty Api Key Sends Nothing ✅ 1111ms
Fail Open.Personal Api Key Sends Nothing ✅ 1111ms

Feature_Flags Tests

✅ 17/17 tests passed

View Details
Test Status Duration
Request Payload.Request With Person Properties Device Id ✅ 22ms
Request Payload.Flags Request Uses V2 Query Param ✅ 15ms
Request Payload.Flags Request Hits Flags Path Not Decide ✅ 10ms
Request Payload.Flags Request Omits Authorization Header ✅ 11ms
Request Payload.Token In Flags Body Matches Init ✅ 11ms
Request Payload.Groups Round Trip ✅ 12ms
Request Payload.Groups Default To Empty Object ✅ 12ms
Request Payload.Disable Geoip False Propagates As Geoip Disable False ✅ 12ms
Request Payload.Disable Geoip Omitted Defaults To False ✅ 11ms
Request Payload.Flag Keys To Evaluate Contains Only Requested Key ✅ 12ms
Request Lifecycle.No Flags Request On Init Alone ✅ 4ms
Request Lifecycle.No Flags Request On Normal Capture ✅ 114ms
Request Lifecycle.Two Flag Calls Produce Two Remote Requests ✅ 19ms
Request Lifecycle.Mock Response Value Is Returned To Caller ✅ 14ms
Retry Behavior.Retries Flags On 502 ✅ 318ms
Retry Behavior.Retries Flags On 504 ✅ 319ms
Side Effect Events.Get Feature Flag Captures Feature Flag Called Event ✅ 119ms

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Comment thread posthog_flutter/MIGRATION.md Resolved
Comment thread posthog_flutter/MIGRATION.md Resolved
Comment thread posthog_flutter/MIGRATION.md Resolved
Comment thread posthog_flutter/MIGRATION.md Resolved
Comment thread posthog_flutter/MIGRATION.md Resolved
Comment thread posthog_flutter/MIGRATION.md Resolved
Comment thread posthog_flutter/MIGRATION.md Resolved
The posthog.com Flutter SDK page redirects to this reference once
6.0.0 ships, so its setup, how-to, and product sections now live in
docs/getting-started.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Comment thread posthog_flutter/MIGRATION.md Resolved
@gewenyu99
gewenyu99 marked this pull request as draft November 12, 2026 17:36
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit efbeb50)
gewenyu99 and others added 2 commits November 12, 2026 12:51
@gewenyu99 gewenyu99 mentioned this pull request Nov 12, 2026
3 tasks done
@gewenyu99
gewenyu99 marked this pull request as ready for review November 12, 2026 18:50
@turnipdabeets

Copy link
Copy Markdown
Contributor

This conflicts with #637 now, in one spot: posthog_flutter/MIGRATION.md, the API_KEY → PROJECT_TOKEN block (~line 363 after merging). 862cdd3 on #637 changed the capture v1 link in the old paragraph there. To resolve, keep this branch's side (the <!-- AndroidManifest.xml, after --> block). Then point the link at line 180 to the new page:

-see [Upgrading to capture v1 SDKs](https://posthog.com/docs/libraries/capture-v1).
+see [Upgrading to capture v1 SDKs](https://posthog.com/docs/api/capture-v1).

posthog.com#21385 now publishes the page at /docs/api/capture-v1 and redirects /docs/libraries/capture-v1 to /docs/libraries, so the old link lands on the wrong page. Line 3 already uses the new path. After the merge, references/posthog-flutter-migration.md still has the old link at line 266, so regenerate it.

This PR needs to land with posthog-ios#1061 and posthog-android#973. Those PRs rename the headings that #637's MIGRATION.md links to today (#capture-v1, #hosts-without-capture-v1, #null-event-properties, #endpoints, #posthog-server), and this PR already uses the new anchors.

@turnipdabeets turnipdabeets mentioned this pull request Nov 12, 2026
6 of 17 tasks
@turnipdabeets

Copy link
Copy Markdown
Contributor

One more change to bring across when you merge: a59f3ac on #637 corrects the rollback list (your "Plan a rollback" section, line ~710). I tested this on the iOS simulator and Android emulator by installing 5.60.2 over 6.0 with events queued offline:

-- **AI events.** AI events queued by 6.0.0 in their own queue are never sent.
+- **AI events.** AI events queued by 6.0.0 in their own queue aren't sent by 5.x.x. They stay on the device, and 6.x.x sends them after you update again.
+- **Registered options.** Options registered with `registerOptions()` don't apply to events 5.x.x captures. They're kept, and apply again after you update to 6.x.x.

The personless and cookieless_mode bullets hold as written: 5.x sent both events to /batch/ with no options and no legacy properties.

gewenyu99 and others added 3 commits November 13, 2026 10:58
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	posthog_flutter/MIGRATION.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…es and semicolons

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@turnipdabeets

Copy link
Copy Markdown
Contributor

One more to bring across when you resolve the conflict: Flutter 3.50.0 stable (11 November) ships flutter/flutter#184590, so add-to-app modules can upgrade now. e1178f8 on #637 updates the old paragraph. A Flutter 3.50 module (flutter create -t module) with posthog_flutter 6 runs flutter build swift-package and compiles its Swift package for the iOS simulator. Modules can't target macOS (does not support macOS), so the module text is iOS only. Suggested text for your "Add-to-app" block (lines 125–129) and the checklist (line 23):

-- [ ] You embed Flutter as an iOS or macOS add-to-app module → [Use Swift Package Manager](#use-swift-package-manager)
+- [ ] You embed Flutter in an iOS app as an add-to-app module → use Flutter 3.50.0 or later, see [Use Swift Package Manager](#use-swift-package-manager)
-Add-to-app modules on iOS and macOS can't upgrade yet:
-
-- **The failure.** `flutter build swift-package` still installs a Flutter module's plugins with CocoaPods on current stable releases. ...
-- **The fix in Flutter.** Flutter fixed this in [flutter/flutter#184590](...), which isn't in a stable release yet. ...
+Add-to-app modules (`flutter create -t module`) on iOS need Flutter 3.50.0 or later:
+
+- **On Flutter 3.50.0 or later.** Build the module with `flutter build swift-package`.
+- **On earlier Flutter versions.** `flutter build swift-package` installs a module's plugins with CocoaPods and stops with `Unable to find a specification for 'posthog_flutter' depended upon by 'FlutterPluginRegistrant'`, since posthog_flutter has no podspec ([flutter/flutter#184590](https://github.com/flutter/flutter/issues/184590)). Stay on posthog_flutter 5.x.x, or use the other route.
 - **The other route.** (unchanged)

Keeps this branch's restructured MIGRATION.md and changeset, and carries
over what changed on #637 since the last merge:
- #730: a registered process_person_profile no longer applies to
  identity events, so "Fix identity calls" becomes "Check registered
  person processing" and the identify example goes away
- #729: Android build fails instead of crashing past posthog-android 4.x
- e1178f8: iOS add-to-app modules work on Flutter 3.50.0
- 862cdd3: capture v1 link points at /docs/api/capture-v1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@turnipdabeets

Copy link
Copy Markdown
Contributor

Resolved the conflicts with #637 in a444b00, keeping this branch's structure and style. Carried over from #637: #730 (a registered process_person_profile no longer applies to identity events, so "Fix identity calls" is now "Check registered person processing" and the identify example is gone; both links to it updated), #729 (Android build fails past posthog-android 4.x.x), e1178f8 (iOS add-to-app modules on Flutter 3.50.0) and 862cdd3 (/docs/api/capture-v1 link). The rollback text from a59f3ac was already here.

- Intro: only analytics and AI events move to capture v1; replay, logs,
  flags and web keep their endpoints
- Follow ups: say why they can wait (6.x.x still accepts the old names)
- Redirects: iOS, macOS and Android follow the same same-origin 307/308
  rule; in 5.x.x they followed redirects to any host
- Native guide links point at #prepare-your-proxy and the native
  long-ID sections, which now exist there
- Send AI events: $ai_* events sent with capture still arrive, so the
  move to captureAi stays a follow up
- Checklist items for the six sections that had none (flag values,
  batch sizes, timestamps and IDs, queued events, reachability, rollback)
- Regenerate references/posthog-flutter-migration.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@turnipdabeets

Copy link
Copy Markdown
Contributor

All review threads are addressed in 7b1a2a0 and resolved. My three conflict notes above are done in a444b00, and 7b1a2a0 regenerates references/posthog-flutter-migration.md so it no longer has the old /docs/libraries/capture-v1 link. Left for you: approve, and land this before #637 merges to main.

@turnipdabeets
turnipdabeets merged commit 5e6ed78 into chore/v6-posthog-ios-4 Nov 13, 2026
20 of 23 checks passed
@turnipdabeets
turnipdabeets deleted the docs/migration-guide-structure branch November 13, 2026 23:24
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