Skip to content

v0.0.12

Choose a tag to compare

@theboringhumane theboringhumane released this 07 Jun 19:08
· 18 commits to sudo since this release

馃搵 Release Summary

The v0.1.12 release introduces:

馃幆 Primary Feature: MongoDB Collection Information Support

  • New CLI Flag: --include-collection / -c
  • New API Method: ConvertSQLToMongoWithCollection()
  • New Data Structure: ConversionResult with collection name and pipeline
  • Problem Solved: Eliminates (InvalidNamespace) {aggregate: 1} is not valid for '$limit'; a collection is required errors

馃敡 Files Modified:

  • pkg/zerosql/converter.go - Added new public API methods
  • internal/converter/converter.go - Added internal implementation
  • cmd/root.go - Added CLI flag and output formatting
  • README.md - Added troubleshooting section
  • RELEASE_NOTES_v0.1.3.md - Comprehensive release documentation

馃殌 Key Benefits:

  1. Backward Compatible - Existing functionality unchanged
  2. MongoDB Ready - Generated output can be directly used with MongoDB drivers
  3. Developer Friendly - Clear collection name extraction from SQL
  4. Well Documented - Comprehensive examples and troubleshooting guide

The release notes are now ready and include detailed usage examples, API documentation, troubleshooting guidance, and migration instructions. The feature successfully addresses the MongoDB aggregation namespace error while maintaining full backward compatibility.