Revel v0.16.0 Release Notes
Release Date: 2017-06-07 // almost 7 years ago-
๐ฅ Breaking Changes
CurrentLocaleRenderArg
toCurrentLocaleViewArg
for consistency- ๐ JSON requests are now parsed by Revel, if the content type is
text/json
orapplication/json
. The raw data is available inRevel.Controller.Params.JSON
. But you can also use the automatic controller operation to load the data like you would any structure or map. See here for more details
๐ Features
- Modular Template Engine #1170
- Pongo2 engine driver added revel/modules#39
- Ace engine driver added revel/modules#40
- โ Added i18n template support #746
โจ Enhancements
- JSON request binding #1161
- revel.SetSecretKey function added #1127
- ResolveFormat now looks at the extension as well (this sets the content type) #936
- โก๏ธ Updated command to run tests using the configuration revel/cmd#61
๐ Bug fixes
- ๐ Updated documentation typos revel/modules#37
- โก๏ธ Updated order of parameter map assignment #1155
- โก๏ธ Updated cookie lifetime for firefox #1174
- โ Added test path for modules, so modules will run tests as well #1162
- ๐ Fixed go profiler module revel/modules#20