Releases: simtlix/simfinity.js
Releases · simtlix/simfinity.js
Release v2.4.0
Release v2.4.0 - GraphQL Authorization Middleware
Release v2.3.4
chore: Bump version to 2.3.4
Release v2.3.1
chore: Bump version to 2.3.1
Release v2.3.0
feat: Add context parameter to controller lifecycle hooks - Add context as last parameter to all controller hooks (onSaving, onSaved, onUpdating, onUpdated, onDelete) - Update executeOperation and all internal functions to pass context through the call chain - Update saveObject export to accept optional context parameter - Update README with context parameter documentation and usage examples - Maintain backward compatibility for programmatic API usage
Release v2.2.0
Release v2.2.0: Declarative validation helpers and pre-built scalars
Release v2.1.0
Release v2.1.0 - GraphQL Aggregation Queries
New Features:
- GraphQL aggregation queries with GROUP BY support
- Aggregation operations: SUM, COUNT, AVG, MIN, MAX
- Group by direct or related entity fields (dot notation)
- Multi-field sorting (groupId and fact names)
- Filtering and pagination support
- Auto-generated {entityname}_aggregate endpoints
- Custom JSON scalar type (no external dependencies)
- Comprehensive documentation and examples
Technical Implementation:
- buildFieldPath() for field path resolution
- buildAggregationQuery() for MongoDB pipeline generation
- Support for nested related entities
- Automatic $lookup generation for non-embedded relations
- Efficient MongoDB aggregation pipelines
Documentation:
- Complete aggregation section in README.md
- AGGREGATION_EXAMPLE.md with 9 examples
- AGGREGATION_CHANGES_SUMMARY.md with technical details
- 27 tests passing (5 new aggregation tests)
Release v2.0.2
chore: bump version to 2.0.2
Release v2.0.0
feat: Add collection field filtering support - Add support for filtering collection fields (one-to-many relationships) using the same query format as main queries - Implement formatArgs function for proper GraphQL argument formatting - Add comprehensive documentation for collection field filtering feature - Update version to 2.0.0 This major version bump introduces the ability to filter related objects directly within GraphQL queries, providing more powerful and flexible querying capabilities.
Release v1.9.1
feat: Update createValidatedScalar to generate type names in format {…
Release v1.9.0
Full Changelog: v1.8.0...v1.9.0