Skip to content

Commit e5550d6

Browse files
committed
Add AggregateFunction interface
1 parent 8ade6d3 commit e5550d6

File tree

3 files changed

+248
-192
lines changed

3 files changed

+248
-192
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
[Unreleased]: https://github.com/zombiezen/go-sqlite/compare/v0.10.1...main
99

10+
## [Unreleased][]
11+
12+
### Changed
13+
14+
- User-defined aggregate functions are now encapsulated
15+
with a new interface, `AggregateFunction`.
16+
The previous 4-callback approach has been removed
17+
and replaced with a single `MakeAggregate` callback.
18+
Not only was the previous API unwieldy,
19+
but it failed to handle concurrent aggregate function calls
20+
in a single query.
21+
1022
## [0.10.1][] - 2022-07-17
1123

1224
Version 0.10.1 fixes a bug in user-defined window functions.

0 commit comments

Comments
 (0)