v6.0.4
What's Changed
- fix: replace "id" with model.IDField by @zepatrik in #604
- Ensure uninitialized map is initialized when unmarshaling json by @naemono in #609
- Fix migration table name by @kyrozetera in #612
- Add support for pointer FKs when preloading a belongs_to association by @reggieriser in #602
- feat: support context-aware tablenames by @aeneasr in #614
- Bump pg deps by @paganotoni in #616
- Latest from master by @paganotoni in #620
- Resolve issues in UPDATE and DELETE when using schemas by @aeneasr in #618
- Use
PaginatorPageKey
andPaginatorPerPageKey
variables by @bhb603 in #615 - Pass Time structure into timestamp update functions. by @mpontillo in #625
- Allow nullable JSONB by @benjaminjb in #639
- Allow passing args to
Order
by @duckbrain in #630 - Added connection maximum idle time configuration by @ArthurKnoep in #635
- Bump sqlite to 3.35.4 / 1.14.7 by @aeneasr in #642
- Task update libraries by @paganotoni in #643
- Fix Inner has many associations when passing on multiple arguments by @larrymjordan in #633
- Remove many to many TX condition for EagerPreload by @larrymjordan in #645
- EagerPreload: Added fix/tests for has_many with pointer foreign key by @reggieriser in #647
- Export WhereID, Alias, WhereNamedID by @aeneasr in #637
- fix: log model values everywhere by @zepatrik in #656
- feat: add query.Delete by @zepatrik in #658
- fix: sorting of down migrations by @zepatrik in #657
- fix: preserve eager information when validating models (#664) by @karlhaas in #665
- Migrate from packr to fs by @fasmat in #667
- Task merging master by @paganotoni in #669
- Replace removed command by @aeneasr in #679
- Resolve several panics, incorrect reflection uses, and eager bugs by @aeneasr in #680
- Pass Context during exec in create. by @martinei in #688
- feat: support embedded struct fields by @zepatrik in #691
- test: use
T.TempDir
to create temporary test directory by @Juneezee in #703 - fix: associations for embedded fields by @zepatrik in #707
- feat: implement UpdateQuery by @grantzvolsky in #706
- feat: Allow customizing the time used for CreatedAt/UpdatedAt by @ahobson in #708
- Allow SQLite without built tag by @duckbrain in #662
- preparing go1.18 support (package specific workflow) by @sio4 in #715
- feat: darwin arm64 binary by @jfreeland in #690
- feature: supporting sqlite :memory: and mode=memory on the sqlite driver by @paganotoni in #717
- Bump github.com/lib/pq from 1.10.5 to 1.10.6 by @dependabot in #718
- feat: expose connection transactions with context and options by @zepatrik in #719
- v6.0.4 by @paganotoni in #720
New Contributors
- @naemono made their first contribution in #609
- @kyrozetera made their first contribution in #612
- @reggieriser made their first contribution in #602
- @bhb603 made their first contribution in #615
- @mpontillo made their first contribution in #625
- @benjaminjb made their first contribution in #639
- @ArthurKnoep made their first contribution in #635
- @karlhaas made their first contribution in #665
- @fasmat made their first contribution in #667
- @martinei made their first contribution in #688
- @Juneezee made their first contribution in #703
- @grantzvolsky made their first contribution in #706
- @ahobson made their first contribution in #708
- @jfreeland made their first contribution in #690
Full Changelog: v6.0.3...v6.0.4