Skip to content

Release Notes

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

  • Split big preloading-IN query into multiple queries (#283) (#285)

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

  • Basic support for insert with on conflict (#269)
  • Deprecate migrator package (#267)

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 with bytes.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)

v0.17.0 - July 2, 2021

  • 💥 Rename DeleteAll to DeleteAny (#172)
  • 💥 Rename MutateAll to MutateAny (#174)
  • 💥 Rename UpdateAll to UpdateAny (#171)
  • Add DeleteAll records (#173)

v0.16.0 - June 23, 2021

  • Allow to insert association with predefined primary keys (#168)

v0.15.0 - June 16, 2021

  • Update association only if primary and foreign keys are set (#167)

v0.14.1 - June 11, 2021

  • Fix: Use text/template instead html/template #166 (#166)

v0.14.0 - May 15, 2021

  • Added Exec method to repository (#133)
  • Returns affected rows on UpdateAll and DeleteAll (#164)
  • Small improvement to query builder (#163)
  • Update README.md (#161)

v0.13.0 - April 3, 2021

  • Add subquery test specs (#159)
  • Fix convert time coverage on github action (#158)
  • Remove timestamp from schema migration builder (#160)
  • Support Where using Subquery (#142)

Last update: 2022-06-25