Commit Graph

424 Commits

Author SHA1 Message Date
Gerasimos Maropoulos
fb45f71b8c Update History, 4.0.0-alpha.4 - Book is updated also. 2016-07-20 06:35:50 +03:00
Gerasimos Maropoulos
7ed5ed4519 Iris 4.0.0-alpha.4. Book is finally updated https://kataras.gitbooks.io/iris/content/ also 2016-07-20 06:33:24 +03:00
Gerasimos Maropoulos
0a427c1ce0 Next step is to update the gitbook for the v4 template engines changes and new features 2016-07-19 08:58:10 +03:00
Gerasimos Maropoulos
6f91e6c588 Add option for Gzip again, I removed it after v3 but seems users wants it back 2016-07-19 06:50:49 +03:00
Gerasimos Maropoulos
675c0d510c Update to 4.0.0-alpha.3 - Response Engines, 'inject' the context.JSON/JSONP/Text/Data/Markdown/Render, Read HISTORY.md
## 4.0.0-alpha.2 -> 4.0.0-alpha.3

**New**

A **Response Engine** gives you the freedom to create/change the
render/response writer for

- `context.JSON`
- `context.JSONP`
- `context.XML`
- `context.Text`
- `context.Markdown`
- `context.Data`
- `context.Render("my_custom_type",mystructOrData{},
iris.RenderOptions{"gzip":false,"charset":"UTF-8"})`
- `context.MarkdownString`
- `iris.ResponseString(...)`

**Fix**
- https://github.com/kataras/iris/issues/294

**Small changes**

- `iris.Config.Charset`, before alpha.3 was `iris.Config.Rest.Charset` &
`iris.Config.Render.Template.Charset`, but you can override it at
runtime by passinth a map `iris.RenderOptions` on the `context.Render`
call .
- `iris.Config.IsDevelopment` , before alpha.1 was
`iris.Config.Render.Template.IsDevelopment`

**Websockets changes**

No need to import the `github.com/kataras/iris/websocket` to use the
`Connection` iteral, the websocket moved inside `kataras/iris` , now all
exported variables' names have the prefix of `Websocket`, so the old
`websocket.Connection` is now `iris.WebsocketConnection`.

Generally, no other changes on the 'frontend API', for response engines
examples and how you can register your own to add more features on
existing response engines or replace them, look
[here](https://github.com/iris-contrib/response).

**BAD SIDE**: E-Book is still pointing on the v3 release, but will be
updated soon.
2016-07-18 17:40:42 +03:00
Makis Maropoulos
077984bd60 🌈 sessions were re-written, update to 4.0.0-alpha.2, read HISTORY.md
**Sessions were re-written **

- Developers can use more than one 'session database', at the same time,
to store the sessions
- Easy to develop a custom session database (only two functions are
required (Load & Update)), [learn
more](https://github.com/iris-contrib/sessiondb/blob/master/redis/database.go)
- Session databases are located
[here](https://github.com/iris-contrib/sessiondb), contributions are
welcome
- The only frontend deleted 'thing' is the: **config.Sessions.Provider**
- No need to register a database, the sessions works out-of-the-box
- No frontend/API changes except the
`context.Session().Set/Delete/Clear`, they doesn't return errors
anymore, btw they (errors) were always nil :)
- Examples (master branch) were updated.

```sh
$ go get github.com/iris-contrib/sessiondb/$DATABASE
```

```go
db := $DATABASE.New(configurationHere{})
iris.UseSessionDB(db)
```

> Note: Book is not updated yet, examples are up-to-date as always.
2016-07-15 20:50:36 +03:00
Makis Maropoulos
f7a782b692 Remove deprecated functions 2016-07-13 14:05:32 +03:00
Makis Maropoulos
b99afb2875 Update to v4.0.0-alpha.1 2016-07-13 06:28:09 +03:00
Makis Maropoulos
871b43cae7 Update history 2016-07-07 02:43:33 +02:00
Makis Maropoulos
0b8cb29e0c Update to 3.0.0-pre.release, Read HISTORY.md for new features and changes
Yes new features, with Iris you always get them on each version or
revision or non-semantic version
2016-07-07 02:36:48 +02:00
Makis Maropoulos
dba92ba64d Add more notes on HISTORY.md about rc.4 changes 2016-07-01 02:13:21 +03:00
Makis Maropoulos
9e3fb53f1e Update HISTORY for rc.4 2016-06-28 18:10:18 +03:00
Makis Maropoulos
7e9dc068fb Extend the Handlebars support as requested here https://github.com/kataras/iris/issues/239#issuecomment-229020737
History, Books  & examples are updated.
2016-06-28 18:06:52 +03:00
Makis Maropoulos
e72a8f6786 Add JSON Web Tokens support via middleware to the README 2016-06-24 08:29:08 +03:00
Makis Maropoulos
3e692804f2 Improve the iris run command as requested here https://github.com/kataras/iris/issues/192 2016-06-24 05:17:22 +03:00
Makis Maropoulos
95813bf36b HISTORY.md: Add How to upgrade to V3.0.0-rc.3 2016-06-24 02:01:53 +03:00
Makis Maropoulos
f83b532835 Embrace the weekend- Update to rc.3 | Read the HISTORY.md 2016-06-24 01:34:49 +03:00
Makis Maropoulos
e9a4746000 Update to rc.2 | NEW: iris run main.go https://github.com/kataras/iris/issues/192
Not tested on linux yet,(I do not have a linux station now). Post an
issue if iris run main.go doesnt works as expected
2016-06-20 11:59:36 +03:00
Makis Maropoulos
d837381b16 Update to 3.0.0-rc.1 - Read the HISTORY.md. Relative: #183 #184 #166 #176 #181
Read https://github.com/kataras/iris/tree/master/HISTORY.md
2016-06-14 08:45:40 +03:00
Makis Maropoulos
48aaca5bc0 Fix mail send, complete jade support, fix iriscontrol index , replace iriscontrol session to basicauth 2016-06-06 01:37:32 +03:00
Makis Maropoulos
e40fe0a9f3 Implement the custom {{ url }} to the PongoEngine also 2016-06-05 02:17:17 +03:00
Makis Maropoulos
7f5fd1904b Remove the golang.org/x/net/context 2016-06-04 23:33:34 +03:00
Makis Maropoulos
26ef396959 Add history for v3.0.0.-beta.2. Some fixes to subdomains listening on local 127.0.0.1. Change GetURI to ParseURI
Examples and e-book updated also.
2016-06-04 23:07:19 +03:00
Makis Maropoulos
c26668a489 Version 3.0.0-beta cleaned 2016-05-30 17:08:09 +03:00