Update CHANGELOG and versioning for 1.4.1 and 1.5.0#87
Merged
ric-v merged 6 commits intoJun 4, 2026
Conversation
….0 in package.json and package-lock.json. Revise last updated date in WEBSITE_CONTEXT.md.
|
@ric-v is attempting to deploy a commit to the asterix-dev Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a comprehensive license entitlement system for PgStudio, integrating Razorpay subscriptions with license key issuance, validation, and storage. It adds a webhook handler to process subscription events, generates and emails license keys, validates licenses (including device binding), and abstracts entitlement storage with support for both Vercel KV and a local fallback. Additional endpoints support license lookup and validation, and the plan configuration is enhanced for robustness.
Key features and changes:
License Entitlement and Validation System
api/webhook.js) to process Razorpay subscription events, verify signatures, upsert entitlements in the key-value store, generate license keys, and send license emails to customers. Handles subscription activation, renewal, cancellation, and status changes.api/license/validate.js) that allows the extension to check license validity and bind VS Code instance IDs, enforcing a maximum device limit per license.api/license/lookup.js) for the post-checkout flow to poll for newly issued license keys by subscription ID.Entitlement Storage Abstraction
api/lib/store.js) that abstracts entitlement storage using Vercel KV (Upstash Redis) if available, with a local JSON file fallback for development and testing. Supports storing and retrieving entitlements by license key or subscription ID.@vercel/kvand@upstash/redisinpackage.jsonandpackage-lock.json. [1] [2] [3]License Key Generation and Delivery
api/lib/license-key.js) to generate well-formed, user-friendly license keys and validate their format.api/lib/email.js) to send license keys via Resend, with a no-op fallback if email is not configured, ensuring webhook reliability.Plan Configuration Enhancements
reversePlanLookupinapi/plan-config.jsto map Razorpay plan IDs back to tier/period/currency, improving robustness when subscription notes are missing. [1] [2]api/create-subscription.js, ensured Razorpay subscriptions are created with a longtotal_countfor ongoing billing whenend_atis absent.Other
CHANGELOG.mdto reflect the new 1.4.0 release and included recent nightly versions.These changes collectively provide a robust backend for managing PgStudio license entitlements, supporting automated key issuance, validation, and user experience improvements.