Skip to content

Commit b805be1

Browse files
docs: bump version to 19.0.2.0.8, add changelog for ID-range pagination
1 parent 81b4a5a commit b805be1

4 files changed

Lines changed: 35 additions & 8 deletions

File tree

spp_programs/README.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,16 @@ Dependencies
254254
Changelog
255255
=========
256256

257+
19.0.2.0.8
258+
~~~~~~~~~~
259+
260+
- Replace OFFSET pagination with NTILE-based ID-range batching in all
261+
async job dispatchers
262+
- Add ``compute_id_ranges()`` utility using PostgreSQL NTILE window
263+
function
264+
- Add ``min_id``/``max_id`` support to ``get_beneficiaries()`` on
265+
program and cycle
266+
257267
19.0.2.0.7
258268
~~~~~~~~~~
259269

spp_programs/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"name": "OpenSPP Programs",
55
"summary": "Manage programs, cycles, beneficiary enrollment, entitlements (cash and in-kind), payments, and fund tracking for social protection.",
66
"category": "OpenSPP/Core",
7-
"version": "19.0.2.0.7",
7+
"version": "19.0.2.0.8",
88
"sequence": 1,
99
"author": "OpenSPP.org",
1010
"website": "https://github.com/OpenSPP/OpenSPP2",

spp_programs/readme/HISTORY.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
### 19.0.2.0.8
2+
3+
- Replace OFFSET pagination with NTILE-based ID-range batching in all async job dispatchers
4+
- Add `compute_id_ranges()` utility using PostgreSQL NTILE window function
5+
- Add `min_id`/`max_id` support to `get_beneficiaries()` on program and cycle
6+
17
### 19.0.2.0.7
28

39
- Bulk membership creation using raw SQL INSERT ON CONFLICT DO NOTHING for program and cycle memberships

spp_programs/static/description/index.html

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,17 @@ <h2><a class="toc-backref" href="#toc-entry-1">Changelog</a></h2>
658658
</div>
659659
</div>
660660
<div class="section" id="section-1">
661+
<h1>19.0.2.0.8</h1>
662+
<ul class="simple">
663+
<li>Replace OFFSET pagination with NTILE-based ID-range batching in all
664+
async job dispatchers</li>
665+
<li>Add <tt class="docutils literal">compute_id_ranges()</tt> utility using PostgreSQL NTILE window
666+
function</li>
667+
<li>Add <tt class="docutils literal">min_id</tt>/<tt class="docutils literal">max_id</tt> support to <tt class="docutils literal">get_beneficiaries()</tt> on
668+
program and cycle</li>
669+
</ul>
670+
</div>
671+
<div class="section" id="section-2">
661672
<h1>19.0.2.0.7</h1>
662673
<ul class="simple">
663674
<li>Bulk membership creation using raw SQL INSERT ON CONFLICT DO NOTHING
@@ -666,7 +677,7 @@ <h1>19.0.2.0.7</h1>
666677
<tt class="docutils literal">_add_beneficiaries</tt> with bulk SQL path</li>
667678
</ul>
668679
</div>
669-
<div class="section" id="section-2">
680+
<div class="section" id="section-3">
670681
<h1>19.0.2.0.6</h1>
671682
<ul class="simple">
672683
<li>Remove unused entitlement_base_model.py (dead code, never imported)</li>
@@ -675,34 +686,34 @@ <h1>19.0.2.0.6</h1>
675686
payment, and fund tests (172 → 492 tests)</li>
676687
</ul>
677688
</div>
678-
<div class="section" id="section-3">
689+
<div class="section" id="section-4">
679690
<h1>19.0.2.0.5</h1>
680691
<ul class="simple">
681692
<li>Batch create entitlements and payments instead of one-by-one ORM
682693
creates</li>
683694
</ul>
684695
</div>
685-
<div class="section" id="section-4">
696+
<div class="section" id="section-5">
686697
<h1>19.0.2.0.4</h1>
687698
<ul class="simple">
688699
<li>Fetch fund balance once per approval batch instead of per entitlement</li>
689700
</ul>
690701
</div>
691-
<div class="section" id="section-5">
702+
<div class="section" id="section-6">
692703
<h1>19.0.2.0.3</h1>
693704
<ul class="simple">
694705
<li>Replace cycle computed fields (total_amount, entitlements_count,
695706
approval flags) with SQL aggregation queries</li>
696707
</ul>
697708
</div>
698-
<div class="section" id="section-6">
709+
<div class="section" id="section-7">
699710
<h1>19.0.2.0.2</h1>
700711
<ul class="simple">
701712
<li>Add composite indexes for frequent query patterns on entitlements and
702713
program memberships</li>
703714
</ul>
704715
</div>
705-
<div class="section" id="section-7">
716+
<div class="section" id="section-8">
706717
<h1>19.0.2.0.1</h1>
707718
<ul class="simple">
708719
<li>Replace Python-level uniqueness checks with SQL UNIQUE constraints for
@@ -711,7 +722,7 @@ <h1>19.0.2.0.1</h1>
711722
constraint creation</li>
712723
</ul>
713724
</div>
714-
<div class="section" id="section-8">
725+
<div class="section" id="section-9">
715726
<h1>19.0.2.0.0</h1>
716727
<ul class="simple">
717728
<li>Initial migration to OpenSPP2</li>

0 commit comments

Comments
 (0)