NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules
Go modules, #2203 by repository stars
Latest stable
v1.3.5
Last release 8 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 6 months
Nearly every release is documented
notes for 40 of 42 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
49 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fixed ULID generation on low time resolution systems (e.g. MS Windows) (thank you @smola)
Bug fixes:
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
## Enhancements * #256: Statement cacher can now be disabled on demand. This is not recommended for regular use as it degrades performance, use only i
Debug() instances now propagate to transaction stores.kallax gen now deletes a previously generated file before attempting to generate the new one.### Bugs fixed * #234 ### Improvements * #222
CLI errors (gen, migrate) are not silent anymore.
gen, migrate) are not silent anymore.do not remove the first field in updates
do not remove the first field in updates
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
Reduced the allocations and memory consumption of inserts, updates and deletes in more than a half in almost all cases.
unique:"true" struct tagWhen checking if an implicit foreign key equals the column it corresponds to, make sure the nullability of such foreign key is irrelevant because the
Now []byte and bytea are equivalent, before it was smallint[]. Even though this could be considered a breaking change, it has been considered as a bug…
bytea does no longer throw an error. Now []byte and bytea are equivalent, before it was smallint[]. Even though this could be considered a breaking change, it has been considered as a bug as it made no sense the way it was before.Document both in the generated code _and_ the README that RemoveXXX functions must not have that XXX relationship empty for them to work as expected.
RemoveXXX functions must not have that XXX relationship empty for them to work as expected.### Bugs fixed * #205 fixed a small issue that prevented the use of Count in some cases
Count in some cases### Bugs fixed * #206 fix order of generated tables in schema generation
### Performance improvements * #207 avoid extra queries when there is no limit on the query and the size of the returned result set is less than the b
make all non-pointer fields not null by default in schema #202
### Bugs fixed * #194 Kallax migrate did not work properly on windows ### Performance improvements * #196 Avoid extra query if the number of rows retu
Ability to specify the primary key directly in the embedded kallax.Model by column name.
kallax.Model by column name.Removal of empty lines at the end and start of blocks in the generated kallax.go file.
kallax.go file.[Windows-only] correct handling of the --dir argument in the kallax migrate command.
--dir argument in the kallax migrate command.Added implicit foreign keys for the models that should have an inverse relationship but haven't. Please regenerate your kallax.go files.
kallax.go files.Non-pointer slices of relationships are working as expected now. Please, regenerate your kallax.go after this.
kallax.go after this.Allow circular dependencies in schema generation for self references and inverse relationships.
type Parent struct {
kallax.Model
ID int64
Child *Child
}
type Child struct {
kallax.Model
ID int64
}
Before it was required that Child had a:
Parent *Parent `fk:",inverse"`
Correct generation of constructors parameter/result types #164
floa64 fields generated double columns, which was not correct. Now they generate a correct double precision column.
floa64 fields generated double columns, which was not correct. Now they generate a correct double precision column.Fixes the issue of not being able to correctly detect kallax types when they are vendored.
Fixes tests and behavior of the generator in windows.
kallax:"new_column_name" was not working properly.
kallax:"new_column_name" was not working properly.Models with no fields but its autoincrementable primary key return an error on Insert now, as opposed to a SQL invalid syntax error.
Insert now, as opposed to a SQL invalid syntax error.Added benchmark against sqlboiler
FindAll method to all typed stores to avoid having to use ResultSet.All after Find.Implemented automatic migration generation.
mattes/migrate to perform migrations.This update requires regenerating models. It is backwards compatible, though, so the only downside of not regenerating the models is the fact that your time.Time fields will not be truncated before saving.
Added NOT SIMILAR TO and ILIKE operators.
NOT SIMILAR TO and ILIKE operators.Debug and DebugWith methods to Store and typed stores to debug SQL statements.* Added SIMILAR TO operator.
SIMILAR TO operator.Fixed scanning issue in Windows
GOPATH with multiple paths #138LIKE operator implemented #137[Windows-specific] Fix import path using windows slash separators
Generate schema fields for inverse relationships.
StoreFrom function to transmute stores.[FIXED] generator: cast address of aliased basic types #116
* Add NewULIDFromText function.
NewULIDFromText function.Implement TextMarshaler for kallax.ULID
TextMarshaler for kallax.ULIDFix `Scan` method of `ULID` type
This release fixes the following bugs:
This release fixes the following bugs:
Nothing published for this version
Nothing published for this version
Nothing published for this version
This release features the following changes and additions:
This release features the following changes and additions:
Store, Result Set and Query generation
*url.URLNothing published for this version
Nothing published for this version
One column per quarter.