All Versions
33
Latest Version
Avg Release Cycle
40 days
Latest Release
877 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v0.29 Changes
November 30, 2021- ๐ Fixed: the binary name generated for the
gen.secret_key
task. #1556 - Updated: the
html_with_status
to allow Numbers, Symbols, and HTTP::Status. #1568 - โก๏ธ Updated: the
lucky routes
task to print within a table (again). Added a new flag option to print params. #1569 - Added: new
path_without_query_params
Action method. #1572 - โ Added: option to set a different manifest filename when not using laravel-mix. #1578
- ๐ Fixed: an issue when passing optional params that were not a String. #1582
- ๐ Fixed: Ameba always being installed even when your app doesn't depend on it. #1589, #736 in Avram, #62 in Carbon
- โ Added: support for using namespaces when generating resources from the CLI. #1588
- โ Added: DeleteOperation when generating a model from the CLI. #1594
- ๐ Fixed: verifying secret messages that may contain "--". #1596
- โ Removed:
route
andnested_route
macro helpers. #1597 - ๐ Fixed: the use of boolean attributes rendering invalid values in HTML. #1598
- โ Added: new Pulsar event to fire when an HTTP request is fully completed. #1601
- โก๏ธ Updated: the
lucky watch
task to be less greedy on recompiles. #1604 - โ Added: the
ajax
desired client format option for actions. #1603 - โ Added: a better help message for
lucky exec
to include options. #1602 - Added: new
previous_page
, andnext_page
Paginator helper methods. #1611 - ๐ Fixed: writing to the response body when making a HEAD call. #1609
- ๐ฅ Breaking change Removed: the
lucky build.release
task. #1612 - โก๏ธ Updated: Avram is no longer required for parsing params. #1616
- ๐ฅ Breaking change Removed: support for Crystal versions below 1.0.0. #1618
- ๐ฅ Breaking change Updated: the
Lucky::BaseAppServer#listen
method to be abstract. #1622 - โ Added: new HTTP
context.request_id
andRequestIdHandler
. #1610 - โ Added: documentation clarity for the route style checking. #668 in Lucky CLI
- โก๏ธ Updated: require position for the config directory to be higher in the stack. #676 in Lucky CLI
- 0๏ธโฃ Updated: the
load_manifest
to use "public/mix-manifest.json" by default. #679 in Lucky CLI - ๐ Fixed: issue when booting a Lucky app would clash with Elixir's
mix
. #682 in Lucky CLI - ๐ Fixed: the error page returning a 200 response. #684 in Lucky CLI
- โก๏ธ Updated: the GithubActions CI for generated apps to allow for testing multiple versions of Crystal. #685 in Lucky CLI
- โ Added: a max limit for password sized in Authentic password validations. #692 in Lucky CLI
- โ Added: special "flow" tags to a generated app's specs. #693 in Lucky CLI
- โ Added: new sample "app config" file for generated apps. #694 in Lucky CLI
- โก๏ธ Updated: the
AppServer#listen
code to be a bit more concise. #699 in Lucky CLI - โ Added: new
Lucky::RequestIdHandler
to generated apps. #700 in Lucky CLI - ๐ Fixed: issue when
select_count
was called before an update causing a failure. #715 in Avram - ๐ Fixed: issue when inheritng from a SaveOperation that had attributes. #718 in Avram
- ๐ Fixed: issue when passing an enum number as a String. #720 in Avram
- ๐ฅ Breaking change Removed: UUID generation on the Crystal side for the
id
column. #725 in Avram - โก๏ธ Updated: the error message for unpermitted columns to be a little clearer where they come from. #723 in Avram
- โ Added: new
includes()
query method for Array columns. #733 in Avram - โ Added: compile-time catches for common mistakes with attribute usage. #738 in Avram
- โก๏ธ Updated: the pending migration notice to be a lot more clear in development. #737 in Avram
- Updated:
add_belongs_to
to require thereferences
option when using a namespace. #742 in Avram - โก๏ธ Updated: all validation methods to now return a Bool based on if they passed or not. #744 in Avram
- โก๏ธ Updated: the
lucky db.schema.dump
task to include the migrations table data. #743 in Avram - ๐ Fixed: missing low level DB methods. #750 in Avram
- โ Added: new escape hatch to skip default validations, and allow blank strings to be saved. #746
- โ Added: new
default_validations
block macro. #751 in Avram - Added: new
validate_format_of
validation method. #752 in Avram - ๐ Fixed: sort order of migrations. #756 in Avram
- โ Added: new
Avram::I18nBackend
for setting language translations. #757 in Avram - ๐ฅ Breaking change Renamed:
Operation::Status
enums toOperation::OperationStatus
. #759 in Avram - โ Added: new query cache mechanism. #763 in Avram
- โ Added: brand new LuckyCache shard.
- Added: Dynamic Email templates with Carbon SendGrid adapter. #5 in Carbon SendGrid
- โ Added: new
int32
andfloat64
task args. #3 in LuckyTask - Added: faster routing! #54 in LuckyRouter, #55 in LuckyRouter
- Updated:
ENV["LUCKY_TASK"]
to be nilable. #21 in LuckyTask
- ๐ Fixed: the binary name generated for the
-
v0.28.0 Changes
July 22, 2021- โก๏ธ Updated: The exception page to use new backtrace shard. #1465
- โก๏ธ Updated: some Lucky internals with "Spring Cleaning". #1478, #1481, #1483, #1489, #1496, #1511, #1513, #1514, #1521, #1522, #1529, #1532, #1535, #1540, #1542, #1544, #1543
- โก๏ธ Updated: components so they no longer require
context
to be passed in. #1488 - Added: new
time_from_now_in_words
text helper. #1493 - โ Added: new
multipart?
action request helper. #1495 - โก๏ธ Updated: the generated delete action resource to use DeleteOperation. #1497
- โ Added: new
raw_json
Action response method. #1492 - โก๏ธ Updated:
form_for
to allow passing boolean attributes. #1506 - โ Added: new module to disable FLoC. #1508
- ๐ Deprecated:
route
andnested_route
from actions. #1510 - ๐ Updated: performance with
params
. It's now attached tocontext
. #1509 - โก๏ธ Updated: api actions generated will always be in the
api/
namespace. #1512 - โก๏ธ Updated:
Lucky::Serializer
with abstractrender
method. #1516 - Added: new
html_with_status
method to render HTML pages with non-200 status. #1507 - ๐ฅ Breaking change: HTML fields that require an Operation Array attribute will now generate a param name appended with
[]
. #1523 - Added: new
multi_select_input
. #1518 - โ Added: the ability to define Array query params in actions. #1527
- โ Added: standardized route style checked. #1536
- โ Added: native subdomain support for actions. #1537
- โ Added: new unique route enforcer. #1538
- โก๏ธ Updated: Carbon sendgrid is now a separate adapter. #624 in Lucky CLI
- โก๏ธ Updated: default components no longer need
context
. #641 in Lucky CLI - โก๏ธ Updated: some LuckyCli internals with "Spring Cleaning". #646, #647, #648, #651, #649, #666 (in Lucky CLI)
- โก๏ธ Updated: generated apps will use
LuckyEnv
now. #650 in Lucky CLI - โ Removed: deprecated
normalize-css
package and replaced withmodern-normalize
. #652 in Lucky CLI - โ Added: new generated apps will enforce route styles by default. #653 in Lucky CLI
- โก๏ธ Updated: new generated apps will use case-insensitive email columns for the
User
model. #657 in Lucky CLI - ๐ Fixed: support for Crystal 1.1.0 when generating a new app. #644 in Lucky CLI
- โ Removed: the
Lucky::Env
module and replaced with theLuckyEnv
shard. #655 in Lucky CLI - ๐ Fixed: passing special args to precompiled tasks. #656 in Lucky CLI
- โก๏ธ Updated: some Avram internals with "Spring Cleaning". #669, #681, #683, #704, #705, #708 (in Avram)
- Updated:
validate_numeric
andvalidate_size_of
methods to allow for a custom error message. #670 in Avram - โก๏ธ Updated:
db.drop
anddb.reset
tasks with a "quiet" option. #675 in Avram - Fixed: edge case with migrations using
fill_existing_with: false
. #676 in Avram - โ Added: new
Appdatabase.listen
method to listen forpg_notify()
calls to any number of channels. #677 in Avram - ๐พ Added:
before_save
andafter_save
callbacks toAvram::Factory
. #678 in Avram - Fixed:
add_belongs_to
to support namespaced types. #685 in Avram - Updated: how
select_count
works to allow counting withdistinct_on
. #687 in Avram - ๐ Fixed: datetime parsing from form inputs. #693 in Avram
- ๐ Fixed: compile-time error when you have a typo in your constant name (i.e. Boolean instead of Bool). #700 in Avram
- Updated: the
validate_uniqueness_of
method to take a full query object. #701 in Avram - โ Added: new
any?
andnone?
query methods to return aBool
value based on records existing. #703 in Avram - ๐ฅ Breaking change: removed
avram_enum
. You can now just use the native Crystalenum
type. #698 in Avram - โ Added: ability to use
CASCADE
when callingtruncate
. #702 in Avram - โ Added: new
SaveOperation.upsert
methods. #334 in Avram - ๐ฅ Breaking change: renamed
DeleteOperation.destroy
toDeleteOperation.delete
. #707 in Avram - ๐ Fixed: compile-time error when no columns are defined in a model. #706 in Avram
- โ Added: new JSON serializable object columns. #695 in Avram
- ๐ Updated: the
current_user?
method to be memoized for performance. #64 in Authentic - โก๏ธ Updated: Authentic to catch potential development issues when setting the
secret_key
. #65 in Authentic - ๐ Fixed: minor performance issue when setting a slug in AvramSlugify. #10 in AvramSlugify
- โก๏ธ Updated: irregular inflects with
human -> humans
. #14 in Wordsmith - ๐ Fixed: customizing inflections with Wordsmith. #18 in Wordsmith
- ๐ Fixed: URI decoding path parts in the Lucky Router, also a small performance gain. #51 in Lucky Router
- โ Added: the environment predicate methods from
Lucky::Env
in toLuckyEnv
. #13 in LuckyEnv - โก๏ธ Updated: Email Previews in Breeze are easier to add in. #41 in Breeze
- ๐ Fixed: using file uploads with Breeze requests. #43 in Breeze
- โ Added: storing before/after pipes in Breeze. #36 in Breeze
- ๐ Fixed: issue when running specs on an app using Breeze. #42 in Breeze
-
v0.27.2 Changes
April 12, 2021 -
v0.27.1 Changes
April 09, 2021- ๐ Fixed: support for previous versions (<= 0.26.0) of encrypted cookies. #1467
-
v0.27.0 Changes
April 09, 2021- โ Added: support for Crystal 1.0 ๐ฅณ #1445
- โ Added: Pulsar events for tracking before/after action pipes. #1423
- โก๏ธ Updated:
link
to raise an exception when passing bothto
andhref
. #1428 - โ Added: support for more HTML standard tags. #1433
- โ Added: new
mount_instance
method to mount an instance of a Component. #1446 - ๐ Fixed: bug when using VueJS type attributes on HTML tags. #1452
- โก๏ธ Updated: the exception page to look like it belongs in Lucky. #1451
- โก๏ธ Updated: HTML tags to allow passing in a raw hash of attributes. #1453
- ๐ Updated: the
lucky build.release
task to build in to thebin
directory. #1454 - ๐ Fixed: error message when passing wrong type values to HTML tags. #1456
- Updated:
lucky_cli
dependency with newlucky_task
shard. #1459 - โก๏ธ Updated: generated apps so
LuckyFlow
is only a development dependency. #608 in Lucky CLI - โก๏ธ Updated: Auth modules in generated apps to be in an
auth/
directory. #618 in Lucky CLI - โ Removed:
LuckyCli::Task
in to a separate shard. #622 in Lucky CLI - โ Added: new
LuckyTask
shard to the ecosystem. View LuckyTask - โก๏ธ Updated:
avram_enum
to allow parsing a String value. #639 in Avram - ๐ Fixed: bug when a column is defined as a
DOUBLE
, and usingFloat64
. #637 in Avram - โก๏ธ Updated: migrations to use
Int64
by default allowing for better CockroachDB support. #641 in Avram - ๐ Fixed: database transactions to not require a
Bool
return type. #626 in Avram - โ Removed: deprecated
raw_where
methods. #653 in Avram - โ Added: new
where(&)
method for wrapping queries in parenthesis. #652 in Avram - Added: new
drop_foreign_key
method. #654 in Avram - โก๏ธ Updated: how table names are stored internally paving the way for faster compilation. #660 in Avram
- โ Added: new
parameterize
method for string helpers. #9 in Wordsmith - โ Added: new
Habitat.extend
macro for extending existing configuration settings. #59 in Habitat - โ Added: new development dashboard shard
Breeze
. View Breeze - โ Added: new .env parsing shard
LuckyEnv
. View LuckyEnv
-
v0.26.0 Changes
February 06, 2021- โก๏ธ 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
-
v0.25.0 Changes
December 18, 2020- 0๏ธโฃ Rename: component
with_defaults
renamed totag_defaults
#1262 - ๐ Fixed: send HSTS headers over HTTPS. #1268
- โก๏ธ Updated:
memoize
can be used on anyObject
#1270 - โ Added:
tfoot()
tag method. #1296 - โ Added: routes now support glob routing #1294
- ๐ Fixed: passing a
UUID
in to a tag for text #1280 - ๐ Fixed: calling route helper methods on actions with
route_prefix
set. #1298 - โ Added: clearing cookies with specific options passed in #966
- ๐ Fixed: passing a
name
prop to a custom tag. #1309 - โ Added:
blockquote()
andcite()
tag methods. #1317 - โ Added: type name in error message for action classes #1321
- ๐ Fixed: params that use
Bool
with a default value offalse
#1352 - โก๏ธ Updated: generated
start_server
binary is now output to thebin
directory instead of top-level. #1358 - ๐ Fixed: HTTP status description in the log output. #1362
- Updated: reverted the
DATABASE_URL
ENV. #551 in Lucky CLI - โก๏ธ Updated: emails will print to the log in development for easier debugging. #555 in Lucky CLI
- โก๏ธ Updated: Tasks can use the
output
property for easier testing. Added anexample
option to task args. #557 in Lucky CLI - โ Added: New generated Lucky projects will come with Github Actions out of the box. #559 In Lucky CLI
- โก๏ธ Updated: front-end
package.json
dependencies. #553 - ๐ Fixed: Signal trap is properly caught when running
lucky dev
. #572 in Lucky CLI - โก๏ธ Updated: the built-in seed tasks to better match the common structure. #584 in Lucky CLI
- Added: new
Lucky::Env.task?
method will return true ifENV["LUCKY_TASK"] = "true"
is set. #576 in Lucky CLI - โก๏ธ Updated: Query objects no longer mutate which fixes calling aggregate methods without needing to
clone
. #411 in Avram - โก๏ธ Updated: the error message when a required primary key is missing. #454 in Avram
- Updated:
fill_existing_with
to be used with nilable columns. #452 in Avram - ๐ Fixed:
Bool
columns with a defaultfalse
value. #461 in Avram - ๐ Fixed:
belongs_to
using the wrong key in some cases. #465 in Avram - ๐ Fixed: using optional Arrays in columns and migrations. #471 in Avram
- Fixed: calling
to_s
orto_i
on an enum column to get the enum's proper value. #474 in Avram - โก๏ธ Updated: using
raw_where
will now be deprecated in favor of a unifiedwhere
. #460 in Avram - ๐ Fixed: issues with invalid SQL with joins. #451 in Avram
- โ Added: a whole new interface for
Avram::Operation
. #469 in Avram - ๐พ Updated:
Avram::SaveOperation
callback methodsafter_save
andafter_commit
work with blocks, and more. #481 in Avram - โ Added: a compile-time error catch when passing a raw hash in to a
SaveOperation
. #485 in Avram - Removed:
register_setup_step
macro used for hooking in to the Avram model setup. #486 in Avram - โ Added: new
or()
query method to performWHERE x OR y
SQL calls. #442 in Avram - โก๏ธ Updated: database calls to be optimized for speed. #491 in Avram
- Added:
params.has_key_for?
to check if params contains a key for an operation. #500 in Avram - โ Added: conditional callbacks for
Avram::SaveOperation
. #495 in Avram - โก๏ธ Updated: the
has_many
count method to not preload when just a number is being returned. #509 in Avram - ๐ Fixed: passing a
file_attribute
as a named arg to an operation. #514 in Avram - โ Removed: unique filtering on
WHERE
clauses. #518 - โก๏ธ Updated: error message when using
remove
incorrectly in migrations. #524 in Avram - โ Added: error message when trying to generate a migration by a name that already exists. #528 in Avram
- โ Added: new custom errors for Operation objects. #534 in Avram
- Updated:
add_belongs_to
can now set a unique index. #536 in Avram - ๐ Fixed: creating records by passing in values that match the default. #540 in Avram
- Updated: how
has_many through
associations are defined to fix has_many through a has_many through association. #525 in Avram - โ Added: new
after_completed
callback onAvram::SaveOperation
which is called even if no updates are made. #544 in Avram - โ Added:
UUID
primary key checks to the SchemaEnforcer. #546 in Avram - โ Added: records already loaded in to memory can now preload associations. #542 in Avram, #553 in Avram, #561 in Avram
- โ Added: support for models to use
VIEW
. #555 in Avram - โ Added: new
defaults
method for defining default query methods on Query objects. #564 in Avram - ๐ Fixed: setting two routes that use different path variable names. #38 in LuckyRouter
- โ Added: route globbing. #40 in LuckyRouter
- ๐ Fixed: catching when duplicate routes are defined. #42 in LuckyRouter
- Added: flow spec matcher method
have_current_path
. #96 in LuckyFlow - Fixed: flow spec
have_text
matcher method to check if the text is included and not exact. #99 in LuckyFlow - โ Added: flow method to confirm and accept javascript modal boxes. #101 in LuckyFlow
- โ Added: flow to fill a select field. #104 in LuckyFlow
- โ Added: flow to select multiple values from a select field. #106 in LuckyFlow
- โ Added: flow method
element.hover
to hover over an element. #108 in LuckyFlow
- 0๏ธโฃ Rename: component
-
v0.24.0 Changes
September 05, 2020- Fixed:
send_text_response
default status to nil #1214 - โ Added:
data
method for Actions to return file contents #1220 - โก๏ธ Updated: Component
m
is renamed tomount
#1226 - โก๏ธ Updated: Components with UrlHelpers like
current_page?
#1228 - โ Added: optional param routing #1229
- โก๏ธ Updated: docs on
accept_format
#1234 - โก๏ธ Updated: generator templates to use getter methods over instance variables #1236
- โก๏ธ Updated: our community to use Discord for community chat room #1237
- โก๏ธ Updated: compile-time error when path params are defined with dashes #1238
- โก๏ธ Updated: path helpers to render query params even if default value is passed #1239
- โก๏ธ Updated:
redirect_back
to disallow external referrers by default with config option #1241 - 0๏ธโฃ Updated: generated api apps will use
disable_cookies
by default #535 in Lucky CLI - ๐ Fixed: generating an app with the name "app" will raise an error #543 in Lucky CLI
- โก๏ธ Updated:
AppClient
renamed toApiClient
#534 in Lucky CLI - ๐ Updated: generated projects to use
--ignore-crystal-version
flag when runningshards install
. NOTE: this is a temporary update, and will be reverted in a future release. Read Crystal Blog See commit - โ Added: ability to set default values on model columns #424 in Avram
- โ Added:
file_attribute
for operations to specify a file from params #428 in Avram - โ Added: new
Database.delete
strategy for cleaning up data in specs #426 in Avram - Added:
create_function
anddrop_function
to create SQL functions #427 in Avram - โก๏ธ Updated:
Avram::PostgresURL
renamed toAvram::Credentials
with a new interface #433 in Avram - Added:
create_trigger
anddrop_trigger
to create SQL triggers #436 in Avram - Added: association
_count
method to easily return a count of a has_many association #392 in Avram - โ Added: new
Pulsar
shard for pub/sub style communication in Lucky See Pulsar - โ Added: Pulsar instrumentation to Avram for subscribing to queries #441 in Avram
- โ Added: support for
Array(Float64)
in databases #443 in Avram - Updated:
fill_existing_with
option onadd_belongs_to
in migrations #444 in Avram - โ Added:
Box.build_attributes
method to build the attributes of a model in specs #449 in Avram - ๐ Fixed: blank strings causing parse exceptions in save operations #448 in Avram
- Updated: LuckyRouter with many performance and structural refactors #28, #30, #31, #32
- Fixed:
-
v0.23.1 Changes
July 07, 2020- ๐ Fixed: generated apps using deprecated
mount
instead ofm
#531 in Lucky CLI
- ๐ Fixed: generated apps using deprecated
-
v0.23.0 Changes
June 27, 2020- โก๏ธ 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, andnil
andfalse
values #1139 - โก๏ธ Updated: model generator to provide more helpful error messages #1140
- โ Added:
get_raw
method to params along with striping blankspace on paramget
calls #1144 - โ Removed:
mount
with deprecation in favor of newm
method. - โ Added:
m
helper method as amount
replacement with a new interface. #1151 - โก๏ธ Updated:
String#squish
method to be faster #1159 - โ Removed:
Lucky::SessionHandler
andLucky::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 yourLucky::CookieJar
on_set
#1183 - ๐ Fixed: compilation bug in generated page when running
lucky gen.page
#1191 - โ Added:
multipart: true
option toform_for
to set multipart enctype #1200 - โ Added:
Lucky.root
method to raise compile-time error directing people to useDir.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
, andupdate_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
andrename_belongs_to
in migrations #366 in Avram - โ Added: new
lucky db.setup
task which runsdb.create
anddb.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 toHabitatSettings
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