Skip to content

v0.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Sep 12:29

🚀 Kafta v0.2.0 - Enhanced Schema Registry Commands

This release introduces significant improvements to the Schema Registry functionality with breaking changes that enhance user experience and performance.

🎯 Major Features & Improvements

Enhanced Schema Registry Commands

  • 🔄 Breaking Change: Completely redesigned schema command syntax for better usability
  • ⚡ Performance: Optimized API calls with parallel processing using goroutines
  • 🎯 Smart Defaults: Automatic latest version detection when version is not specified
  • 📊 Rich Information: Added compatibility information display for schema subjects

New Command Structure (Breaking Changes)

# Old syntax → New syntax
kafta schema subjects-list              → kafta schema subjects
kafta schema subjects-version --subject → kafta schema versions <subject>
kafta schema get --subject <name>       → kafta schema get <name>
kafta schema diff --subject <name>      → kafta schema diff <name>

New Features

📋 --detail flag: Enhanced subjects command now shows compatibility levels and version counts
🔍 Compatibility Display: Shows BACKWARD, FORWARD, FULL compatibility information
⚡ Parallel Processing: Multiple API calls optimized with goroutines for better performance
🎯 Positional Arguments: More intuitive command-line experience with positional subject names
🚨 Smart Error Handling: User-friendly error messages with clear guidance

🌐 Documentation & Website Improvements

GitHub Pages Website

✨ New: Professional documentation website hosted on GitHub Pages
📋 Copy-to-clipboard: Interactive examples with copy buttons for easy command usage
📱 Responsive Design: Clean, modern interface with proper styling
🔗 Navigation: Improved footer and navigation structure

🛠️ Technical Improvements

Code Quality & Performance

🧹 Linting: Resolved all linting and formatting issues
⚡ API Optimization: Single API call for basic operations, detailed calls only when needed
🎯 Error Handling: Consistent error handling using cmdutil.CheckErr() pattern
📊 Two-tier Approach: Fast basic listing vs detailed information on demand

User Experience

❌ Fixed: Duplicate help text display when validation fails
💬 Improved: Cryptic error messages replaced with user-friendly alternatives
✅ Enhanced: Command validation with clear feedback
🔧 Better: Schema Registry API error handling

🤝 New Contributors

We're excited to welcome new contributors to the project:
@torresglauco made their first contribution with GitHub Pages setup
@kalyanbasso added interactive copy-to-clipboard functionality

🔧 Migration Guide

If you're upgrading from v0.1.x, please update your scripts to use the new schema command syntax:

# Update your existing commands:
kafta schema subjects-list              # → kafta schema subjects
kafta schema subjects-version --subject mysubject  # → kafta schema versions mysubject
kafta schema get --subject mysubject    # → kafta schema get mysubject
kafta schema diff --subject mysubject   # → kafta schema diff mysubject

📋 What's Changed

Githubpages/readme by @torresglauco in https://github.com//pull/36
Feat/add copy usage examples by @kalyanbasso in https://github.com//pull/37
feat: enhance schema registry commands by @lucasviecelli in https://github.com//pull/38
Full Changelog: https://github.com/electric-saw/kafta/compare/v0.1.9...v0.2.0