All Versions
33
Latest Version
Avg Release Cycle
40 days
Latest Release
875 days ago
Changelog History
Page 2
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
orsimple_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
- โ Added: support for Crystal 0.34.0
-
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 isBool
#1034 - โ Added:
needs
on pages can now be accessed by a method and not just instance variable #1034 - โ Removed:
link
helper method with aString
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 withnil
text. #1047 - โก๏ธ Updated: resource generator to be a little easier to read and digest. #1050
- โก๏ธ Updated: development
ENV
now usesENV["DEV_PORT"]
instead ofENV["PORT"]
to fix issues with process managers. #1051 - โ Added: new
Lucky::CatchUnpermittedAttribute
mixin forShared::Field
component. #1052 - Added: new methods in Actions for accessing params from different sources like
from_json
,from_query
,from_form
, andfrom_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 theX-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 fromBaseSerializer
. 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 forneeds
inSaveOperation
. 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
forUUID
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?
andempty?
toflash
#977 - ๐ Fixed: allowing
false
values forneeds
#979 - โก๏ธ Updated:
needs
to now infer a value ofnil
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 tolucky 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
, andoriginal_value
methods for attributes in Operations See Avram - Updated:
validate_size_of
andvalidate_inclusion_of
to allownil
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
toLucky::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
torender
inErrorAction
#903 - ๐ Rename:
render
tohtml
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
andNULLS LAST
see Avram - ๐ Fixed: missing attributes from SaveOperation see Avram
- โ Added:
db.schema.restore
anddb.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 asinit
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