Skip to content

v0.20.0

Latest

Choose a tag to compare

@nightsailer nightsailer released this 21 Jun 09:00

msgspec-x v0.20.0 - Community Fork Release 馃帀

The first release of msgspec-x, a community-driven fork of the original msgspec library.

馃殌 What's New

Major Feature: StructMeta Subclasses Support

  • Full support for custom metaclasses that inherit from StructMeta
  • Create advanced struct behaviors through metaclass programming
  • Complete compatibility with all msgspec operations (encoding, decoding, utility functions)
  • Enables framework integration and domain-specific struct customizations

馃敡 Why This Fork?

This fork was created to accelerate community contributions and provide extended features while maintaining 100% backward compatibility with the original msgspec library. The upstream maintenance cycle was too slow for critical community needs.

馃摝 Dual Namespace Architecture

  • msgspec namespace: Drop-in replacement with 100% API compatibility
  • msgspec_x namespace: Extended features and community contributions (placeholder for future enhancements)

鈿狅笍 Installation

pip install msgspec-x

Important: Do not install both msgspec and msgspec-x in the same environment - they conflict with each other.

馃攧 Migration

Existing code works without changes:

import msgspec  # Works exactly the same as before

馃檹 Acknowledgments

Special thanks to Jim Crist-Harif for creating the original msgspec library. This fork exists to complement and extend his excellent work.


Full Changelog: See the complete changelog for detailed technical changes.