Skip to content

v0.3.0 - Init

Choose a tag to compare

@arthurmousinho arthurmousinho released this 19 Nov 17:42
· 23 commits to main since this release

Mockment v0.3.0 - Init

We're excited to introduce Mockment v0.3.0 - Init, bringing a more complete checkout experience and further improvements to our local-first payment gateway simulator.

This release significantly expands checkout capabilities, introducing interactive sessions, payment and subscription integration, automated expiration handling, and a more refined developer experience.

What's New

Checkout Sessions & Payment Flows

  • Introduced an enhanced checkout lifecycle with dedicated statuses and state transitions.
  • Added support for creating, completing, and canceling checkout sessions through the REST API.
  • Added configurable payment methods, amounts, currencies, and expiration dates.
  • Introduced checkout completion with payment method selection and simulated payment outcomes.
  • Added support for associating customers with checkout sessions.
  • Improved checkout event tracking across the entire lifecycle.

Subscription Checkout Integration

  • Added support for creating checkout sessions associated with subscriptions.
  • Improved coordination between checkout completion, payment creation, and subscription lifecycle transitions.
  • Added a subscription picker to simplify checkout configuration.

Checkout Management Experience

  • Introduced a dedicated checkout details page with session information and related events.
  • Update the checkout interface for simulating payment completion.
  • Introduced a checkout creation form with configurable session parameters.
  • Enhanced checkout listing with improved status visibility and resource management.
  • Added checkout-specific actions to Spotlight Search.

Improvements

Virtual Clock & Automated Processing

  • Introduced automatic checkout expiration processing using the virtual clock.
  • Added expiration handling when simulated time advances.
  • Improved background task processing for subscriptions and checkout sessions.
  • Enhanced tick job logging with clearer execution information and timestamps.

Simulation

  • Updated checkout simulation steps to support the enhanced session lifecycle.
  • Improved payment, invoice, and subscription simulation steps.
  • Aligned simulation behaviors with the latest resource workflows.

Developer Experience & API

  • Expanded checkout API documentation with updated request and response schemas.
  • Improved consistency across payment, subscription, and checkout endpoints.
  • Simplified resource relationships by decoupling API keys from individual resources.
  • Centralized API key authentication handling.
  • Refined event resource references to support a more flexible event architecture.

Dashboard & Usability

  • Simplified payment and subscription creation workflows.
  • Improved Spotlight Search organization and checkout-related actions.
  • Refined checkout status indicators and navigation.
  • Improved consistency across resource forms and detail pages.

Getting Started

Clone the repository and follow the installation instructions in the README.

git clone https://github.com/arthurmousinho/mockment.git
cd mockment
pnpm install
docker compose up -d
pnpm dev

Important Notice

Mockment remains an experimental development and testing tool. It does not process real payments or issue legally valid invoices.

APIs, data models, and behavior may change as the project continues to evolve.


Thank you for following the evolution of Mockment!

Feedback, bug reports, and suggestions are always welcome.