Revel v1.0.0 Release Notes

Release Date: 2020-07-12 // almost 4 years ago
  • deps

    ๐Ÿ”„ CHANGELOG

    v1.0.0

    [revel/revel]

    • ๐Ÿ”€ 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

    [revel/cmd]

    • ๐Ÿ”€ 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

    [revel/config]

    • no changes

    [revel/modules]

    • ๐Ÿ”€ 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

    [revel/cron]

    • no changes

    [revel/examples]

    • ๐Ÿ”€ 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

    [revel/revel.github.io]

    • ๐Ÿ”€ 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

Previous changes from v0.21.0

  • ๐Ÿ†• 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