Releases: codeuchain/codeuchain
Releases · codeuchain/codeuchain
CodeUChain Rust v2.0.0
CodeUChain Rust v2.0.0
Breaking Changes (State-Link-Chain Rebrand)
Contextrenamed toState(immutable data container)Middlewarerenamed toHook(observation layer)
New Features
- Trait-based generics:
Link<Input, Output>,State<T> - Type evolution via
insert_as() - Serde integration for runtime flexibility
- Production-ready with ownership-safe patterns
Install
[dependencies]
codeuchain = "2.0.0"CodeUChain Python v2.0.0
CodeUChain Python v2.0.0
Breaking Changes (State-Link-Chain Rebrand)
Contextrenamed toState(immutable data container)Middlewarerenamed toHook(observation layer)
New Features
- Opt-in generics:
Link[Input, Output],State[T] - Type evolution via
insert_as() - TypedDict support for data shapes
- Comprehensive typed features test suite
Install
pip install codeuchain==2.0.0CodeUChain JavaScript/TypeScript v2.0.0
CodeUChain JavaScript/TypeScript v2.0.0
Breaking Changes (State-Link-Chain Rebrand)
Contextrenamed toState(immutable data container)Middlewarerenamed toHook(observation layer)
New Features
- Opt-in generics:
Link<TInput, TOutput>,State<T> - Type evolution via
insertAs<U>() - Full TypeScript integration tests
- Comprehensive typed features test suite
Install
npm install [email protected]Python v1.1.0 - Context.get() Default Parameter
What's New
Context.get() Default Parameter Support
Added support for default values in Context.get() and MutableContext.get() methods, improving developer experience when handling optional data.
Usage:
from codeuchain import Context
ctx = Context({'name': 'Alice'})
name = ctx.get('name', 'Unknown') # Returns 'Alice'
age = ctx.get('age', 0) # Returns 0 (default)Changes
- ✅ Added
defaultparameter toContext.get() - ✅ Added
defaultparameter toMutableContext.get() - ✅ Comprehensive test coverage for default behavior
- ✅ Updated .gitignore for Python build artifacts
- ✅ Security improvements for demo output
Fixes
- Closes #42
Installation
pip install codeuchain==1.1.0Full Changelog
CodeUChain JavaScript v1.1.1
🚀 CodeUChain JavaScript v1.1.1
Minor release with I-prefixed TypeScript types and package cleanup
✨ What'''s New
- I-prefixed TypeScript types:
IContext<T>,ILink<TInput, TOutput>as recommended pattern - Package size optimization: Removed test files from npm package (~10% size reduction)
- Enhanced developer experience: Better IntelliSense and type checking
- Backward compatibility: All existing code continues to work unchanged
📦 Package Changes
- Added @deprecated notices to original classes
- Introduced I-prefixed type aliases alongside existing types
- Removed test files from package.json files array
- Cleaner npm package with only essential files for consumers
🔧 Technical Details
- Version: 1.1.1 (patch release)
- Package size: 28.2 kB (down from 31.2 kB)
- TypeScript support: Full type definitions included
- Test coverage: 128 tests passing
📥 Installation
npm install [email protected]📚 Documentation
See the main repository for complete documentation and examples.
CodeUChain v1.0.0 - Rust Release
🎉 CodeUChain v1.0.0 - Rust Release
This release includes the Rust implementation of CodeUChain with the following key features:
✨ What's New
- Production Ready: Full Rust implementation with comprehensive testing
- High Performance: Optimized async processing with Tokio runtime
- Type Safety: Strong typing with generic Link and Context interfaces
- Middleware Support: Extensible middleware system for timing, logging, and more
- Cargo Registry: Published to crates.io for easy installation
📦 Installation
cargo add codeuchain🏗️ Architecture
- Generic Links: Type-safe link interfaces with Input/Output type parameters
- Context Evolution: Immutable context transformations with type safety
- Async Processing: Full async/await support throughout
- Error Handling: Comprehensive error types and handling patterns
📋 Files
codeuchain-rust-v1.0.0.tar.gz- Source archivecodeuchain-rust-v1.0.0.zip- Source archive (Windows compatible)
🔗 Links
This is a Rust-only release as requested. Other language implementations will follow in subsequent releases.
py/v1.0.0
Release for py/v1.0.0
js/v1.0.0
Release for js/v1.0.0
go/v1.0.0
Release for go/v1.0.0
csharp/v1.0.0
Release for csharp/v1.0.0