All Versions
46
Latest Version
Avg Release Cycle
31 days
Latest Release
63 days ago

Changelog History
Page 1

  • v4.11.0 Changes

    April 25, 2022

    โž• Added

    • โž• Add getter methods to relationship structs (thanks @fsaintjacques)

    ๐Ÿ”„ Changed

    • When title casing UPPER_SNAKE_CASE strings, underscores are not removed for readablity.

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fix panic when a column referrring a foreign key is ignored (thanks @zapo)
    • ๐Ÿ›  Fix one single point in paths and polygons (thanks @saulortega)
  • v4.10.2 Changes

    April 15, 2022

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fix performance issue when scanning pgeo point (thanks @ivokanchev)
  • v4.10.1 Changes

    April 15, 2022

    ๐Ÿ›  Fixes

    • Properly assign new query object in models.Pural()
  • v4.10.0 Changes

    April 15, 2022

    โž• Added

    • โž• Add config options to allow user defined rules for inflections

    ๐Ÿ›  Fixes

    • โœ… Don't generate test suites for views
    • Properly assign new query object in models.Pural()
    • ๐Ÿ›  Fix false negatives for enum values
    • Strip non alphanumeric characters when title casing.
  • v4.9.2 Changes

    April 11, 2022

    ๐Ÿ›  Fixes

    • ๐Ÿ‘‰ Use correct column alias during soft delete
    • 0๏ธโƒฃ Use a default "table.*" for model queries
  • v4.9.1 Changes

    April 08, 2022

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fixes issue with column name quotinc in many-to-many eager load
    • Properly honor --no-back-referencing in relationship setops
    • Retract v4.9.0 due to issues with the commit tagging and the generated code showing v4.8.6
  • v4.9.0 Changes

    April 04, 2022

    โž• Added

    • โž• Add AllEnum() function to retrieve a slice of all valid values of an enum type
    • โž• Add DefaultTemplates to boilingcore.Config to change the base template files to use for generation
    • โž• Add CustomTemplateFuncs to boilingcore.Config to supply additional functions that can be used in templates (thanks @ccakes)

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fixes issues with detecting enum values that contain uppercases
    • Properly wrap column names in quotes when loading many-to-many relationships (thanks @bryanmcgrane)
    • โœ‚ Removes duplicated deleted_at IS NULL clause in relationship queries (thanks @ktakenaka)
  • v4.8.6 Changes

    January 29, 2022

    โž• Added

    • โž• Add missing function func (modelQuery) DeleteAllGP(...) (thanks @parnic)

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fixed issue with generation of both nullable and non-nullable enum types (thanks @optiman)
  • v4.8.5 Changes

    January 28, 2022

    โž• Added

    • Do not generate a template file if the content is empty
    • โž• Add function drivers.RegisterBinaryFromCmdArg() to extract binary registration

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fix panic on zero value of types.NullDecimal
    • driver.Value() for zero types.Decimal is now "0".
  • v4.8.4 Changes

    January 27, 2022

    โž• Added

    • โž• Add new --always-wrap-errors flag that does not unwrap sql.ErrNoRows so it can retain the stack trace. This supports the best practice of using errors.Is() anyway and will eventually become the default behavior in a breaking v5 (thanks @jhnj)
    • โž• Add support for * as a wildcard for white/blacklisting columns. See readme for details (thanks @Yoshiji)
    • โž• Add missing function func (modelQuery) UpdateAllGP(...) (thanks @MeanSquaredError)
    • โž• Add support for generated columns
    • โž• Add support for database views
    • โž• Add a _model suffix to the generated file for tables names that end with _test or _goos or _goarch since Go treats such files specially.
    • โž• Add C in front of model column attributes that begin with a number since a struct field cannot begin with a number in Go
    • Add sqlite3 driver to the main repo using the CGo-free port

    ๐Ÿ”„ Changes

    • Modify the --add-enum-types flag to also use the generated types in the model fields (thanks @optiman)
    • 0๏ธโƒฃ Mark nullable columns as having a default in Postgres driver
    • โฌ†๏ธ Bump MySQL version used for testing to 8.0

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix panic when a column referrring a foreign key is ignored (thanks @zapo)
    • ๐Ÿ›  Fix bug with using the zero value of the decimal type for a nullable column (thanks @hongshaoyang)