Skip to content

Releases: mkaski/pg_render

v0.1.3

22 Feb 09:53

Choose a tag to compare

  • PostgreSQL 13 & 18 support — now supports PostgreSQL 13 through 18 (previously 14–17)
  • pgrx 0.16.1 — upgraded from 0.12.8
  • liquid 0.26.11 — upgraded from 0.26.9
  • Default PostgreSQL version changed from 16 to 17
  • CI runner upgraded to ubuntu-22.04

Thanks to @Vonng for the contribution (#4).

v0.1.2

21 Nov 23:10

Choose a tag to compare

  • Add Cargo.lock
  • Upgrade deps (pgrx 0.12.8)
  • Support pg 17

v0.1.1

11 Feb 20:17

Choose a tag to compare

  • Fix common single value types
  • Add tests
  • Upgrade pgrx to 0.11.3

v0.1.0

25 Jan 23:59

Choose a tag to compare

  • Added render_agg(template text, input record | json | single value) for rendering multiple rows efficiently as an aggregate function
select render_agg('<article><h1>{{ title }}</h1><p>{{ text }}</p></article>', props)
from (select title, text from posts) as props;
<article><h1>Title 1</h1><p>Content for Post 1</p></article>
<article><h1>Title 2</h1><p>Content for Post 2</p></article>