github go-goyave/goyave v5.0.0-rc3
Pre-release v5.0.0-rc3

latest releases: v5.2.1, v5.2.0, v5.1.1...
pre-release8 months ago

-database.Paginator now uses a cloned statement for the count query to avoid modifying the original statement.

  • Wrap errors using errors.New() in many places that were not already doing it.
  • Added errors.Errorf, which is a shortcut for errors.New(fmt.Errorf()).
  • ⚠️ errors.New() and errors.NewSkip() now return nil if given nil as argument. nil values in []error and []any reasons are now ignored.
  • ⚠️ errors.New(), errors.NewSkip() and errors.Errorf() now return error interface instead of *errors.Error to improve ability to compare to nil.
  • Added a safeguard on Response.error() against nil errors.
  • Added a safeguard on slog.Logger.logError() against nil errors.
  • Updated internal uses of the util errors package according to the new changes described above.

Don't miss a new goyave release

NewReleases is sending notifications on new releases.