Releases: arjun-computer-geek/mongo-pipeline-kit
Releases · arjun-computer-geek/mongo-pipeline-kit
v0.3.3: GitHub Sponsors Integration
This version focuses on activating and improving the GitHub Sponsors integration for the project.
✨ Added
- GitHub Sponsors Integration: You can now directly support the development of
mongo-pipeline-kitthrough GitHub Sponsors! Visit https://github.com/sponsors/arjun-computer-geek to contribute. - FUNDING.md: Added and updated the funding page with the active sponsorship link and a clear explanation of how your sponsorship helps the project.
🔧 Changed
- Updated
package.jsonwith the working GitHub Sponsors funding link. - Enhanced the
FUNDING.mdfile with the active sponsorship information.
🐛 Fixed
- The funding link now properly redirects to the active GitHub Sponsors page, allowing for a seamless sponsorship flow.
v0.3.2: Support Channel and Link Fixes
This release focuses on improving documentation and support channels by fixing broken links.
✨ Added
ENABLE_DISCUSSIONS.md: Added a guide for users who wish to manually enable GitHub Discussions for their fork.- NPM Package Links: Added direct links to the NPM package page for reviews and feedback as an alternative support channel.
🔧 Changed
- Replaced the
npm run discussionsscript withnpm run npmto direct users to the NPM package page. - Updated all documentation and issue templates to remove broken GitHub Discussions links and point to currently active support channels.
🐛 Fixed
- 404 Error Fix: Removed all links to the disabled GitHub Discussions feature that were causing 404 errors throughout the repository documentation.
v0.3.1: Issue Management System
This release introduces a robust system for managing issues and community contributions.
✨ Added
- Issue Management System:
- Created GitHub issue templates for bug reports, feature requests, and questions to streamline community feedback.
- Added a comprehensive
ISSUES.mdguide for reporting issues. - Set up a GitHub Actions workflow for automated issue labeling and management.
- NPM Scripts: Added new
npmscripts for quick access to the issues page, discussions, and documentation.
🔧 Changed
- Enhanced
README.mdwith a new section on reporting issues and getting support. - Updated
package.jsonwith new keywords for better discoverability on npm.
v0.3.0: Pipeline Utilities, JSON Support, and Analysis
This is a major feature release introducing powerful utilities for pipeline management, analysis, and JSON support.
✨ Added
- JSON Export/Import:
PipelineBuilderandPipelineComposernow support converting pipelines to and from JSON (toJSON,toObject,fromJSON), including exporting with custom metadata. PipelineUtilsClass: A new static utility class for advanced operations like pipeline validation (validate), deep cloning (clone), comparison (compare), and statistical analysis (getStats).- Pipeline Analysis: Added features to get human-readable descriptions (
describe) and estimate the complexity of pipelines. - Advanced Manipulation:
PipelineUtilsalso includes methods to filter, remove, insert, and replace stages within a pipeline. - Enhanced
PipelineComposer: The composer can now inspect its composed pipeline for specific stages (hasStage,getStagesByType). EXAMPLES.md: Created a comprehensive document with detailed usage examples for all the new features.
🔧 Changed
- Significantly enhanced the
README.mdwith documentation for all new features. - Improved overall type safety and error handling across the library.
🐛 Fixed
- Improved error messages for better debugging when building pipelines.
- Strengthened the validation logic in
PipelineUtils.
v0.2.1: Core Pipeline Methods and Initial Setup
This is the first major feature release after the initial setup, adding a comprehensive set of core aggregation methods.
✨ Added
- Core Pipeline Methods: Added a wide array of MongoDB aggregation pipeline methods to
PipelineBuilder, including:$addFields,$bucket,$bucketAuto,$collStats,$count,$facet,$geoNear,$graphLookup,$indexStats,$lookup,$merge,$out,$redact,$replaceRoot,$replaceWith,$sample,$setWindowFields,$sortByCount,$unionWith,$unset, and$unwind. - Project Metadata: Added repository, bugs, and homepage links to
package.jsonfor better package discovery and support. - Documentation: Included
CONTRIBUTING.mdin the npm package files and created the initialCHANGELOG.md.
🔧 Changed
- Improved code organization by alphabetizing the methods in
PipelineBuilder.ts.
🐛 Fixed
- Resolved a 404 error for
CONTRIBUTING.mdon the npm package page. - Fixed a bug in the
sortByCountmethod implementation.