lucky v0.19.0 Release Notes

Release Date: 2020-02-29 // about 4 years ago
    • โž• Added: missing docs for time helpers #943
    • โž• Added: HTML boolean attributes to checkbox and textarea helpers #955
    • ๐Ÿ›  Fixed: generated templates with proper naming conventions #956
    • โž• Added: to_param for UUID allowing UUID to be passed in params #945
    • โšก๏ธ Updated: watcher error message to be a little less abrupt #968
    • โšก๏ธ Updated: generated migrations using the table_for macro #970
    • ๐Ÿ›  Fixed: using with_defaults when the tag has content #972
    • โž• Added: any? and empty? to flash #977
    • ๐Ÿ›  Fixed: allowing false values for needs #979
    • โšก๏ธ Updated: needs to now infer a value of nil when the type is nilable #980
    • ๐Ÿ›  Fixed: allowing the -h flag for the watch task #958
    • โž• Added: gzip response for assets when it's configured #983
    • โž• Added: Lucky API docs are now generated from the CI which is deployed to Github pages #989
    • ๐Ÿ›  Fixed: when using needs with different values in random order and Lucky would not compile #993
    • โž• Added: more context to the resource generator See commit
    • โž• Added: ability to pass Crystal's --error-tace flag to lucky watch #957
    • ๐Ÿ›  Fixed: generating resource.browser when using a JSON::Any column type #997
    • ๐Ÿ›  Fixed: issue when using HTML boolean attributes with custom tags #1010
    • โž• Added: the option to define columns in the model generator #1009
    • โšก๏ธ Updated: permitting columns generated from the resource generator #1014
    • Added: new to_prepared_sql method to generate fully prepared sql for debugging See Avram
    • ๐Ÿ›  Fixed: cloning distinct queries See Avram
    • โž• Added: new predicate methods variants for boolean columns See Avram
    • โž• Added: new changed?, changes, and original_value methods for attributes in Operations See Avram
    • Updated: validate_size_of and validate_inclusion_of to allow nil values See Avram
    • โšก๏ธ Updated: error messages on some callbacks See Avram
    • ๐Ÿ›  Fixed: select_sum when the column is any number type See Avram
    • ๐Ÿ›  Fixed: issues with has_one when your model is namespaced, and how it's queried See Avram
    • ๐Ÿ›  Fixed: aggregate query methods to work on all number types See Avram
    • ๐Ÿ›  Fixed: bug when using a Box that had no columns See Avram
    • โšก๏ธ Updated: preloads to only call when there are parent records. This is a query optimization update. See Avram