Skip to content

Releases: simtlix/simfinity.js

Release v2.4.0

07 Jan 01:48

Choose a tag to compare

Release v2.4.0 - GraphQL Authorization Middleware

Release v2.3.4

29 Dec 21:08

Choose a tag to compare

chore: Bump version to 2.3.4

Release v2.3.1

29 Dec 17:18

Choose a tag to compare

chore: Bump version to 2.3.1

Release v2.3.0

27 Dec 14:36

Choose a tag to compare

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

27 Dec 14:28

Choose a tag to compare

Release v2.2.0: Declarative validation helpers and pre-built scalars

Release v2.1.0

27 Dec 14:27

Choose a tag to compare

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

26 Sep 19:12

Choose a tag to compare

chore: bump version to 2.0.2

Release v2.0.0

25 Sep 22:10

Choose a tag to compare

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

25 Sep 22:06

Choose a tag to compare

feat: Update createValidatedScalar to generate type names in format {…

Release v1.9.0

02 Aug 02:35

Choose a tag to compare