Skip to content

Latest commit

 

History

History
49 lines (39 loc) · 2.05 KB

CHANGELOG.md

File metadata and controls

49 lines (39 loc) · 2.05 KB

Changelog

0.1.0

  • replace structopt with clap
  • replace dependency Inflector with heck
  • add dependency thiserror
  • remove dependency anyhow
  • add subcommand to generate shell completions
  • function generate_files now takes in &Paths instead of PathBufs
  • remove to_singular name generations
  • add option --create-str to set Create* structs string & byte types
  • add option --update-str to set Update* structs string & byte type
  • add option --single-model-file to only generate a single file instead of a directory with mod.rs and generated.rs
  • add option --readonly-prefix and --readonly-suffix to treat a matching name as a readonly struct
  • add option --no-crud to not generate any impl blocks
  • derive generation has been refactored and now only necessary derives are added to a given struct
  • reduce amount of empty-newlines
  • add dsync::Error(and dsync::error module)
  • replace most panic!, .expect and some .unwrap with Results
  • fix nullable unsigned integers not resulting in Option<u*>
  • derive Default for all Update* structs
  • use @generated file signature to exclude the files from formatting
  • rename type Connection = to type ConnectionType = to lessen naming conflicts
  • add many doc-comments to fields and functions
  • list changes to files (unchanged, modified, deleted)
  • generate doc-comments for generated structs, fields and functions
  • add derive QueryableByName to read-structs
  • add derive PartialEq to update-structs
  • add new experimental filters (behind the advanced-queries feature flag)
  • move function paginate behind advanced-queries feature flag
  • split GenerationConfig into required and optional parts (GenerationConfigOpts) (fixes #92)
  • added compile tests to actually verify all options compiling

0.0.17 (yanked)

  • used for testing publishing CI

0.0.16

  • add option schema-path and model-path to specify custom paths for diesel schemas input and model output

0.0.15

  • add option --no-serde to disable serde derives

0.0.14

  • fixes for diesel 2.1.0