- Fix broken e2e tests + upgrade purchases-ui-js version (#270) via Guido Torres (@guido732)
- Quieter test logs (#284) via Pol Miro (@polmiro)
- chore: upgrade storybook to latest (#276) via Alfonso Embid-Desmet (@alfondotnet)
- chore: add console.error in example app when API is not set (#275) via Alfonso Embid-Desmet (@alfondotnet)
- Fix for the select options background color on windows (#267) via Nicola Sacco (@nicfix)
- feat: Added Support for Direct Payment Flow (#260) via Víctor Ferrer García (@vicfergar)
- add onError callback that rejects the promise of the rendering (#263) via Guido Torres (@guido732)
- Update fastlane plugin to include some fixes and some other dependencies (#265) via Toni Rico (@tonidero)
- ECO-1704: SDK Localization (#241) via Nicola Sacco (@nicfix)
- Update purchase-params.ts (#257) via Nicola Sacco (@nicfix)
- ECO-1813: PR to fix price conversions in different languages. (#256) via Nicola Sacco (@nicfix)
- fix: Improve payment method validation by displaying Stripe errors in the form when possible (#248) via Víctor Ferrer García (@vicfergar)
- chore: Publish storybook in Chromatic (#255) via Víctor Ferrer García (@vicfergar)
- adds e2e for variable replacement (#254) via Guido Torres (@guido732)
- adds test for puchase flow using rc_paywalls (#252) via Guido Torres (@guido732)
- [ECO-1783] Rename RCBillingAppConfig properties (#250) via Roger Solé (@rogersole)
- adds test for puchase flow using rc_paywalls via Guido Torres
- adds husky pre-commit hook to auto fix linting and formatting (#249) via Guido Torres (@guido732)
- Bump rexml from 3.3.8 to 3.3.9 (#225) via dependabot[bot] (@dependabot[bot])
- Migrated all dependencies into devDependencies since we build a UMD package (#239) via Nicola Sacco (@nicfix)
- [ECO-1743] Make payment method "selected" color match accent color (#243) via Víctor Ferrer García (@vicfergar)
- fix: disable the submit button until the payment details are set (#245) via Víctor Ferrer García (@vicfergar)
- [ECO-1701] Pass the variables from the SDK to the paywall (#240) via Guido Torres (@guido732)
- Change "plan" to "subscription" on success page copy (#234) via Ed Shelley (@MrEdwardo)
- ECO-1606: @internal @experimental renderPaywall method (#227) via Nicola Sacco (@nicfix)
- Add convenience method to generate RC-like anonymous IDs (#235) via Antonio Borrero Granell (@antoniobg)
- Removing the lateral padding based on screen width only (#237) via Nicola Sacco (@nicfix)
- Remove logout button from the paywall page in the demo app (#236) via Nicola Sacco (@nicfix)
- ECO-1595: Bumping to svelte 5 for the upcoming purchases-ui-web (#226) via Nicola Sacco (@nicfix)
- Bump cookie and @bundled-es-modules/cookie (#231) via dependabot[bot] (@dependabot[bot])
- [ECO-1560] Add redemption info data on status response (#220) via Roger Solé (@rogersole)
- Change purchase API to avoid breaking change (#229) via Toni Rico (@tonidero)
- Customization: Aligned luminance with the one in the Customer Portal and the WPL (#224) via Nicola Sacco (@nicfix)
- fix: Typo in the default accent color (#221) via Víctor Ferrer García (@vicfergar)
- fix: Adjust the default luminance threshold from 0.2 to 0.37 (#228) via Víctor Ferrer García (@vicfergar)
- Fix handling unrecognized error codes in purchase operation (#217) via Toni Rico (@tonidero)
- Bump fastlane from 2.224.0 to 2.225.0 (#219) via dependabot[bot] (@dependabot[bot])
- Bump danger from 9.5.0 to 9.5.1 (#218) via dependabot[bot] (@dependabot[bot])
- Demo App: Allow using anonymous IDs and generate deep links on demo app (#213) via Toni Rico (@tonidero)
- Restored the default accent and focus colors used before the customization implementation (#215) via Nicola Sacco (@nicfix)
- Customisation: Toggle product description from the product info panel (#212) via Nicola Sacco (@nicfix)
- Customization: Added shapes, background colors and generated text color. (#209) via Nicola Sacco (@nicfix)
- Fix locale to 'en' (#210) via Jens-Fabian Goetzmann (@jefago)
- Fix security vulnerabilities (#211) via Toni Rico (@tonidero)
- ECO-1336: Revamping storybook to make it easier to implement UI changes in the sdk (#206) via Nicola Sacco (@nicfix)
- ECO-1336-layout components (#207) via Nicola Sacco (@nicfix)
- Adds RELEASING.md (#205) via JayShortway (@JayShortway)
- Adds fastlane/.env.SAMPLE (#204) via JayShortway (@JayShortway)
- Add support for getting a single offering (#201) via Antonio Borrero Granell (@antoniobg)
- Implement appearance configuration overrides (#171) via Guido Torres (@guido732)
- Fix error message purchasing already purchased non-consumables (#200) via Toni Rico (@tonidero)
- Bump fastlane from 2.223.1 to 2.224.0 (#199) via dependabot[bot] (@dependabot[bot])
- Support non renewable products. (#191) via Toni Rico (@tonidero)
- Change endpoint to use the new
/purchase
(#194) via Toni Rico (@tonidero) - Update UI to support consumables and non consumables (#193) via Toni Rico (@tonidero)
- Add support for
placements
(#189) via Toni Rico (@tonidero)
- Bump fastlane from 2.222.0 to 2.223.1 (#192) via dependabot[bot] (@dependabot[bot])
- Bumped
vite-plugin-dts
version to the latest one (#184) via Nicola Sacco (@nicfix) - Bump danger from 9.4.3 to 9.5.0 (#188) via dependabot[bot] (@dependabot[bot])
- Bump vite from 5.4.2 to 5.4.6 (#185) via dependabot[bot] (@dependabot[bot])
- Bump body-parser and express (#179) via dependabot[bot] (@dependabot[bot])
- Update fastlane plugin (#195) via Toni Rico (@tonidero)
- Update vite in demo app (#190) via Toni Rico (@tonidero)
- Add additional error details and display (#186) via Toni Rico (@tonidero)
- Create dependabot.yml (#187) via Toni Rico (@tonidero)
- [AUTOMATIC] Release/0.7.0 (#175) via RevenueCat Git Bot (@RCGitBot)
- Create a
preload
method inPurchases
to prefetch branding information. (#169) via Toni Rico (@tonidero) - Add
amountMicros
toPrice
interface (#170) via Toni Rico (@tonidero)
- Improve purchase flow error handling for unknown errors (#173) via Toni Rico (@tonidero)
- Bump svelte from 4.2.12 to 4.2.19 (#168) via dependabot[bot] (@dependabot[bot])
- ECO-1398: Added the possibility to pass a currency in the demo app query string params (#167) via Nicola Sacco (@nicfix)
- [Beta] Support different currencies (#161) via Toni Rico (@tonidero)
- Make main CTA not say "Pay" if the customer is starting a trial (#164) via Jens-Fabian Goetzmann (@jefago)
- Bump rexml from 3.3.3 to 3.3.6 (#163) via dependabot[bot] (@dependabot[bot])
- Improve formatted price calculation (#160) via Toni Rico (@tonidero)
- Eco 1249 rcbilling hostedcheckout add test harness for routes (#159) via Guido Torres (@guido732)
- Add
presentedOfferingContext
type to include all context information (#152) via Toni Rico (@tonidero)
- Bump rexml from 3.2.8 to 3.3.3 (#156) via dependabot[bot] (@dependabot[bot])
- Update api-extractor and only diff markdown file for api tests (#154) via Toni Rico (@tonidero)
- Change modal border radius to 16px (#151) via Jens-Fabian Goetzmann (@jefago)
- [Behavior change] Fail configuration if trying to add additional headers that are reserved for SDK (#150) via Toni Rico (@tonidero)
- Add support for
proxyURL
to redirect requests (#148) via Toni Rico (@tonidero) - Add support for adding additional headers on http requests (#147) via Toni Rico (@tonidero)
- [EXTERNAL] Fix storybook development mode (#145) contributed by @AbraaoAlves (#146) via Toni Rico (@tonidero)
- Update storybook to fix security concern (#142) via Toni Rico (@tonidero)
- Add backend email validation errors display to email screen (#143) via Toni Rico (@tonidero)
- Fix side info not showing when not specifying purchase option (#138) via Toni Rico (@tonidero)
- Bump braces from 3.0.2 to 3.0.3 (#129) via dependabot[bot] (@dependabot[bot])
- Bump ws from 6.2.2 to 6.2.3 (#131) via dependabot[bot] (@dependabot[bot])
- Validate email in SDK (#135) via Toni Rico (@tonidero)
- Show better errors in purchase flow when user is subscribed (#133) via Toni Rico (@tonidero)
- Bump braces from 3.0.2 to 3.0.3 in /examples/rcbilling-demo (#127) via dependabot[bot] (@dependabot[bot])
- Bump ws and puppeteer in /examples/rcbilling-demo (#128) via dependabot[bot] (@dependabot[bot])
- Make demo app independent of entitlement ID (#126) via Jens-Fabian Goetzmann (@jefago)
- Small demo app changes (#125) via Jens-Fabian Goetzmann (@jefago)
- Add new
OfferNotFound
error parsing to backend request error processing (#124) via Toni Rico (@tonidero) - Add processed
period
toPricingPhase
(#123) via Toni Rico (@tonidero) - Update vite dependency in RCBilling demo app (#120) via Toni Rico (@tonidero)
- Add
title
anddescription
to Product (#121) via Toni Rico (@tonidero) - Trial support (#117) via Nicola Sacco (@nicfix)
- Bump rexml from 3.2.6 to 3.2.8 (#114) via dependabot[bot] (@dependabot[bot])
- Added support for SubscriptionPurchaseOptions in ProductResponses (#113) via Nicola Sacco (@nicfix)
- Allow multiple configure calls to create new purchases (#112) via Toni Rico (@tonidero)
- Redesigned demo app (#111) via Jens-Fabian Goetzmann (@jefago)
- Bump ejs from 3.1.9 to 3.1.10 (#109) via dependabot[bot] (@dependabot[bot])
- Only update docs index on latest stable releases (#107) via Toni Rico (@tonidero)
- Bump vite from 5.2.2 to 5.2.6 (#106) via dependabot[bot] (@dependabot[bot])
- Bump express from 4.19.1 to 4.19.2 (#105) via dependabot[bot] (@dependabot[bot])
- Improve API key validation (#104) via Toni Rico (@tonidero)
- [BIL-292] Add
formattedPrice
to Price (#102) via Toni Rico (@tonidero)
- Improve package.json with some useful info to be populated in npmjs (#99) via Toni Rico (@tonidero)
- Update dependencies to latest versions (#100) via Toni Rico (@tonidero)
- Handle network errors (#98) via Toni Rico (@tonidero)
- Fix CustomerInfo parsing and add support to non subscription parsing (#95) via Toni Rico (@tonidero)
- Jfg fix responsive design (#93) via Jens-Fabian Goetzmann (@jefago)
- Responsive UI for purchase flow (#85) via Jens-Fabian Goetzmann (@jefago)
- Removed the .npmrc now that the demo app builds from the relative path (#89) via Nicola Sacco (@nicfix)
- URL encode user defined parameters in urls (#82) via Toni Rico (@tonidero)
- Responsive UI polish (#91) via Jens-Fabian Goetzmann (@jefago)
- Rename
.npmrc
to.npmrc.SAMPLE
and only rename back for publishing CI job (#90) via Toni Rico (@tonidero) - Replaced image with another one (#88) via Nicola Sacco (@nicfix)
- Stick with npm and update readmes (#87) via Jens-Fabian Goetzmann (@jefago)
- Send
presented_offering_identifier
inPOST /subscribe
(#84) via Toni Rico (@tonidero) - Verify API key and user id are valid during configuration (#83) via Toni Rico (@tonidero)
- Fix version auto-bump automation (#81) via Toni Rico (@tonidero)
- Improve README in preparation of making SDK public (#80) via Toni Rico (@tonidero)
- Separate API keys for E2E tests and demo (#79) via Toni Rico (@tonidero)
- Deploy demo page CircleCI (#78) via Toni Rico (@tonidero)
- Fix deployment of library after moving to CircleCI (#76) via Toni Rico (@tonidero)
- Add
Logger
class andsetLogLevel
method to control what logs are printed to console. (#72) via Toni Rico (@tonidero) - Add close button in email input screen (#73) via Toni Rico (@tonidero)
- Support multiple period durations (#74) via Toni Rico (@tonidero)
- Add Fastlane + CircleCI for automation and move docs out of SDK repo into dedicated repo. (#70) via Toni Rico (@tonidero)
- Rename getInstance to getSharedInstance and initializePurchases to configure (#69)
- Move the SDK to a singleton pattern with initializer method (#67)
- Rename package timed accessors to match other SDKs (#65)
- Add
availablePackages
toOffering
type (#63) - Add api-extractor and api-documenter (#61)
- Add docs for public API (#60)
- Small magic form improvements (#59)
- Update README with latest API changes (#47)
- Use Stripe params from the server instead of env variables (#57)
- Use getCustomerInfo internally in isEntitledTo API (#56)
- Handle errors in magic form (#55)
- Change to use /operation endpoint to poll for purchase status (#53)
- Type check tests in CI (#51)
- Consume branding info endpoint from Purchases.js (#52)
- Add svelte-check to check for errors in svelte files (#54)
- Add most missing
CustomerInfo
properties (#50) - Add
presentedOfferingIdentifier
to Product type (#49) - Improve offering types (#48)
- Add
X-Is-Sandbox
header to all requests (#45) - Handle networking errors (#43)
- Add networking layer (#41)
- Improve
purchasePackage
API to return errors as exceptions (#40)
- Added support to sandbox api keys
- Removed the environment parameter
- Embedded UI (#24)
- Move rcbilling-demo to purchases-js (#32)
- Rename listOfferings to getOfferings, OfferingsPage to Offerings and remove getPackage (#34)
- Add puppeteer to execute E2E tests of purchasing flow (#33)
- Hide offerings with no found products (#31)
- Add
current
to offerings in #26 - Add log for missing product ids when getting offerings in #29
- Remove
pricePerPackageId
field from offerins in #27 - Make
all
field in offerings a dictionary in #28
- Add prettier by @francocorreasosa in #13
- Bug: fix some types by @alfondotnet in #14
- Fix publishing to NPM by @alfondotnet in # 10
- BIL-40: Add subscribe method by @francocorreasosa in #11
- Only build ES modules by @alfondotnet in #12
Initial release 🐱🚀
- Add Vite by @alfondotnet in #1
- add README by @alfondotnet in #2
- Fon/add entrypoint by @alfondotnet in #3
- Simplify existing methods + MSW by @alfondotnet in #5
- Added the listOfferings method by @nicfix in #4
- Migrated to the new price naming by @nicfix in #6
- BIL-15: isEntitledTo method! by @nicfix in #7
- Rename / Clean up package prior to publishing to NPM by @alfondotnet in #9