Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 45 additions & 22 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,47 @@
### Changes in 1.4.0
### Changes in 1.5.0

- Updated: HTML Components will fail at compile-time for unused arguments. [#1978](https://github.com/luckyframework/lucky/pull/1978)
- Added: format detection from URL extensions in actions. [#1979](https://github.com/luckyframework/lucky/pull/1979)
- Added: Allow customizing the manifest retry timeout. [#1977](https://github.com/luckyframework/lucky/pull/1977)
- Added: Route path aliases [#1998](https://github.com/luckyframework/lucky/pull/1998)
- Fixed: issues with development docker setup. [#1997](https://github.com/luckyframework/lucky/pull/1997)
- Updated: `inline_svg` to allow arbitrary attributes [#2006](https://github.com/luckyframework/lucky/pull/2006)
- Added: ability to set body size limit per action. [#2004](https://github.com/luckyframework/lucky/pull/2004)
- Updated: help output for `lucky exec` CLI task. [#2010](https://github.com/luckyframework/lucky/pull/2010)
- Updated: min supported Crystal version is now v1.16 [#2011](https://github.com/luckyframework/lucky/pull/2011)
- Added: ability to create route objects using globs. [#2012](https://github.com/luckyframework/lucky/pull/2012)
- Added: new `--format` flag to `lucky routes` CLI task. [#2013](https://github.com/luckyframework/lucky/pull/2013)
- Fixed: bug with `redirect_back` when query params were added. [#2014](https://github.com/luckyframework/lucky/pull/2014)
- Added: asset processing will all be handled via `bun` in place of using `mix`. [#2015](https://github.com/luckyframework/lucky/pull/2015)
- Added: bun plugin system for extending asset handling. [#2020](https://github.com/luckyframework/lucky/pull/2020)
- Added: new `format` route method to generate routes with a specific file extension. [#2022](https://github.com/luckyframework/lucky/pull/2022)
- **Breaking change** Updated: how cookies are now decrypted to fix vulnerability. [#2026](https://github.com/luckyframework/lucky/pull/2026)
- Added: new `subdomain` method to build Lucky routes with a subdomain. [#2036](https://github.com/luckyframework/lucky/pull/2036)
- Fixed: using `new_record?` returning false in SaveOperation when setting the `id` manually. [#1106 in Avram](https://github.com/luckyframework/avram/pull/1106)
- Added: support for table partitioning. [#1110 in Avram](https://github.com/luckyframework/avram/pull/1110)
- Added: conditional callbacks for normal Operations. [#1108 in Avram](https://github.com/luckyframework/avram/pull/1108)
- Added: new `create_many` factory method to create multiple factory records in a single call. [#1117 in Avram](https://github.com/luckyframework/avram/pull/1117)
- Added: new safe `reload?` and `.reload?(&)` methods for models to not raise when the record is not found. [#1122 in Avram](https://github.com/luckyframework/avram/pull/1122)
- Added: option to create indexes concurrently in migrations. [#1127 in Avram](https://github.com/luckyframework/avram/pull/1127)
- Fixed: compilation error caused by ordering of needs in operations. [#1130 in Avram](https://github.com/luckyframework/avram/pull/1130)
- Added: "has one through" option for models. This works similar to "has many through". [#1132 in Avram](https://github.com/luckyframework/avram/pull/1132)
- Added: new `vacuum` method for Database to run vacuums. [#1134 in Avram](https://github.com/luckyframework/avram/pull/1134)
- Updated: Avram::Credentials to be a bit more agnostic to allow for other possible engines. [#1135 in Avram](https://github.com/luckyframework/avram/pull/1135)
- Updated: `create_function` migration helper method allows specifying alternate languages and behaviors. [#1136 in Avram](https://github.com/luckyframework/avram/pull/1136)
- Updated: minor performance improvements in Avram. [#1137 in Avram](https://github.com/luckyframework/avram/pull/1137) and [#1138 in Avram](https://github.com/luckyframework/avram/pull/1138)
- Added: ability to run migrations outside of a transaction with new `unsafe_migration`. [#1140 in Avram](https://github.com/luckyframework/avram/pull/1140)
- Updated: migrations to require a `rollback` method to be defined, even if just empty. [#1145 in Avram](https://github.com/luckyframework/avram/pull/1145)
- Fixed: updating columns that have names similar to reserved keywords not working. [#1144 in Avram](https://github.com/luckyframework/avram/pull/1144)
- Added: `for_collection` serializer method that accepts a `Lucky::Paginator`. [#884 in LuckyCLI](https://github.com/luckyframework/lucky_cli/pull/884)
- Removed: SASS from asset dependencies. [#909 in LuckyCLI](https://github.com/luckyframework/lucky_cli/pull/909)
- Updated: new generated Lucky apps will default using the new `bun` system. [#924 in LuckyCLI](https://github.com/luckyframework/lucky_cli/pull/924)
- Updated: LuckyCache can now store Array data types. [#17 in LuckyCache](https://github.com/luckyframework/lucky_cache/pull/17)
- Updated: LuckyCache to remove expired items and avoid memory leaks. [#20 in LuckyCache](https://github.com/luckyframework/lucky_cache/pull/20)
- Added: new RedisStore extension shard for LuckyCache. [See LuckyCache::RedisStore](https://github.com/luckyframework/lucky_cache_redis_store)
- Added: support for `categories` and `send_at` with Carbon SendGrid: [#26 in Carbon SendGrid](https://github.com/luckyframework/carbon_sendgrid_adapter/pull/26)
- Added: `subscribe_async` to Pulsar. [#24 in Pulsar](https://github.com/luckyframework/pulsar/pull/24)

### Changes in 1.4.0 (2025-06-03)

- Fixed: `Lucky::Response` require for defining `debug_message` on custom response types. [#1927](https://github.com/luckyframework/lucky/pull/1927)
- Fixed: Compilation error on Windows. [#1929](https://github.com/luckyframework/lucky/pull/1929)
Expand Down Expand Up @@ -32,8 +75,6 @@
- Added: dynamic environment aware .env loading. [#37 in LuckyEnv](https://github.com/luckyframework/lucky_env/pull/37)
- Added: type-safe ENV method generation. [#39 in LuckyEnv](https://github.com/luckyframework/lucky_env/pull/39)



### Changes in 1.3.0 (2024-11-02)

- Fixed: re-compilation time not resetting. [#1894](https://github.com/luckyframework/lucky/pull/1894)
Expand Down Expand Up @@ -66,8 +107,6 @@
- Refactor: built-in db related tasks are no longer precompiled. [#1069 in Avram](https://github.com/luckyframework/avram/pull/1069)
- Refacor: built-in `gen.email` task is no longer precompiled. [#95 in Carbon](https://github.com/luckyframework/carbon/pull/95)



### Changes in 1.2.0 (2024-04-21)

- Updated: exception page which includes syntax highlighting now. [#1850](https://github.com/luckyframework/lucky/pull/1850)
Expand Down Expand Up @@ -113,8 +152,6 @@
- Updated: CarbonSMTP Adapter support on Email shard dependency. [#18 in CarbonSMTPAdapter](https://github.com/luckyframework/carbon_smtp_adapter/pull/18)
- Added: support for attachments in CarbonSMTPAdapter. [#20 in CarbonSMTPAdapter](https://github.com/luckyframework/carbon_smtp_adapter/pull/20)



### Changes in 1.1.0 (2023-10-29)

- Fixed: generated docs on `match` macro. [#1790](https://github.com/luckyframework/lucky/pull/1790)
Expand Down Expand Up @@ -162,7 +199,6 @@
- Updated: Pulsar is now supported on Windows. [#22 in Pulsar](https://github.com/luckyframework/pulsar/pull/22)
- Updated: Wordsmith is now supported on Windows. [#25 in Wordsmith](https://github.com/luckyframework/wordsmith/pull/25)


### Changes in 1.0.0 (2023-03-12)

- Added: Inline SVG files. [#1761](https://github.com/luckyframework/lucky/pull/1761)
Expand Down Expand Up @@ -194,7 +230,6 @@
- Updated: Small performance boost with the router. [#60 in LuckyRouter](https://github.com/luckyframework/lucky_router/pull/60)
- Updated: to lastest Bright security SecTester. [#27 in LuckySecTester](https://github.com/luckyframework/lucky_sec_tester/pull/27)


### Changes in 1.0.0-rc1 (2022-10-2)

- **Breaking change** Removed: Avram is no longer a dependency of Lucky. [#1620](https://github.com/luckyframework/lucky/pull/1620)
Expand Down Expand Up @@ -245,7 +280,6 @@
- Updated: LuckySecTester is officially released with v0.1.0. [View Shard](https://github.com/luckyframework/lucky_sec_tester)
- Added: new `ws` CLI utility with Wordsmith allowing you to process words from the CLI. [#23 in Wordsmith](https://github.com/luckyframework/wordsmith/pull/23)


### Changes in 0.30.1 (2022-04-17)

- Fixed: compilation issue when using the `Lucky::Subdomain` module. [#1686](https://github.com/luckyframework/lucky/pull/1686)
Expand Down Expand Up @@ -299,7 +333,6 @@
- Added: extra log metadata when using `emit()` with Dexter. [#45 in Dexter](https://github.com/luckyframework/dexter/pull/45)
- Added: support for passing unsubscribe group data to Sendgrid. [#8 in Carbon Sendgrid Adapter](https://github.com/luckyframework/carbon_sendgrid_adapter/pull/8)


### v0.29 (2021-11-30)

- Fixed: the binary name generated for the `gen.secret_key` task. [#1556](https://github.com/luckyframework/lucky/pull/1556)
Expand Down Expand Up @@ -361,7 +394,6 @@
- Added: faster routing! [#54 in LuckyRouter](https://github.com/luckyframework/lucky_router/pull/54), [#55 in LuckyRouter](https://github.com/luckyframework/lucky_router/pull/55)
- Updated: `ENV["LUCKY_TASK"]` to be nilable. [#21 in LuckyTask](https://github.com/luckyframework/lucky_env/pull/21)


### v0.28.0 (2021-07-22)

- Updated: The exception page to use new backtrace shard. [#1465](https://github.com/luckyframework/lucky/pull/1465)
Expand Down Expand Up @@ -424,7 +456,6 @@
- Added: storing before/after pipes in Breeze. [#36 in Breeze](https://github.com/luckyframework/breeze/pull/36)
- Fixed: issue when running specs on an app using Breeze. [#42 in Breeze](https://github.com/luckyframework/breeze/pull/42)


### v0.27.2 (2021-04-12)

- Removed: legacy ecrypted cookies handling. [#1470](https://github.com/luckyframework/lucky/pull/1470)
Expand Down Expand Up @@ -464,7 +495,6 @@
- Added: new development dashboard shard `Breeze`. [View Breeze](https://github.com/luckyframework/breeze)
- Added: new .env parsing shard `LuckyEnv`. [View LuckyEnv](https://github.com/luckyframework/lucky_env)


### v0.26.0 (2021-02-06)

- Updated: the compile-error for missing Page args. [#1373](https://github.com/luckyframework/lucky/pull/1373)
Expand Down Expand Up @@ -519,7 +549,6 @@
- Updated: runtime-error for duplicate defined routes. [#45 in LuckyRouter](https://github.com/luckyframework/lucky_router/pull/45)
- Added: `have_delivered_emails` spec expectation method for `Carbo`. [#45 in Carbon](https://github.com/luckyframework/carbon/pull/45)


### v0.25.0 (2020-12-18)

- Rename: component `with_defaults` renamed to `tag_defaults` [#1262](https://github.com/luckyframework/lucky/pull/1262)
Expand Down Expand Up @@ -585,7 +614,6 @@
- Added: flow to select multiple values from a select field. [#106 in LuckyFlow](https://github.com/luckyframework/lucky_flow/pull/106)
- Added: flow method `element.hover` to hover over an element. [#108 in LuckyFlow](https://github.com/luckyframework/lucky_flow/pull/108)


### v0.24.0 (2020-09-05)

- Fixed: `send_text_response` default status to nil [#1214](https://github.com/luckyframework/lucky/pull/1214)
Expand Down Expand Up @@ -679,7 +707,6 @@
- Renamed: the internal Habitat `Settings` class to `HabitatSettings` to avoid name conflicts in some Lucky apps. [#48 in Habitat](https://github.com/luckyframework/habitat/pull/48)
- Fixed: bug when setting a default value in a Habitat setting that could potentially raise an exception. [#51 in Habitat](https://github.com/luckyframework/habitat/pull/51)


### v0.22.0 (2020-06-17)

- Added: support for Crystal 0.35.0
Expand Down Expand Up @@ -783,7 +810,6 @@
- Fixed: bug when using a Box that had no columns [See Avram](https://github.com/luckyframework/avram/pull/310)
- Updated: preloads to only call when there are parent records. This is a query optimization update. [See Avram](https://github.com/luckyframework/avram/pull/306)


### v0.18.3 (2020-02-17)

- Added: support for Crystal 0.33.0
Expand Down Expand Up @@ -850,7 +876,6 @@
- Fixed: `lucky init` to catch invalid project names properly.
- Added: support for `browser_binary` in LuckyFlow [see LuckyFlow](https://github.com/luckyframework/lucky_flow/pull/59)


### v0.17 (2019-08-13)

- Rename: `Avram::BaseForm` to `Avram::SaveOperation` [see Avram](https://github.com/luckyframework/avram/pull/104)
Expand Down Expand Up @@ -916,12 +941,10 @@
- Fixed passing `Symbol` for statuses in redirects [#730](https://github.com/luckyframework/lucky/pull/730)
- More helpful errors [#733](https://github.com/luckyframework/lucky/pull/733), [#732](https://github.com/luckyframework/lucky/pull/732)


### v.0.14 (2019-04-18)

- Crystal 0.28.0 support added


### v0.13 (2019-02-27)

- Use [`Dexter`](https://github.com/luckyframework/dexter) as the logger. https://github.com/luckyframework/lucky_cli/pull/300 and https://github.com/luckyframework/lucky_cli/pull/299
Expand All @@ -939,6 +962,6 @@
- Pages ignore unused exposures [#666](https://github.com/luckyframework/lucky/issues/666)

- `unexpose` and `unexpose_if_exposed` have been removed because they are no
longer necessary now that pages ignore unused exposures.
longer necessary now that pages ignore unused exposures.

- `is` in queries has been renamed to `eq`. For example: `UserQuery.new.name.not.is("Emily")` should now be `UserQuery.new.name.not.eq("Emily")`. If passing in something that could be `Nil`, one must use `nilable_eq` instead. [avram#46](https://github.com/luckyframework/avram/pull/46)
Loading