Commit Graph

26 Commits

Author SHA1 Message Date
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
b99afb2875 Update to v4.0.0-alpha.1 2016-07-13 06:28:09 +03:00
Makis Maropoulos
5cfe19c793 Check for cors middleware conflicts on mux 2016-07-13 05:02:43 +03:00
Makis Maropoulos
e61d1f8c3c Extend Read & Write BufferSize header and max request body size is 8mb now 2016-07-12 15:40:06 +02:00
Makis Maropoulos
6761d58e53 Final v3 2016-07-08 19:41:50 +02:00
Makis Maropoulos
52099314e6 Prepare for custom child router(s) via plugin(s) for tomorrow 2016-07-07 23:59:00 +02:00
Makis Maropoulos
e3b2c68085 Parse server's addr before use it 2016-07-07 17:17:34 +02:00
Makis Maropoulos
2cc75817b7 Add support for more than one listening server to one station, virtual and no virtual 2016-07-06 20:24:34 +02:00
Makis Maropoulos
afa5b57dc7 Add virtual listen same as NoListen- some changes in order the server_test no need any system modification 2016-07-05 14:29:32 +02:00
Makis Maropoulos
0d4b0ecd43 Rocket chat is on, Add Port() to the HTTPServer, disable subdomain persistence on subdomains when 127.0.0.1/0.0.0.0
I already made a test framework integration but I will commit this when
I finish with the basic tests, we are going to final v3
2016-07-03 16:21:57 +02:00
Makis Maropoulos
9be49bbfee Add some tests as we are going to v3 final - to be continued 2016-07-01 21:28:24 +03:00
Makis Maropoulos
f57d457d39 Finish the feature request https://github.com/kataras/iris/issues/235#issuecomment-229383650 2016-06-29 18:49:09 +03:00
Makis Maropoulos
5b8f4dc1b0 Multiserver listening - Try first for https://github.com/kataras/iris/issues/235 - example added 2016-06-29 16:25:17 +03:00
Makis Maropoulos
cd71b945b7 Add the new license , here and at iris-contrib repositories also (where needed) 2016-06-26 08:25:05 +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
4a446ac1e2 Complete the OAuth/OAuth2 'high level' support 2016-06-22 16:01:31 +03:00
Makis Maropoulos
39e1504ba3 Fix https://github.com/kataras/iris/issues/196 2016-06-19 10:32:20 +03:00
Makis Maropoulos
15139e33b7 Fix https://github.com/kataras/iris/issues/184
I forgot to use sort.Sort lawl
2016-06-18 20:26:35 +03:00
Makis Maropoulos
5060cf4f5e linting 2016-06-18 01:11:03 +03:00
Makis Maropoulos
f21faa7cfd MustUse and MustUseFunc - registers middleware for all parties and subdomains - Subdomains don't care about registering order now
1st:
MustUse and MustUseFunc - registers middleware for all parties and
subdomains
2nd:
Subdomains don't care about registering order now
3rd:
iris control plugin realtime logger
2016-06-17 07:18:09 +03:00
Makis Maropoulos
dde7ce31d5 Introduce default hostname and default port for any case 2016-06-17 02:11:15 +03:00
Makis Maropoulos
2942d384c4 Try third to solve https://github.com/kataras/iris/issues/175#issuecomment-226634061 2016-06-17 01:44:16 +03:00
Makis Maropoulos
0d482508fc Add ReadBufferSize and WriteBufferSize to the iris-ws, disable header copy also 2016-06-16 20:08:59 +03:00
Makis Maropoulos
647f0d704c Thanks goes to all of you you help building this (nice) framework - Update README and add errors on mux entry register 2016-06-16 05:24:01 +03:00
Makis Maropoulos
8cddc68993 Fix https://github.com/kataras/iris/issues/175#issuecomment-226290922 2016-06-16 00:13:56 +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