Changelog History
Page 1
-
v1.0.0 Changes
July 12, 2020deps
๐ CHANGELOG
v1.0.0
- ๐ 3d1b0c3 Merge pull request #1497 from lujiacn/master
- ๐ ff2da7e Merge pull request #1498 from aacapella/feature/same-site-cookies
- ๐ c6c4c35 SameSite cookie support
- bfad570 Update server_adapter_go.go
- ๐ ff43c73 Merge pull request #1491 from notzippy/go-mod
- โก๏ธ dbe9fee Update .travis.yml
- โ 38b0687 Fixed paths for test cases
- ๐ฒ 39523bf Enhanced logging
- ๐ฒ 59b8375 Changes to Revel for go.mod support Modified module lookup to handle lookups using the app.conf (before relied on source file) Added extra logging for routes error handling
- ๐ 1053f49 Merge pull request #1443 from lujiacn/develop
- ๐ dcafb9e Merge pull request #1488 from notzippy/go-mod
- ๐ e30c8da Merge pull request #1483 from goevexx/feature/fix-issue-1482
- โก๏ธ 50e70f9 Updated revel to receive paths passed in Updated watcher to use master branch
- d581f71 change import to fix issue 1482
- ๐ fdc724a Merge pull request #1462 from torden/feature/fix_puretextstrict
- fe4861c Fix (#1458) the undetected self-closing tags in isPureTextStrict Fix (#1458) the always uses STRICT mode in PureText.IsSatisFied
- ae3895a added wasm mime-type
- ๐ 45ec814 Merge pull request #1439 from mukeshjeengar/hotfix/log-rotation-fixed
- ๐ d3a76ed log rotation fixed
- ๐ 2eb9067 Merge pull request #1413 from nevkontakte/patch-1
- ๐ ccf085e Merge pull request #1434 from dmjones/fix-1433
- 34e886a Don't invoke action when Before returns value
- ๐ 5b70626 Merge pull request #1427 from SYM01/hotfix/avoid-dos
- d160ecb fix issue #1424
- ๐ db7db5b remove unneccsary code assignment to nil
- โก๏ธ 8bff5bb Update controller.go
- ๐ 16f5fef Remove a stray println call.
- 60c3d7a develop v1.0.0-dev
- ๐ d8117a3 Merge pull request #186 from notzippy/go-mod
- โก๏ธ 6371373 Removed version update Version control is maintained through go.mod file Modified harness to only kill the application if not responded after 60 seconds in windows
- ๐ 28ac65f Merge pull request #185 from notzippy/go-mod
- โก๏ธ 5070fb8 Fixed issue with new and run flag Updated tests to run final test in non gopath, with new name
- 904cfa2 Added some informational messages while download
- ๐ฆ 223bd3b Added manual scan on packages in app folder This allows for source code generation. Packages in /app folder are scanned manually as opposed to the
packages.Load
scan which will fast fail on compile error, and leave you with go files with no syntax. - ๐ 4987ee8 Added verbose logging to building / testing a no-vendor app Removed section which raises an error when examining packages, we dont need to check for errors on foreign packages since we are importing only a slice of the data
- โก๏ธ 4bab440 Updated Revel command Added a check to see if harness had already started, saves a recompile on load Added check to source info for local import renames Removed the go/build check for path and just check existence of the path Formatting updates
- โก๏ธ 741f492 Updated scanner Removed scanning all the import statements, this is not needed Added recursive scan for revel import path to pick up testunits
- ๐ 60b88a4 Merge pull request #180 from notzippy/go-mod
- โก๏ธ 49eef29 Build and Historic build updates Modified GOPATH to not modify build with go.mod Updated go.mod to version 1.12 Updated harness to setup listener before killing process Updated notvendored flag to --no-vendor Updated command_config to ensure no-vendor can be build Added additional checks in source path lookup
- โก๏ธ 9d3a554 Updates Updated NotVendored flag Updated travis matrix Updated build log
- 36bd6b9 Corrected flags
- ๐ 1d9df25 Moved test cases to run last
- ad694c0 Debug travis
- ๐ fb4b565 Debug travis Added verbose flag so we can see what is occurring, Removed checkout for revel, not needed anymore
- ๐ 20d5766 Added gomod-flags Added a gomod-flags parameter which allows you to run go mod commands on the go.mod file before the build is performed. This allows for development environments.
- โก๏ธ 0920905 Updated to build go 1.12 and up Modified to use fsnotify directlyUpdated travis to not use go deps
- โ 31cb64e Check-in of command_test, remaps the go mod command to use the develop branch.
- โ 33abc47 Fixed remaining test
- โก๏ธ 86736d6 Updated formating Ran through testing individually for vendored Revel applications
- ๐ 07d6784 Restructured command config Removed go/build reference in clean
- c1aee24 Corrected version detection, so that equal versions match
- โก๏ธ f2b54f5 Updated sourceinfo Added packagepathmap to the SourceInfo, this in turn allows the RevelCLI app command to pass the source paths directly to Revel directly Added default to build to be "target" of the current folder Renamed source processor
- 3f54665 Added processor to read the functions in the imported files, and populate the SourceInfo object the same as before
- 548cbc1 Upatede Error type to SourceError Added processor object to code Verified compile errors appearing Signed-off-by: [email protected]
- โก๏ธ 9a9511d Updated so revel new works and revel run starts parsing the source.
- acb8fb6 Initial commit to go mod
- ๐ d201463 Merge pull request #176 from xXLokerXx/fix_windows_path
- ๐ 773f688 Merge branch 'develop' into fix_windows_path
- ca4cfa5 Merge pull request #165 from kumakichi/fixed_import_C
- ๐ 4368690 Merge pull request #179 from Laur1nMartins/Laur1nMartins/fix-linkerFlags
- ๐ cf2e617 Merge branch 'develop' into Laur1nMartins/fix-linkerFlags
- ๐ 424474a Fix linker flags inclusion in build comamnd
- 6d8fcd9 Fix sintax error
- aa459c1 Fix sintaxis error
- 0b23b3e Fix complexity
- 3f65e1e acept slash and inverted slash in src path validation
- ๐ 7dce3d8 fixed import "C"
- 5c8d5bc develop v1.0.0-dev
- no changes
- ๐ e1fdc01 Merge pull request #103 from revel/master
- ๐ 80d53e2 Merge pull request #102 from notzippy/go-mod
- โก๏ธ 2048fce Updated build processor
- ๐ 19728d3 Added gomod removed vendor specific imports
- 515369e develop v1.0.0-dev
- no changes
- ๐ 2d2968c Merge pull request #57 from notzippy/go-mod
- โก๏ธ dc75997 Updated examples Updated booking app to go.mod Updated chat, facebook, others app to add in go file in the root Updated travis to run tests in windows Updated travis to exclude testing fasthttp on windows
- ๐ 5b25a51 Removed persona from project, this function no longer exists in browsers
- ๐ 6cd3647 Merge pull request #196 from aacapella/feature/same-site-cookies
- ๐ 9f8f537 Merge pull request #191 from dmjones/session-value-not-found-returns-error
- ๐ d79c912 Merge pull request #194 from DGKSK8LIFE/patch-1
- ๐ 3911471 Merge pull request #195 from notzippy/develop
- 67b088f Same site cookie setting
- f5c5cb0 Corrected issues
- โก๏ธ bba502d Update for gomod docs
- ๐ 9765ef0 Merge remote-tracking branch 'revel/master' into develop
- ๐ eedc235 fixed spelling error
- 9b9270a Explain return value when session value not found
- ๐ 24abe9a Merge pull request #184 from manfordbenjamin/master
- ๐ 4969200 Change logo and apply blue theme style to all pages
- 844fe5d Revamp homepage
- ef54af7 develop v1.0.0-dev
๐ [revel/heroku-buildpack-go-revel]
- no changes
-
v0.21.0 Changes
October 30, 2018๐ New items
- ๐ Session Engine support You can now define your own session engine. By default the cookie engine is the one used for the session, but with this change you can implement your own. Also controller.Session is now a
map[string]interface{}
which means you can place any object that can be serialized to a string. - โ Added http mux support you can now integrate Revel with packages that have their own HTTP muxers. This allows you to integrate with Hugo, Swagger or any suite of software that is out there.
- 0๏ธโฃ
revel.controller.reuse
app.conf option to turn on / off reuse of the controllers. Defaults to true
๐ฅ Breaking changes
controller.Session is now a map[string]interface{} (previously was map[string]string) this means existing code needs to cast any values they pull from the session
if username, ok := c.Session["user"]; ok { // username is a string type return c.getUser(username) }
๐ changes to
if username, ok := c.Session["user"]; ok { // username is an interface{} type return c.getUser(username.(string)) }
๐ Deprecated log points removed
๐ revel.ERROR, revel.TRACE, revel.DEBUG, revel.WARN have been removedFunction name change
revel.OnAppStop
Replaced revel.OnAppShutdown๐ revel.SimpleStack was moved to github.com/revel/revel/utils.SimpleStack
๐ New packages required
Revel Framework
- github.com/twinj/uuid (revel/revel session ID generation)
Revel Cmd
- github.com/kr/pty (revel/cmd capture output of dep tool)
๐ฆ Package changes
Revel Framework
- โ Added stack to errors Added stack information to router when forumlating error
- ๐ Fix spelling errors from go report
- โ Removed deprecated loggers
- โก๏ธ Updated travis , made windows success optional
- ๐ฆ Exposed StopServer function to public Changed session filter to use empty call
- ๐ 577ae8b Enhancement pack for next release Added session engine support, and the session cookie engine breaking change revel.Session was map[string]string now is map[string]interface{}
- โก๏ธ Updated shutdown to support windows environment
- ๐ Patched shutdown support to make it work through the event engine
- Added ENGINE_SHUTDOWN_REQUEST to events, raising this event will cause the server to shutdown
- Assigned Server engines to receive revel.Events Added revel.OnAppStop hooks -
- ๐ฆ Normalized startup / shutdown hooks into their own package
Revel Cmd
- Modified run command to translate symlinks to absolute paths
- โก๏ธ Tool updates Updated tool to give more meaningful errors
- โ Added file system as an option to fetch the skeleton from
- ๐ Allow windows to fail on travis
- โ run Command will choose CWD if no additional arguments are supplied
- โ Added Revel version check, compatible lists are in model/version
Revel Modules
- โก๏ธ Updated CSRF test cases
- โ Added travis test for modified test engine
- โก๏ธ Updated server-engine modules to support OnAppStop functionality.
- โก๏ธ Reorganization, readme updates Moved auth example into its own folder
- โก๏ธ Updated root readme
- โก๏ธ Updated CSRF
Revel Examples
- ๐ Fixed issue with error checking closes websocket in chat
- โก๏ธ Updated booking module to work with changed session
- โก๏ธ Updated to remove any references to old revel.log variables
- ๐ Session Engine support You can now define your own session engine. By default the cookie engine is the one used for the session, but with this change you can implement your own. Also controller.Session is now a
-
v0.20.0 Changes
September 23, 2018๐ New items
- โก๏ธ Updated minimum Go requirements to Go 1.8
Revel Cmd changes
๐ See manual for more information on the flags and new features
- ๐ Rewrote revel/cmd package so it has no dependencies on revel/revel - future releases for revel/cmd will not be on the same schedule as revel/revel
- โ Added flag support to revel/cmd ,
- โ Added automatic vendor creation flag, when enabled a vendor folder will be added and used to the project
- โ Added [DEFAULT] section to message skeleton so multiple lines work
- ๐ If port specified is 0 then proxy can will run on a random free port
- Split main file into two files so it may be invoked using other methods
- โ Added ability to only monitor and update build files (without running a proxy)
- Auto download revel/revel, revel/cmd - if you point your GOPATH to an empty directory the
revel
tool will still be able to create a new project - ๐ Made application path smarter. Now supports absolute paths and relatives paths.
- modified
revel run
to pass in json code to therevel.Init
function in place of themode
field. This allows for dynamic information to be passed to the Revel Server. This can be disabled by using this flag--historic-run-mode
- modified
revel new
added-V
to auto create the vendor folder inside the application along with the Gopkg.toml file. - modified
revel new
added-r
to run the application after creating it.
revel/module
- โจ Enhanced gorp module to make database schema available
- โ Added server-engine server-engine/gohttptest and a testsuite file that implements all the methods from revel/testsuite. This test engine as an alpha implementation to be able to run
go test
from the command line. Meaning your tests can now live beside the controller. An example testsuite is here - โก๏ธ Updated static module, moved a structure into a model package
revel/revel
- โ Added startup fail REVEL_FAILURE event
- Added HTTP_REQUEST_CONTEXT fetch
- โ Added websockets Message.Send / Message.Receive functions.
- โจ Enhanced required validator
- ๐ Graceful shutdown added. By doing a
revel.RaiseEvent()
๐ฅ Breaking Changes
Request.Context() map[string]interface()
renamed to
Request.Args() map[string]interface()
๐ new function added which returns the request.Context for the server-engine that supports it
Request.Context() context.Context
revel.EventHandler
signature wasfunc(typeOf int, value interface{}) (responseOf int)
now it is func(typeOf Event, value interface{}) (responseOf EventResponse)
-
v0.19.1 Changes
March 21, 2018๐ Fix import to point to the fsnotify/fsnotify.v1
-
v0.19.0 Changes
February 07, 2018๐ Maintenance Release
๐ This release is focused on improving the security and resolving some issues.
There are no breaking changes from version 0.18
- ๐ Improved vendor folder detection revel/cmd#117
- โ Added ordering of controllers so order remains consistent in main.go revel/cmd#112
- Generate same value of
AppVersion
regardless of where Revel is run revel/cmd#108 - โ Added referrer policy security header revel/cmd#114
- โ Added directory representation to static module revel/modules#46
- ๐ Gorp enhancements (added abstraction layer for transactions and database connection so both can be used), Added security fix for CSRF module revel/modules#68
- โ Added authorization configuration options to job page revel/modules#44
- General improvements and examples added revel/examples#39revel/examples#40
-
v0.18
-
v0.17.1 Changes
July 14, 2017๐ Critical issue identified details here #1200
-
v0.17 Changes
July 12, 2017๐ CHANGELOG
v0.17
- โ 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.
- โ Added Gorm module (Example)
-
v0.16.0 Changes
June 07, 2017๐ฅ 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
-
v0.15.0 Changes
May 12, 2017๐ Deprecating support for golang versions prior to 1.7
๐ฅ Breaking Changes
- None
๐ Features
- None
โจ Enhancements
- โก๏ธ Update and improve docs revel/examples#17 revel/cmd#85
๐ Bug fixes
- Prevent XSS #1153
- ๐ Improve error checking for go version detection revel/cmd#86