Skip to content

Releases: gone-io/gone

v1.2.1

24 Nov 03:55
a7b76cb
Compare
Choose a tag to compare

What's Changed

  • Introduced gone.Provider, a factory function for injecting external components (such as structs, struct pointers, functions, and interfaces) that are not Goner into Goners filed which tag by gone.
  • Fixed an issue where gone.NewProviderPriest failed to create a Priest for gone.Provider instances that generate interface types.
  • Added test cases for goner/gorm and completed other missing test cases; updated documentation accordingly.

Full Changelog: v1.2.0...v1.2.1

v1.2.0

23 Nov 10:21
1ace927
Compare
Choose a tag to compare

What's Changed

  • Introduced a new gone.GonerOption, enabling type-based injection by delegating the task of constructing injected type instances to a Goner that implements Suck(conf string, v reflect.Value, field reflect.StructField) error.
  • Added a helper function for implementing Goner Provider: func NewProviderPriest[T any, P any](fn func(tagConf string, param P) (T, error)) Priest.
  • Provided a strategy configuration solution for the cluster mode in goner/xorm.
  • Improved the goner/gorm code and conducted functional tests to support integration with multiple databases.

Full Changelog: v1.1.1...v1.2.0

v1.1.1 `gone/xorm` support database cluster and multiple Databases

21 Nov 02:20
175bd83
Compare
Choose a tag to compare

What's Changed

  • goner/xorm now supports clustering and multiple databases. Latest documentation: https://goner.fun/references/xorm.html
  • Added goner/gorm, a wrapper for gorm.io/gorm for database access. Currently, only MySQL is supported, and improvements are ongoing.

v1.1.0

13 Nov 11:06
b2466c2
Compare
Choose a tag to compare

What's Changed

  • prepare for releasing v1.1.0 by @Degfy in #37

Full Changelog: v1.0.9...v1.1.0

v1.1.0-beta4

09 Nov 02:36
d4ef5a5
Compare
Choose a tag to compare

What's Changed

  • feat: Export RunTest for testing by @Degfy in #36

Full Changelog: v1.0.8...v1.1.0-beta4

v1.1.0-beta3

06 Nov 13:06
Compare
Choose a tag to compare

v1.1.0-beta2

06 Nov 13:02
Compare
Choose a tag to compare

v1.1.0-beta

06 Nov 08:54
Compare
Choose a tag to compare

What's Changed

  • Feature/1.x by @Degfy in #28
  • example: example/grpc update by @Degfy in #29
  • doc: update readme and change LICENSE to MIT by @Degfy in #30

Full Changelog: v1.0.3...v1.1.0-beta

v1.0.9

06 Nov 03:45
d4ef5a5
Compare
Choose a tag to compare

What's Changed

  • feat: Export RunTest for testing by @Degfy in #36

Full Changelog: v1.0.8...v1.0.9

v1.0.8

12 Sep 04:19
60763c1
Compare
Choose a tag to compare

What's Changed

  • feat: goner/urllib add methodC() for get *req.Client by @Degfy in #35

Full Changelog: v1.0.7...v1.0.8