chore(release): version packages v1.15.0#258
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@rushdb/javascript-sdk@1.15.0
Minor Changes
7f19708: ## Summary
Adds first-class grouping support to the Search API (
groupBy) across core, JavaScript SDK, dashboard, website, and docs. Also standardizes terminology (uniq->unique), refines aggregation semantics, and updates documentation with a dedicated grouping concept page.✨ New Feature:
groupByClauseYou can now pivot / summarize search results by one or more keys. Keys reference an alias + property (root alias is implicitly
$record).Example (JS SDK):
Key capabilities:
groupBy: ['$record.category', '$record.active']wheretraversal first)groupByis presentResult shape when using
groupBy: each row contains only the grouping fields plus aggregated fields (raw record bodies are not returned unless you also aggregate them viacollect).🔄 Aggregation & Semantics Updates
collectresults are unique by default. Setunique: falseto retain duplicates.uniqueflag (replacing legacyuniq).uniqueoption.PROPERTY_WILDCARD_PROJECTIONsupport (enables future selective projections) – not yet a public API, but impacts generated queries.💥 Breaking Changes
uniqkey renamed tounique{ uniq: true }→{ unique: true }).uniqrenamed touniqueuniq: false→unique: false).groupBy)collectaggregation (e.g.rows: { fn: 'collect', alias: '$record' }).collectunique: falseif you require duplicates.DEFAULT_RECORD_ALIAS→ROOT_RECORD_ALIASIf any code or saved JSON queries still send
uniq, they will now fail unless a compatibility shim exists (none added in this release). Treat this as a required migration.🛠 Migration Guide
email: { type: 'string', uniq: true }email: { type: 'string', unique: true }names: { fn: 'collect', field: 'name', alias: '$user', uniq: true }names: { fn: 'collect', field: 'name', alias: '$user' }(omituniqueif true)unique: false.groupBy, ensure at least one aggregation is defined; queries with onlygroupByare invalid.collectfor children instead of adding child keys togroupBy.Example Migration (JS)
aggregate: { - employeeNames: { fn: 'collect', field: 'name', alias: '$employee', uniq: true }, + employeeNames: { fn: 'collect', field: 'name', alias: '$employee' }, }Adding Grouping
📘 Documentation
concepts/search/group-bycentralizing all grouping patterns (multi-key, alias-based, nested, uniqueness nuances, limitations).uniqueterminology.🧪 Tests & Internal Refactors
groupBypermutations (single key, multi-key, alias grouping, collect uniqueness flags).AggregateContextenhancements to track grouping state.groupByarray is ignored; supply at least one key.nullfor that column (consistent with underlying graph behavior) – validate upstream if needed.orderByusing the property name (without alias prefix) after grouping.✅ Quick Checklist
uniq→uniquein schema & aggregationscollectaggregations for unintended de-duplicationunique: falsewhere duplicates are requiredgroupBycollectfields if raw record snapshots are still neededFeedback
Please report any unexpected behavior with grouped queries (especially multi-key or alias-based grouping) so we can refine edge case handling in upcoming releases.
TL;DR
Use
groupBy+aggregateto pivot results; renameuniq→unique;collectis now unique by default; aggregated queries return row sets, not raw records.rushdb-docs@1.15.0
Minor Changes
7f19708: ## Summary
Adds first-class grouping support to the Search API (
groupBy) across core, JavaScript SDK, dashboard, website, and docs. Also standardizes terminology (uniq->unique), refines aggregation semantics, and updates documentation with a dedicated grouping concept page.✨ New Feature:
groupByClauseYou can now pivot / summarize search results by one or more keys. Keys reference an alias + property (root alias is implicitly
$record).Example (JS SDK):
Key capabilities:
groupBy: ['$record.category', '$record.active']wheretraversal first)groupByis presentResult shape when using
groupBy: each row contains only the grouping fields plus aggregated fields (raw record bodies are not returned unless you also aggregate them viacollect).🔄 Aggregation & Semantics Updates
collectresults are unique by default. Setunique: falseto retain duplicates.uniqueflag (replacing legacyuniq).uniqueoption.PROPERTY_WILDCARD_PROJECTIONsupport (enables future selective projections) – not yet a public API, but impacts generated queries.💥 Breaking Changes
uniqkey renamed tounique{ uniq: true }→{ unique: true }).uniqrenamed touniqueuniq: false→unique: false).groupBy)collectaggregation (e.g.rows: { fn: 'collect', alias: '$record' }).collectunique: falseif you require duplicates.DEFAULT_RECORD_ALIAS→ROOT_RECORD_ALIASIf any code or saved JSON queries still send
uniq, they will now fail unless a compatibility shim exists (none added in this release). Treat this as a required migration.🛠 Migration Guide
email: { type: 'string', uniq: true }email: { type: 'string', unique: true }names: { fn: 'collect', field: 'name', alias: '$user', uniq: true }names: { fn: 'collect', field: 'name', alias: '$user' }(omituniqueif true)unique: false.groupBy, ensure at least one aggregation is defined; queries with onlygroupByare invalid.collectfor children instead of adding child keys togroupBy.Example Migration (JS)
aggregate: { - employeeNames: { fn: 'collect', field: 'name', alias: '$employee', uniq: true }, + employeeNames: { fn: 'collect', field: 'name', alias: '$employee' }, }Adding Grouping
📘 Documentation
concepts/search/group-bycentralizing all grouping patterns (multi-key, alias-based, nested, uniqueness nuances, limitations).uniqueterminology.🧪 Tests & Internal Refactors
groupBypermutations (single key, multi-key, alias grouping, collect uniqueness flags).AggregateContextenhancements to track grouping state.groupByarray is ignored; supply at least one key.nullfor that column (consistent with underlying graph behavior) – validate upstream if needed.orderByusing the property name (without alias prefix) after grouping.✅ Quick Checklist
uniq→uniquein schema & aggregationscollectaggregations for unintended de-duplicationunique: falsewhere duplicates are requiredgroupBycollectfields if raw record snapshots are still neededFeedback
Please report any unexpected behavior with grouped queries (especially multi-key or alias-based grouping) so we can refine edge case handling in upcoming releases.
TL;DR
Use
groupBy+aggregateto pivot results; renameuniq→unique;collectis now unique by default; aggregated queries return row sets, not raw records.rushdb-core@1.15.0
Minor Changes
7f19708: ## Summary
Adds first-class grouping support to the Search API (
groupBy) across core, JavaScript SDK, dashboard, website, and docs. Also standardizes terminology (uniq->unique), refines aggregation semantics, and updates documentation with a dedicated grouping concept page.✨ New Feature:
groupByClauseYou can now pivot / summarize search results by one or more keys. Keys reference an alias + property (root alias is implicitly
$record).Example (JS SDK):
Key capabilities:
groupBy: ['$record.category', '$record.active']wheretraversal first)groupByis presentResult shape when using
groupBy: each row contains only the grouping fields plus aggregated fields (raw record bodies are not returned unless you also aggregate them viacollect).🔄 Aggregation & Semantics Updates
collectresults are unique by default. Setunique: falseto retain duplicates.uniqueflag (replacing legacyuniq).uniqueoption.PROPERTY_WILDCARD_PROJECTIONsupport (enables future selective projections) – not yet a public API, but impacts generated queries.💥 Breaking Changes
uniqkey renamed tounique{ uniq: true }→{ unique: true }).uniqrenamed touniqueuniq: false→unique: false).groupBy)collectaggregation (e.g.rows: { fn: 'collect', alias: '$record' }).collectunique: falseif you require duplicates.DEFAULT_RECORD_ALIAS→ROOT_RECORD_ALIASIf any code or saved JSON queries still send
uniq, they will now fail unless a compatibility shim exists (none added in this release). Treat this as a required migration.🛠 Migration Guide
email: { type: 'string', uniq: true }email: { type: 'string', unique: true }names: { fn: 'collect', field: 'name', alias: '$user', uniq: true }names: { fn: 'collect', field: 'name', alias: '$user' }(omituniqueif true)unique: false.groupBy, ensure at least one aggregation is defined; queries with onlygroupByare invalid.collectfor children instead of adding child keys togroupBy.Example Migration (JS)
aggregate: { - employeeNames: { fn: 'collect', field: 'name', alias: '$employee', uniq: true }, + employeeNames: { fn: 'collect', field: 'name', alias: '$employee' }, }Adding Grouping
📘 Documentation
concepts/search/group-bycentralizing all grouping patterns (multi-key, alias-based, nested, uniqueness nuances, limitations).uniqueterminology.🧪 Tests & Internal Refactors
groupBypermutations (single key, multi-key, alias grouping, collect uniqueness flags).AggregateContextenhancements to track grouping state.groupByarray is ignored; supply at least one key.nullfor that column (consistent with underlying graph behavior) – validate upstream if needed.orderByusing the property name (without alias prefix) after grouping.✅ Quick Checklist
uniq→uniquein schema & aggregationscollectaggregations for unintended de-duplicationunique: falsewhere duplicates are requiredgroupBycollectfields if raw record snapshots are still neededFeedback
Please report any unexpected behavior with grouped queries (especially multi-key or alias-based grouping) so we can refine edge case handling in upcoming releases.
TL;DR
Use
groupBy+aggregateto pivot results; renameuniq→unique;collectis now unique by default; aggregated queries return row sets, not raw records.rushdb-dashboard@1.15.0
Minor Changes
7f19708: ## Summary
Adds first-class grouping support to the Search API (
groupBy) across core, JavaScript SDK, dashboard, website, and docs. Also standardizes terminology (uniq->unique), refines aggregation semantics, and updates documentation with a dedicated grouping concept page.✨ New Feature:
groupByClauseYou can now pivot / summarize search results by one or more keys. Keys reference an alias + property (root alias is implicitly
$record).Example (JS SDK):
Key capabilities:
groupBy: ['$record.category', '$record.active']wheretraversal first)groupByis presentResult shape when using
groupBy: each row contains only the grouping fields plus aggregated fields (raw record bodies are not returned unless you also aggregate them viacollect).🔄 Aggregation & Semantics Updates
collectresults are unique by default. Setunique: falseto retain duplicates.uniqueflag (replacing legacyuniq).uniqueoption.PROPERTY_WILDCARD_PROJECTIONsupport (enables future selective projections) – not yet a public API, but impacts generated queries.💥 Breaking Changes
uniqkey renamed tounique{ uniq: true }→{ unique: true }).uniqrenamed touniqueuniq: false→unique: false).groupBy)collectaggregation (e.g.rows: { fn: 'collect', alias: '$record' }).collectunique: falseif you require duplicates.DEFAULT_RECORD_ALIAS→ROOT_RECORD_ALIASIf any code or saved JSON queries still send
uniq, they will now fail unless a compatibility shim exists (none added in this release). Treat this as a required migration.🛠 Migration Guide
email: { type: 'string', uniq: true }email: { type: 'string', unique: true }names: { fn: 'collect', field: 'name', alias: '$user', uniq: true }names: { fn: 'collect', field: 'name', alias: '$user' }(omituniqueif true)unique: false.groupBy, ensure at least one aggregation is defined; queries with onlygroupByare invalid.collectfor children instead of adding child keys togroupBy.Example Migration (JS)
aggregate: { - employeeNames: { fn: 'collect', field: 'name', alias: '$employee', uniq: true }, + employeeNames: { fn: 'collect', field: 'name', alias: '$employee' }, }Adding Grouping
📘 Documentation
concepts/search/group-bycentralizing all grouping patterns (multi-key, alias-based, nested, uniqueness nuances, limitations).uniqueterminology.🧪 Tests & Internal Refactors
groupBypermutations (single key, multi-key, alias grouping, collect uniqueness flags).AggregateContextenhancements to track grouping state.groupByarray is ignored; supply at least one key.nullfor that column (consistent with underlying graph behavior) – validate upstream if needed.orderByusing the property name (without alias prefix) after grouping.✅ Quick Checklist
uniq→uniquein schema & aggregationscollectaggregations for unintended de-duplicationunique: falsewhere duplicates are requiredgroupBycollectfields if raw record snapshots are still neededFeedback
Please report any unexpected behavior with grouped queries (especially multi-key or alias-based grouping) so we can refine edge case handling in upcoming releases.
TL;DR
Use
groupBy+aggregateto pivot results; renameuniq→unique;collectis now unique by default; aggregated queries return row sets, not raw records.Patch Changes
rushdb-website@1.15.0
Minor Changes
7f19708: ## Summary
Adds first-class grouping support to the Search API (
groupBy) across core, JavaScript SDK, dashboard, website, and docs. Also standardizes terminology (uniq->unique), refines aggregation semantics, and updates documentation with a dedicated grouping concept page.✨ New Feature:
groupByClauseYou can now pivot / summarize search results by one or more keys. Keys reference an alias + property (root alias is implicitly
$record).Example (JS SDK):
Key capabilities:
groupBy: ['$record.category', '$record.active']wheretraversal first)groupByis presentResult shape when using
groupBy: each row contains only the grouping fields plus aggregated fields (raw record bodies are not returned unless you also aggregate them viacollect).🔄 Aggregation & Semantics Updates
collectresults are unique by default. Setunique: falseto retain duplicates.uniqueflag (replacing legacyuniq).uniqueoption.PROPERTY_WILDCARD_PROJECTIONsupport (enables future selective projections) – not yet a public API, but impacts generated queries.💥 Breaking Changes
uniqkey renamed tounique{ uniq: true }→{ unique: true }).uniqrenamed touniqueuniq: false→unique: false).groupBy)collectaggregation (e.g.rows: { fn: 'collect', alias: '$record' }).collectunique: falseif you require duplicates.DEFAULT_RECORD_ALIAS→ROOT_RECORD_ALIASIf any code or saved JSON queries still send
uniq, they will now fail unless a compatibility shim exists (none added in this release). Treat this as a required migration.🛠 Migration Guide
email: { type: 'string', uniq: true }email: { type: 'string', unique: true }names: { fn: 'collect', field: 'name', alias: '$user', uniq: true }names: { fn: 'collect', field: 'name', alias: '$user' }(omituniqueif true)unique: false.groupBy, ensure at least one aggregation is defined; queries with onlygroupByare invalid.collectfor children instead of adding child keys togroupBy.Example Migration (JS)
aggregate: { - employeeNames: { fn: 'collect', field: 'name', alias: '$employee', uniq: true }, + employeeNames: { fn: 'collect', field: 'name', alias: '$employee' }, }Adding Grouping
📘 Documentation
concepts/search/group-bycentralizing all grouping patterns (multi-key, alias-based, nested, uniqueness nuances, limitations).uniqueterminology.🧪 Tests & Internal Refactors
groupBypermutations (single key, multi-key, alias grouping, collect uniqueness flags).AggregateContextenhancements to track grouping state.groupByarray is ignored; supply at least one key.nullfor that column (consistent with underlying graph behavior) – validate upstream if needed.orderByusing the property name (without alias prefix) after grouping.✅ Quick Checklist
uniq→uniquein schema & aggregationscollectaggregations for unintended de-duplicationunique: falsewhere duplicates are requiredgroupBycollectfields if raw record snapshots are still neededFeedback
Please report any unexpected behavior with grouped queries (especially multi-key or alias-based grouping) so we can refine edge case handling in upcoming releases.
TL;DR
Use
groupBy+aggregateto pivot results; renameuniq→unique;collectis now unique by default; aggregated queries return row sets, not raw records.Patch Changes