Skip to content

Commit 2c1433d

Browse files
authored
v1.3.0 CHANGELOG and UPGRADE_NOTES (#1924)
* adding new changes to CHANGELOG * adding initial upgrade notes * Updating README with this neat contributor image. Added a few more notes for upgrading
1 parent 99fb848 commit 2c1433d

File tree

3 files changed

+91
-3
lines changed

3 files changed

+91
-3
lines changed

CHANGELOG.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,38 @@
1-
### Changes in 1.2.0
1+
### Changes in 1.3.0
2+
3+
- Fixed: re-compilation time not resetting. [#1894](https://github.com/luckyframework/lucky/pull/1894)
4+
- Fixed: missing `--with-page` flag in `gen.action.browser` task help text. [#1895](https://github.com/luckyframework/lucky/pull/1895)
5+
- Refactor: lucky routes to pull from the router instead of holding a second array in memory. [#1898](https://github.com/luckyframework/lucky/pull/1898)
6+
- Updated: error message when booting Lucky and the watcher config is missing. [#1896](https://github.com/luckyframework/lucky/pull/1896)
7+
- Fixed: compatibility with Crystal 1.13.x and later. [#1900](https://github.com/luckyframework/lucky/pull/1900)
8+
- Fixed: invalid query string for array params. [#1908](https://github.com/luckyframework/lucky/pull/1908)
9+
- Refactor: make `form_method` public. [#1915](https://github.com/luckyframework/lucky/pull/1915)
10+
- Added: new `MaximumRequestSizeHandler`. [#1916](https://github.com/luckyframework/lucky/pull/1916)
11+
- Fixed: deprecation warning for Crystal 1.13. [#1918](https://github.com/luckyframework/lucky/pull/1918)
12+
- Fixed: compilation error with updated ExceptionPage. [#1910](https://github.com/luckyframework/lucky/pull/1910)
13+
- Updated: to latest ExceptionPage. [#1921](https://github.com/luckyframework/lucky/pull/1921)
14+
- Added: support for Windows with the core `Lucky` shard. [#1919](https://github.com/luckyframework/lucky/pull/1919)
15+
- Refactor: all built-in tasks are no longer precompiled. [#1919](https://github.com/luckyframework/lucky/pull/1919)
16+
- Updated: url link to PostCSS in generated webpack.mix. [65f2d3df in LuckyCLI](https://github.com/luckyframework/lucky_cli/commit/65f2d3dfd0c572ba8a8015c36499ca2f61c742a8)
17+
- Added: ability to run uncompiled tasks from Crystal files. [#871 in LuckyCLI](https://github.com/luckyframework/lucky_cli/pull/871)
18+
- Refactor: generated page templates with clear args. [#935 in Avram](https://github.com/luckyframework/avram/pull/935)
19+
- Fixed: issue with type casting on `select_min/max`. [#1040 in Avram](https://github.com/luckyframework/avram/pull/1040)
20+
- Added: `have_any` criteria method for array queries. [#1042 in Avram](https://github.com/luckyframework/avram/pull/1042)
21+
- Added: `if_exists` option to DROP TABLE queries. [#1043 in Avram](https://github.com/luckyframework/avram/pull/1043)
22+
- Added: support for camel case or snake case on `gen.migration` task. [#1046 in Avram](https://github.com/luckyframework/avram/pull/1046)
23+
- Added: array param options for raw where query values. [#1044 in Avram](https://github.com/luckyframework/avram/pull/1044)
24+
- Updated: error message when there's issues connecting to your DB. [#1047 in Avram](https://github.com/luckyframework/avram/pull/1047)
25+
- Updated: DeleteOperations to run in a transaction. [#1055 in Avram](https://github.com/luckyframework/avram/pull/1055)
26+
- Added: `have_error` expectation for specs with SaveOperations. [#1062 in Avram](https://github.com/luckyframework/avram/pull/1062)
27+
- Refactor: use `postgres` as the default database for `db.create` and `db.drop` tasks. [#1058 in Avram](https://github.com/luckyframework/avram/pull/1058)
28+
- Refactor: all calls to tables and column names are now quoted in constructed SQL queries. Allows for defining columns that may conflict with reserved SQL words. [#1059 in Avram](https://github.com/luckyframework/avram/pull/1059)
29+
- Added: `validate_url_format` for operation validations. [#1065 in Avram](https://github.com/luckyframework/avram/pull/1065)
30+
- Refactor: built-in db related tasks are no longer precompiled. [#1069 in Avram](https://github.com/luckyframework/avram/pull/1069)
31+
- Refacor: built-in `gen.email` task is no longer precompiled. [#95 in Carbon](https://github.com/luckyframework/carbon/pull/95)
32+
33+
34+
35+
### Changes in 1.2.0 (2024-04-21)
236

337
- Updated: exception page which includes syntax highlighting now. [#1850](https://github.com/luckyframework/lucky/pull/1850)
438
- Refactor: Action call body with a clear compile error and ability to do short-circuit returns. [#1857](https://github.com/luckyframework/lucky/pull/1857)

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,13 @@ To claim your shirt, [fill in this form](https://forms.gle/w3PJ4pww8WDAuJov5).
185185

186186
## Contributors
187187

188-
- [paulcsmith](https://github.com/paulcsmith) Paul Smith - creator, maintainer
189-
- [Our wonderful community](https://github.com/luckyframework/lucky/graphs/contributors) - ❤️
188+
[paulcsmith](https://github.com/paulcsmith) Paul Smith - Original Creator of Lucky
189+
190+
<a href="https://github.com/luckyframework/lucky/graphs/contributors">
191+
<img src="https://contrib.rocks/image?repo=luckyframework/lucky" />
192+
</a>
193+
194+
Made with [contrib.rocks](https://contrib.rocks).
190195

191196
## Thanks & attributions
192197

UPGRADE_NOTES.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,52 @@
1+
## Upgrading from 1.2.0 to 1.3.0
2+
3+
For a full diff of necessary changes, please see [LuckyDiff](https://luckydiff.com?from=1.2.0&to=1.3.0).
4+
5+
- Upgrade Lucky CLI (homebrew)
6+
7+
```
8+
brew update
9+
brew upgrade lucky
10+
```
11+
12+
- Upgrade Lucky CLI (Linux)
13+
14+
> Remove the existing Lucky binary and follow the Linux
15+
> instructions in this section
16+
> https://luckyframework.org/guides/getting-started/installing#on-linux
17+
18+
- Update versions in `shard.yml`
19+
- Lucky should be `~> 1.3.0`
20+
- Avram should be `~> 1.3.0`
21+
- Authentic should be `~> 1.0.1`
22+
- Carbon should be `~> 0.6.0`
23+
- Carbon Adapter should be `~> 0.6.0`
24+
25+
- Run `shards update`
26+
27+
- Upgrade Lucky CLI on Windows (Scoop)
28+
29+
```
30+
scoop bucket add lucky https://github.com/luckyframework/scoop-bucket
31+
scoop install lucky
32+
```
33+
34+
### General updates
35+
36+
No required updates needed for this release.
37+
38+
### Optional update
39+
40+
- Update: to Crystal 1.14
41+
- Update: All previously pre-compiled tasks should now show in your `./bin/` as Crystal files. Build these to run them as compiled.
42+
43+
```
44+
crystal build --release bin/lucky.gen.secret_key.cr -o bin/lucky.gen.secret_key
45+
crystal build --release bin/lucky.watch.cr -o bin/lucky.watch
46+
crystal build --release bin/lucky.exec.cr -o bin/lucky.exec
47+
# ... etc...
48+
```
49+
150
## Upgrading from 1.1.0 to 1.2.0
251

352
For a full diff of necessary changes, please see [LuckyDiff](https://luckydiff.com?from=1.1.0&to=1.2.0).

0 commit comments

Comments
 (0)