rails-paradedb 0.13.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87745906c0e84ce264fcb243665c8edaf756218568745eecbe2781b0aa35f52f
4
- data.tar.gz: 499f1837259b7a2c2a56ff6c55a98ff8dc6ef72e9de08517631215d9a7c091c2
3
+ metadata.gz: 45e56dc6d44889df2b0916faf747ad9ecdd75772fb4664e766b7bb5d7e01b3cd
4
+ data.tar.gz: 2f8792790f216eadf48e019539e9486b354564c01a9e073038c2cf1871b33ce9
5
5
  SHA512:
6
- metadata.gz: ffcfe007ab852d8b36f69e9af1853dc1b0df485bfdbb0599749aa6ee27e1dd43707ea8958733c6b4c112fdd3d2ba6038d460dfb8c3062475e53826164d54a3f7
7
- data.tar.gz: 236e0df31d2f705f3b7f015e5c051951e4aec16e3438961e5ff2a2757ab007f3a21565c312847aaa26fc844d3fd9c16e3c732634ba2d1d9b3c4a00f9a30263a9
6
+ metadata.gz: c49ab3e46f7e3286af552a941d85c5690f47b34af0e98009cfd20b602d7f1eb6c55c6122aac09f19b42d69078c02bbca24b17140a5e63612d7a9ba979e3bb0ed
7
+ data.tar.gz: 6fb74d7ef61b3846dfe05cf8b06be300d2c57337498a82e6234f6352df4287b7efa27ddb771f2f7bc3e2bf9595c895bbf0378264162f976ed5197231cd008eac
data/CHANGELOG.md CHANGED
@@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file. The format
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.14.0] - 2026-10-16
8
+
9
+ ### Added
10
+
11
+ - Cross-group facets using `relation.builder.combine_agg` with Arel `over`.
12
+
13
+ ### Changed
14
+
15
+ - **Breaking:** Require ParadeDB 0.26.2 or newer.
16
+
7
17
  ## [0.13.0] - 2026-10-07
8
18
 
9
19
  ### Added
@@ -198,6 +208,7 @@ All notable changes to this project will be documented in this file. The format
198
208
  - Schema dump/load round-trip for tokenizer configuration and index options
199
209
  (including `target_segment_count`)
200
210
 
211
+ [0.14.0]: https://github.com/paradedb/rails-paradedb/compare/v0.13.0...v0.14.0
201
212
  [0.13.0]: https://github.com/paradedb/rails-paradedb/releases/tag/v0.13.0
202
213
  [0.12.0]: https://github.com/paradedb/rails-paradedb/releases/tag/v0.12.0
203
214
  [0.11.0]: https://github.com/paradedb/rails-paradedb/releases/tag/v0.11.0
data/README.md CHANGED
@@ -46,7 +46,7 @@ The official [ActiveRecord](https://guides.rubyonrails.org/active_record_basics.
46
46
  | Rails | 7.2+ |
47
47
  | PostgreSQL | 15+ |
48
48
  | pgvector | 0.7.0+ (provides vector types for ParadeDB’s [native vector search](https://www.paradedb.com/docs/reference/vector/overview)) |
49
- | ParadeDB / pg_search | 0.26.0+ |
49
+ | ParadeDB / pg_search | 0.26.2+ |
50
50
 
51
51
  ## Contributing
52
52
 
@@ -178,6 +178,12 @@ module ParadeDB
178
178
  ::Arel::Nodes::NamedFunction.new("pdb.agg", args)
179
179
  end
180
180
 
181
+ # Combine pdb.agg across GROUP BY groups.
182
+ # Use combine_agg(agg(json)).over to produce the required OVER () form.
183
+ def combine_agg(aggregate)
184
+ ::Arel::Nodes::NamedFunction.new("pdb.combine_agg", [aggregate])
185
+ end
186
+
181
187
  private
182
188
 
183
189
  def infix(operator, left, right)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ParadeDB
4
- VERSION = "0.13.0"
4
+ VERSION = "0.14.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-paradedb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ParadeDB