From 56bd5114277aaf3dcdff5d404b20ffa339fe1771 Mon Sep 17 00:00:00 2001 From: Gerasimos Maropoulos Date: Tue, 9 Aug 2016 22:48:09 +0300 Subject: [PATCH] Stable v4.0.0. All releases happens one-per-month, with new features at each stable release, you had complains so that stops, the next release will may not be available on next month, but it will take longers, this release should be the most iris stable version you can get now. --- DONATIONS.md | 2 +- HISTORY.md | 11 +++++++++++ README.md | 30 +++++++++++++----------------- iris.go | 2 +- 4 files changed, 26 insertions(+), 19 deletions(-) diff --git a/DONATIONS.md b/DONATIONS.md index 5ccd4588..90458b6f 100644 --- a/DONATIONS.md +++ b/DONATIONS.md @@ -8,7 +8,7 @@ If you, Feel free to send **any** amount through paypal -[![](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=makis%40ideopod%2ecom&lc=GR&item_name=Iris%20web%20framework&item_number=iriswebframeworkdonationid2016¤cy_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted&&return=http://iris-go.com/assets/v4-book/iris.pdf&cancel_return=https://www.gitbook.com/book/kataras/iris/details) +[![](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=makis%40ideopod%2ecom&lc=GR&item_name=Iris%20web%20framework&item_number=iriswebframeworkdonationid2016¤cy_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted&return=http://iris-go.com/assets/v4-book/iris.pdf&cancel_return=https://www.gitbook.com/book/kataras/iris/details) Benefits: diff --git a/HISTORY.md b/HISTORY.md index 7dfd2043..d9b13d0c 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -3,6 +3,17 @@ **How to upgrade**: remove your `$GOPATH/src/github.com/kataras/iris` folder, open your command-line and execute this command: `go get -u github.com/kataras/iris/iris`. +## 4.0.0-alpha.5 -> 4.0.0 + +- **Feature request has been implemented**: Add layout support for Pug/Jade, example [here](https://github.com/iris-contrib/examples/tree/master/template_engines/template_pug_2). +- **Feature request has been implemented**: Forcefully closing a Websocket connection, `WebsocketConnection.Disconnect() error`. + +- **FIX**: WebsocketConnection.Leave() will hang websocket server if .Leave was called manually when the websocket connection has been closed. +- **FIX**: StaticWeb not serving index.html correctly, align the func with the rest of Static funcs also, [example](https://github.com/iris-contrib/examples/tree/master/static_web) added. + +Notes: if you compare it with previous releases (13+ versions before v3 stable), the v4 stable release was fast, now we had only 6 versions before stable, that was happened because many of bugs have been already fixed and we hadn't new bug reports and secondly, and most important for me, some third-party features are implemented mostly by third-party packages via other developers! + + ## 4.0.0-alpha.4 -> 4.0.0-alpha.5 - **NEW FEATURE**: Letsencrypt.org integration[*](https://github.com/kataras/iris/issues/220) diff --git a/README.md b/README.md index 1e65aa58..a9cf330f 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ License -Releases +Releases Practical Guide/Docs
@@ -20,12 +20,11 @@ Platforms

- - +Benchmark Wizzard July 21, 2016- Processing Time Horizontal Grap +

The fastest backend web framework, written entirely in Go.
Easy to learn, while it's highly customizable.
Ideally suited for both experienced and novice Developers.
-

@@ -40,6 +39,7 @@ $ go get -u github.com/kataras/iris/iris > If you have installation issues or you are connected to the Internet through China please, [click here](https://kataras.gitbooks.io/iris/content/install.html). + Docs & Community ------------ @@ -118,6 +118,10 @@ The Iris philosophy is to provide robust tooling for HTTP, making it a great sol Iris does not force you to use any specific ORM or template engine. With support for the most used template engines, you can quickly craft the perfect application. +Iris is built on top of fasthttp (http basic layer), net/http middleware will not work by default on Iris, but you can convert any net/http middleware to Iris, see [middleware](https://github.com/iris-contrib/middleware) repository to see how. + +If for any personal reasons you think that Iris+fasthttp is not suitable for you, but you don't want to miss the unique features that Iris provides, you can take a look at the [Q web framework](https://github.com/kataras/q). + ## Benchmarks [This Benchmark suite](https://github.com/smallnest/go-web-framework-benchmark) aims to compare the whole HTTP request processing between Go web frameworks. @@ -139,25 +143,16 @@ I recommend writing your API tests using this new library, [httpexpect](https:// Versioning ------------ -Current: **v4.0.0-alpha.5** +Current: **v4.0.0** > Iris is an active project Todo ------------ -> for 'v4' -- [x] Refactor & extend view engine, separate the engines from the main code base, easier for the community to create new view engines[*](https://github.com/iris-contrib/template) -- [x] Refactor & extend sessions, split the different databases functionality to the iris-contrib[*](https://github.com/iris-contrib/sessiondb) -- [x] Refactor & extends the rest render engine in order to be able to developer to use their own implemention for rendering restful types, like, for example a custom JSON implementation using no-standard go package for encode/decode[*](https://github.com/iris-contrib/response) -- [x] Move the iris/websocket package's source code inside iris/websocket.go one file, to be easier to use by users without import a new package[*](https://github.com/kataras/iris/blob/master/websocket.go) -- [x] LetsEncrypt.org integration[*](https://github.com/kataras/iris/issues/220) -- [ ] Implement all [opened community's feature requests](https://github.com/kataras/iris/issues?q=is%3Aissue+is%3Aopen+label%3A%22feature+request%22) -- [ ] Extend i18n middleware for easier and better internalization support -- [ ] Create a router as optional plugin, for optional path parts. Its name, 'ryan', taken from the community-member and donator who requested this feature -- [ ] Extend the iris control plugin -- [x] Remove deprecated functions +Iris is a community-driven project, waiting for your suggestions and feature requests to add some items here! + If you're **willing to donate** click [here](DONATIONS.md)! @@ -183,7 +178,7 @@ License can be found [here](LICENSE). [Travis]: http://travis-ci.org/kataras/iris [License Widget]: https://img.shields.io/badge/license-MIT%20%20License%20-E91E63.svg?style=flat-square [License]: https://github.com/kataras/iris/blob/master/LICENSE -[Release Widget]: https://img.shields.io/badge/release-v4.0.0--alpha.5-blue.svg?style=flat-square +[Release Widget]: https://img.shields.io/badge/release-v4.0.0-blue.svg?style=flat-square [Release]: https://github.com/kataras/iris/releases [Chat Widget]: https://img.shields.io/badge/community-chat-00BCD4.svg?style=flat-square [Chat]: https://kataras.rocket.chat/channel/iris @@ -198,3 +193,4 @@ License can be found [here](LICENSE). [Language Widget]: https://img.shields.io/badge/powered_by-Go-3362c2.svg?style=flat-square [Language]: http://golang.org [Platform Widget]: https://img.shields.io/badge/platform-Any--OS-gray.svg?style=flat-square + diff --git a/iris.go b/iris.go index ebf0e629..61a75bf7 100644 --- a/iris.go +++ b/iris.go @@ -85,7 +85,7 @@ import ( const ( // Version of the iris - Version = "4.0.0-alpha.5" + Version = "4.0.0" banner = ` _____ _ |_ _| (_)