All Versions
22
Latest Version
Avg Release Cycle
54 days
Latest Release
585 days ago

Changelog History
Page 1

  • v0.21.0

    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 removed

    Function 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
  • v0.20.0

    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 the revel.Init function in place of the mode 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 was func(typeOf int, value interface{}) (responseOf int)
      now it is func(typeOf Event, value interface{}) (responseOf EventResponse)
  • v0.19.1

    March 21, 2018

    🛠 Fix import to point to the fsnotify/fsnotify.v1

  • v0.19.0

    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

    [revel/cmd]

    • 👌 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

    [revel/modules]

    • ➕ 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

    [revel/examples]

  • v0.18

  • v0.17.1

    July 14, 2017

    🚑 Critical issue identified details here #1200

  • v0.17

    July 12, 2017

    🔄 CHANGELOG

    v0.17

    [revel/revel]

    • ➕ 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)

    [revel/cmd]

    • no changes

    [revel/config]

    • no changes

    [revel/modules]

    • ➕ Added Gorm module

    [revel/cron]

    • ⚡️ Updated cron task manager
    • ➕ Added ability to run a specific job, reschedules job if cron is running.

    [revel/examples]

    • ➕ Added Gorm module (Example)
  • v0.16.0

    June 07, 2017

    💥 Breaking Changes

    • CurrentLocaleRenderArg to CurrentLocaleViewArg for consistency
    • 👀 JSON requests are now parsed by Revel, if the content type is text/json or application/json. The raw data is available in Revel.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

    ✨ 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

    May 12, 2017

    🗄 Deprecating support for golang versions prior to 1.7

    💥 Breaking Changes

    • None

    🔋 Features

    • None

    ✨ Enhancements

    🐛 Bug fixes

    • Prevent XSS #1153
    • 👌 Improve error checking for go version detection revel/cmd#86
  • v0.14.0

    March 24, 2017

    🔄 Changes since v0.13.0

    💥 Breaking Changes

    • 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

    🔋 Features

    • None

    ✨ Enhancements

    • None

    🐛 Bug Fixes

    • None