Skip to content

Releases: UsefulSoftwareCo/emulate

Release list

v0.13.6

Choose a tag to compare

@RhysSullivan RhysSullivan released this 21 Jul 18:08

New Features

  • WorkOS session logout — the WorkOS emulator now serves AuthKit's session-end endpoint (GET /user_management/sessions/logout?session_id=...&return_to=...), the URL the Node SDK's getLogoutUrl builds. It revokes the session (its refresh token stops minting tokens, matching real WorkOS) and redirects to return_to, or renders a signed-out page when none is given. Apps can now exercise their full sign-out flow, including the hop through WorkOS, against the emulator.

v0.9.0

Choose a tag to compare

@RhysSullivan RhysSullivan released this 29 Jun 20:40
ca87f0b

New Features

  • Autumn checkout and free-trial flow — the Autumn emulator now backs a real billing UI end to end. plans.list returns a seedable plan catalog with per-customer eligibility (attach_action, status, trialing, trial_available), billing.attach and billing.open_customer_portal are supported, and a paid plan or a card-required free trial routes attach through a hosted checkout page. Completing checkout redirects to the app's success_url without activating the subscription; activation lands when the checkout settles (POST /checkout/settle), mirroring Stripe's checkout.session.completed webhook arriving after the redirect. customers.get_or_create now returns SDK-shaped subscriptions and per-feature balances.

Published manually: @executor-js/emulate@0.9.0 (the bundle consumed by executor; carries the autumn changes). The standalone @emulators/* packages were not republished from this run.