Releases: go-gorm/gen
Releases · go-gorm/gen
v0.3.27
What's Changed
- style: replace from
io/ioutil
toos
by @tr1v3r in #1124 - fix: install gentool with separated tag by @tr1v3r in #1127
- feat: add NotIn for Field by @qqxhb in #1158
- feat: add substring and substr for field String by @qqxhb in #1194
- fix: Updates method is invalid for tag type hooks by @qqxhb in #1217
- feat: add opt WithSQLNullType by @qqxhb in #1229
- feat: parse table name for all method by @qqxhb in #1237
- feat: interface template add method Rows by @qqxhb in #1245
- feat: parse struct field comment by @qqxhb in #1260
- feat: diy generator logger by @li-jin-gou in #1264
- fix: typo NotRegxp -> NotRegexp by @qqxhb in #1266
- feat(field): ppdate time.go FromUnixtime parameter int -> int64 by @ranley123 in #1259
- fix: embedded fields by @qqxhb in #1267
- feat: support native SQL as custom fields by @mimicode in #1213
- feat: rm ctx func by @qqxhb in #1275
- feat: unscoped for associtations by @qqxhb in #1276
- feat: support join for RelationField by @qqxhb in #1277
- fix: fix context propagation in UseDB method by @hlts2 in #1278
- feat: support RANDOM() by @ezoushen in #1224
- fix:Generate with DIY method parse generic struct error by @idersec in #1269
- fix: fix an issue where related fields could not be updated during a transaction. by @miya-masa in #1239
- chore(github/workflows): upgrade golangci lint config by @tr1v3r in #1289
New Contributors
- @li-jin-gou made their first contribution in #1264
- @ranley123 made their first contribution in #1259
- @mimicode made their first contribution in #1213
- @hlts2 made their first contribution in #1278
- @ezoushen made their first contribution in #1224
Full Changelog: v0.3.26...v0.3.27
tools/gentool/v0.0.1
What's Changed
Full Changelog: v0.3.26...tools/gentool/v0.0.1
v0.3.26
What's Changed
- fix: add import pkg paths to single query files (#1032) by @Nomango in #1038
- feat: add prefix "gent_test" for test global var by @tr1v3r in #1060
- fix: remove assert code when result param is empty by @tr1v3r in #1062
- fix!: method Filed should be Field by @neo-f in #1089
- feat: empty tag value by @qqxhb in #1110
- style(field): use
CONCAT
with upper cases by @ch3nnn in #1104 - style(field): simplify range expression by @iluyuns in #1112
New Contributors
- @Nomango made their first contribution in #1038
- @ch3nnn made their first contribution in #1104
- @iluyuns made their first contribution in #1112
Full Changelog: v0.3.25...v0.3.26
v0.3.25
v0.3.24
What's Changed
- feat: rm rawsql by @qqxhb in #921
- fix: fix unit_test join pk error by @tr1v3r in #934
- feat: Clickhouse nullable fields support by @jerrdasur in #919
- fix: copy paste mistake in method comment by @pelmers in #906
- feat: add rand function #811 by @miseyu in #901
- fix: input tablename with space by @NM666 in #888
- feat: 兼容field函数,方便实现自定义排序规则 by @wangle201210 in #696
- feat: tool config by @qqxhb in #942
- feat: add lower and upper by @myml in #945
- feat: add fieldCoverable param to gentool by @yama-6 in #943
- feat: table comment by @qqxhb in #975
- feat: add order by asc expr by @dino-ma in #1034
New Contributors
- @pelmers made their first contribution in #906
- @miseyu made their first contribution in #901
- @NM666 made their first contribution in #888
- @wangle201210 made their first contribution in #696
- @yama-6 made their first contribution in #943
Full Changelog: v0.3.23...v0.3.24
v0.3.23
What's Changed
- feat: fully build order value by @RiverChu in #836
- fix: add field comment by @qqxhb in #837
- fix: flag outPath and config error log by @jeffmingup in #840
- fix: gorm tag of multi index by @qqxhb in #846
- feat: add columns method by @qqxhb in #850
- fix setting GOMAXPROCS by @wulorn in #853
- fix: fix #755 calculate skip number in GetModelMethod by @miya-masa in #782
- feat: support gen from sql by @qqxhb in #815
- feat: implement field diy modify by @RiverChu in #869
- feat implement gen.Exists method by @RiverChu in #868
- feat: test by @qqxhb in #878
- feat: add abs func by @qqxhb in #896
- feat: assign or attr map/struct by @qqxhb in #894
- feat: expose AddError via Dao interface by @YasserRabee in #744
New Contributors
- @jeffmingup made their first contribution in #840
- @miya-masa made their first contribution in #782
- @YasserRabee made their first contribution in #744
Full Changelog: v0.3.22...v0.3.23
v0.3.22
What's Changed
- feat: return begin err by @qqxhb in #764
- feat: condition accept json.JSONArrayExpression by @RiverChu in #762
- fix: fix field.Time IfNull accept param type by @RiverChu in #788
- feat(field): add func YEAR by @RiverChu in #787
- feat: Add clickhouse option to gentool by @jerrdasur in #792
- fix gen.WithMethod can't read current package by @idersec in #796
- feat: implement concat columns by @RiverChu in #789
- feat: implement SUBSTRING_INDEX for field String/Bytes by @RiverChu in #799
- feat: update Expr interface by @RiverChu in #800
- feat: add gen serializerInterface support by @kukuke in #807
- feat: support type mapping by colume by @qqxhb in #820
- fix: path separator by @qqxhb in #806
- feat: field tag by @qqxhb in #784
- feat: Session method for relation field by @Andello in #779
- feat: support two-dimensional array by @idersec in #834
New Contributors
- @jerrdasur made their first contribution in #792
- @kukuke made their first contribution in #807
- @Andello made their first contribution in #779
Full Changelog: v0.3.21...v0.3.22