v5.3.4
v5.3.4 (#644)
- fix: improve model ID field customization (#604)
Updates places where "id"
was hardcoded instead of using model.IDField()
.
-
Ensure uninitialized map is initialized when unmarshaling json
Add tests for this scenario -
exclude migration_table_name from connection string
-
add test for OptionsString
-
Add support for pointer FKs when preloading a belongs_to association (#602)
-
feat: support context-aware tablenames (#614)
This patch adds a feature which enables pop to pass down the connection context to the model's TableName() function by implementing TableName(ctx context.Context) string. The context can be used to dynamically generate tablenames which can be important for prefixed or generic tables and other use cases.
- Bump pg deps (#616)
- Reset to development
- bumping pgx and pgconn versions
Co-authored-by: Stanislas Michalak [email protected]
Co-authored-by: Larry M Jordan [email protected]
-
Latest from master (#620)
-
Latest from development (#617)
-
fix: improve model ID field customization (#604)
Updates places where "id"
was hardcoded instead of using model.IDField()
.
-
Ensure uninitialized map is initialized when unmarshaling json
Add tests for this scenario -
exclude migration_table_name from connection string
-
add test for OptionsString
-
Add support for pointer FKs when preloading a belongs_to association (#602)
-
feat: support context-aware tablenames (#614)
This patch adds a feature which enables pop to pass down the connection context to the model's TableName() function by implementing TableName(ctx context.Context) string. The context can be used to dynamically generate tablenames which can be important for prefixed or generic tables and other use cases.
-
Bump pg deps (#616)
-
Reset to development
-
bumping pgx and pgconn versions
Co-authored-by: Stanislas Michalak [email protected]
Co-authored-by: Larry M Jordan [email protected]
Co-authored-by: Patrik [email protected]
Co-authored-by: Michael Montgomery [email protected]
Co-authored-by: kyrozetera [email protected]
Co-authored-by: Reggie Riser [email protected]
Co-authored-by: hackerman [email protected]
Co-authored-by: Stanislas Michalak [email protected]
Co-authored-by: Larry M Jordan [email protected]
- adding goreleaser syntaz (#619)
Co-authored-by: Patrik [email protected]
Co-authored-by: Michael Montgomery [email protected]
Co-authored-by: kyrozetera [email protected]
Co-authored-by: Reggie Riser [email protected]
Co-authored-by: hackerman [email protected]
Co-authored-by: Stanislas Michalak [email protected]
Co-authored-by: Larry M Jordan [email protected]
-
Resolve issues in UPDATE and DELETE when using schemas (#618)
-
Resolve MySQL issues and improve test migrations
-
Bump CockroachDB to maintained and supported versions
Version 2.1 has reached EoL in 2019
Signed-off-by: aeneasr [email protected]
-
Use
PaginatorPageKey
andPaginatorPerPageKey
variables (#615) -
update pagination_test
-
Pass Time structure into timestamp update functions. (#625)
Closes #624
-
Allow nullable JSONB and resolve MySQL regression (#639)
-
Allow passing args to
Order
(#630) -
Added connection maximum idle time configuration (#635)
This PR add the possibility to configure the connection maximum idle time (https://golang.org/pkg/database/sql/#DB.SetConnMaxIdleTime).
Closes #632
BREAKING CHANGE: Requires Go 1.15 from now on.
jackc/pgx
to versionv4.11.0
.jmoiron/sqlx
to versionv1.3.3
lib/pq
to versionv1.10.1
-
Fix Inner has many associations when passing on multiple arguments (#633)
-
Fix Inner has many associations when passing on multiple arguments for inner fields
-
Fix broken tests
-
clean up extractFieldAndInnerFields function
-
Remove many to many TX condition for EagerPreload (#645)
-
Remove the need to use Tx when loading many to many associations
-
replace TX access to create a new tx.Store.Transaction() object
-
Added fix/tests for has_many with pointer foreign key (#647)
Co-authored-by: Antonio Pagano [email protected]
Co-authored-by: Patrik [email protected]
Co-authored-by: Michael Montgomery [email protected]
Co-authored-by: kyrozetera [email protected]
Co-authored-by: Reggie Riser [email protected]
Co-authored-by: hackerman [email protected]
Co-authored-by: Stanislas Michalak [email protected]
Co-authored-by: Larry M Jordan [email protected]
Co-authored-by: Brian Buchholz [email protected]
Co-authored-by: Mike Pontillo [email protected]
Co-authored-by: Benjamin Blattberg [email protected]
Co-authored-by: Jonathan Duck [email protected]
Co-authored-by: Arthur Knoepflin [email protected]