Skip to content

Releases: gone-io/gone

v1.2.4

02 Jan 12:39
68e2928
Compare
Choose a tag to compare

What's Changed

  • feat: update code of process chan by @Degfy in #45

Full Changelog: v1.2.3...v1.2.4

v1.2.3

21 Dec 05:04
13b549d
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.2.2...v1.2.3

v1.2.2

18 Dec 15:16
0eba975
Compare
Choose a tag to compare

What's Changed

  • update readme and add a example of simple-web by @Degfy in #42
  • fix: gin not use wrappedDataFunc by @Degfy in #43

Full Changelog: v1.2.1...v1.2.2

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