github.com/naoina/kocha@v0.7.1-0.20171129072645-78c7a531f799/CHANGELOG.md (about) 1 # Kocha v0.7.0 2 3 This release contains the incompatible changes with previous releases. 4 Also the feature freeze until 1.0.0 release. 5 6 ## New features: 7 8 * request: Add Context.Request.IsXHR 9 * render: Add Context.Format 10 * template: Add `join` template func 11 * template: Add `flash` template func 12 * template: Template action delimiters now can be changed 13 * log: Add RawFormatter 14 * misc: Add ErrorWithLine 15 16 ## Incompatible changes: 17 18 * cli: Move to `cmd` directory 19 * template: `{{define "content"}}` on each templates are no longer required 20 * template: Suffix of template file changed to .tmpl 21 * render: kocha.Render* back to kocha.Context.Render* and signatures are changed 22 * kocha: Rename SettingEnv to Getenv 23 * middleware: Several features are now implemented as the middlewares 24 * middleware: Change interface signature 25 26 ## Other changes: 27 28 * log: Output to console will be coloring 29 * Some bugfix 30 31 # Kocha v0.6.1 32 33 ## Changes 34 35 * [bugfix] Fix a problem that reloading process of `kocha run' doesn't work 36 37 # Kocha v0.6.0 38 39 This release is an incompatible with previous releases. 40 41 ## New features 42 43 * feature: add middleware for Flash messaging 44 * cli: CLI now can append the user-defined subcommands like git 45 * session: add Get, Set and Del API 46 47 ## Incompatible changes 48 49 * all: names of packages in an application to change to singular name 50 * log: logger is fully redesigned 51 * template: Remove `date' template function 52 * renderer: Move kocha.Context.Render* to kocha.Render* 53 * context: Change Errors() method to the Errors field 54 * middleware: Middleware.After will be called in the reverse of the order in which Middleware.Before are called 55 * controller: controller types are fully redesigned 56 * controller: remove NewErrorController() 57 * router: Route.dispatch won't create an instance of Controller for each dispatching 58 * middleware: processing of ResponseContentTypeMiddleware moves to core 59 60 ## Other changes 61 62 * session: codec.MsgpackHandle won't be created on each call 63 * all: refactoring