Repository navigation
Add 0.2.0 to 0.2.1 update script and adopt stable - #9
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
cf25b79 to
55eac10
Compare
2c03acc to
d04a5da
Compare
|
|
||
| 0.3.3 | ||
| ----- | ||
| === Include `language__get()` debug message in the 0.3.2 to 0.3.3 update script |
There was a problem hiding this comment.
We can't actually put this here. 0.3.3 is already out. We should mention it under stable, both that we update it in stable and that we've retroactively added it to the previously released 0.3.2--0.3.3.
There was a problem hiding this comment.
Claude here: fixed in e8e7578. The note is now under STABLE and says 0.3.3--stable adds the language__get() debug message and that it was retroactively added to the already-released 0.3.2--0.3.3 update script.
d04a5da to
e8e7578
Compare
Records only trunklet's step-1 exceptions to the shared release process (releases 0.0.1 through 0.3.3 are branches, not tags; the late-added 0.2.0, 0.2.1 and 0.3.3 install scripts) and links to [`ai/RELEASE.md`](https://github.com/Postgres-Extensions/ai/blob/main/RELEASE.md) for everything else. Depends on #9 for the `sql/trunklet--0.2.0.sql` and `sql/trunklet--0.2.1.sql` install scripts.
Adds the missing `0.2.0--0.2.1` update script so a 0.2.0 install can `ALTER EXTENSION trunklet UPDATE` through the whole chain, and adopts the `stable` pseudo-version (`default_version = 'stable'`) between releases. The `language__get()` debug message that a fresh 0.3.3 install has is now added by `0.3.3--stable` (for installs already at 0.3.3) and retroactively by the released `0.3.2--0.3.3` update script. Fixes #7
e8e7578 to
8615d9c
Compare
Adds the missing
0.2.0--0.2.1update script so a 0.2.0 install canALTER EXTENSION trunklet UPDATEthrough the whole chain, and adopts thestablepseudo-version (default_version = 'stable') between releases.Fixes #7
The update script creates
_trunklet.template__get(template_id, ...),process(template_id, ...)and theexecute_into*/execute_text*families, and replacesprocess_language()and theprocess(name, version, ...)function with their 0.2.1 bodies. Theanyarrayoverloads ofprocess()/process_language()are commented out in the 0.2.0 install script, so there is nothing to drop; nothing intrunklet-format0.2.0 depends on them (it callsprocess_language()withjsonb).One commit: it adopts
stable(control file,0.3.3--stableupdate script,HISTORY.ascSTABLE section;sql/trunklet--stable.sqlstays generated and gitignored), adds the update script and the committedtrunklet--0.2.0.sqlandtrunklet--0.2.1.sql(byte-identical toupstream/0.2.0andupstream/0.2.1sql/trunklet.sql). Update-path testing follows in #10.The one difference between an updated install and a fresh one was
_trunklet.language__get(varchar): a fresh 0.3.3 install has itsRAISE DEBUG 'language__get(%)'line (added totrunklet.sqlin a22c416), buttrunklet--0.3.2--0.3.3.sqlnever carried it.0.3.3--stablenow redefines the function, covering installs already at 0.3.3, and the same definition is added retroactively to the released0.3.2--0.3.3script so installs updating through it match too. It only affectsRAISE DEBUGoutput, with no behavior change.