Skip to content

Releases: tinh-tinh/sqlorm

v2.5.1

20 Jan 13:07
23863d7

Choose a tag to compare

🐛 Bug Fixes

  • isValidColumn returns false for snake_case columns like employee_id #93

What's Changed

  • chore(deps): update go dependencies by @ren0503 in #92
  • fix: validate column names with snake_case and camelCase support by @ren0503 in #94

Full Changelog: v2.5.0...v2.5.1

v2.5.0

07 Jan 15:37
0572f0f

Choose a tag to compare

🚀 Features

  • Remove opinionated UUID default from core ORM #88
  • Split Tenancy Support into a Separate Module #90

🐛 Bug Fixes

  • Validate Column When Create Query Builder To Prevent SQL Injection #84

What's Changed

  • build(deps): bump golang.org/x/crypto from 0.35.0 to 0.45.0 by @dependabot[bot] in #83
  • refactor(test): replace sqlorm.Model with gorm.Model in test files by @ren0503 in #89
  • fix: validate column before query by @ren0503 in #87
  • feat: extract tenancy into standalone module by @ren0503 in #91

Full Changelog: v2.4.0...v2.5.0

v2.4.0

15 Sep 14:15
c5bbc7f

Choose a tag to compare

🚀 Features

  • Support hard delete with repository #78
  • Change Option Count to FindOneOptions #80

What's Changed

Full Changelog: v2.3.3...v2.4.0

v2.3.3

31 Aug 02:36
4d57cc8

Choose a tag to compare

🚀 Features

  • Allow Custom Name Provider By Method Inject Repository #72

🐛 Bug Fixes

  • Correct Separate instead of Seperate #73

What's Changed

Full Changelog: v2.3.2...v2.3.3

v2.3.2

17 Aug 13:26
4e373a8

Choose a tag to compare

🚀 Features

  • Not Handler Case Not Found When Update Model #65
  • Add Size When Create Batch #67
  • Add Size When Create Batch #67

What's Changed

Full Changelog: v2.3.1...v2.3.2

v2.3.1

22 Jun 06:09
9b7884d

Choose a tag to compare

🚀 Features

  • Add Option FindAllAndCount #57
  • Add Retry Options When Connect DB #59
  • Change mutation functions by id to interface #61
  • Add Option OnInit to custom connect with gorm #63

v2.3.0

21 May 16:35
09f2fab

Choose a tag to compare

🚀 Features

  • Add Register Factory To Custom Instead Of Option #49
  • Support snakeCase or camelCase for baseModel #51
  • Support UpdateById and deleteByID #53
  • Support preload when find with related #55

v2.2.1

12 Apr 15:18
b3d24ae

Choose a tag to compare

🚀 Features

  • Add Option Get Related When Find #43
  • Add Option Distinct When Find All #44

v2.1.1

05 Apr 05:58
7cfeab8

Choose a tag to compare

🚀 Features

  • Support Query Builder Like Gorm #35
  • Need Option Auto Migration Or Not When Config Sqlorm #36
  • Support Function Increase And Descrease In Repository #37

v2.1.0

29 Mar 13:01
af35d64

Choose a tag to compare

🚀 Features

  • Support sql.Null type #28
  • Support function count and check exist in repository #29
  • Support query by softDelete #33