Skip to content

feat!: drop aggregations #287

@tim-hm

Description

@tim-hm

Problem

The current aggregation feature in ⁠nildb presents several challenges:

  • Security Risk: Aggregations can potentially be crafted to access data outside of a builder's authorized collections.
  • Technical Complexity: Aggregations require reassembling secret shares before computation, which complicates the storage layer's responsibility.
  • Performance: Queries can be demanding and inefficient over large, distributed datasets.

Goal

To simplify ⁠nildb's role into a pure, secure storage layer, we will remove the aggregation feature. This aligns with our strategy of delegating complex, multi-share computation to the upcoming ⁠nilcc service.

Acceptance Criteria

  • All code related to the aggregation feature is removed from the ⁠nildb codebase.
  • All related API endpoints are removed and documented as deprecated.
  • The removal does not impact standard CRUD operations on collections.

  • This breaking change is clearly communicated in the release notes.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions