Releases: simtlix/simfinity.js
Releases · simtlix/simfinity.js
v2.4.4
v2.4.3: docs: reorder README sections, fix auth examples, and bump to 2.4.3
Reorder documentation into a logical learning flow: schema definition, relationships, validations, then queries/mutations, state machines, controllers, query scope, auth, and middlewares. Update auth examples to use realistic Simfinity-generated names (series, deleteserie, etc.). Add series-sample project link to Resources and Quick Start. Co-authored-by: Cursor <cursoragent@cursor.com>
Release v2.4.2
chore: bump version to 2.4.2 Add readOnly field to FieldExtensionsType introspection type. Co-authored-by: Cursor <cursoragent@cursor.com>
Release v2.4.1
feat(auth): add Envelop plugin and bump version to 2.4.1 Add createAuthPlugin() as a native Envelop/Yoga alternative to graphql-middleware's applyMiddleware, which causes duplicate-type errors with Simfinity schemas. Mark createAuthMiddleware and createFieldMiddleware as deprecated. Co-authored-by: Cursor <cursoragent@cursor.com>
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)