mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
bot/decrease-eslint-ratchet-baselines
4
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
9a25d270f4 |
docs(legal): Privacy Policy v6 (telemetry cookies, California opt-out, subprocessors) (#54090)
<!-- claude-slack-attribution --> _Requested by **Drew McLellan**, **Ali Waseem** · [Slack thread](https://supabase.slack.com/archives/C0161K73J1J/p1795452919979329?thread_ts=1795452919.979329&cid=C0161K73J1J)_ ## Problem **Before:** The latest Privacy Policy is Version 5 (effective November 2, 2026). Its cookie table has no entries for the extra PostHog telemetry (session replay), Usercentrics, ConfigCat, Stape, Vercel or LinkedIn, and it lists Fly.io and Tableau as recipients. ## Solution **After:** Adds Privacy Policy Version 6 as `apps/www/data/legal/privacy/v6.mdx` (a copy of v5 plus the changes below) and registers it first in the `versions` list in `apps/www/pages/privacy.tsx`, effective **November 25, 2026** (confirmed by Legal). v1 to v5 stay available in the version switcher. This publishes Legal's updated policy (Sofia Calado, "Supabase Privacy Policy version Nov 25, 2026.docx") so the policy text covers the extra PostHog telemetry the team needs to collect. **How:** Changes applied from the docx (tracked changes plus two untracked edits; the chapter 3 opt-out edit was withdrawn by Legal), wording kept as written by Legal: 1. Intro: removed the duplicated `"personal information",`. 2. California bullet: the "You can manage your preferences" sentence is replaced by a new paragraph on "sale"/"sharing" with advertising partners, the opt-out route (Privacy Settings or privacy@supabase.com) and Global Privacy Control. 3. User Content: "AI-powered support tools" becomes "AI-powered services". 4. EEA recipients tables: removed Fly.io (5 tables) and Tableau (3 tables) from the service provider lists; "we may share..." in the law enforcement row now starts with a capital W. 5. Cookie table (chapter 8): new rows Usercentrics, Vercel (untracked in the docx, Legal comment: "This is also a new line."), ConfigCat, Supabase (replaces `_sb_first_referrer`), Stape, PostHog session replay (30 days) and LinkedIn; YouTube moved from Strictly necessary to Functional; Cloudflare cookie names added (`_cf_bm`, `__cflb`); Stripe purpose reworded to "To detect and prevent..." on all three rows; Google Analytics 4 and Google Ads purposes and cookie names updated; "Google ads" replaces "one of our ads". 6. Text after the table: adds "We use Functional cookies to help the Site work more smoothly and consistently." and drops "and, where applicable, to deliver personalized ads" (an untracked edit in the docx). Skipped as docx export artifacts: the "Supabase Pte. Ltd. | Source" header line, "Contents" list wording, "(at the end of this document)" instead of the anchor link, heading capitalization/trailing period, whitespace-only tracked edits ("available here"), curly quotes. Typo fixed: the docx drops the space in "prevent fraudulent" and in `"personal information" or`. Chapter 3 (Modifying Account Information) is unchanged from v5 per Legal: the consent sentence about sharing data with third-party partners for AI-powered services stays as it was, so the redline's opt-out wording is not applied. Confirmed by Legal: the effective date. The Usercentrics, ConfigCat, Stape and LinkedIn cells are linked to the vendor policies Legal supplied; the Supabase row's "This Privacy Policy applies" intentionally has no extra link (it refers to this policy). Cloudflare cookie name corrected to `__cflb` (the docx had a stray space; confirmed by Legal). The third Stripe row (2 years) was also reworded to "To detect and prevent fraudulent payments and transactions." to match the other two (confirmed by Legal). Nothing is left unconfirmed. ## Review instructions 1. Diff `apps/www/data/legal/privacy/v6.mdx` against `v5.mdx` (ignore table column padding from the formatter) and check it matches the list above. 2. Check `apps/www/pages/privacy.tsx` lists Version 6 first with November 25, 2026. 3. Open the Vercel preview of `/privacy` and confirm v6 renders (California bullet, cookie table) and the switcher still shows v5 to v1. I could not open previews from the agent session. ## Checklist - [x] I have read [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) - [ ] N/A: no docs topic written or edited (legal page content only) 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01VBvtQX8X7t7w71qMkTvoXp --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
2dc0258b14 | docs(legal): Privacy Policy v5 (OpenAI cookie, click identifiers) (#52647) | ||
|
|
adca15deab |
chore(www): add Privacy Policy v4 (data controller entity, Freebuff cookie) (#50392)
<!-- ccr-slack-attribution --> _Requested by **Sofia Calado** · [Slack thread](https://supabase.slack.com/archives/C0161K73J1J/p1789462983606899)_ ## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES ## What kind of change does this PR introduce? Content update — a new version (v4) of the Privacy Policy legal page, added following the existing versioned-legal-page pattern (v1-v3 already present, selectable via a version dropdown). ## What is the current behavior? Before: On `/privacy`, the latest selectable version is "Version 3 — May 13, 2026". That text names "Supabase, Inc" as the entity you're dealing with — both in the opening paragraph ("Thank you for your interest in Supabase, Inc., ...") and again as the named data controller in the EEA/UK/Switzerland disclosures section ("Supabase, Inc is the data controller..."). The Section 8 cookie table (EEA cookies) lists nine cookies/rows (Stripe x3, Cloudflare x2, Youtube, hCaptcha, Posthog, Google Analytics 4, Google Ads, `_sb_first_referrer`) and does not mention Freebuff anywhere. ## What is the new behavior? After: `/privacy` gains a new "Version 4" entry in the dropdown, at the top of the list (selected by default). Reading Version 4, the same two passages instead name "Supabase Pte. Ltd." as the entity/data controller. The Section 8 cookie table gains one additional row for "Freebuff" (Type: Advertising; dropped when you visit the Site after interacting with a Freebuff ad; 30-day duration; purpose: measuring ad campaign performance and attributing conversions to ad clicks upon consent; linking to the Freebuff Privacy Policy), formatted identically to the existing rows. Versions 1-3 are unchanged and remain selectable. ## Additional context Two changes, scoped exactly as requested: 1. **Data controller entity**: every "Supabase, Inc" / "Supabase Inc." reference that names the data controller is replaced with "Supabase Pte. Ltd." — at the top of the policy and in the EEA disclosures section. No other "Supabase" references (e.g. plain brand mentions) were touched. 2. **Freebuff cookie row**: added to the Section 8 (EEA cookies) table, matching the existing table's markdown formatting exactly. **Open question — effective date needs Sofia/Nicole's input before merge.** No effective date was given for v4. The version-selector component (`LegalDocVersions`) requires a non-empty `effectiveDate` string per version to render (used both in the dropdown label and, for a single-version page, an on-page line) — there's no way to add the version without wiring some string. Following the pattern's convention of never inventing a plausible-looking date, `effectiveDate` is set to the literal placeholder `'TBD'` for v4 in `apps/www/pages/privacy.tsx`. **This must be replaced with a real effective date before this PR merges** — flagging for Sofia Calado / Nicole Kramer to confirm. **Validation**: `pnpm --filter=www build` fails in this sandbox due to an unrelated prebuild step (`docs` app's `build:federated-content` script needs live GitHub API credentials to fetch tags — 401 Bad credentials — not related to this change). `tsc --noEmit` on `apps/www` ran clean of any error touching `privacy.tsx` or the privacy `.mdx` files (all reported errors are pre-existing, about unrelated missing generated assets/images). As a direct substitute, all four `apps/www/data/legal/privacy/*.mdx` files (v1-v4) were compiled through the app's actual MDX pipeline (`@mdx-js/mdx` with the same `remark-code-hike` + `remark-gfm` + `rehype-slug` config as `next.config.mjs`) and all compiled successfully, confirming the new table syntax and content are valid MDX/GFM. Files touched: - `apps/www/data/legal/privacy/v4.mdx` (new) - `apps/www/pages/privacy.tsx` (added v4 to the `versions` array) 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01BzHiVEUzjvrwxgnxCrrER1 --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
76a9ba968c |
refactor(www): unify legal page shells and versioning (#48483)
<!-- ccr-slack-attribution --> _Requested by **Francesco Sansalvadore, Nicole Kramer** · [Slack thread](https://supabase.slack.com/archives/C0161K73J1J/p1785399057853249?thread_ts=1785399057.853249&cid=C0161K73J1J)_ ## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES ## What kind of change does this PR introduce? Refactor of the marketing site's legal pages, plus two small content fixes (removal of duplicated dates, two heading corrections) and two permanent redirects. ## What is the current behavior? The documents linked from the Legal Hub are built three different ways: - `/terms` and `/enterprise-terms` render a plain inline heading with no breadcrumbs. - `/sla`, `/support-policy`, `/aup` and `/privacy` are standalone MDX pages carrying their own layout. - `/legal/dpa` has a one-off centered heading and grid of its own. On top of that, the documents that already have a version selector *also* print a "Last Modified" line inside the document body, so the same fact is stated twice on the page. On `/terms` and `/enterprise-terms` the two statements disagree: the selector says "Version 2 — May 6, 2026" while the body says "Last Modified: 1 May 2026". `/privacy` handles its history differently again — earlier versions live at their own archived URLs (`/privacy-260316` and `/privacy-250528`), strung together by "Previous Version" links at the bottom of each page. ## What is the new behavior? Every legal page now renders through one shell: `PageHeader` with a `PageBreadcrumb`, so the Legal Hub is one click away from any document. - The duplicate "Last Modified" rows are removed from the five versioned documents. The version selector is now the single place a date appears. - `/aup` and `/privacy` gain the version selector. - `/privacy`'s three historical versions are now selectable from the one page, and the two old archived URLs permanently redirect to it. - `/sla` and `/support-policy` pick up the shell and breadcrumbs but intentionally show neither a date nor a selector — neither document has ever carried one, and Legal asked that the SLA stay that way for now. Implementation-wise the canonical pattern is the one the Data Processing Addendum page was already using: `DefaultLayout` > `NextSeo` > `PageHeader` (with a `breadcrumb` slot) > `MDXProvider` > `SectionContainer className="prose"` > `LegalDocVersions`. The standalone MDX pages were moved to `apps/www/data/legal/<slug>/vN.mdx` as bare content partials, with a new TSX shell taking over the original route. No route changed except the two archived privacy pages, which redirect. Dates were carried across from the "Last Modified" lines being deleted rather than invented: `/aup` becomes Version 1 — June 1, 2026, and privacy v1/v2/v3 become May 28 2025, March 16 2026 and May 13 2026. ## Additional context **This is a stacked PR.** It is sequenced behind three PRs that touch the same files and should land first: the Terms of Service v3 bump, the Enterprise SaaS Subscription Agreement v3 bump, and #48481 (DPA effective date → August 1, 2026). #48481 edits the very "Last Modified" line this PR removes from the DPA content file, so a trivial conflict there is expected. This branch will be rebased onto master before it leaves draft. **Two contracts now contain a clause that no longer describes the page.** `apps/www/data/legal/terms/v1.mdx` and `v2.mdx` — and the same sentence in the MPPA and both integration-partner addenda — still read "The date on which the Agreement was last modified will be updated at the top of this Agreement". There is no longer a date in the document body; it sits in the version selector above it. Left untouched here because it is contract text, but Legal should re-word it. **The date mismatch is resolved in favour of the selector.** On `/terms` and `/enterprise-terms`, deleting the body line leaves May 6, 2026 as the only date on the page. Nicole Kramer confirmed in Slack that May 6 is the correct date. **Two headings change visibly**, to line up with the labels used on the Legal Hub: "Terms of service" → "Terms of Service", and "Service Level Agreements" → "Service Level Agreement". **`/legal/dpa` now looks almost identical to `/legal/customer-resources/data-processing-addendum`** — same heading, same breadcrumb, different content. The legacy page is a PDF download plus a signing flow and was deliberately left live, but the overlap is more obvious than it was. Redirecting it to the versioned page is the natural follow-up; it is not done here. **Build verification was incomplete in this environment.** `pnpm install` could not finish because `npm.jsr.io` is blocked by network policy (403), so `next build` never gave a real signal. What did run and pass: - `tsc --noEmit` on `apps/www`, with output byte-identical to clean master - ESLint on every changed file — 0 errors - Prettier using the repo's actual config - a direct MDX compile of all 14 `data/legal/**/*.mdx` files using the app's own MDX options The one thing left unverified is webpack resolving `ui-patterns/PrivacySettings` from the privacy content's new directory. CI will confirm that. Co-authored-by: Claude <noreply@anthropic.com> |