Download Latest Version v0.38.0 source code.tar.gz (612.7 kB)
Email in envelope

Get an email when there's a new version of Bob

Home / v0.38.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-06-04 968 Bytes
v0.38.0 source code.tar.gz 2025-06-04 612.7 kB
v0.38.0 source code.zip 2025-06-04 788.2 kB
Totals: 3 Items   1.4 MB 2

Highlights

It is now possible to restore the null type system from < v0.37.0 by adding fallback_null: github.com/aarondl/opt/null to your bobgen.yaml configuration file.

Added

  • Added the fallback_null top level configuraiton option. Which can be either database/sql or github.com/aarondl/opt/null.
    This is used to determine how to create null values in the generated code. If set to database/sql, it will use sql.Null[T] for nullable types, and if set to github.com/aarondl/opt/null, it will use opt.null.Val[T].
    The default value is database/sql.

Fixed

  • Correctly build models with nested relationships in the factory.
  • Fix a performance issue with code generation in bobgen-psql.
  • Use the correct alias when generating table columns.
  • Fix issue with generating factory code for tables with schema names.

Full Changelog: https://github.com/stephenafamo/bob/compare/v0.37.0...v0.38.0

Source: README.md, updated 2025-06-04