mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
bot/decrease-eslint-ratchet-baselines
28
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
5be070974d | Add Data Processing Addendum v2 (effective December 1, 2026) (#54301) | ||
|
|
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> |
||
|
|
d6c9751f16 |
legal: add Supplemental Terms version 2 (November 24, 2026) (#53944)
<!-- claude-slack-attribution --> _Requested by **Nicole Kramer** · [Slack thread](https://supabase.slack.com/archives/C0161K73J1J/p1795524649703999)_ **Before:** The hidden Supplemental Terms page (`/legal/customer-resources/supplemental-terms`) lists only Version 1 (October 27, 2026). **After:** The page lists Version 2 (November 24, 2026) first, with Version 1 still available in the version list. The page remains unlinked from navigation and `noindex`/`nofollow`. Adds version 2 of the Supplemental Terms (Germany: Professional Secrecy) from the supplied Word file. **How:** The docx was converted with `pandoc -f docx -t gfm --wrap=none` and written to `v2.mdx` following the v1 conventions (Heading 1 becomes `##`, Heading 2 becomes `###`, no title heading, no `_Last Modified:_` line, the Google Form link kept as `[url](url)`). Text is verbatim from the source. `supplemental-terms.tsx` imports `V2` and adds it as the first entry in `versions`; the v1 entry is unchanged. ## Review instructions 1. Open the preview at `/legal/customer-resources/supplemental-terms` and confirm Version 2 is the default and Version 1 is selectable. 2. Compare `v2.mdx` against the source docx for text accuracy. --- _Generated by [Claude Code](https://claude.ai/code)_ Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
7637c6d5ee |
docs(www): update SLA agreement reference and hide from Legal Hub (#53618)
<!-- claude-slack-attribution --> _Requested by **Nicole Kramer** · [Slack thread](https://supabase.slack.com/archives/C0161K73J1J/p1795012270095809)_ **Before:** The SLA page (`/sla`) opened by incorporating "the Subscription Agreement between Supabase, Inc. and Customer" for "Enterprise Customers", and it was listed under Customer Legal Resources on the Legal Hub and indexable by search engines. **After:** The SLA page incorporates the Enterprise SaaS Subscription Agreement (linked at https://supabase.com/enterprise-terms, or such other agreement entered into between Supabase and Customer) and applies to "Customers subscribed to an Enterprise Plan". The page is no longer listed on the Legal Hub and is `noindex, nofollow`, so it is reachable only by direct URL, like `/enterprise-terms`. Updates the SLA preamble wording as provided by Legal and hides `/sla` from the Legal Hub and search engines. ## Solution - `apps/www/data/legal/sla/v1.mdx`: replaced the opening paragraph with Legal's wording. The text is unchanged except that the quoted term uses straight quotes (`the "Agreement"`) to match the rest of the file. The URL is a bare URL, which remark-gfm autolinks, the same way `enterprise-terms` MDX does. The SLA is a single `v1.mdx` with no version selector or effective date, so it is edited in place and no versioning is introduced. - `apps/www/pages/legal/index.tsx`: removed the SLA entry from the Customer Legal Resources links, the same way `/enterprise-terms` is absent from the hub. - `apps/www/pages/sla.tsx`: added `noindex: true` and `nofollow: true` to the `NextSeo` meta, plus a short comment matching the one in `supplemental-terms.tsx`. - `apps/www/next.config.mjs`: added an `X-Robots-Tag: noindex, nofollow` header rule for `/sla`, next to the existing `/enterprise-terms` rule. Other pages that link to `/sla` (the Support Policy and a few docs guides) are intentionally unchanged, since direct links keep working. `generate-sitemap.mjs` has no exclusion for `/enterprise-terms`, so none was added for `/sla` either. ## Review instructions 1. Open `/legal` on the preview and confirm Service Level Agreement is no longer listed under Customer Legal Resources. 2. Open `/sla` on the preview and confirm the first paragraph matches the new wording and that "https://supabase.com/enterprise-terms" is a working link. 3. Check the `/sla` response has `X-Robots-Tag: noindex, nofollow` and the page has a `noindex, nofollow` robots meta tag. ## Checklist Check all before review: - [ ] I have read [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) - [ ] If I wrote a new docs topic or edited an existing topic, I used the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs [style guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide) --- _Generated by [Claude Code](https://claude.ai/code/session_01VBvtQVPkbcDz2ojrwur2SF)_ Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> |
||
|
|
d421451672 |
feat(www): add hidden Supabase for Platforms Addendum legal page (#52154)
<!-- claude-slack-attribution --> _Requested by **Nicole Kramer** · [Slack thread](https://supabase.slack.com/archives/C0161K73J1J/p1792676080898989)_ **Before:** There is no Supabase for Platforms Addendum page. The Customer Legal Resources section of the Legal Hub has no terms page for it, and there is nothing at `/legal/customer-resources/SFP-addendum`. **After:** `/legal/customer-resources/SFP-addendum` renders the "Supabase for Platforms Addendum" with a version selector showing "Version 1 — October 22, 2026". The page is reachable by direct link only. It is not listed in the Legal Hub, and it carries `noindex, nofollow` like `/enterprise-terms` and `/legal/customer-resources/supplemental-terms`. ## Problem Legal needs a hidden, versioned terms page for the Supabase for Platforms Addendum under Customer Legal Resources. ## Solution Adds a new pages-router page and a `v1.mdx` data file, mirroring `supplemental-terms.tsx` and the `LegalDocVersions` pattern used by `enterprise-terms` and the DPA. Hiding follows the same approach as `supplemental-terms`: `noindex`/`nofollow` via `NextSeo`, and no entry in the Legal Hub link list in `apps/www/pages/legal/index.tsx`. How: the MDX text was generated from the supplied Word file (revised twice after the first draft; the page text matches the latest file), and the markup-stripped result was diffed against the paragraph text in `word/document.xml`. The paragraph count (53, including table cells) and word count (2,373) match, with zero text differences. Wording is preserved verbatim, including its quirks. Formatting notes for reviewers: - The Word file's title line ("SUPABASE FOR PLATFORMS ADDENDUM") is not repeated in the body, because the page header supplies the title. The file has no date line. - The fee schedule is a Markdown table. The cell with three bullets uses `<br />` line breaks, the same technique as the table in `data/legal/sla/v1.mdx`. - Quoted defined terms are bolded inside the quotes (`"**Term**"`) per the repo's legal MDX convention. - The two `https://supabase.com/...` links are bare URLs, as in the Word file's hyperlinks, and autolink. - Two non-ASCII characters from the source are kept as-is: an em dash (4x) and a greater-than-or-equal sign (1x). - The route is case-sensitive, so the file is `SFP-addendum.tsx`. The lowercase URL `/legal/customer-resources/sfp-addendum` is not expected to resolve. ## Review instructions 1. Open the preview at `/legal/customer-resources/SFP-addendum` (preview base URL is on the Vercel bot comment). 2. Confirm the header reads "Supabase for Platforms Addendum" with the Legal / Customer Legal Resources breadcrumb, and the version line reads "Version 1 — October 22, 2026". 3. Confirm the page source has `<meta name="robots" content="noindex,nofollow">` and that the page is not linked from `/legal`. 4. Skim the fee table in section 4 and the lettered subsections for rendering. ## Checklist - [ ] I have read [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) - [ ] Docs checklist item: not applicable (no docs topic changed) 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014rEZad6NnPxuH39snHH1gT --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
2dc0258b14 | docs(legal): Privacy Policy v5 (OpenAI cookie, click identifiers) (#52647) | ||
|
|
e959031675 |
feat(www): add Candidate Privacy Notice legal page and careers link (#52388)
<!-- claude-slack-attribution --> _Requested by **Sofia Calado** · [Slack thread](https://supabase.slack.com/archives/C0161K73J1J/p1793106267476009)_ **Before:** The Candidate Privacy Notice only existed as a PDF. The Legal Hub's "Privacy Resources" section listed the Data Processing Addendum, the Subprocessor List and the Data Residency and Transfers FAQ, and the /careers page had no link to any candidate privacy information. **After:** The notice is a native, indexable page at `/legal/privacy-resources/candidate-privacy-notice`, showing "Version 1 — October 28, 2026" at the top left of the document. It is listed in the "Privacy Resources" section of the Legal Hub, and linked from the "Open positions" section at the bottom of `/careers`. This publishes the Candidate Privacy Notice as a web page and links it from the Legal Hub and the careers page. ## Problem Legal asked for the Candidate Privacy Notice to be published as a page in the Legal Hub under "Privacy Resources", with a link from the careers page. This is the first published version ("Version 1", October 28, 2026), so the page has a single version entry. The text is Legal's final PDF, whose internal filename says "v.2.0" (an internal draft number, not a published version). ## Solution How: the page mirrors the sibling Privacy Resources pages (`DefaultLayout` > `NextSeo` > `PageHeader` with a Legal / Privacy Resources breadcrumb > `MDXProvider` > `LegalDocVersions`) with a single `v1` entry, so the version line renders as "Version 1 — October 28, 2026" above the body, the same as the other legal pages. The source PDF has no version or date text; both were supplied by the requester. The body is `data/legal/privacy-resources/candidate-privacy-notice/v1.mdx`, transcribed verbatim from the final PDF, except for the three deliberate edits below. Headings, bullet lists, the numbered list, bold run-ins and the three tables follow the PDF; tables are Markdown tables styled by the existing prose styles (the PDF's colors are not reproduced, and the two grey sub-header rows in the first table are bold rows in the first column). The "Communicatio ns" in the PDF table is a line wrap and renders as "Application Communications". Link targets are taken from the PDF: `mailto:privacy@supabase.io`, `https://www.pdpc.gov.sg`, `https://www.ico.org.uk`, `https://www.edoeb.admin.ch`, `https://cppa.ca.gov` and `https://www.edpb.europa.eu/about-edpb/our-members_en`. The sitemap is generated from `pages/**/*.tsx`, so the new route is included without changes. Deliberate deviations from the PDF, at the requester's direction: - The first mention of EOR, the "EOR Service Providers" row label, reads "Employer of Record (EOR) Service Providers". Later mentions stay "EOR". - The EU/EEA link in "File a Complaint" shows `edpb.europa.eu/about-edpb/our-members_en` (domain without `https://`, like the other links in that list) and links to `https://www.edpb.europa.eu/about-edpb/our-members_en`. The PDF shows the full URL as the text. - The "Legal Hub" link in "What If This Notice Changes?" is the relative `/legal` (the PDF links to `https://supabase.com/legal`). The /careers link is one `<p>` at the end of the "Open positions" section, after the "Join community" row, using the same small muted text and `text-foreground hover:underline` link classes as the privacy-policy line in `RequestADemoForm`. No new components or styles; `Globe` and the scroll behavior are untouched. ## Review instructions 1. Open `/legal` and check "Privacy Resources" lists "Candidate Privacy Notice" after the Data Residency and Transfers FAQ. 2. Open `/legal/privacy-resources/candidate-privacy-notice`, check the breadcrumb, the "Version 1 — October 28, 2026" line at the top left, and the three tables and numbered list; compare the text with the source PDF. 3. Click the email and regulator links (including the EU/EEA one), and the "Legal Hub" link (goes to `/legal`). 4. Open `/careers`, scroll to the bottom of "Open positions", and check the new privacy notice line and its link. ## Open questions for Legal Left exactly as written in the PDF, in case Legal wants to change the source text: - "Supabase Pte. Ltd. or Supabase Inc., (collectively" has a comma before the parenthesis. - "Information We Collect About You?", "Sensitive Personal Information We May Collect About You?", "How We May Share Personal Information with Third Parties?" and "Where Your Data May Be Transferred?" are headings with a question mark that are not questions. - "our/EOR’s" uses a curly apostrophe; the rest of the notice uses straight quotes. - "offer letter and /or employment agreement" has a space before "/or". - The numbered list ends "Final decision: Humans decide to hire or reject;" with a semicolon, and the "EOR Service Providers" table cell has no final period. - Numbered item 1 reads "Sourcing: Algorithms identify and contact candidates;" with no human step, while the lead-in says every recruitment decision involves human review and items 2 to 4 each name a human step. - The notice says it updates the "last version" date, while the page shows "Version 1 — October 28, 2026". ## Checks - Prettier (repo options, without the SQL and import-sort plugins, which are not installed) passes on the changed files. - The MDX compiles with `@mdx-js/mdx` + `remark-gfm` + `rehype-slug` (same plugins as `next.config.mjs`) and renders to HTML. - Text comparison of the rendered MDX against the PDF text: the only differences are the deliberate edits above. Bold words and heading levels match the PDF. - Not run: `pnpm install` is blocked in this environment, so `tsc`, lint, `next build` and the preview were not run. The EDPB link was not opened (egress-blocked). 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01VBvtQVchiAw9yFqzoWNhQh --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
8635496932 |
docs(www): add Supplemental Terms Version 1 text (#52368)
<!-- claude-slack-attribution --> _Requested by **Nicole Kramer** · [Slack thread](https://supabase.slack.com/archives/C0161K73J1J/p1793097128831369)_ **Before:** The hidden Supplemental Terms page (`/legal/customer-resources/supplemental-terms`) showed one placeholder sentence, and its Version 1 label had an effective date of "TBD". **After:** The page shows the full text of the 2026.10.20 Supplemental Terms document (Section 1, Germany: Professional Secrecy) as Version 1, with an effective date of October 27, 2026. This replaces the placeholder copy with the real Supplemental Terms text as Version 1. ## How - `apps/www/data/legal/customer-resources/supplemental-terms/v1.mdx` now holds the document text, converted with pandoc and checked word-for-word against the docx (13 paragraphs, identical apart from the short form URL noted below). The one numbered top-level section and its six lettered subsections use the same `##` / `###` heading levels as the DPA. No `_Last Modified:_` line and no frontmatter, matching the DPA and other versioned pages. - The form link in Section 1.a is shown via the short URL `https://supabase.link/germanyprofessionalsecrecy` (link text and href) instead of the long Google Form URL in the docx, as requested by Legal. It is a markdown link, since MDX does not support bare `<...>` autolinks. - `apps/www/pages/legal/customer-resources/supplemental-terms.tsx`: the page already uses `LegalDocVersions` and the `versions` array like the DPA page. The only change is `effectiveDate: 'TBD'` to `'October 27, 2026'` (confirmed by Legal). - Page visibility is unchanged: still `noindex`/`nofollow` and not linked from the Legal Hub. ## Review instructions 1. Open the preview at `/legal/customer-resources/supplemental-terms` (direct URL only; the page is not in the Legal Hub). 2. Check the header reads "Version 1 — October 27, 2026" and the text matches the Word document. ## Notes - Local typecheck, lint and build could not be run because `pnpm install` is blocked in this environment. Prettier (3.8.0, repo options) passes on the MDX file. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01VBvtQSeMbNzFwFgzHQ5K9L --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
b2d7ddbdf3 |
feat(www): add Business Associate Agreement legal page (#52227)
<!-- claude-slack-attribution --> _Requested by **Nicole Kramer** · [Slack thread](https://supabase.slack.com/archives/C0161K73J1J/p1792759190025999)_ ## Problem **Before:** there is no Business Associate Agreement (BAA) page in the Legal Hub. **After:** a new page at `/legal/customer-resources/business-associate-agreement`, listed in the Legal Hub (`/legal`) under Customer Legal Resources, and indexable like any standard page (no noindex/nofollow, no header rule; the sitemap is generated from `pages/**/*.tsx`, so it is included automatically). Adds a versioned BAA page whose text is the Word doc `2026.10.23 - Supabase - BAA.docx`. ## Solution Mirrors the Data Processing Addendum page: `apps/www/pages/legal/customer-resources/business-associate-agreement.tsx` uses `LegalDocVersions` with a newest-first `versions` array, and the content is in `apps/www/data/legal/customer-resources/business-associate-agreement/v1.mdx`. The doc was converted with pandoc and hand-fixed to the legal MDX conventions (ASCII quotes, bare URLs, bold defined terms inside quotes, literal `(i)`/`(a)` paragraphs, `##` numbered section headings). The doc's title line "Business Associate Agreement" is not repeated in the MDX because the page renders it as the h1. **Version and date:** per Nicole, the version and date show only in the page header ("Version 1 - October 23, 2026", via `effectiveDate: 'October 23, 2026'`), like the rest of the Legal Hub. The doc's two body placeholder lines ("Version 1 - [Month Day, 2026]" and "Last modified: [Month Day, 2026]") are removed from the body. **Two wording edits, both per Nicole:** 1. First paragraph: `(as applicable, "Supabase")` now reads `(as applicable, "Supabase" or "Business Associate")`. 2. Section 15: `and the "Last modified" date at the top of this BAA will be updated accordingly.` now reads `and the date at the top of this BAA associated with the current version of this BAA, will be updated accordingly.` **Formatting change, per Nicole:** 10.10, 10.11, 11.1, 11.2 and 11.3 were headings in the Word doc. They are now plain numbered paragraphs, matching 2.1-2.3 and 10.1-10.9 (markup only, text unchanged). Their body paragraphs and the nested (i)/(ii)/(a)/(b) paragraphs under 11.2 are unchanged. Nothing in the repo linked to the removed heading anchors. Everything else is verbatim from the doc: after applying the two removed lines and the two wording edits, the docx and MDX have 61 paragraphs each with 0 differences (title line excluded). The docx has no tracked changes and no comments. ## Open questions / oddities (wording left untouched) 1. In 11.2 the doc indents (i)/(ii) and (a)/(b) as nested items. Per the legal MDX convention they render as flat, unindented paragraphs, so the nesting is not visually represented. 2. Curly quotes are normalized to straight quotes (ASCII convention). 3. The page uses the same `prose` wrapper as the DPA page. There are no headings containing a literal "(c)", so `legal-prose` is not needed. ## Review instructions 1. Open the Vercel preview for `www` and go to `/legal`. The BAA should be listed under Customer Legal Resources. 2. Open `/legal/customer-resources/business-associate-agreement` and compare it with the Word doc. The header should show "Version 1 - October 23, 2026" and the body should have no version or date lines. 3. Check that the page has no noindex meta tag and no `X-Robots-Tag` header. Checks run locally: prettier (repo options, minus the SQL plugin) passes, the case-hazard script passes, and the docx-versus-MDX text diff shows 0 differences beyond the known edits. Typecheck, lint and tests were not run because `pnpm install` fails in this sandbox. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01HY4xb77U7SvkyMJP5kPJLs --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
f44dc42b0c |
Add Enterprise Terms v4.1 (effective October 9, 2026) (#51474)
<!-- ccr-slack-attribution --> _Requested by **Nicole Kramer** · [Slack thread](https://supabase.slack.com/archives/C0161K73J1J/p1790784371448999)_ ## Problem Three corrections to the Enterprise SaaS Subscription Agreement (supabase.com/enterprise-terms): a typo in the contracting-entity sentence of Section 1.9, and conforming AWS Marketplace wording in Sections 5.1 and 14.1. ## Solution Adds Enterprise Terms v4.1 (effective October 9, 2026) as `apps/www/data/legal/enterprise-terms/v4-1.mdx`, a copy of v4 with only the changes below, and registers it as the newest version in `apps/www/pages/enterprise-terms.tsx`. v4 stays available through the version selector. The page remains `noindex`/`nofollow`. ### Section 1.9 (second sentence) **Before:** For clarity, unless an Order expressly specifies otherwise, the Supabase entity contracting with Customer hereunder will be (i) Supabase, Inc., having its registered address at 3500 S. DuPont Highway, Dover, Kent County, DE 19901, if Customer is purchasing via a cloud service provider marketplace, or (ii) Supabase Pte. Ltd., a Singapore corporate entity with a place of business located at 65 Chulia Street #38-02/03, OCBC Centre, Singapore 049513, if Customer is not purchasing via a cloud service provider marketplace. **After:** For clarity, unless an Order expressly specifies otherwise, the Supabase entity contracting with Customer hereunder will be (i) Supabase, Inc., having its registered address at 3500 S. DuPont Highway, Dover, Kent County, DE 19901, if Customer is purchasing via the marketplace operated by Amazon Web Services, Inc. or its affiliates, located at https://aws.amazon.com/marketplace, as it may be updated from time to time ("**AWS Marketplace**"), or (ii) Supabase Pte. Ltd., a Singapore corporate entity with a place of business located at 65 Chulia Street #38-02/03, OCBC Centre, Singapore 049513, if Customer is not purchasing via AWS Marketplace. ### Section 5.1 (body) **Before:** Where paid-for services are agreed between Supabase and Customer per the applicable Order, Customer shall pay Supabase the fees ("**Fees**") identified in the Order without offset or deduction at the cadence identified in the Order (e.g., monthly or annually). Unless otherwise provided in the applicable Order, (i) Customer will pay the Fees within thirty (30) days of the issuance of an invoice, (ii) Fees are payable by credit card or other payment method permitted by Supabase from time to time, (iii) payment will be in USD, and (iv) Customer authorizes Supabase to charge its provided billing method for all Fees. Notwithstanding the foregoing, where Customer purchases via a cloud service provider marketplace, Customer will pay the Fees through the applicable marketplace in accordance with the applicable marketplace terms. Customer further authorizes Supabase to use a third party to process payments, and consents to the disclosure of Customer's payment information to such third party. Fees paid by Customer are non-refundable (except as set forth in Sections 10.3 or 11.1(b)). Where Customer purchased the applicable Services via a cloud service provider marketplace, any refund owed to Customer under this Agreement will be paid or credited back through the applicable marketplace, and not directly by Supabase to Customer. If Customer fails to make any payment when due, and Customer has not notified Supabase in writing within ten (10) days of the payment becoming due and payable that the payment is subject to a good faith dispute, without limiting Supabase's other rights and remedies: (a) Supabase may charge interest on the undisputed past due amount at the rate of 1.5% per month, calculated daily and compounded monthly or, if lower, the highest rate permitted under applicable law; (b) Customer shall reimburse Supabase for all reasonable costs incurred by Supabase in collecting any late payments or interest, including attorneys' fees, court costs, and collection agency fees; and (c) if such failure continues for ten (10) days or more, Supabase may suspend Customer's and its Authorized Users' access to any portion or all of the Services until such amounts are paid in full. **After:** Where paid-for services are agreed between Supabase and Customer per the applicable Order, Customer shall pay Supabase the fees ("**Fees**") identified in the Order without offset or deduction at the cadence identified in the Order (e.g., monthly or annually). Unless otherwise provided in the applicable Order, (i) Customer will pay the Fees within thirty (30) days of the issuance of an invoice, (ii) Fees are payable by credit card or other payment method permitted by Supabase from time to time, (iii) payment will be in USD, and (iv) Customer authorizes Supabase to charge its provided billing method for all Fees. Notwithstanding the foregoing, where Customer purchases via AWS Marketplace, Customer will pay the Fees through the AWS Marketplace in accordance with the terms applicable to the AWS Marketplace. Customer further authorizes Supabase to use a third party to process payments, and consents to the disclosure of Customer's payment information to such third party. Fees paid by Customer are non-refundable (except as set forth in Sections 10.3 or 11.1(b)). Where Customer purchased the applicable Services via AWS Marketplace, any refund owed to Customer under this Agreement will be paid or credited back through the AWS Marketplace, and not directly by Supabase to Customer. If Customer fails to make any payment when due, and Customer has not notified Supabase in writing within ten (10) days of the payment becoming due and payable that the payment is subject to a good faith dispute, without limiting Supabase's other rights and remedies: (a) Supabase may charge interest on the undisputed past due amount at the rate of 1.5% per month, calculated daily and compounded monthly or, if lower, the highest rate permitted under applicable law; (b) Customer shall reimburse Supabase for all reasonable costs incurred by Supabase in collecting any late payments or interest, including attorneys' fees, court costs, and collection agency fees; and (c) if such failure continues for ten (10) days or more, Supabase may suspend Customer's and its Authorized Users' access to any portion or all of the Services until such amounts are paid in full. ### Section 14.1 (last sentence) **Before:** For clarity, the terms of any cloud service provider marketplace apply solely with respect to the payment matters described in Section 5.1 and do not otherwise amend or supersede this Agreement. **After:** For clarity, the terms of the AWS Marketplace apply solely with respect to the payment matters described in Section 5.1 and do not otherwise amend or supersede this Agreement. ## Review instructions 1. Open `/enterprise-terms` on the preview; the selector defaults to "Version 4.1 — October 9, 2026". 2. Check Sections 1.9, 5.1, and 14.1 match the After text above. 3. Switch to "Version 4 — October 5, 2026" (or `?version=v4`) and confirm it is unchanged. ## Checklist - [ ] I have read [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) 🤖 Generated with [Claude Code](https://claude.ai/code) https://claude.ai/code/session_01K2vqszbsJiMJPABAnLMgaC --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
05bca9e9d1 |
Add Terms of Service v4.1 (effective October 9, 2026) (#51473)
<!-- ccr-slack-attribution --> _Requested by **Nicole Kramer** · [Slack thread](https://supabase.slack.com/archives/C0161K73J1J/p1790784371448999)_ ## Problem This adds v4.1 (effective October 9, 2026) of the Terms of Service. It corrects the second sentence of Section 1.j (which Supabase entity contracts with the Customer) and conforms Sections 5(a) and 14(a) to the new "AWS Marketplace" defined term. Nothing else in the document changes, and v4 stays available through the version selector. ### Section 1.j, second sentence **Before:** For clarity, unless an Order expressly specifies otherwise, the Supabase entity contracting with Customer hereunder will be (i) Supabase, Inc., having its registered address at 3500 S. DuPont Highway, Dover, Kent County, DE 19901, if Customer is purchasing via a cloud service provider marketplace, or (ii) Supabase Pte. Ltd., a Singapore corporate entity with a place of business located at 65 Chulia Street #38-02/03, OCBC Centre, Singapore 049513, if Customer is not purchasing via a cloud service provider marketplace. **After:** For clarity, unless an Order expressly specifies otherwise, the Supabase entity contracting with Customer hereunder will be (i) Supabase, Inc., having its registered address at 3500 S. DuPont Highway, Dover, Kent County, DE 19901, if Customer is purchasing via the marketplace operated by Amazon Web Services, Inc. or its affiliates, located at [https://aws.amazon.com/marketplace](https://aws.amazon.com/marketplace), as it may be updated from time to time ("AWS Marketplace"), or (ii) Supabase Pte. Ltd., a Singapore corporate entity with a place of business located at 65 Chulia Street #38-02/03, OCBC Centre, Singapore 049513, if Customer is not purchasing via AWS Marketplace. ### Section 5(a) (Fees) **Before:** ... Notwithstanding the foregoing, where Customer purchases via a cloud service provider marketplace, Customer will pay the Fees through the applicable marketplace in accordance with the applicable marketplace terms. Fees paid by Customer are non-refundable. Where Customer purchased the applicable Services via a cloud service provider marketplace, any refund owed to Customer under this Agreement will be paid or credited back through the applicable marketplace, and not directly by Supabase to Customer. ... **After:** ... Notwithstanding the foregoing, where Customer purchases via AWS Marketplace, Customer will pay the Fees through AWS Marketplace in accordance with the terms applicable to AWS Marketplace. Fees paid by Customer are non-refundable. Where Customer purchased the applicable Services via AWS Marketplace, any refund owed to Customer under this Agreement will be paid or credited back through the AWS Marketplace, and not directly by Supabase to Customer. ... The rest of 5(a) is unchanged. ### Section 14(a) (Entire Agreement), last sentence **Before:** For clarity, the terms of any cloud service provider marketplace apply solely with respect to the payment matters described in Section 5(a) and do not otherwise amend or supersede this Agreement. **After:** For clarity, the terms of AWS Marketplace apply solely with respect to the payment matters described in Section 5(a) and do not otherwise amend or supersede this Agreement. ## Solution - Add `apps/www/data/legal/terms/v4-1.mdx`, a copy of `v4.mdx` with only three passages changed: the second sentence of Section 1.j, the marketplace wording in Section 5(a), and the last sentence of Section 14(a). The AWS Marketplace URL in 1.j is formatted as a markdown link, like the other URLs in the document. - Register `v4-1` in `apps/www/pages/terms.tsx` as the newest entry (label "Version 4.1", effective October 9, 2026). v4 and older entries are unchanged. ## Preview links | Site | Live | Preview | | ---- | ---- | ------- | | WWW | [/terms](https://supabase.com/terms) | See the Vercel bot comment on this PR (`/terms`) | ## Review instructions 1. Open `/terms` on the preview. The version selector should default to "Version 4.1 — October 9, 2026". 2. Check Sections 1.j, 5(a), and 14(a) read as in the **After** text above. 3. Switch the selector to "Version 4" and confirm they still read as in the **Before** text. ## Checklist - [x] I have read [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) - [ ] If I wrote a new docs topic or edited an existing topic, I used the `/write-the-docs` or `/edit-the-docs` skill (not applicable: legal page change) 🤖 Generated with [Claude Code](https://claude.ai/code) https://claude.ai/code/session_01K2vqszbsJiMJPABAnLMgaC --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
7776b1f7ee |
docs(www): add Data Residency and Transfers FAQ legal page and Privacy Resources hub section (#51318)
<!-- ccr-slack-attribution --> _Requested by **Sofia Calado** · [Slack thread](https://supabase.slack.com/archives/C0161K73J1J/p1791273150504749?thread_ts=1791273150.504749&cid=C0161K73J1J)_ **Before:** The Data Residency and Transfers FAQ only existed as a PDF. The Legal Hub (`/legal`) listed the Data Processing Addendum and the Subprocessor List under "Customer Legal Resources", with no privacy-specific grouping. **After:** The FAQ is a native, indexable page at `/legal/privacy-resources/data-residency-and-transfers-faq`. The Legal Hub has a new "Privacy Resources" section with the Data Processing Addendum, the Subprocessor List and the FAQ. The DPA and Subprocessor List URLs are unchanged. This publishes the FAQ as a web page and groups it with the other privacy documents in the Legal Hub. ## Problem The FAQ needs to be discoverable on supabase.com (including search) and linked from the Legal Hub next to the DPA and Subprocessor List. ## Solution How: the page mirrors the DPA shell (`DefaultLayout` > `NextSeo` > `PageHeader` with `PageBreadcrumb` > `MDXProvider` > `LegalDocVersions`) with a single `v1` entry. The body is `data/legal/privacy-resources/data-residency-and-transfers-faq/v1.mdx`, transcribed verbatim from the source PDF (17 questions in 9 sections), with one correction confirmed by the requester: the marketplace Note names "Supabase, Inc.", and the "plan documentation" link points to `/docs/guides/platform/backups`. The Transfer Impact Assessment has no direct link, so it and the Trust Center link go to `https://trust.supabase.io`, as confirmed by the requester. The version date reads "October 6, 2026", per the requester (the source PDF gave only the month), and the closing "Last updated / Owner" line from the PDF is dropped. Further edits made at the requester's direction: the Usage Information bullet in the retention answer no longer states a log purge period, and the Usage Information category in the data-location answer now says "processors". PDF hyperlinks are mapped to real routes. The hub gets a `privacy-resources` section, and the DPA and Subprocessor List breadcrumbs now point to it (text and anchor only). The sitemap is generated from `pages/**/*.tsx`, so the new route is included without changes. ## Review instructions 1. Open `/legal` and check the "Privacy Resources" section lists the three documents, and "Customer Legal Resources" still lists Terms of Service, Support Policy and Service Level Agreement. 2. Open `/legal/privacy-resources/data-residency-and-transfers-faq` and compare the text with the source PDF. 3. Click through the links in the page, and the breadcrumbs on the DPA and Subprocessor List pages. ## Open questions for Legal None remaining. The requester's edits are applied: the closing "Last updated" line is removed, the ISO 27001 / SOC 2 link goes to `/security`, the "Legal Hub" link in the subprocessor question goes to `/legal`, and the meta description wording is confirmed. ## Checks - `pnpm install --filter www...` worked. Prettier check passes on the touched files, MDX compiles, and `next dev` renders both `/legal` and the new page (200, indexable, canonical set). - Full `tsc`/lint/`next build` were not run as CI-equivalent. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_012JHSu7iLpQ3XPfmfQzFraw --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
fb382b3018 |
Add Terms of Service v4 (effective October 5, 2026) (#51107)
<!-- ccr-slack-attribution --> _Requested by **Nicole Kramer** · [Slack thread](https://supabase.slack.com/archives/C0161K73J1J/p1790784371448999)_ ## Problem Commercial & Product Counsel supplied a new version of the Supabase Terms of Service to be published as Version 4, effective October 5, 2026 (the same date the Enterprise Terms v4 update takes effect, once the code freeze lifts). ## Solution Adds `apps/www/data/legal/terms/v4.mdx` with the new agreement text (transcribed from the supplied source document) and registers it as the newest version in `apps/www/pages/terms.tsx`'s versions array, dated October 5, 2026. Versions 1-3 are untouched. The new text also defines "Supplemental Terms" and links it, at the one point the source hyperlinks it, to `/legal/customer-resources/supplemental-terms`. ## Review instructions 1. Open the Vercel preview link for `/terms` below. 2. Confirm "Version 4" appears as the newest tab/version, dated October 5, 2026, with the updated agreement text. 3. Do not merge — this PR is held until the code freeze lifts on October 5, 2026 (see PRs #51100 and #51106 for the related Enterprise Terms / Supplemental Terms work landing the same day). ## Checklist - [x] I have read [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01K2vqszbsJiMJPABAnLMgaC --- _Generated by [Claude Code](https://claude.ai/code/session_01K2vqszbsJiMJPABAnLMgaC)_ Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
c006499d48 |
Add Enterprise Terms v4 (effective October 5, 2026) (#51106)
<!-- ccr-slack-attribution --> _Requested by **Nicole Kramer** · [Slack thread](https://supabase.slack.com/archives/C0161K73J1J/p1790784371448999)_ ## Problem The Enterprise SaaS Subscription Agreement at `/enterprise-terms` needed a new version reflecting legal's latest draft, which introduces a "Supplemental Terms" defined term, a standalone "Supabase" contracting-entity definition (to support marketplace purchases), a new Beta Releases warranty carve-out, and related marketplace billing/refund language. ## Solution Before: `/enterprise-terms` had three versions (v1–v3), with v3 dated August 1, 2026, and no concept of "Supplemental Terms" anywhere in the agreement. After: adds **Version 4, effective October 5, 2026** as the newest entry in the page's `versions` array (v1–v3 untouched): - `apps/www/data/legal/enterprise-terms/v4.mdx` — new versioned MDX, transcribed from legal's source document and following this directory's existing formatting conventions (bold section numbers/defined terms, `##`/`###` headings, no frontmatter or h1 — the h1 is rendered by `PageHeader`). - `apps/www/pages/enterprise-terms.tsx` — imports `v4.mdx` and adds it to the front of the `versions` array with `effectiveDate: 'October 5, 2026'`. How: the new v4 text is a faithful transcription of legal's draft onto the existing v3 structure, so the diff is easy to review against v3 — the substantive additions are the "Supabase" entity definition (1.9), the "Supplemental Terms" defined term (1.13) and its references in Section 2.1 (license scope) and Section 14.1 (order of precedence), a new Section 10.5 (Beta Releases), and marketplace-related payment/refund language in Section 5.1. The "Supplemental Terms" defined term is a live markdown link to the new `/legal/customer-resources/supplemental-terms` page (shipped separately in #51100) at its point of definition (Section 1.13), matching how the source document hyperlinks it. ## Review instructions 1. Open the `zone-www-dot-com` preview's `/enterprise-terms` page and confirm the version selector defaults to "Version 4 — October 5, 2026". 2. Confirm Section 1.13 "Supplemental Terms" renders as a live link to `/legal/customer-resources/supplemental-terms`. 3. Confirm Version 3 (and v1–v2) still render unchanged via the version selector. ## Checklist - [x] I have read [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) - [ ] N/A — no docs topic edited (this is versioned legal content, not `apps/docs`) --- 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01K2vqszbsJiMJPABAnLMgaC --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
b6d4239010 |
Update Supplemental Terms placeholder text (#51301)
<!-- ccr-slack-attribution --> _Requested by **Nicole Kramer** · [Slack thread](https://supabase.slack.com/archives/C0161K73J1J/p1790784371448999)_ ## Problem **Before:** The Supplemental Terms page (`/legal/customer-resources/supplemental-terms`) says "Content coming soon." **After:** The page shows "Check here for any feature specific terms that we may need to release, or clauses that allow for compliance with geography specific laws that we may introduce." ## Solution Replaces the placeholder body in `apps/www/data/legal/customer-resources/supplemental-terms/v1.mdx` with the supplied text, as a plain paragraph. Nothing else changes. ## Review instructions 1. Open the Vercel preview link for `/legal/customer-resources/supplemental-terms`. 2. Confirm the page shows the new text instead of "Content coming soon." ## Checklist - [x] I have read [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01K2vqszbsJiMJPABAnLMgaC --- _Generated by [Claude Code](https://claude.ai/code/session_01K2vqszbsJiMJPABAnLMgaC)_ Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
a629c9c1ac |
Add hidden Supplemental Terms legal page (#51100)
<!-- ccr-slack-attribution --> _Requested by **Nicole Kramer** · [Slack thread](https://supabase.slack.com/archives/C0161K73J1J/p1790784371448999)_ ## Problem No page existed yet for the upcoming "Supplemental Terms" document. Nicole Kramer (Commercial & Product Counsel) needs a stable, linkable URL to reference from future Terms of Service / Enterprise SaaS Subscription Agreement updates, before the legal content itself is ready. The page needs to be reachable by direct URL but not surfaced in the visible Legal Hub nav yet, matching the existing "hidden" precedent used for `/enterprise-terms`. ## Solution Added a new page at `/legal/customer-resources/supplemental-terms`: - `apps/www/pages/legal/customer-resources/supplemental-terms.tsx` — a page component mirroring the existing Data Processing Addendum page (`apps/www/pages/legal/customer-resources/data-processing-addendum.tsx`): `DefaultLayout` + `PageHeader` (h1 "Supplemental Terms") + `LegalDocVersions` rendering a single MDX version. - `apps/www/data/legal/customer-resources/supplemental-terms/v1.mdx` — placeholder body content (`_Content coming soon._`), no frontmatter/h1, following this repo's existing legal MDX convention (the h1 is rendered by `PageHeader`, not the MDX itself). Nicole will fill in the actual legal content later. **On "hidden":** I investigated the actual codebase state before implementing, since the two precedents named didn't turn out to work the same way: - `/enterprise-terms` is genuinely hidden — it is not linked anywhere in `apps/www/pages/legal/index.tsx`'s Legal Hub listing, and its `NextSeo` meta sets `noindex: true, nofollow: true`. - The Data Processing Addendum and Subprocessor List pages, by contrast, **are** linked in the visible Legal Hub listing (`apps/www/pages/legal/index.tsx`, "Customer Legal Resources" section) — they are not hidden today. Given that, this PR mirrors the DPA/Subprocessor List *structural* pattern (route under `/legal/customer-resources/`, page-component + versioned-MDX content) since that's what "under Customer Legal Resources" means structurally in this codebase, but mirrors `enterprise-terms`' *hidden* mechanism: the new page's `NextSeo` meta sets `noindex: true, nofollow: true`, and — importantly — **no entry was added** to the `sections` array in `apps/www/pages/legal/index.tsx`, so it does not appear in the visible Legal Hub or any nav. The page is reachable only via its direct URL. Terms of Service and the Enterprise SaaS Subscription Agreement pages were not touched. ## Review instructions 1. Confirm `/legal/customer-resources/supplemental-terms` renders with h1 "Supplemental Terms" and placeholder body text. 2. Confirm the page does **not** appear anywhere on `/legal` (the Legal Hub listing). 3. Confirm `apps/www/pages/terms.tsx` / `apps/www/pages/enterprise-terms.tsx` (and their MDX content) are unchanged. ## Checklist - [x] I have read CONTRIBUTING.md - [ ] N/A — no docs topic edited (legal page content is a placeholder, not docs content) --- 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01K2vqszbsJiMJPABAnLMgaC --- _Generated by [Claude Code](https://claude.ai/code/session_01K2vqszbsJiMJPABAnLMgaC)_ Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
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> |
||
|
|
86854671e9 |
feat(www): add Open Authorization Integration Addendum (#48804)
<!-- ccr-slack-attribution --> _Requested by **Nicole Kramer** · [Slack thread](https://supabase.slack.com/archives/C0161K73J1J/p1786027145751449)_ ## 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? Feature — a new legal page on the marketing site (`apps/www`). ## What is the current behavior? **Before:** the Program Addenda page at `/legal/partner-resources/program-addenda` lists exactly one addendum, the Integration Partner Addendum. There is no published Open Authorization (OAuth) addendum anywhere on the site. ## What is the new behavior? **After:** the Program Addenda page also lists the **Open Authorization Integration Addendum**, linking to a new page at `/legal/partner-resources/program-addenda/oauth-partner-addendum`. Formatting, breadcrumbs, version selector, and listing badge all match the existing Integration Partner Addendum. **How:** three files. - `apps/www/data/legal/partner-resources/oauth-partner-addendum/20260806-v1.mdx` — the addendum text, formatted to match `integration-partner-addendum/20260615-v1.1.mdx` (escaped section-number periods, `####` run-in headings for the lettered subsections, italic `_Label_` run-in labels for the enumerated data-protection clauses, explicit `[url](url)` links). - `apps/www/pages/legal/partner-resources/program-addenda/oauth-partner-addendum.tsx` — the page, mirroring `integration-partner-addendum.tsx` with a single-version `versions` array. - `apps/www/lib/addenda.ts` — adds a small `TITLE_OVERRIDES` map. The listing derives titles by capitalizing slug words, which turns `oauth-partner-addendum` into "Oauth Partner Addendum"; the override makes the listing link read the same as the page's `h1`. No other wiring was needed: the addenda listing is generated from the directory, so there is no hub entry, redirect, rewrite, sitemap entry, or `noindex` rule to add. ## Additional context Two things for the requester to confirm: - **The effective date is an assumption.** The addendum document itself contains no date. The listing and version label derive the effective date from the `YYYYMMDD` filename prefix, so this file is dated **August 6, 2026**, taken from the source document's own filename (`2026.08.06 - Supabase-OAuthAddendum-ONLINE.docx`). To change it, rename the file — no code change required. - **The legal text is a verbatim transcription.** Source wording, capitalization, and punctuation are preserved exactly as drafted, including anything that reads like a typo. Only markup was added; the plain text was diffed against the transcription and is character-identical. Please review the wording itself rather than assuming it was copy-edited. One wording choice that was not in the source document: the page subheader, "An addendum to the Master Partner Program Agreement governing OAuth integrations." It mirrors the one-line subheader style of the existing addendum page and is easy to reword. ## Also fixed here: a literal `(c)` rendered as `©` in legal headings While formatting the new addendum we hit a rendering bug that turned out to be **already live on supabase.com**, not new to this branch. The heading font, **Manrope**, ships a default-on standard `liga` feature that maps the glyph sequence `parenleft c parenright` to the copyright glyph. So a literal `(c)` anywhere inside an `h2`–`h6` on the marketing site paints as `©`. Body copy is unaffected because it uses Inter, whose subset has no such ligature — which is why this only ever shows up in headings. This branch adds a `legal-prose` utility (`font-variant-ligatures: no-common-ligatures`) in `apps/www/styles/globals.css` and applies it to two pages: - the new **Open Authorization Integration Addendum** page (heading `#### (c) Security.`), and - the **Master Partner Program Agreement** page, where the `#### (b) Such indemnity …` heading in section 17.1 contains `… ; or (c) replace the Covered Materials …` about 600 characters into the line. That page was **already published**, and rendered "or © replace the Covered Materials" in production. The MPPA change is one word — `className="prose"` → `className="prose legal-prose"`. **No legal text was modified**: no HTML entities, no zero-width characters, no rewording, no re-hyphenation. The DOM still holds `U+0028 U+0063 U+0029`; only the font's shaping is suppressed. Verified in Chromium against the real heading text and the same two font subsets `next/font` serves: the `(c)` run measures **15.36px** before the fix (a single `©` glyph) and **22.05px** after (three literal glyphs), against a 23.30px control for the `(b)` in the same heading. All 17 `.mdx` files under `apps/www/data/legal/` were swept for `(c)` and the other Manrope `liga` input sequences (`--`, `->`, `<-`, `(>)`, `<3`) on heading lines. The only two hits are the two pages fixed above; nothing else needs the utility today. (Headings do contain `ff`/`fi`/`fl`/`tt` — those ligatures are ordinary typography and are intentionally left alone.) **For future legal pages:** because the cause is the heading font's default ligature rather than anything about these documents, any new legal page whose source has `(c)` in a heading will need `legal-prose` on its prose container too. **One side effect worth flagging:** `no-common-ligatures` is blunt, so on those two pages it also suppresses the ordinary `fi`, `ff` and `tt` ligatures — a sweep of the legal `.mdx` files counts 107 such occurrences in headings (`fi` 83, `ff` 21, `tt` 3, `fl` 0), so the note above about leaving them alone holds for the rest of the site rather than for these two pages. That is a deliberate trade-off: correctness of the legal text beats typographic polish on two addendum pages. A narrower alternative exists — `font-feature-settings: "liga" 0` scoped to just the offending ligature, or overriding only the `parenleft_c_parenright` substitution — but it is more fragile and more subset-specific, so push back here if you would rather have that instead. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01VtcJJGqw5jL1ESwhs8DGCu --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
c4c58ef3e3 |
feat: remove pandadoc dpa request flow (#48525)
Terms of Service v3 (effective August 1, 2026, #48482) incorporates the Data Processing Addendum by reference, so customers no longer sign a separate DPA. Legal confirmed the PandaDoc signing flow can go; previously signed DPAs remain binding. This removes the frontend flow only. I'll remove the platform endpoint (`POST /platform/organizations/{slug}/documents/dpa`) separately once the PandaDoc contract conversation wraps. **Changed:** - **Dashboard DPA card no longer requests PandaDoc documents**: the Request DPA button and confirm modal are replaced with a View DPA link to the canonical legal page, with evergreen copy explaining the DPA is part of the Terms. Tracked via the same `document_view_button_clicked` event the other document cards use. - **Legacy `/legal/dpa` page retired**: the page told users to request a signed DPA from the dashboard, which no longer exists. It now permanently redirects to `/legal/customer-resources/data-processing-addendum` (the follow-up already flagged in #48483), and the footer link is removed. The `dpa_pdf_opened` and `dpa_request_button_clicked` events are removed with their last call sites. The latest privacy version links the canonical page directly; archived v1/v2 keep their original `/legal/dpa` link, served by the redirect. - **Orphaned DPA PDFs removed**: the four dated `Supabase+DPA+*.pdf` files under `/downloads/docs` had zero remaining references once the signing flow is gone. No redirect: nothing links these URLs, so they 404. - **Subscription tracking**: the subprocessor updates form now fires `www_subprocessor_updates_subscribed` on successful submit, so we can measure uptake of the notification list that replaces per-customer DPA emails. ## To test Verified on the Vercel previews (Playwright): - [x] Studio: `/org/_/documents` shows the DPA card with the incorporation copy and a working View DPA link (href = canonical page); no Request DPA button, no PandaDoc mention; TIA/SOC2/ISO27001/HIPAA cards unaffected - [x] www: `/legal/dpa` permanently redirects to `/legal/customer-resources/data-processing-addendum`; footer no longer shows DPA; zero console errors - [x] www: subscribing on the subprocessor page succeeds (200 from the form route, profile created with topic_4) and fires `www_subprocessor_updates_subscribed` (201 from the telemetry endpoint); test profile unsubscribed afterwards - [x] www: `/downloads/docs/Supabase+DPA+260601.pdf` returns 404 with no redirect; DPA card copy verified without the effective date ## Linear - fixes GROWTH-1068 |
||
|
|
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> |
||
|
|
8a607a6108 |
feat(www): add Enterprise SaaS Subscription Agreement v3 (#48484)
<!-- ccr-slack-attribution --> _Requested by **Nicole Kramer** · [Slack thread](https://supabase.slack.com/archives/C0161K73J1J/p1785399555203219)_ ## 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 of a published legal agreement. ## What is the current behavior? The version selector on `/enterprise-terms` offers two versions of the Enterprise SaaS Subscription Agreement: Version 2 (May 6, 2026) and Version 1 (April 17, 2026). Version 2 is what the page shows by default. ## What is the new behavior? **Before:** opening `/enterprise-terms` showed Version 2 — May 6, 2026. **After:** it shows **Version 3 — August 1, 2026**. Versions 2 and 1 are unchanged and still reachable from the dropdown (`?version=v2`, `?version=v1`). Two files change: - **New** `apps/www/data/legal/enterprise-terms/v3.mdx` — the Version 3 text, transcribed from the source Word document supplied in the Slack thread (`2026.07.29 - Supabase - Enterprise Terms.docx`). - `apps/www/pages/enterprise-terms.tsx` — imports the new MDX and prepends `{ id: 'v3', label: 'Version 3', effectiveDate: 'August 1, 2026', Component: V3 }` to the `versions` array. Since the array is newest-first, v3 becomes the default. ## Additional context ### Transcription fidelity The legal text was not edited, reworded, reordered, or corrected — only re-rendered in the MDX conventions already used by `v1.mdx` and `v2.mdx`. This was verified mechanically rather than by eye: markdown markup was stripped from `v3.mdx` and the result diffed paragraph-by-paragraph against text extracted directly from the source document's OOXML. - **137 paragraphs in the source, 137 in `v3.mdx`, 0 differing.** - 14 top-level sections and 48 subsections, matching the source's heading counts exactly. - All 3 distinct URLs preserved, written as bare URLs per the existing convention in this file family (remark-gfm autolinks them). - Pure ASCII apart from 5 `§` characters in the 48 C.F.R. citations, matching `v1.mdx`/`v2.mdx`. - Prettier clean; no British spellings that would trip the US-locale misspell check. Formatting decisions worth knowing: the source document contains no bold or italic runs at all, but `v1.mdx` and `v2.mdx` both bold defined terms and section numbers, so v3 follows that house style for consistent rendering across the three versions. The source also carries no date or version line of its own; the `_Last Modified: 1 August 2026_` first line is repo convention, matching how every other legal MDX in `apps/www/data/legal/` is written. ### What changed from v2, in the legal text Structure is identical — same 14 sections, same 48 subsection titles. Five substantive prose changes: 1. **Preamble** — the effective date is now "the date of last signature of an Order referencing these terms", replacing v2's unfilled `[Deal.CloseDate]` merge-field placeholder. "Signature block below" becomes "signature block in an Order". 2. **New § 1.4 "Data Processing Addendum"** — defined by reference to `https://supabase.com/legal/customer-resources/data-processing-addendum`, with a carve-out for a separately executed agreement covering the same subject matter. Former § 1.4–1.12 shift to § 1.5–1.13; nothing was removed or reordered. 3. **§ 7.2 Data Processing** replaced — v2's GDPR / UK GDPR / Swiss clause is gone, replaced by a general compliance paragraph that incorporates the Data Processing Addendum into the Agreement. 4. **§ 13.3** cross-reference corrected from Section 10.1 (Mutual) to Section 10.3 (Limited Warranty), which is the clause the refund remedy actually depends on. 5. **§ 14.4 Amendment and Modification** rewritten — v2 required a writing executed by both Parties; v3 gives Supabase a unilateral right to modify by posting a revised version at `https://supabase.com/enterprise-terms`, effective the first day of the following calendar month, or at the start of the next Renewal Subscription Period for Orders with a fixed Subscription Period of 12 months or longer, with non-renewal under § 13.1 as Customer's sole and exclusive remedy. Two things carried over verbatim from the source rather than fixed, since the text must not be edited: § 7.2 is now near-duplicative of § 7.1 (three of its four sentences repeat § 7.1 almost word for word), and "HIPAA" is used in both § 7.1 and § 7.2 without being defined. One pre-existing inconsistency, unrelated to this change: `v2.mdx`'s own first line reads `_Last Modified: 1 May 2026_` while the page lists Version 2's effective date as `May 6, 2026`. Left alone here. ### Overlap with concurrent work Two sibling changes are in flight for the same requester today — one adjusting the new Data Processing Addendum page's dates, one publishing Terms of Service v3. Neither touches these two files, but all three touch the `apps/www/data/legal/` tree, and note that § 1.4 above now links to the DPA page. [#48483](https://github.com/supabase/supabase/pull/48483) removes the `_Last Modified:` first line from every versioned legal MDX, on the principle that the version selector should be the only place a date appears. It is sequenced to land after this PR, and its file list predates `v3.mdx`. A three-way merge of the two branches is clean, but whoever rebases #48483 should add `apps/www/data/legal/enterprise-terms/v3.mdx` to that removal — otherwise v3 keeps a body date after v1 and v2 lose theirs. The `_Last Modified: 1 May 2026` / `May 6, 2026` mismatch on v2 is also handled in #48483 and is deliberately left alone here, so the same line isn't touched by two PRs. Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
44bc7b5a57 |
feat(www): add Terms of Service v3 (effective August 1, 2026) (#48482)
<!-- ccr-slack-attribution --> _Requested by **Nicole Kramer** · [Slack thread](https://supabase.slack.com/archives/C0161K73J1J/p1785399344523739)_ ## 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 — adds a new version of the Terms of Service to the marketing site (`apps/www`). ## What is the current behavior? `/terms` offers two versions in the version dropdown: **Version 2 (May 6, 2026)**, shown by default, and **Version 1 (July 11, 2025)**. ## What is the new behavior? `/terms` shows **Version 3 (August 1, 2026)** by default. Version 2 and Version 1 are still selectable from the version dropdown (`/terms?version=v2`, `/terms?version=v1`) and are completely unchanged. Two files: - **New:** `apps/www/data/legal/terms/v3.mdx` — the full v3 Terms of Service. - **Changed:** `apps/www/pages/terms.tsx` — imports `V3` and prepends it to the `versions` array. Newest-first ordering is required, because `LegalDocVersions` treats `versions[0]` as the latest. ## Additional context ### The legal text is a verbatim transcription — please review it as such It comes from a Word document supplied by Legal, converted with pandoc and then verified character-exact against the source: **8055 words, 136 blocks, 0 word-level diffs**. Prettier was run over the file and changed nothing. **Known typos in the source document were deliberately preserved. Please do not correct them in review:** - §1 Definitions contains a **duplicate `d.`** — one `d.` introduces the Data Processing Addendum definition and the very next item is also lettered `d.` for the Documentation definition. The list therefore runs a, b, c, d, d, e … Re-lettering would shift internal cross-references, so it is left exactly as drafted. - §12(d) Survival contains a **doubled “and”** — *and Sections 1, 5, 6, 8, 9, 10, 11, and 13, and 14 survive*. Also preserved verbatim from the source: curly quotes on the Data Processing Addendum definition only (every other defined term uses straight quotes), and non-breaking spaces around the hyperlinks. ### Date The source document carries **no date line of its own**, even though its §14(d) states that the last-modified date *will be updated at the top of this Agreement*. August 1, 2026 was specified by the requester, and is placed in the `_Last Modified: 1 August 2026_` line at the top of the MDX, following the v1/v2 convention. As with v1 and v2, the `.mdx` uses `D Month YYYY` while `effectiveDate` in `terms.tsx` uses US long form (`August 1, 2026`). That split is pre-existing and intentional. ### New DPA link §1 of v3 links the Data Processing Addendum page at `/legal/customer-resources/data-processing-addendum`. This link is new relative to v2, and the DPA is also incorporated by reference in §7(b). ### No overlap with the concurrent DPA branch This PR touches only `apps/www/data/legal/terms/v3.mdx` and `apps/www/pages/terms.tsx` — **zero file overlap** with the branch updating the DPA page dates. ### Reviewer checklist - 14 numbered sections (1 Definitions → 14 Miscellaneous), 44 lettered subsections, 6 roman sub-subsections. - ALL-CAPS acceptance block at the top; ALL-CAPS AI disclaimer at the end of §9(b); ALL-CAPS §11 Limitations of Liability. - Three link targets intact: the DPA page, `https://supabase.com/privacy`, and `mailto:legal@supabase.io` (×3). Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
4db78dfe5f |
chore(www): update DPA effective date to August 1, 2026 (#48481)
<!-- ccr-slack-attribution --> _Requested by **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? Content update — moves the Data Processing Addendum's effective date out by two months. ## What is the current behavior? The DPA page at `/legal/customer-resources/data-processing-addendum` shows "Version 1 — June 1, 2026" in the version selector, and the document body opens with "Last Modified: 1 June 2026". ## What is the new behavior? Both now read August 1, 2026: the version selector shows "Version 1 — August 1, 2026" and the document opens with "Last Modified: 1 August 2026". ## Additional context The page renders a hardcoded `versions` array through the shared `LegalDocVersions` component, so the effective date lives in the TSX file; the "Last Modified" line is simply the first line of the MDX content file. Both were updated, each keeping its file's existing date format (`M D, YYYY` in the TSX, `D Month YYYY` in the MDX). No other content changed. ### Not changed — flagging for confirmation The same June 1, 2026 date appears on a few other surfaces. I left them alone because they are either different documents or point at a dated PDF asset that would need to be re-generated and re-uploaded. Let me know if any of these should move too: - `apps/www/pages/legal/dpa.tsx` — the legacy `/legal/dpa` page, which links `Supabase+DPA+260601.pdf` - `apps/studio/components/interfaces/Organization/Documents/DPA.tsx` — Studio links that same PDF - `apps/www/pages/legal/customer-resources/subprocessor-list.tsx` — the subprocessor list (`June-1-2026.pdf` and a "June 1, 2026" label); a separate document - `apps/www/pages/aup.mdx` — the Acceptable Use Policy, "Last Modified: 1 June 2026"; a separate document Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
35b2e82852 |
feat(www): add Data Processing Addendum legal page (#48269)
<!-- ccr-slack-attribution --> _Requested by **Nicole Kramer** · [Slack thread](https://supabase.slack.com/archives/C0161K73J1J/p1784836047880599?thread_ts=1784836047.880599&cid=C0161K73J1J)_ ## What kind of change does this PR introduce? Feature — a new marketing-site legal page. ## What is the current behavior? There is no Data Processing Addendum page under Customer Legal Resources. The only DPA content is a legacy `/legal/dpa` page that links out to a static PDF. ## What is the new behavior? **Before:** no DPA page under Customer Legal Resources; DPA content lived only on the legacy `/legal/dpa` page (static PDF link). **After:** a new DPA page at `/legal/customer-resources/data-processing-addendum`, styled like the Terms of Service page — a version dropdown ready for future versions, a "Last Modified: 1 June 2026" line, and the full DPA text (14 clauses + 3 schedules). A "Data Processing Addendum" link is added to the Legal Hub under Customer Legal Resources, using the same FileText icon as Terms of Service. **How:** - New versioned MDX at `apps/www/data/legal/customer-resources/data-processing-addendum/v1.mdx`. - New page `apps/www/pages/legal/customer-resources/data-processing-addendum.tsx`, modeled on the ToS / integration-partner-addendum pattern and rendering via the shared `LegalDocVersions` component (`versions` entry: `{ id: 'v1', label: 'Version 1', effectiveDate: 'June 1, 2026' }`). - Legal Hub link added in `apps/www/pages/legal/index.tsx` with `type: 'document'`. ## Preview Please review on the Vercel preview deploy. Two URLs to check: - `/legal/customer-resources/data-processing-addendum` - `/legal` ## Notes for reviewers - Content was converted faithfully from the provided .docx (normalized word-content diff: 5678/5678 words, zero missing/extra). The source has no tables. - The legacy `/legal/dpa` page (static PDF link) is left untouched — flag if it should be redirected to the new route or retired. - Typecheck/lint could not be run in the build sandbox due to an unrelated JSR-registry 403 during `pnpm install`; Prettier was run and passes. Please confirm CI (typecheck + lint) is green. ## Additional context Version dropdown is single-version for now and is set up to accept future DPA versions. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- _Generated by [Claude Code](https://claude.ai/code/session_01JA6SATQGc9J8kApnH2NvCz)_ --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
dfc2dede05 |
chore(www): integration partner addendum - v1.1 (#46931)
Update integration partner addenda. |
||
|
|
91af1af475 |
fix(www): malformed link (#46838)
## Before <img width="514" height="84" alt="Screenshot 2026-06-11 at 10 57 33" src="https://github.com/user-attachments/assets/7a06d713-d0f1-48b6-947a-e7c1f0716083" /> ## After <img width="490" height="78" alt="Screenshot 2026-06-11 at 10 57 54" src="https://github.com/user-attachments/assets/31bfe360-fae1-42e3-bac3-83b5648da398" /> |
||
|
|
6d0dc45442 | feat(www): legal hub (#46749) | ||
|
|
5297eeaf80 |
feat(www): add version selector to legal terms pages (#45431)
## Summary
- Adds a reusable `<LegalDocVersions />` component (dropdown below the
page header) that swaps the active legal doc version inline via shallow
query-param routing (`?version=v1`).
- Converts `/terms` and `/enterprise-terms` from MDX to TSX pages and
moves their content into versioned MDX under
`apps/www/data/legal/<doc>/v1.mdx`.
- Seeds `v2.mdx` for both docs as a copy of v1 with the effective date
bumped to 6 May 2026 — the actual v2 language edits from legal will land
in a follow-up commit.
## Behavior
- `/terms` and `/enterprise-terms` default to v2 (latest); search
engines and bare URLs always see the latest.
- `/terms?version=v1` (and equivalent for enterprise) renders v1.
- Selecting a version updates the URL via `router.replace({ shallow:
true })` — no full page reload, browser back/forward works.
- Selecting the latest version clears the `version` query param.
- Existing `/docs/company/terms → /terms` redirect still works.
`noindex/nofollow` preserved on `/enterprise-terms` (both via meta and
the existing header rule).
## Out of scope
- The 5 v2 provision edits per agreement (lands in a follow-up once
Legal hands over the final language).
- `/privacy` and other legal pages — those keep their current pattern.
Linear:
[FE-3121](https://linear.app/supabase/issue/FE-3121/update-legal-terms-pages-and-add-version-selector)
## Test plan
- [ ] Visit `/terms` — defaults to v2, dropdown shows "Version 2 — May
6, 2026" and "Version 1 — July 11, 2025"
- [ ] Visit `/terms?version=v1` — renders v1
- [ ] Select v1 from the dropdown — URL becomes `?version=v1`, content
swaps without full page reload (no document request in Network tab)
- [ ] Select v2 — URL drops the `version` param, latest renders
- [ ] Browser back/forward steps through prior selections
- [ ] Repeat the above on `/enterprise-terms`
- [ ] Confirm `/enterprise-terms` is still `noindex, nofollow`
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Version selector and new Terms & Enterprise Terms pages allowing users
to switch between historical agreement versions.
* MDX-based legal documents now render as components for improved
content loading.
* **Documentation**
* Added v2 Terms and v2 Enterprise subscription agreements; v1 documents
adjusted and typography normalized for consistency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
|