- add-validation
- i18-lang-by-param
- Added namespace to routes, controllers
- Added go 1.6 to testing
- Adds the ability to set the language by a url parameter. The route file will need to specify the parameter so that it will be picked up
- Changed url validation logic to regex
- Added new validation mehtods (IPAddr,MacAddr,Domain,URL,PureText)
- no changes
- no changes
- Added Gorm module
- Updated cron task manager
- Added ability to run a specific job, reschedules job if cron is running.
- Gorm module (Example)
Deprecating support for golang versions prior to 1.6
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
- Modular Template Engine #1170
- Pongo2 engine driver added revel/modules#39
- Ace engine driver added revel/modules#40
- Added i18n template support #746
- 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
- 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
@shawncatz released this on 2017-05-11
Deprecating support for golang versions prior to 1.7
- None
- None
- Update and improve docs revel/examples#17 revel/cmd#85
- Prevent XSS revel#1153
- Improve error checking for go version detection revel/cmd#86
@notzippy released this on 2017-03-24
revel/revel
:- change RenderArgs to ViewArgs PR #1135
- change RenderJson to RenderJSON PR #1057
- change RenderHtml to RenderHTML PR #1057
- change RenderXml to RenderXML PR #1057
revel/revel
:
revel/revel
:
revel/revel
:
@jeevatkm released this on 2016-06-07
Bug fix:
- Windows path fix #1064
@jeevatkm released this on 2016-06-06
revel/revel
:- Application Config name changed from
watcher.*
towatch.*
PR #992, PR #991
- Application Config name changed from
revel/revel
:- Request access log PR #1059, PR #913, #1055
- Messages loaded from modules too PR #828
revel/cmd
:- Added
revel version
command emits the revel version and go version revel/cmd#19
- Added
revel/revel
:- Creates log directory if missing PR #1039
- Added
application/javascript
to accepted headers PR #1022 - You can change
Server.Addr
value via hook function PR #999 - Improved deflate/gzip compressor PR #995
- Consistent config name
watch.*
PR #992, PR #991 - Defaults to HttpOnly and always secure cookies for non-dev mode #942, PR #943
- Configurable server Read and Write Timeout via app config #936, PR #940
OnAppStart
hook now supports order param too PR #935- Added
PutForm
andPutFormCustom
helper method intesting.TestSuite
#898 - Validator supports UTF-8 string too PR #891, #841
- Added
InitServer
method that returnshttp.HandlerFunc
PR #879 - Symlink aware processing Views, Messages and Watch mode PR #867, #673
- Added i18n settings support unknown format PR #852
- i18n: Make Message Translation pluggable PR #768
- jQuery
min-2.2.4
& Bootstrapmin-3.3.6
version updated inskeleton/public
#1063
revel/cmd
:- Revel identifies current
GOPATH
and performsnew
command; relative to directory revel#1004 - Installs package dependencies during a build PR revel/cmd#43
- Non-200 response of test case request will correctly result into error PR revel/cmd#38
- Websockets SSL support in
dev
mode PR revel/cmd#32 - Won't yell about non-existent directory while cleaning PR revel/cmd#31, #908
- non-fatal errors when building #908
- Improved warnings about route generation PR revel/cmd#25
- Command is Symlink aware PR revel/cmd#20
revel package
&revel build
now supports environment mode PR revel/cmd#14revel clean
now cleans generated routes too PR revel/cmd#6
- Revel identifies current
revel/config
:- Upstream
robfig/config
refresh and import path updated fromgithub.com/revel/revel/config
togithub.com/revel/config
, PR #868 - Config loading order and external configuration to override application configuration revel/config#4 commit
- Application config error will produce insight on error PR revel/config#3 commit
- Upstream
revel/modules
:- Testrunner enhancements
- Minor improvement on testrunner module PR #820, #895
- Add Test Runner panels per test group PR revel/modules#12
- Testrunner enhancements
revel/revel.github.io
:- Cross-Platform Support
- Slashes should be normalized in paths #260, PR #1028, PR #928
revel/revel
:- Binder: Multipart
io.Reader
parameters needs to be closed #756 - Default Date & Time Format correct in skeleton PR #1062, #878
- Addressed with alternative for
json: unsupported type: <-chan struct {}
on Go 1.6 revel#1037 - Addressed one edge case, invalid Accept-Encoding header causes panic revel#914
- Binder: Multipart
@brendensoares released this on 2015-01-04
This is a minor release to address a critical bug (#824) in v0.11.2.
Everybody is strongly encouraged to rebuild their projects with the latest version of Revel. To do it, execute the commands:
$ go get -u github.com/revel/cmd/revel
$ revel build github.com/myusername/myproject /path/to/destination/folder
on 2014-11-23
This is a minor release to address a critical bug in v0.11.0.
Everybody is strongly encouraged to rebuild their projects with the latest version of Revel. To do it, execute the commands:
$ go get -u github.com/revel/cmd/revel
$ revel build github.com/myusername/myproject /path/to/destination/folder
@pushrax released this on 2014-10-27
This is a minor release to address a compilation error in v0.11.0.
@brendensoares released this on 2015-03-25
Changes since v0.11.3:
- Add import path to new
testing
sub-package for all Revel tests. For example:
package tests
import "github.com/revel/revel/testing"
type AppTest struct {
testing.TestSuite
}
- We've relocated modules to a dedicated repo. Make sure you update your
conf/app.conf
. For example, change:
module.static=github.com/revel/revel/modules/static
module.testrunner = github.com/revel/revel/modules/testrunner
to the new paths:
module.static=github.com/revel/modules/static
module.testrunner = github.com/revel/modules/testrunner
The majority of our effort here is increasing the modularity of the code within Revel so that further development can be done more productively while keeping documentation up to date.
revel/revel.github.io
- Improve docs #43
revel/revel
:- Move the
revel/revel/harness
to therevel/cmd
repo since it's only used during build time. #714 - Move
revel/revel/modules
to therevel/modules
repo #785 - Move
revel/revel/samples
to therevel/samples
repo #784 -
testing
TestSuite #737 #810 - Feature/sane http timeout defaults #837 PR#843 Bug Fix PR#860
- Eagerly load templates in dev mode #353 PR#844
- Add an option to trim whitespace from rendered HTML #800
- Remove built-in mailer in favor of 3rd party package #783
- Allow local reverse proxy access to jobs module status page for IPv4/6 #481 PR#6 PR#7
- Add default http.Status code for render methods. #728
- add domain for cookie #770 PR#882
- production mode panic bug #831 PR#881
- Fixes template loading order whether watcher is enabled or not #844
- Fixes reverse routing wildcard bug PR#886 #869
- Fixes router app start bug without routes. PR #855
- Friendly URL template errors; Fixes template
url
func "index out of range" when param isundefined
#811 PR#880 - Make result compression conditional PR#888
- ensure routes are loaded before returning from OnAppStart callback PR#884
- Use "302 Found" HTTP code for redirect PR#900
- Fix broken fake app tests PR#899
- Optimize search of template names PR#885
- Move the
revel/cmd
:revel/modules
:- Adds runtime pprof/trace support #9
- Community Goals:
- Issue labels #545
- Sync up labels/milestones in other repos #721
- Update the Revel Manual to reflect current features
- revel/revel.github.io/32
- revel/revel.github.io/39
- Docs are obsolete, inaccessible TestRequest.testSuite #791
- Some questions about revel & go docs #793
- RFCs to organize features #827
- Issue labels #545
@brendensoares released this on 2014-10-26
Note, Revel 0.11 requires Go 1.3 or higher.
Changes since v0.10:
[BUG] #729 Adding define inside the template results in an error (Changes how template file name case insensitivity is handled)
[ENH] #769 Add swap files to gitignore [ENH] #766 Added passing in build flags to the go build command [ENH] #761 Fixing cross-compiling issue #456 setting windows path from linux [ENH] #759 Include upload sample's tests in travis [ENH] #755 Changes c.Action to be the action method name's letter casing per #635 [ENH] #754 Adds call stack display to runtime panic in browser to match console [ENH] #740 Redis Cache: Add timeouts. [ENH] #734 watcher: treat fsnotify Op as a bitmask [ENH] #731 Second struct in type revel fails to find the controller [ENH] #725 Testrunner: show response info [ENH] #723 Improved compilation errors and open file from error page [ENH] #720 Get testrunner path from config file [ENH] #707 Add log.colorize option to enable/disable colorize [ENH] #696 Revel file upload testing [ENH] #694 Install dependencies at build time [ENH] #693 Prefer extension over Accept header [ENH] #692 Update fsnotify to v1 API [ENH] #690 Support zero downtime restarts [ENH] #687 Tests: request override [ENH] #685 Persona sample tests and bugfix [ENH] #598 Added README file to Revel skeleton [ENH] #591 Realtime rebuild [ENH] #573 Add AppRoot to allow changing the root path of an application
[FTR] #606 CSRF Support
@brendensoares released this on 2014-08-10
Changes since v0.9.1:
- [FTR] #641 - Add "X-HTTP-Method-Override" to router
- [FTR] #583 - Added HttpMethodOverride filter to routes
- [FTR] #540 - watcher flag for refresh on app start
- [BUG] #681 - Case insensitive comparison for websocket upgrades (Fixes IE Websockets ...
- [BUG] #668 - Compression: Properly close gzip/deflate
- [BUG] #667 - Fix redis GetMulti and improve test coverage
- [BUG] #664 - Is compression working correct?
- [BUG] #657 - Redis Cache: panic when testing Ge
- [BUG] #637 - RedisCache: fix Get/GetMulti error return
- [BUG] #621 - Bugfix/router csv error
- [BUG] #618 - Router throws exception when parsing line with multiple default string arguments
- [BUG] #604 - Compression: Properly close gzip/deflate.
- [BUG] #567 - Fixed regex pattern to properly require message files to have a dot in filename
- [BUG] #566 - Compression fails ("unexpected EOF" in tests)
- [BUG] #287 - Don't remove the parent folders containing generated code.
- [BUG] #556 - fix for #534, also added url path to not found message
- [BUG] #534 - Websocket route not found
- [BUG] #343 - validation.Required(funtionCall).Key(...) - reflect.go:715: Failed to generate name for field.
- [ENH] #643 - Documentation Fix in Skeleton for OnAppStart
- [ENH] #674 - Removes custom
eq
template function - [ENH] #669 - Develop compress closenotifier
- [ENH] #663 - fix for static content type not being set and defaulting to OS
- [ENH] #658 - Minor: fix niggle with import statement
- [ENH] #652 - Update the contributing guidelines
- [ENH] #651 - Use upstream gomemcache again
- [ENH] #650 - Go back to upstream memcached library
- [ENH] #612 - Fix CI package error
- [ENH] #611 - Fix "go vet" problems
- [ENH] #610 - Added MakeMultipartRequest() to the TestSuite
- [ENH] #608 - Develop compress closenotifier
- [ENH] #596 - Expose redis cache options to config
- [ENH] #581 - Make the option template tag type agnostic.
- [ENH] #576 - Defer session instantiation to first set
- [ENH] #565 - Fix #563 -- Some custom template funcs cannot be used in JavaScript cont...
- [ENH] #563 - TemplateFuncs cannot be used in JavaScript context
- [ENH] #561 - Fix missing extension from message file causing panic
- [ENH] #560 - enhancement / templateFunc
firstof
- [ENH] #555 - adding symlink handling to the template loader and watcher processes
- [ENH] #531 - Update app.conf.template
- [ENH] #520 - Respect controller's Response.Status when action returns nil
- [ENH] #519 - Link to issues
- [ENH] #486 - Support for json compress
- [ENH] #480 - Eq implementation in template.go still necessary ?
- [ENH] #461 - Cron jobs not started until I pull a page
- [ENH] #323 - disable session/set-cookie for
Static.Serve()
@pushrax released this on 2014-03-02
Minor patch release to address a couple bugs.
Changes since v0.9.0:
- [BUG] #529 - Wrong path was used to determine existence of
.git
- [BUG] #532 - Fix typo for new type
ValidEmail
The full list of commits can be found here.
@pushrax released this on 2014-02-26
We've moved development of the framework to the @revel GitHub organization, to help manage the project as Revel grows. The old import path is still valid, but will not be updated in the future.
You'll need to manually update your apps to work with the new import path. This can be done by replacing all instances of github.com/robfig/revel
with github.com/revel/revel
in your app, and running:
$ cd your_app_folder
$ go get -u github.com/howeyc/fsnotify # needs updating
$ go get github.com/revel/revel
$ go get github.com/revel/cmd/revel # command line tools have moved
Note: if you have references to github.com/robfig/revel/revel
in any files, you need to replace them with github.com/revel/cmd/revel
before replacing github.com/robfig/revel
! (note the prefix collision)
If you have any trouble upgrading or notice something we missed, feel free to hop in the IRC channel (#revel on Freenode) or send the mailing list a message.
Also note, the documentation is now at revel.github.io!
Changes since v0.8:
- [BUG] #522 -
revel new
bug - [BUG] - Booking sample error
- [BUG] #504 - File access via URL security issue
- [BUG] #489 - Email validator bug
- [BUG] #475 - File watcher infinite loop
- [BUG] #333 - Extensions in routes break parameters
- [FTR] #472 - Support for 3rd part app skeletons
- [ENH] #512 - Per session expiration methods
- [ENH] #496 - Type check renderArgs[CurrentLocalRenderArg]
- [ENH] #490 - App.conf manual typo
- [ENH] #487 - Make files executable on
revel build
- [ENH] #482 - Retain input values after form valdiation
- [ENH] #473 - OnAppStart documentation
- [ENH] #466 - JSON error template quoting fix
- [ENH] #464 - Remove unneeded trace statement
- [ENH] #457 - Remove unneeded trace
- [ENH] #508 - Support arbitrary network types
- [ENH] #516 - Add Date and Message-Id mail headers
The full list of commits can be found here.
@pushrax released this on 2014-01-06
Changes since v0.7:
- [BUG] #379 - HTTP 500 error for not found public path files
- [FTR] #424 - HTTP pprof support
- [FTR] #346 - Redis Cache support
- [FTR] #292 - SMTP Mailer
- [ENH] #443 - Validator constructors to improve
v.Check()
usage - [ENH] #439 - Basic terminal output coloring
- [ENH] #428 - Improve error message for missing
RenderArg
- [ENH] #422 - Route embedding for modules
- [ENH] #413 - App version variable
- [ENH] #153 - $GOPATH-wide file watching aka hot loading
@robfig released this on 2013-09-16