Repository navigation
fix(licensing): call the paid plan Pro, as the site and server now do - #3989
Merged
Merged
Conversation
The plan code stays starter in license payloads and on the server; only the name the app shows changes. The catalog drops the three keys no code uses any more.
datlechin
enabled auto-merge (squash)
November 2, 2026 13:31
datlechin
added a commit
that referenced
this pull request
Nov 2, 2026
Brings main's 43 commits, among them the Pro plan name (#3989), column masking (#3978) and the SSH host name hardening (GHSA-94m6-qx4g-cpwg). - LicenseTier, LicensePresentationTests, LicenseTierTests: stay deleted, since accounts replace license keys; the next commit renames the plan in AccountCodes instead. - ProFeature: keeps paidPlanRequirement; main changed only a comment on requiredTier, which this branch dropped. - TeamLibraryModels and its tests: stay deleted with /v1. The refused SSH host check main added to sanitized() now guards TeamLibraryChange.connection, and its test moves to TeamLibrarySyncTests. - MainEditorContentView: the Query Insights refresh main added reads FeatureAccess, not LicenseManager. - project.yml: the app links main's TableProInfluxDBCore and TableProQdrantCore; TableProAnalytics stays out. - Localizable.xcstrings: merged key by key; no key changed on both sides.
datlechin
added a commit
that referenced
this pull request
Nov 2, 2026
…16.6) AccountCodes names the starter code Pro, the name main gave the plan in #3989; entitlements still carry the code starter. The catalog's Pro key, which main already translates for every language, covers it, and the Starter key left with the merge.
datlechin
added a commit
that referenced
this pull request
Nov 2, 2026
* fix(security): tier SQL with one classifier for macOS and iOS Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-7WQZ7IBV. Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-85FM8CNF. Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-BO7086MJ. Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-DXB5GXHF. Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-RSL7CZQC. Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-TUTSEW23. Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-VEO0AP8A. Advisory: GHSA-3x6q-h487-r38w * fix(linux-grid): stop column moves at the row numbers, keep the focus in view and announce them (#3985) * feat(linux-sidebar): list functions, procedures, sequences and triggers (#3969) Co-authored-by: Ngo Quoc Dat <[email protected]> * feat(plugin-influxdb): add an InfluxDB 2 and 3 driver over HTTP (#3976) Co-authored-by: Ngo Quoc Dat <[email protected]> * feat(plugin-qdrant): add a Qdrant driver over the REST API (#3972) Co-authored-by: Ngo Quoc Dat <[email protected]> * feat(display-format): decode Protobuf schemas and Schema Registry values (#3979) Co-authored-by: Ngo Quoc Dat <[email protected]> * refactor(core): move the Linux core crates into a shared core workspace (#3986) * fix(security): import TableProSQLGrammar where the Flux classifier reads its tiers * docs(core): record the bindings, grid data, plugin ABI and SQL Server decisions (#3987) * fix(licensing): call the paid plan Pro, as the site and server now do (#3989) * fix(parsing): stop malformed replies and files from crashing, hanging or filling memory (#3991) --------- Co-authored-by: Nguyễn Nam Long <[email protected]>
datlechin
added a commit
that referenced
this pull request
Nov 2, 2026
* fix(security): tier SQL with one classifier for macOS and iOS Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-7WQZ7IBV. Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-85FM8CNF. Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-BO7086MJ. Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-DXB5GXHF. Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-RSL7CZQC. Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-TUTSEW23. Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-VEO0AP8A. Advisory: GHSA-3x6q-h487-r38w * fix(security): run external statements as approved and read only in the engine Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-AK0DTFEV. Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-2N5FN7X4. Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-A6ENWH1O. Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-AWAVHFV6. Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-DRI3Z3MD. Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-G0F69IT6. Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-KIUNV39X. Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-KYD5T4TJ. Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-LG65P706. Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-P5IW81B3. Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-PCUF2R3V. Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-UHVIMOF0. Advisory: GHSA-3xf7-86qj-4546 * fix(l10n): add the iOS strings the MongoDB and ClickHouse refusals use * fix(linux-clickhouse): hold user SQL and read-only connections to readonly=1 readonly=2 still let INSERT INTO FUNCTION file() write a file on the server (measured on 26.8). Advisory: GHSA-3xf7-86qj-4546 * feat(plugin-influxdb): add an InfluxDB 2 and 3 driver over HTTP (#3976) Co-authored-by: Ngo Quoc Dat <[email protected]> * feat(plugin-qdrant): add a Qdrant driver over the REST API (#3972) Co-authored-by: Ngo Quoc Dat <[email protected]> * feat(display-format): decode Protobuf schemas and Schema Registry values (#3979) Co-authored-by: Ngo Quoc Dat <[email protected]> * refactor(core): move the Linux core crates into a shared core workspace (#3986) * fix(security): import TableProSQLGrammar where the Flux classifier reads its tiers * fix(security): import TableProSQLGrammar where the gates read the shared classifier's tier * docs(core): record the bindings, grid data, plugin ABI and SQL Server decisions (#3987) * fix(licensing): call the paid plan Pro, as the site and server now do (#3989) * fix(parsing): stop malformed replies and files from crashing, hanging or filling memory (#3991) --------- Co-authored-by: Nguyễn Nam Long <[email protected]>
datlechin
added a commit
that referenced
this pull request
Nov 3, 2026
Brings main's 27 commits, among them one license and sync presentation (#4005), the Black Friday line (#3995), the update indicator and relaunch (#3993, #3997), running work (#4009), native notices (#4007) and the security merges for GHSA-3x6q-h487-r38w, GHSA-3xf7-86qj-4546, GHSA-6g2g-65r6-v5wh, GHSA-q2hp-vxv3-87fw, GHSA-6p9q-hc7v-cxmx and GHSA-vg8g-h6xp-6px5. - #4005: ported onto FeatureAccess. LicensePresentation.gate reads AccountState: signed out names a paid plan and offers Sign In beside Purchase License, an account without the feature gets Upgrade Plan, the device limit opens Settings > Account, and a lapsed or failed check reads as Settings > Account words it, with Try Again, so a paying customer is never sent to the pricing page. The pane's notice text moved to AccountSettingsContent.Notice so both read it. LicenseGateRow replaces ProBadge in the Sync, Linked Folders, Data Rewind and connection export rows, LicenseGateAlert serves Compare & Sync and Data Rewind, and the overlay renders the same notice. Try Again shows a spinner and the failed check's reason; Refresh in Settings > Account shows the reason too. Welcome shows the pane's first notice as a link (a plan being canceled stays in the pane), else Sign In. Dropped: the .suspended access, since an entitlement carries no suspended state, and LicenseManager's coalesced checks and stale-answer guard, since AccountServices already runs one check at a time and drops a refresh that lands after sign-out. - #3995: the Black Friday line shows when FeatureAccess.supportAudience is .prospect, the notion the day-30 ask reads. - #3989: ported before this merge, in e39c309. - #3993, #3997: merged as main has them; Welcome and the Sync pane keep UpdateCenter. - #4007: a Team Library publish that goes through shows no info alert on Welcome or in Favorites; the section shows the items. The queued and failed messages stay. - #4009: merged outside the Team Library. TeamLibraryStore's write generation, the shared in-flight pull, the refused second publish and the Team Library row in Settings > License are dropped: TeamLibrarySync runs syncs and publishes one at a time, bumps a generation on sign-out, and the Welcome and Favorites headers show the running sync, the last sync and a failure. - 726a167 (security): LicenseAPIClient and LiveTeamLibraryAPIClient follow redirects only on their own origin. Ported by giving the account URLSession SameOriginRedirects as its delegate, which covers token requests, /v2 calls and the team library. The pulled library keeps a connection's sign-in choice for the consent prompt: ported to TeamLibraryChange.connection, and its test moved to TeamLibrarySyncTests. Publishing needs nothing, since portableSettings keeps the choice by default. EnvVarReferenceConsent reads FeatureAccess. - DatabaseManager+Sessions: main's recovery guard and consent path, with Telemetry.connectionAttempted in place of MacAnalyticsProvider. - project.yml: PostHog stays and zstd goes, as main moved Kafka's codecs into TableProCore; the app links main's new products, without TableProAnalytics. - The storage rule, data-sync-storage.md: the paths main listed for the deleted TeamLibraryModels, TeamLibraryStore and MacAnalyticsProvider name TeamLibraryItem, TeamLibraryState and Telemetry, plus Account's stores. - Localizable.xcstrings: merged key by key in this branch's order; no key changed on both sides. 271 keys come from main; the three SSH host keys main removed are gone, as nothing uses them. - Tests deleted with the code this branch deleted: LicenseManagerDecisionTests, LicensePresentationTests and LicenseTierTests under Models, TeamLibraryModelsTests, TeamLibrarySyncCoordinatorTests, and the Macs link case in SupportLinksTests. New: LicensePresentationTests under Views/Settings, the sign-in choice case in TeamLibrarySyncTests and the redirect case in AccountConfigurationTests.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
starterin code, license payloads and on the server. Device counts still come from the server.Proas in use again.Test plan
LicenseTierTests/starterTierIsShownAsPro()(new) asserts the starter tier displays as Pro and Team as Team.LicensePresentationTests/recurringPlanStatesBoth()andplanWithoutCycle()pinned "Starter" on purpose and now expect "Pro".verify.sh: build PASS,test LicenseTierTests LicensePresentationTestsPASS (53 of 53), lint PASS, l10n PASS.