v2.1.2

pydantic/pydantic-aiv2.1.2Apr 3, 2026by treoden

AI Summary

This release addresses a critical bug in the CMS Editor that broke formatting in v2.1.1 and introduces various improvements including TypeScript enhancements, new UI components, and updates to Stripe and PayPal payment status codes.

Key Highlights

  • Fixes a critical bug where v2.1.1 broke bold, italic, and links in the CMS Editor.
  • Adds the 'Sonner' component for better UI notifications.
  • Improves the development experience with enhanced TypeScript types.
  • Updates payment status codes for Stripe and PayPal to include more specific states.
  • Includes fixes for checkout flows, event management, and product category unassignment.

Breaking Changes

  • Update payment status for PayPal orders: `authorized` -> `paypal_authorized`, `captured` -> `paypal_captured`.
  • Update payment status for Stripe orders: `authorized` -> `stripe_authorized`, `captured` -> `stripe_captured`, `refunded` -> `stripe_refunded`, `partial_refunded` -> `stripe_partial_refunded`, `failed` -> `stripe_failed`.

New Features

  • Add area debug feature
  • Add sonner component
  • Add a query wrapper for better postgres query typing
  • Improve typescript for better development experience

Full Release Notes

# v2.1.2 (2026-04-03)

## Breaking Changes
* Update payment status for PayPal orders
  - `authorized` -> `paypal_authorized`
  - `captured` -> `paypal_captured`

* Update payment status for Stripe orders
  - `authorized` -> `stripe_authorized`
  - `captured` -> `stripe_captured`
  - `refunded` -> `stripe_refunded`
  - `partial_refunded` -> `stripe_partial_refunded`
  - `failed` -> `stripe_failed`

## What's Changed
* [BUG] v2.1.1 completely breaks bold/italic/links in the CMS Editor #882 by @treoden in https://github.com/evershopcommerce/evershop/pull/885
* Feat: Add area debug feature by @treoden in https://github.com/evershopcommerce/evershop/pull/887
* fix: convert backslash paths to forward slashes for Tailwind v4 on Windows by @Sigmabrogz in https://github.com/evershopcommerce/evershop/pull/891
* Fix event management by @treoden in https://github.com/evershopcommerce/evershop/pull/896
* Add a query wrapper for better postgres query typing by @treoden in https://github.com/evershopcommerce/evershop/pull/895
* Feat: Improve typescript for better development experience by @treoden in https://github.com/evershopcommerce/evershop/pull/897
* Feat: Add sonner component by @treoden in https://github.com/evershopcommerce/evershop/pull/899
* Chore: Less strict order status update by @treoden in https://github.com/evershopcommerce/evershop/pull/900
* Chore: Update order status code for stripe by @treoden in https://github.com/evershopcommerce/evershop/pull/901
* Chore(deps): Bump handlebars from 4.7.8 to 4.7.9 by @dependabot[bot] in https://github.com/evershopcommerce/evershop/pull/902
* Chore(deps): Bump sass from 1.97 to 1.98 by @treoden in https://github.com/evershopcommerce/evershop/pull/903
* Fix: Fix listing style editor by @treoden in https://github.com/evershopcommerce/evershop/pull/904
* Fix: Fix toolbox overlapping issue by @treoden in https://github.com/evershopcommerce/evershop/pull/905
* Fix: Some warning messages from React by @treoden in https://github.com/evershopcommerce/evershop/pull/906
* Fix: fix checkoutForm area ID by @treoden in https://github.com/evershopcommerce/evershop/pull/907
* Fix: Scroll to shipping method list when it is unselected by @treoden in https://github.com/evershopcommerce/evershop/pull/909
* Fix: Improve typing by @treoden in https://github.com/evershopcommerce/evershop/pull/911
* Fix: Fix the area sort order in the registration form by @treoden in https://github.com/evershopcommerce/evershop/pull/912
* Fix: Use new data in the token payload by @treoden in https://github.com/evershopcommerce/evershop/pull/913
* Fix: Upgrade stripe packages and refactor the order status for stripe… by @treoden in https://github.com/evershopcommerce/evershop/pull/914
* Fix: Refactor the paypay payment status by @treoden in https://github.com/evershopcommerce/evershop/pull/915
* Chore(deps): Bump zero-decimal-currencies from 1.2 to 1.6 by @treoden in https://github.com/evershopcommerce/evershop/pull/917
* Fix: Can not unassign a product from a category by @treoden in https://github.com/evershopcommerce/evershop/pull/919
* Fix: Province list does not update when changing country by @treoden in https://github.com/evershopcommerce/evershop/pull/920
* Fix: Fix the missing exports by @treoden in https://github.com/evershopcommerce/evershop/pull/921
* Fix: Fix checkout error message handling by @treoden in https://github.com/evershopcommerce/evershop/pull/924

## New Contributors
* @Sigmabrogz made their first contribution in https://github.com/evershopcommerce/evershop/pull/891

**Full Changelog**: https://github.com/evershopcommerce/evershop/compare/v2.1.1...v2.1.2