Release Notes¶
v0.42.0 - March 4, 2024¶
- Bump actions/checkout from 2 to 4 (#354)
- Bump actions/setup-go from 3 to 4 (#356)
- Bump actions/setup-go from 4 to 5 (#359)
- Bump codecov/codecov-action from 1 to 3 (#352)
- Bump codecov/codecov-action from 3 to 4 (#362)
- Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#366)
- Bump github/codeql-action from 1 to 2 (#355)
- Bump github/codeql-action from 2 to 3 (#358)
- Bump goreleaser/goreleaser-action from 2 to 5 (#353)
- Fix nested preload with duplicate ptr belongs to (#365)
- Update dependabot.yml (#351)
v0.41.0 - October 28, 2023¶
v0.40.0 - August 26, 2023¶
- Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 (#320)
- Bump github.com/stretchr/testify from 1.8.1 to 1.8.4 (#335)
- Fix CI (#334)
- Fix typo in comment (#340)
- Refactor scanMulti to only call scan once (#339)
- Rename CreateDocument to NewDocument (#341)
v0.39.0 - October 23, 2022¶
- Add query args to instrumentation (#314)
- Bump github.com/subosito/gotenv from 1.4.0 to 1.4.1 (#309)
- Extract cmd package (#319)
- Generic type Repository wrapper (#318)
- Replace empty interface with any (#315)
- Set min go version to 1.15 and fix build matrix (#316)
- Update go.mod and workflows to use go 1.19 (#313)
v0.38.0 - July 8, 2022¶
Changelog¶
36bf6b0 Allow named structs to be embedded (#303)
v0.37.0 - July 3, 2022¶
- Add join assoc query builder (#298)
- Auto populate join fields (#292)
- Bump github.com/stretchr/testify from 1.7.4 to 1.7.5 (#297)
- Bump github.com/stretchr/testify from 1.7.5 to 1.8.0 (#299)
- Support loading association using Join query (#302)
v0.36.0 - June 22, 2022¶
- Add support for scanning joined assoc (#290)
- Bump github.com/stretchr/testify from 1.7.1 to 1.7.2 (#291)
- Bump github.com/stretchr/testify from 1.7.2 to 1.7.4 (#294)
- Bump github.com/subosito/gotenv from 1.3.0 to 1.4.0 (#288)
- Migration's
Do
takes a context as its first argument (#295)
v0.35.0 - May 29, 2022¶
v0.34.1 - May 26, 2022¶
- Add Iris Example (#282)
- Bump github.com/subosito/gotenv from 1.2.0 to 1.3.0 (#284)
- Fix Unhandled exception in gopkg.in/yaml.v3 (#286)
v0.34.0 - March 25, 2022¶
- Bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (#273)
- Optimistic locking (#265)
- Refactor optimistic lock api and test (#276)
v0.33.1 - March 12, 2022¶
- Fix dependencies (#270)
v0.33.0 - March 12, 2022¶
v0.32.0 - February 20, 2022¶
- :boom: Remove deprecated reltest package (#266)
- Bump github.com/go-rel/reltest from 0.5.0 to 0.6.0 (#264)
v0.31.0 - February 15, 2022¶
- Bump github.com/go-rel/reltest from 0.4.0 to 0.5.0 (#259)
- Setup codeql analysis (#263)
- Support embeddable structs (#262)
v0.30.0 - November 14, 2021¶
- :boom: Remove builtin base sql adapter (#258)
- :boom: Remove builtin mysql adapter (#256)
- :boom: Remove builtin postgres adapter (#255)
- :boom: Remove builtin sqlite3 adapter (#257)
- Bump github.com/lib/pq from 1.10.3 to 1.10.4 (#254)
v0.29.2 - November 8, 2021¶
- Fix Structset to handle uuid ([16]byte) correctly (#253)
v0.29.1 - November 5, 2021¶
- Correctly handle nil values in arrays (#251)
- Fix panics when array ptr is used for InsertAll and DeleteAll (#250)
v0.29.0 - November 5, 2021¶
- Fix to find records to collection of pointer type (#246)
- Fix typo in comments (#248)
- Implement option to specify any column as primary key (#247)
- Test migrator using new reltest package (#243)
v0.28.0 - October 29, 2021¶
- Add .deepsource.toml (#237)
- Add filter conditions for Join helpers (#239)
- Add support for primary-replica connections (#238)
- Replace
bytes.Compare
withbytes.Equal
(#236)
v0.27.0 - October 20, 2021¶
- Add option to specify addtional filters for joins (#234)
v0.26.1 - October 19, 2021¶
- Add workflow to bump patch version (#232)
- Bump github.com/mattn/go-sqlite3 from 1.14.8 to 1.14.9 (#230)
- Fix find and count all for soft deleteable records (#231)
v0.26.0 - October 13, 2021¶
- Add alternative soft delete scheme (#225)
- Add option to define JSON datatype column (#223)
- Add partial unique index for specs (#221)
- Allow FilterQuery to be specified for partial indexes and unique key constraints (#219)
- Remove Filter for key as it is not directly supported by SQL (#220)
v0.25.0 - September 27, 2021¶
- Add deprecation notices in constructors (#214)
- Deprecate builtin mysql package (#211)
- Deprecate builtin sqlite3 package (#212)
- Fix preload ptr field with custom table (#216)
v0.24.0 - September 25, 2021¶
- Add
Close()
error to Adapter interface (#209) - Deprecate reltest (#208)
- Fix bump-minor workflow (#210)
v0.23.0 - September 13, 2021¶
- Deprecate NewSelect for Select (#205)
- Deprecate NewSortAsc/Desc for SortAsc/Desc (#204)
- Implement Map.String() (#206)
v0.22.0 - September 7, 2021¶
- Add doc to use
clientFoundRows=true
to mysql adapter (#202) - Allow the function that returns the time to be replaced (#201)
- Bump github.com/lib/pq from 1.10.2 to 1.10.3 (#203)
v0.21.0 - August 25, 2021¶
- Set pointer association fields to nil if preload fails (#197)
- Fix merge sorts query (#195)
- Fix string of empty query (#196)
- If the preload fails, the intermediate association fields will also remain nil (#198)
v0.20.0 - August 19, 2021¶
- Fix Merge sort query (#189)
- Fix deleting empty has many (#191)
- Support stringer interface on query and mutator (#194)
v0.19.0 - August 14, 2021¶
- Support NotFoundError is sql.ErrNoRows (#188)
v0.18.0 - August 7, 2021¶
- Bump github.com/go-sql-driver/mysql from 1.5.0 to 1.6.0 (#177)
- Bump github.com/lib/pq from 1.9.0 to 1.10.2 (#178)
- Bump github.com/mattn/go-sqlite3 from 1.14.6 to 1.14.8 (#179)
- Fix setting tag
auto: true
panics in reltest (#183) - Improve preload doc (#180)
- Setup homebrew tap (#181)
Last update: 2024-12-19