Skip to content

v2.9.12-preview

Pre-release
Pre-release

Choose a tag to compare

@ericchaves ericchaves released this 10 Sep 14:05
· 12 commits to main since this release

Go Templates Integration: Integrated Go templates with the gen generator for enhanced templating capabilities.
Range Enhancements: Enhanced the range generator to pick up values from a previous table, enabling the creation of partitioned files.
Brazilian Identifiers: Added functions for generating Brazilian CPF and CNPJ numbers.
File Output Improvements: Preserved the column order when writing files
New Generators:

  • cuid2: Next-generation UUIDs, offering improved uniqueness.
  • expr: Enables dynamic expressions using the expr-lang lib for flexible data manipulation.
  • rand: Generates random values for integers, float64, and dates.
  • rel_date: Generates dates within a specified time span from a given range.
  • case: Generates values based on a set of conditional (when/then) statements.
  • fk: Supports generating relationships with variable cardinality, particularly useful for database seeding with 1:N cardinality.
  • map: map values based on the distinct values of another column.
  • lookup: generates column values based on cross-table lookups.
    -dist: generates distribution proportionally.