All Versions
33
Latest Version
Avg Release Cycle
40 days
Latest Release
870 days ago

Changelog History
Page 2

  • v0.22.0 Changes

    June 16, 2020
    • โž• Added: support for Crystal 0.35.0
  • v0.21.1 Changes

    May 08, 2020

    ๐Ÿš€ This a release with a security fix. This only affects applications that use highlight, truncate or simple_format. These methods had potential to be used for XSS attacks if input is not escaped first. However, the risk is mitigated since Lucky defaults cookies to be read by HTTP only, and not through JS. The cookie value itself is also encrypted and signed.

    โฌ†๏ธ It is not best practice to rely purely on HTTP only cookies, so to be safe, we highly recommend upgrading to v0.21.1 as an extra layer of protection.

    ๐Ÿ‘€ See more details in #1135

  • v0.21.0 Changes

    April 19, 2020
    • โž• Added: support for Crystal 0.34.0 Log class #506 in Lucky CLI
    • โž• Added: paginate_array for paginating Arrays #1108
    • ๐Ÿ‘Œ Improve error logging #1114
    • ๐Ÿ‘Œ Improve http status logging #1114
    • โฌ†๏ธ Upgraded: Dexter to v0.2.0
      • Type-safe log configuration
      • New JSON formatter
      • Helpers for testing logs
    • ๐Ÿ›  Fix for issues with the system check in Procfile.dev #505 in Lucky CLI
  • v0.20.0 Changes

    April 09, 2020
    • โž• Added: support for Crystal 0.34.0
    • ๐Ÿ›  Fixed: error on some generated pages from missing sourcemap #1019
    • Updated: options_for_select to accept more types #295
    • โž• Added: ability to pass boolean attrs in link helper methods #1032
    • โœ‚ Removed: setting needs with ?. Lucky now generates a method ending in ? for you when the type is Bool #1034
    • โž• Added: needs on pages can now be accessed by a method and not just instance variable #1034
    • โœ‚ Removed: link helper method with a String path. #1035
    • โž• Added: new Lucky::CookieNotFoundError class. #1038
    • โž• Added: cookies.deleted?() method for checking if a cookie has been deleted. #1040
    • โž• Added: new Lucky::Paginator component with built-in styles for different different CSS frameworks. #1020
    • ๐Ÿ›  Fixed: needs accidentally overwriting methods of the same name. #1046
    • โšก๏ธ Updated: label_for to be a little more flexible with nil text. #1047
    • โšก๏ธ Updated: resource generator to be a little easier to read and digest. #1050
    • โšก๏ธ Updated: development ENV now uses ENV["DEV_PORT"] instead of ENV["PORT"] to fix issues with process managers. #1051
    • โž• Added: new Lucky::CatchUnpermittedAttribute mixin for Shared::Field component. #1052
    • Added: new methods in Actions for accessing params from different sources like from_json, from_query, from_form, and from_multipart. #1053
    • โšก๏ธ Updated: generated pages to have some default text pointing to the location of the file to edit. #1057
    • ๐Ÿ›  Fixed: incorrect pluralization of resources on NewPage. #1058
    • โšก๏ธ Updated: all action "callbacks" are officially named "pipes". All pipes only log when halted by default. #1062
    • โšก๏ธ Updated: the lucky dev watcher does not print which file changes because you know you just changed that file. #1065
    • โž• Added: a new HTTP handler to set the request.remote_address if the X-Forwarded-For header is set. #1059
    • โž• Added: a current_page? helper method for pages. #1074
    • โž• Added: FormFields component for generated resources. #1081
    • โšก๏ธ Updated: all HTML tag methods explicitly return Nil now. #1083
    • โšก๏ธ Updated: page markup to render directly to the IO instead of creating an additional string. #1084
    • โž• Added: String#squish method. #1085
    • โšก๏ธ Updated: error message from returning invalid type in Actions. #1086
    • โž• Added: ability to set custom directory when generating a new Lucky project See LuckyCli
    • โž• Added: ability to set your postgres DB port with ENV var. See LuckyCli
    • โž• Added: a robots.txt file to generated web apps by default. See LuckyCli
    • โž• Added: new compiling spinner graphic for a cleaner UX. See LuckyCli
    • โšก๏ธ Updated: some comments on the generated main app file. See LuckyCli
    • โž• Added: lots of internal documentation. (many small commits to LuckyCli)
    • โšก๏ธ Updated: generated UserSerializer to inherit from BaseSerializer. See LuckyCli
    • ๐Ÿ‘€ Updated: cookies to default to http_only. See LuckyCli
    • โšก๏ธ Updated: node dependencies in generated web apps. See LuckyCli
    • ๐Ÿ”จ Added: new system_check script along with some refactors to make checking that your app is setup a lot easier. See LuckyCli
    • โœ‚ Removed: ability to pass a raw hash to an Avram::SaveOperation. See Avram
    • Added: ability to skip_schema_enforcer for certain models. See Avram
    • โž• Added: Avram::Model#reload to reload all of the attributes that may have been updated since the instance was created. See Avram
    • โž• Added: Query#reset_where to reset the WHERE clause on a specific column. See Avram
    • โž• Added: logging queries that fail. See Avram
    • Fixed: using fill_existing_with when you already had data in your table. See Avram
    • โž• Added: bulk updating records straight from a query object. See Avram
    • โž• Added: new "soft delete" feature. See Avram
    • ๐Ÿ›  Fixed: saving empty array columns when the column can't be nil, but it can be []. See Avram
    • โšก๏ธ Updated: SaveOperation.new to set attributes directly. See Avram
    • โœ‚ Removed: the on option for needs in SaveOperation. See Avram
    • ๐Ÿ›  Fixed: connecting to databases running on a unix domain socket. See Avram
    • โž• Added: new shard for turning an Avram column in to a URL slug. AvramSlugify
  • v0.19.0 Changes

    February 29, 2020
    • โž• 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
  • v0.18.3 Changes

    February 17, 2020
    • โž• Added: support for Crystal 0.33.0
  • v0.18.2 Changes

    December 13, 2019
    • โž• Added: support for Crystal 0.32.0
  • v0.18.1 Changes

    October 16, 2019
    • ๐Ÿ›  Fixed: debug page in development with reset context
    • โšก๏ธ Updated: lucky exec works more like a REPL
    • โšก๏ธ Updated: Log time measured with monotonic
    • ๐Ÿ›  Fixed: Record deletion when primary key is UUID
    • ๐Ÿ›  Fixed: Setting empty array as default to array column
    • โž• Added: Overflow cast catch from Int64 to Int32
    • ๐Ÿ›  Fixed: UUID primary key issue in SaveOperation
    • ๐Ÿ›  Fixed: required attribute validations on custom before_save callbacks
    • โž• Added: New reset_limit query method
    • โž• Added: New reset_offset query method
  • v0.18.0 Changes

    October 04, 2019
    • โž• Added: support for Crystal 0.31.1
    • ๐Ÿ›  Fixed: how accept / content-type headers are handled #869
    • โž• Added: ParamParsingError for when parsing JSON params fails #874
    • โšก๏ธ Updated: Lucky::BaseHTTPClient #875
    • โšก๏ธ Updated: shell scripts for POSIX compliance #879
    • Added: date_input, time_input, datetime_input #877
    • โž• Added: support for HTTP PATCH #885
    • โž• Added: abbr HTML tag #886
    • ๐Ÿ›  Fixed: missing primary_key and timestamps in generated migrations #888
    • ๐Ÿ›  Fixed: pluralize to take any Int #890
    • ๐Ÿ›  Fixed: generation of migrations with resource see Commit
    • ๐Ÿ‘€ Rename: Lucky::HttpRespondable to Lucky::RenderableError see Commit
    • ๐Ÿ›  Fixed: accepts_format, and a few other mime type issues #896
    • ๐Ÿ›  Fixed: default curl requests to server not responding properly #899
    • ๐Ÿ“‡ Rename: handle_error to render in ErrorAction #903
    • ๐Ÿ“‡ Rename: render to html in Actions #905
    • โšก๏ธ Update: error message when missing type declaration for needs #907
    • ๐Ÿ›  Fixed: model generation allowing for non alphanumeric characters #910
    • โšก๏ธ Updated: make more errors renderable #911
    • ๐Ÿ›  Fixed: help messages now display for precompiled tasks #923
    • โšก๏ธ Updated: default help messages for tasks #923
    • ๐Ÿ›  Fixed: issue with precompile tasks running in some directories #924
    • โž• Added: SQL logging see Avram
    • โšก๏ธ Updated: error message when postgres isn't running see Avram
    • โšก๏ธ Updated: Box.create_pair allows for setting attributes, and returns instances see Avram
    • โž• Added: ability to clone a query see Avram
    • Fixed: add_belongs_to in alter statement using wrong Int size see Avram
    • ๐Ÿ›  Fixed: incorrect error message from SaveOperation updates in 0.17 see Avram
    • โž• Added: between query method see Avram
    • โž• Added: ordering queries by NULLS FIRST and NULLS LAST see Avram
    • ๐Ÿ›  Fixed: missing attributes from SaveOperation see Avram
    • โž• Added: db.schema.restore and db.schema.dump tasks see Avram
    • โž• Added: group query method for doing GROUP BY see Avram
    • โšก๏ธ Updated: SchemaEnforcer see Avram
    • ๐Ÿ›  Fixed: issue when calling before in SaveOperation see Avram
    • โž• Added: JWT auth generation for API apps see LuckyCli
    • โšก๏ธ Updated: Serializers to be smarter with collections see LuckyCli
    • ๐Ÿ‘€ Updated: webpack to ignore node_modules directory see LuckyCli
    • โœ‚ Removed: cli lucky init task args see LuckyCli
    • โž• Added: new lucky init.custom task to take args as init did before.
    • ๐Ÿ›  Fixed: lucky init to catch invalid project names properly.
    • ๐Ÿ‘€ Added: support for browser_binary in LuckyFlow see LuckyFlow
  • v0.18.0-rc1

    September 24, 2019