lucky v0.23.0 Release Notes

Release Date: 2020-06-27 // almost 4 years ago
    • ⚡️ Updated: password reset tokens to be URL safe #1118
    • ➕ Added: radio input helper #1125
    • ➕ Added: component file paths to rendered comments in markup for development #1126
    • Added: query_param_declarations method to Action classes #1122
    • 🛠 Fixed: generating a model that already exists now raises an error #1127
    • ➕ Added: select_prompt helper method #1124
    • ⚡️ Updated: lucky routes UI to now include query params #1128
    • ➕ Added: route_prefix method for Actions to prefix all routes #1121
    • 🛠 Fixed: error when deleting cookies that don't exist #1132
    • 🛠 Fixed: handling ajax form submissions with TurboLinks #1133
    • 🛠 Fixed: issue with ajax? method not returning correct value #1134
    • 🛠 Fixed: security issue by escaping HTML helpers by default #1135
    • ⚡️ Updated: memoize to allow for arguments, and nil and false values #1139
    • ⚡️ Updated: model generator to provide more helpful error messages #1140
    • ➕ Added: get_raw method to params along with striping blankspace on param get calls #1144
    • ✂ Removed: mount with deprecation in favor of new m method.
    • ➕ Added: m helper method as a mount replacement with a new interface. #1151
    • ⚡️ Updated: String#squish method to be faster #1159
    • ✂ Removed: Lucky::SessionHandler and Lucky::FlashHandler. #518 in Lucky CLI
    • 🛠 Fixed: issue with session cookies not being written at the right time. #1160
    • ➕ Added: template HTML method for <template> tags. #1164
    • 🛠 Fixed: flash messages being lost during multiple redirects. #1169
    • ➕ Added: redirect_back for actions to redirect back to previous referrer #1168
    • ➕ Added: component method to render a Component directly from an Action #1172
    • ➕ Added: canonical_link HTML helper method. #1182
    • ➕ Added: disable_cookies macro to stop cookies from being written on a specific action #1180
    • 🛠 Fixed: setting samesite on cookies in your Lucky::CookieJar on_set #1183
    • 🛠 Fixed: compilation bug in generated page when running lucky gen.page #1191
    • ➕ Added: multipart: true option to form_for to set multipart enctype #1200
    • ➕ Added: Lucky.root method to raise compile-time error directing people to use Dir.current instead. #1206
    • ➕ Added: native CLI args to LuckyCli::Task. #466 in Lucky CLI
    • ⚡️ Updated: generated projects to disable StaticFileHandler directory listing by default. #510 in Lucky CLI
    • ⚡️ Updated: error action to return a 404 for Avra::RecordNotFoundError #524 in Lucky CLI
    • 🛠 Fixed: select_count failing when postgres returns no counts. #357 in Avram
    • Added: support for postgres extensions with enable_extension, disable_extension, and update_extension. #356 in Avram
    • ➕ Added: enum support for models with avram_enum macro. #339 in Avram
    • 🛠 Fixed: the error message when using remove in migrations, and not passing a Symbol.
    • Added: rename and rename_belongs_to in migrations #366 in Avram
    • ➕ Added: new lucky db.setup task which runs db.create and db.migrate. #361 in Avram
    • ➕ Added: ability to set a custom index name for table indices. #386 in Avram
    • 🛠 Fixed: using a custom primary key name of type UUID. #401 in Avram
    • ➕ Added: checking for a connection to the PostgreSQL engine before running the lucky db.create task. #397 in Avram
    • 🛠 Fixed: logging issues related to Crystal 0.35.0. #31 in Dexter
    • ⚡️ Updated: which selenium library was being used for LuckyFlow. #76 in LuckyFlow
    • Added: initial work to support using other browsers aside from Chrome in LuckyFlow. #79 in LuckyFlow, #88 in LuckyFlow
    • ➕ Added: support to auto fetch latest webdrivers in LuckyFlow. #80 in LuckyFlow
    • 🛠 Fixed: issue with really long stacktrace in LuckyFlow. #83 in LuckyFlow
    • Added: have_text expectation method for Flow specs. #87 in LuckyFlow
    • ➕ Added: optional path param routing. #18 in LuckyRouter
    • ⚡️ Update: routing to ensure matching dynamic fragments all work. #23 in LuckyRouter
    • ➕ Added: a little bit of speed to the routing lookup. #26 in LuckyRouter
    • ➕ Added: a new validation option to Habitat settings. #49 in Habitat
    • 📇 Renamed: the internal Habitat Settings class to HabitatSettings to avoid name conflicts in some Lucky apps. #48 in Habitat
    • 🛠 Fixed: bug when setting a default value in a Habitat setting that could potentially raise an exception. #51 in Habitat