Releases: amberframework/amber
v0.35.0
This release supports Crystal 0.35.0. There are several breaking changes in this version.
A list of changes that you will need to perform to upgrade your 0.34.0 project to 0.35.0 are documented here: #1204
Contributions:
- bb1db0b Upgrade to Crystal 0.35.0 (#1210) by @bcardiff and @drujensen
- bd6e9a0 Replace Logger with Log (#1208) by @drujensen
- 09654ce uncomment specs (#1207) by @OpakAlex
- 8c069f5 Add '--minimal' option for app generation (#1206) by @OpakAlex
- b4f4f12 minor bug in new mailer 6.0 config (#1203) by @drujensen
- 3b8e6ca Feature/add cache control header (#1179) by @VanyaNeytrino
- de9d1a7 Update TFB to round 18 (#1194) by @faustinoaq
Thanks everyone for your contributions!
Crystal 0.34.0 support
v0.34.0 amber v0.34.0
v0.33.0
v0.32.0
- 3fcc6ca 2020-01-24 @eliasjpr - Update CI/deps to support Crystal 0.32.1 (#1173)
- 1faddc2 2019-12-23 @drujensen - Leverage Amber routing for authenticated paths (#1169)
- c744429 2019-12-13 @ifduyue - Fixed typo in amber db cli help (#1168)
- 8eaff49 2019-11-10 @hugopl - Replace mention to yaourt by yay in README. (#1166)
- bd3bca7 2019-11-10 @drujensen - Keep the scope when generating new routes (#1165)
- b0343bb 2019-10-25 @seanwatters - Updated minified js file amber.min.js (#1162)
- 01956c5 2019-10-25 @seanwatters - Updating 'Allows delete links to post' to ES6 syntax (#1161)
v0.31.0
6cd9acb Remove X-Powered-By header by default (#1134) @nsuchy
7834fa6 Fix table of contents at CONTRIBUTING.md (#1153) @MatheusRich
0726f55 Fix specs (#1147) @drujensen @bbaragar @samholst
7b9f3c2 Crystal 0.31.0 (#1142) @bcardiff
aaadc57 Change flash message grammar (#1140) @ashishbista
f609524 Update {{name}}.cr.ecr (#1143) @nsuchy
v0.30.1
Crystal 0.30.0 support
- 1259f58 Crystal v0.30.0 changes (#1126) by @bcardiff @drujensen
- 3465f1d Linting issues (#1117) by @veelenga
- e933401 Clean up assets (#1113) by @smadeja
BREAKING CHANGES
The DSL for Granite have been changed. In order to upgrade from 0.29.0 or earlier, make the following modifications:
In the config/database.cr
, replace the Granite::Adapters line with:
Granite::Connections << Granite::Adapter::Mysql.new(name: "mysql", url: Amber.settings.database_url)
In your models, replace adapter
with connection
, table_name
with table
, primary
with column .., primary: true
, and field
with column
. Also, add a ?
for Nilable columns. Here is an example model:
class Post < Granite::Base
connection mysql
table posts
belongs_to :user
column id : Int64, primary: true
column title : String?
column body : String?
timestamps
end
Support Crystal 0.29.0
- f67cdcb Update shards for crystal 0.29.0 support (#1115) by @drujensen
- dc965c6 Updates for Crystal 0.29 (#1114) by @bcardiff
- da1fabf Add except method to filters.cr (#1111) by @AndyRosenberg
- 8b40cb7 Create Backers.md (#1112) by @robacarp
- cb02557 Add namespace (#1109) by @alex-lairan
- c534ff0 Create FUNDING.yml (#1108) by @robacarp
- b0e146c Ability to bootstrap a project into an Amber project. (#1018) by @drujensen
v0.28.0
v0.27.0
Fixed bug where file_reload initialized for tasks, db, exec, etc instead of just server (#1088) by elorest
Fix settings and dep injection (#1084) by elorest
adding error validation to the authentication (#1073) by alex-min
adding an option to print the routes as json (#1072) by alex-min
reload the i18n locale files automatically (#1071) by alex-min
adding a errors method to the validator to reuse the errors (#1069) by alex-min
set AMBER_ENV to 'test' when testing (#1068) by damianham
Adding more details in the 500 errors, issue #1064 (#1067) by alex-min
allow saving a blank value to an Optional param (to clear out a previously saved value) (#1066) by anamba
fixing firefox reload bug, issue #1023 (#1065) by alex-min
fixing the "Read Amber quick start guide" link in the README (#1063) by alex-min
Align session nav links on the right of the nav bar (#1060) by damianham
Remove --deps flag from CLI header text (#1057) by kevinelliott
Change shield.io badge label from "tag" to "version" in readme (#1056) by westonganger
Add script ./bin/amber_spec (#1055) by westonganger
added blocks to respond with (#1054) by elorest
Make Generated ErrorController inherit from ApplicationController (#1052) by westonganger
Re-add default export to Amber.js (#1051) by jackturnbull
Makes settings.secrets usable for end users. (#1048) by elorest
Add method Amber::Validators::Params#to_unsafe_h
(#1043) by westonganger
Dont add specific require for error pipe as all pipes are already required (#1040) by westonganger
Add return type for has_key? methods (#1038) by westonganger
Treat mailer as first class citizen in new app (#1037) by westonganger