lucky v0.26.0 Release Notes
Release Date: 2021-02-06 // about 3 years ago-
- โก๏ธ Updated: the compile-error for missing Page args. #1373
- ๐ Fixed: flash messages to be discarded unless specifically kept. #1374
- โ Added: generating
JSON::Any
columns fromlucky gen.model
task. #1375 - โ Added: creating empty HTML tags passing in a Hash for options. #1377
- โก๏ธ Updated: action generators to use actual route instead of the
route
ornested_route
methods. #1378 - โก๏ธ Updated: the compile-error for incorrect route helper usage. #1372
- โก๏ธ Updated:
lucky gen.*.resource
task to not shadow outer local variable. #1379 - ๐ Fixed: uploaded files now have access to the tempfile before it's closed. #1381
- โ Added: new
lucky gen.task
task for generating a new Cli Task. #1322 - โ Added: new
params.get_all
method to get an Array of values from params. #1389 - โ Removed: broken
tag()
overloads. #1394 - โ Added: support for Crystal 0.36. #1398
- ๐ Fixed: empty HTML tags adding an extra space when generated. #1400
- ๐ Fixed: issue with wrong types for form HTML methods when passing in an Operation Attribute. #1405
- โก๏ธ Updated: DB logging to be a little less excited. #589 in Lucky CLI
- Removed: usage of the
route
andnested_route
methods in generated apps. #594 in Lucky CLI - Added: some inline docs to using
ENV["LUCKY_TASK"]
. #595 in Lucky CLI - โ Added: ability to pass
--error-trace
flag to precompiled lucky tasks. #596 in Lucky CLI - โก๏ธ Updated: to Laravel Mix 6 for generated apps. #592 in Lucky CLI
- ๐ Fixed: issue with generated apps Github Actions CI failing. #600 in Lucky CLI
- โก๏ธ Updated:
Procfile
for generated apps to call a binary named by the project instead of "app". #601 in Lucky CLI - โ Added: a new Heroku Buildpack to build all proper targets. Accompanies #601 in Lucky CLI. view Heroku Buildpack
- โ Added: equality operators (
==
,===
) toavram_enum
. #566 in Avram - ๐ Fixed: bug in associations that returned more records than they should have. #574 in Avram
- โก๏ธ Updated: error messages during migrations that were obscured. #577 in Avram
- โ Added:
UUID
primary keys are now generated in the database with a fallback using Crystal. #578 in Avram - Updated:
validate_size_of
to only take aString
attribute. #579 in Avram - โ Added: new
validate_numeric
validation for validating numbers. #580 in Avram - ๐ Fixed: issue with
has_one
preloads not loading the correct records. #581 in Avram - โก๏ธ Updated: compile-error for attempting to use nilable attributes. #583 in Avram
- โ Added: new
Avram::DeleteOperation
objects for handling complex delete logic. #573 in Avram - โก๏ธ Updated: how generics work in
Avram::Attribute
. #586 in Avram - โก๏ธ Updated: custom type support to allow for better 3rd-party support in the future. #587 in Avram
- โ Added: new
lucky db.console
task to enter PSQL for your app. #592 in Avram - โก๏ธ Updated: more support and transparency for custom DB types with new
criteria
method. #591 in Avram - ๐ Fixed: using the
datetime-local
tag to persist the Time. #603 in Avram - โก๏ธ Updated: to the latest (0.23.x) crystal-pg version. #605 in Avram
- โ Added: support for using
citext
columns with newcase_sensitive: false
option. #608 in Avram - โ Added: support for
Array(UUID)
columns. #609 in Avram - ๐พ Updated: SaveOperation
after_save
andafter_commit
callbacks to run even if no changes to the record are made. #612 in Avram - โ Removed: the
after_completed
callback in SaveOperations. also #612 in Avram - ๐ Rename:
Avram::Box
toAvram::Factory
. #614 in Avram - โ Added: new composite primary keys for migrations. #616 in Avram
- ๐ Fixed: issues with
has_one
inSaveOperation
not updating the associated record when doing updates. #596 in Avram - โก๏ธ Updated:
Avram::Operation
to not callrun
if the operation is notvalid?
. #621 in Avram - โก๏ธ Updated: LuckyFlow ChromeDriver to run in non-headless mode (head mode?). #112 in LuckyFlow
- โ Added: ability to use a non Chrome browser in LuckyFlow. #112 in LuckyFlow
- ๐ป Added: the
browser_binary
option back in which lets use specify a different Chrome based browser. #114 in LuckyFlow - โ Added: new
pause
method for LuckyFlow to pause execution of flow for debugging. #117 in LuckyFlow - โก๏ธ Updated: runtime-error for duplicate defined routes. #45 in LuckyRouter
- Added:
have_delivered_emails
spec expectation method forCarbo
. #45 in Carbon