v2.0
WIP
v1.0 - 2016.04.27
Breaking Changes
gorm.Openreturn type*gorm.DBinstead ofgorm.DBUpdating will only update changed fields
Soft Delete’s will only check
deleted_at IS NULLNew ToDBName logic
When GORM convert struct, field name to db name, only common initialisms from golint like
HTTP,URIwere handled, soHTTP‘s db name ishttp, but noth_t_t_p.But for some other initialisms not in the list, like
SKU, it’s db name wass_k_u, this change fixed it.Error
RecordNotFoundhas been renamed toErrRecordNotFoundmssqldialect has been renamed to “github.com/jinzhu/gorm/dialects/mssql”Hstorehas been moved to package “github.com/jinzhu/gorm/dialects/postgres”