landing: bump pinned Polar API version to 2027-01 before 2026-10 is removed (April 2027)
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 68/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
Start by reading the Polar API changelog for the target version and checking whether changes affect POST /v1/checkouts/, especially products and success_url. Then inspect landing/src/pages/api/checkout.ts, landing/test/checkout.test.ts, and landing/package.json; run the checkout tests after updating the SDK version and assertion. Done means the updated version is supported and a Vercel preview redirects the checkout route to Polar.
索引モデルが issue の本文から書いたものです。
説明
Context
The landing site's checkout route pins the Polar API version by importing the versioned SDK client (@polar-sh/sdk/2026-10) in landing/src/pages/api/checkout.ts. That import makes the SDK send Polar-Version: 2026-10 on every request. Added in #3554.
Polar supports each API version for about nine months: three as Next, three as Current, three as Deprecated. New versions ship in the first week of January, April, July and October (versioning docs).
- 2026-10 is Current now. It becomes Deprecated in the first week of January 2027 (when 2027-01 becomes Current).
- 2026-10 is removed in the first week of April 2027, and requests to a removed version return 404. That would break the pricing page's buy button.
To do (before the April 2027 release)
- Read the Polar API changelog for the new version and check for anything that affects
POST /v1/checkouts/(products,success_url). - In
landing/src/pages/api/checkout.ts, change the import to@polar-sh/sdk/2027-01(or the then-current version) and update the comment if needed. - Update the
Polar-Versionassertion inlanding/test/checkout.test.ts. - Make sure
@polar-sh/sdkinlanding/package.jsonships that version subpath (^1.0.2ships2026-04,2026-10and2027-01). - Verify on a Vercel preview that
/api/checkout?products=<id>redirects to a Polar checkout.
The same bump is needed each quarter or two, so it is worth repeating this check whenever a new Polar API version ships.
- 主要言語
- JavaScript
- スター
- 13.8k
- フォーク
- 658
- 平均マージ
- 2日 6時間
- マージ済み PR(30日)
- 17
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
shipshapecode/shepherd のほかの issue
-
Docs: rendering framework components as step content, and why DOM injection belongs in when.showオープンdocumentation
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
shipshapecode/shepherd#3479 ·
メンテナーはふだん 3 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
shipshapecode/shepherd#3505 ·
メンテナーはふだん 3 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
shipshapecode/shepherd#3442 · コメント 1 件 · リアクション 2 件 ·
メンテナーはふだん 3 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
shipshapecode/shepherd#3146 · コメント 2 件 ·
メンテナーはふだん 3 日以内に返信
-
question
難易度 2/5 1〜3時間 初心者へのやさしさ 38/100
shipshapecode/shepherd#3121 · コメント 4 件 ·
メンテナーはふだん 3 日以内に返信
shipshapecode/shepherd の issue をすべて見る
似ている issue
-
triage-needed
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
MicrosoftDocs/edge-developer#3970 ·
メンテナーはふだん 1 日以内に返信
-
agent/scanner hive/hosted-available-lke648397-260827-5n31 quality testing
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
PWA stores a grouped number entry 1000x too small in German locale対応中かも @Minhal128 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
Add: YRF Musicオープンcheck:passed feeds:add
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
iptv-org/database#37102 · コメント 2 件 ·
メンテナーはふだん 9 日以内に返信
-
[workshop-sim] Repair: Add a fallback sample .lock.yml to the Agentic Workflows Intro Activity 1オープンfeedback simulation workshop
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
githubnext/gh-aw-workshop#4328 ·
メンテナーはふだん 1 日以内に返信