aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
Commit message (Collapse)AuthorAgeFilesLines
* change Handle to a generic interface without explicit dep on database/sqlStefan Majewsky2026-05-121-0/+11
|
* v0.6.0v0.6.0Stefan Majewsky2026-05-081-1/+1
|
* add type RuntimeIndexStefan Majewsky2026-05-081-0/+6
|
* v0.5.0v0.5.0Stefan Majewsky2026-05-081-1/+1
|
* allow both None or ErrNoRows in SelectOne{,Where}Stefan Majewsky2026-05-081-0/+7
| | | | | | | | | The None-returning style is more convenient when the application needs to genuinely behave differently in this case, e.g. returning 404 from an HTTP API endpoint (instead of 500 for a generic database error). The ErrNoRows-returning style is more convenient when control flow is not different for this case vs. other error cases.
* v0.4.0v0.4.0Stefan Majewsky2026-05-041-1/+1
|
* return None instead of ErrNoRows from SelectOne{,Where}Stefan Majewsky2026-05-041-0/+6
|
* v0.3.0v0.3.0Stefan Majewsky2026-04-301-1/+1
|
* shave an allocation and memcpy from Select() and SelectWhere()Stefan Majewsky2026-04-301-2/+6
|
* add ctx arguments to most methodsStefan Majewsky2026-04-301-1/+4
|
* add Store.Upsert()Stefan Majewsky2026-04-241-1/+2
|
* remove support for SQL dialects that rely on LastInsertId()Stefan Majewsky2026-04-241-0/+11
| | | | | | | | | | While researching for Upsert(), I noticed that both SQLite and MariaDB support INSERT with RETURNING clause, which is objectively better than LastInsertId() and cuts out a lot of useless crap from the codebase (esp. from monomorphization-relevant methods). The only tangible downside is that this drops support specifically for MySQL, but you know what? Fuck Oracle.
* v0.2.0v0.2.0Stefan Majewsky2026-04-181-1/+1
|
* add StructTagKeyIsStefan Majewsky2026-04-181-0/+6
| | | | | Forgot this in 0.1.0. Without this, I cannot migrate existing Gorp users because Gorp does not understand `db:",auto"`.
* v0.1.0v0.1.0Stefan Majewsky2026-04-181-0/+9