Commit Graph

461 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos
596dfade7c Update HISTORY.md
Former-commit-id: 4c0fdb1ea259bae2c321c733256777eafc2cae6e
2017-02-17 08:56:19 +02:00
Gerasimos (Makis) Maropoulos
85fdf39472 Typo fix at HISTORY.md <--- read it ---->
Former-commit-id: 11291a033c0ce8118b8c5b999a09a90be3ff0dcf
2017-02-17 07:19:09 +02:00
Gerasimos (Makis) Maropoulos
02afd3789d Fix the HTTP/2 Server Push example link.
Former-commit-id: 26b500fbfe61b4f69416ec24b50c7d069d0f2e09
2017-02-17 06:51:40 +02:00
Gerasimos (Makis) Maropoulos
48b470f5da Add HTTP/2 Example and Websocket wss:// too in the same time :)
Former-commit-id: fd4c12043d6ed739770236e014ccd2f0f4f5a84c
2017-02-17 06:49:54 +02:00
Gerasimos (Makis) Maropoulos
929b00a24b HTTP/2 Push https://github.com/kataras/iris/issues/565
Former-commit-id: 32af4dd8ef18a5fb2fa88aa8b87e71a594faa6f2
2017-02-17 04:57:51 +02:00
Gerasimos (Makis) Maropoulos
21a18d0990 Add the new Go 1.8 Shutdown | Remove DisableBanner, is controlled by LoggerPolicy now.
Former-commit-id: 6ef71a4b9f5a79160a42d1111dd924e244ce1f4e
2017-02-17 04:46:33 +02:00
Gerasimos (Makis) Maropoulos
2a4997cadf Add listen and proxy tests
Former-commit-id: 7c89556942af8e9c6966022323cb9746db446cfc
2017-02-17 02:55:26 +02:00
Gerasimos (Makis) Maropoulos
dd1d6837d9 Add the ability to use .yaml/yml files for the Configuration.
Former-commit-id: 0c49eb04d991aabf67970fe7f7b3ed969a36a708
2017-02-16 05:00:08 +02:00
Gerasimos (Makis) Maropoulos
13e83fc57e SessionsPolicy and sessions adaptor, history and _example written.
Former-commit-id: e8b0dde3cb3b72919f01b9d836d8ccb3d4e20214
2017-02-15 20:06:19 +02:00
Gerasimos (Makis) Maropoulos
82afcc5aa6 Implement the websocket adaptor, a version of kataras/go-websocket, and refactor all of the previous websocket examples.
https://github.com/kataras/go-websocket/issues/27

Former-commit-id: 0b7e52e0a61150a8bba973ef653986d8b3ddd26b
2017-02-15 08:40:43 +02:00
Gerasimos (Makis) Maropoulos
244a59e055 20 days of unstoppable work. Waiting fo go 1.8, I didn't finish yet, some touches remains.
Former-commit-id: ed84f99c89f43fe5e980a8e6d0ee22c186f0e1b9
2017-02-14 05:54:11 +02:00
Gerasimos (Makis) Maropoulos
84f61f6b05 Look HISTORY.md for the 6.1.4 improvements. Fix sessions test expect a nil json instead of an empty. 2017-02-07 03:01:26 +02:00
Gerasimos (Makis) Maropoulos
5aaec72634 Update to 6.1.4 - Align with the improved kataras/go-sessions 2017-02-07 02:37:35 +02:00
Gerasimos (Makis) Maropoulos
84cd4ca6f4 Go v1.8 and the upcoming Iris version notes on HISTORY.md. 2017-02-05 20:26:40 +02:00
Gerasimos (Makis) Maropoulos
3430e24188 Fix iris run main.go not worked properly on some editors. Add notes for next version. Read HISTORY.md 2017-02-05 18:13:24 +02:00
Gerasimos (Makis) Maropoulos
2a911a450c Add DisableBodyConsumptionOnUnmarshal configuration field as discussed on [chat](https://kataras.rocket.chat/channel/iris). Read HISTORY.md 2017-01-30 12:35:43 +02:00
Gerasimos (Makis) Maropoulos
f380d710cc Update to 6.1.2 2017-01-13 05:57:46 +02:00
Gerasimos (Makis) Maropoulos
3489ba3365 Offling routing and prioritize others before static handlers https://github.com/kataras/iris/issues/585
Read HISTORY.md
2017-01-12 10:24:27 +02:00
Gerasimos (Makis) Maropoulos
c91a1e6628 |You will love this| New Feature: Offline routing, dynamic changes against a route's state | https://github.com/kataras/iris/issues/585
Read HISTORY.md for details
2017-01-12 08:28:30 +02:00
Gerasimos (Makis) Maropoulos
020e857b22 Update to 6.1.0 2017-01-12 00:57:07 +02:00
Gerasimos (Makis) Maropoulos
23f9ad13a1 Catch os.Interrupt signal with iris.PostInterrupt example added in comments.
https://github.com/iris-contrib/examples/tree/master/os_interrupt
2017-01-11 18:01:29 +02:00
Gerasimos (Makis) Maropoulos
5ad7c6e01f Update to 6.0.9: Add PostInterrupt plugin. Read HISTORY.md
- Add `PostInterrupt` plugin, useful for customization of the
**os.Interrupt** singal, before that Iris closed the server
automatically.

```go
iris.Plugins.PostInterrupt(func(s *Framework){
// when os.Interrupt signal is fired the body of this function will be
fired,
// you're responsible for closing the server with s.Close()

// if that event is not registered then the framework
// will close the server for you.

/* Do  any custom cleanup and finally call the s.Close()
remember you have the iris.Plugins.PreClose(func(s *Framework)) event
too
so you can split your logic in two logically places.
*/

})

```
2017-01-11 16:23:38 +02:00
Gerasimos (Makis) Maropoulos
3f74f61e26 Add more HISTORY/CHANGELOG as requested here: https://github.com/kataras/iris/issues/58 2017-01-10 17:14:19 +02:00
Gerasimos (Makis) Maropoulos
e6b967bbb7 Update to 6.0.8 2017-01-10 15:14:14 +02:00
Gerasimos (Makis) Maropoulos
e4ab993760 Nothing special here, read HISTORY.md 2017-01-10 15:03:02 +02:00
Gerasimos (Makis) Maropoulos
053588babd Update to 7.0.8 | iris.UseTemplateFunc -> Read HISTORY.md | Remove vendor folder because of: https://github.com/gavv/httpexpect/pull/34
Read HISTORY.md
2017-01-10 14:21:49 +02:00
Gerasimos (Makis) Maropoulos
893271bf02 Update to 6.0.7 2017-01-10 08:54:39 +02:00
Gerasimos (Makis) Maropoulos
081d01d459 Update README.md 2017-01-08 06:55:15 +02:00
Gerasimos (Makis) Maropoulos
5daa3d6fa7 Add iris.DestroySessionByID(string) and iris.DestroyAllSessions() as requested. Read HISTORY.md
c9d94b7b44
2017-01-08 06:18:02 +02:00
Gerasimos (Makis) Maropoulos
bcc35c11ca Add iris.DestroySessionByID(string) and iris.DestroyAllSessions() as requested. 2017-01-08 06:11:50 +02:00
Gerasimos (Makis) Maropoulos
d060a73559 https://github.com/iris-contrib/gitbook/issues/30 2017-01-05 18:59:15 +02:00
Gerasimos (Makis) Maropoulos
d5a9410e2a Update to 6.0.3: Add an easy way to set a request body size limit per client or globally for newcomers 2017-01-04 21:29:58 +02:00
Gerasimos (Makis) Maropoulos
3b0a8e0f2d Fix https://github.com/kataras/iris/issues/574 2017-01-04 19:50:54 +02:00
Gerasimos (Makis) Maropoulos
058d70e533 Update to 6.0.1 - use the response recorder whenever you need it. Read HISTORY.md 2017-01-04 15:16:53 +02:00
Gerasimos (Makis) Maropoulos
8bbd9f8fc5 Happy new year! Update to 6.0.0 | HTTP/2 full support. https://github.com/kataras/iris/issues/565
full commit from development branch.

Examples, book, middleware, plugins are updated to the latest iris
version. Read HISTORY.md for more.

The 'old' v5 branch which relied on fasthttp exists for those who want
to use it navigate there: https://github.com/kataras/iris/tree/5.0.0
2017-01-02 21:20:17 +02:00
Gerasimos (Makis) Maropoulos
88c98bb1e1 More on Transactions: Fallback on, unexpected, panics and able to send 'silent' error which stills reverts the changes but no output 2016-12-18 14:08:28 +02:00
Gerasimos (Makis) Maropoulos
f54dc697cc More on Transactions: iris.UseTransaction and iris.DoneTransaction. See HISTORY.md 2016-12-16 10:20:05 +02:00
Gerasimos (Makis) Maropoulos
48e770dab0 Update to 5.1.1 - Addons for the last feature, Transaction scopes. Read HISTORY.md
Read HISTORY.md and example here:
github.com/iris-contrib/examples/tree/master/transactions
2016-12-15 17:16:17 +02:00
Gerasimos (Makis) Maropoulos
65980d3363 New Feature: Request-Scoped Transactions
Example:
https://github.com/iris-contrib/examples/tree/master/request_transactions
2016-12-15 15:14:48 +02:00
Gerasimos (Makis) Maropoulos
309b037e3b Update to 5.0.4 - Read HISTORY.md 2016-12-12 12:18:59 +02:00
Gerasimos (Makis) Maropoulos
619a54a9f2 Fix an old issue https://github.com/kataras/iris/issues/355 2016-11-22 16:46:07 +02:00
Gerasimos Maropoulos
8b88aabc05 Update to 5.0.2 - Cache(only) improvements
Cache - only improvements
2016-11-15 20:20:29 +02:00
Gerasimos Maropoulos
504006a7bb Add a link to the stable version on the Installation section 2016-10-31 21:21:11 +02:00
Gerasimos Maropoulos
32e3cbede1 Prepare for 4.0.0 gopkg.in for-ever package (All 20+ other repositories refactored) including gitbook and examples 2016-10-31 08:19:00 +02:00
Gerasimos Maropoulos
d32ae1377c Implement Cache as https://github.com/kataras/iris/issues/513
I love coding unique Iris staff!!!
2016-10-27 03:17:09 +03:00
Gerasimos Maropoulos
78d145c207 Introduce version 5.0.1 2016-10-25 15:58:18 +03:00
Gerasimos Maropoulos
0f096b49a5 Format HISTORY.md for V4 LTS 2016-10-21 03:16:00 +03:00
Gerasimos Maropoulos
1a913d45d4 Implement feature request for embedded assets
Example:
https://github.com/iris-contrib/examples/tree/master/static_files_embedded

Read HISTORY.md
2016-10-17 03:37:57 +03:00
Gerasimos Maropoulos
122aab4083 Update to 4.6.0, read HISTORY.md
https://github.com/kataras/iris/blob/master/HISTORY.md
2016-10-13 17:25:01 +03:00
Gerasimos Maropoulos
26fdbd948e Update to 4.5.2, read HISTORY.md 2016-10-11 22:44:08 +03:00
Gerasimos Maropoulos
9bce4e846a Update to 4.5.2 2016-10-11 22:35:12 +03:00
Gerasimos Maropoulos
40b000c20f Update to 4.5.1 2016-10-11 14:10:19 +03:00
Gerasimos Maropoulos
110f28fda5 Fix HISTORY.md v4.5.0 entry's format 2016-10-09 21:13:52 +03:00
Gerasimos Maropoulos
f66b7e2eab Update to 4.5.0 2016-10-09 21:09:53 +03:00
Gerasimos Maropoulos
14982891c5 Update to 4.4.9 2016-10-09 07:47:27 +03:00
Gerasimos Maropoulos
aa0003eb68 Update to 4.4.8. Read HISTORY.md for more 2016-10-06 23:23:33 +03:00
Gerasimos Maropoulos
a000da35c3 Update to 4.4.8 - Custom decoders for ReadJSON/ReadXML, read HISTORY.md
Read: https://github.com/kataras/iris/blob/master/HISTORY.md
2016-10-06 23:19:55 +03:00
Gerasimos Maropoulos
bffd2074eb Update to 4.4.7 2016-10-05 13:21:40 +03:00
Gerasimos Maropoulos
00f6abcb04 Update to 4.4.5 2016-10-02 19:43:00 +03:00
Gerasimos Maropoulos
3970804a37 Update to 4.4.4 2016-10-02 07:21:44 +03:00
Gerasimos Maropoulos
78f3323ce4 Update to 4.4.3 2016-10-02 03:30:37 +03:00
Gerasimos Maropoulos
c2144a83c6 Update DONATIONS.md summary 2016-09-29 20:17:42 +03:00
Gerasimos Maropoulos
f4b4dd0275 Implementation of https://github.com/kataras/iris/issues/412 , as requested. Read HISTORY for a code snippet 2016-09-29 17:05:22 +03:00
Gerasimos Maropoulos
5c98c5a493 Update to v4.4.0 Implementation of https://github.com/kataras/iris/issues/438
Read HISTORY.md
2016-09-27 16:28:38 +03:00
Gerasimos Maropoulos
cfb6beec43 Add the HISTORY.md entry for the new release, 4.3.0 2016-09-20 12:24:44 +03:00
Gerasimos Maropoulos
f33053675c Update to 4.2.9 2016-09-19 01:48:37 +03:00
Gerasimos Maropoulos
7882d736b5 Update to 4.2.8 2016-09-19 01:42:37 +03:00
Gerasimos Maropoulos
131eddb701 Ability to change the whole default router 2016-09-18 06:55:44 +03:00
Gerasimos Maropoulos
000dfbbee2 Update to 4.2.6, read HISTORY.md 2016-09-18 01:08:06 +03:00
Gerasimos Maropoulos
27f2ba7be9 Update DONATIONS.md summary & iris updater runs async unless CheckForUpdatesSync is true 2016-09-18 00:50:10 +03:00
Gerasimos Maropoulos
e24d45f66a Update to 4.2.5 2016-09-16 21:16:48 +03:00
Gerasimos Maropoulos
c818b9d4bf Implement a version checker, as requested here: https://github.com/kataras/iris/issues/401
Read the README.md
2016-09-16 10:02:18 +03:00
Gerasimos Maropoulos
741ecbf2fb https://github.com/kataras/iris/issues/423 2016-09-15 18:59:27 +03:00
Gerasimos Maropoulos
787425e5c5 Donations Summary Update and a small fix 2016-09-12 23:25:17 +03:00
Gerasimos Maropoulos
97431f2650 Replace response engines with serializers, same job but organized better, read README.md , no front-end changes if you used default engines. 2016-09-10 07:23:02 +03:00
Gerasimos Maropoulos
f561b7a90d Update to 4.2.0 - Configuration changes (big but old way still works, naming changes) & Implement https://github.com/kataras/iris/issues/409 2016-09-09 08:09:03 +03:00
Gerasimos Maropoulos
1a7c79db66 Update to 4.1.7. Logger changes, read HISTORY.md 2016-09-07 07:36:23 +03:00
Gerasimos Maropoulos
eacc04406a Add HISTORY.md entry for the 4.1.6 2016-09-05 13:23:59 +03:00
Gerasimos Maropoulos
482c108839 Remove unused Plugin's custom callbacks. 2016-09-05 03:56:28 +03:00
Gerasimos Maropoulos
b8b52ad46e Update to 4.1.4. Users & Devs can ignore this update. Read HISTORY.md for more 2016-09-04 22:02:31 +03:00
Gerasimos Maropoulos
c38a9b2459 Developers can ignore this update. Replace the template engines with a new cross-framework package (kataras/go-template) 2016-09-02 06:05:44 +03:00
Gerasimos Maropoulos
1d49188da9 Developers can ignore this update. Use of go-websocket and go-errors. Zero front-end changes. No real improvements. 2016-09-01 06:01:53 +03:00
Gerasimos Maropoulos
2d067ac081 Update to 4.1.1 - Able to set Sessions.CookieLength. Read HISTORY.md
https://github.com/kataras/iris/blob/master/HISTORY.md
2016-08-18 03:20:59 +03:00
Gerasimos Maropoulos
bef334868b Update to 4.1.0, New: SSH Remote control, READ HISTORY.md
https://github.com/kataras/iris/blob/master/HISTORY.md
2016-08-17 12:57:54 +03:00
Gerasimos Maropoulos
56bd511427 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.
2016-08-09 22:48:09 +03:00
Gerasimos Maropoulos
6f83c48a10 Update to v4.0.0-alpha.5 - Letsencrypt integration https://github.com/kataras/iris/issues/220 . 4 Fixes. Read HISTORY.md
## 4.0.0-alpha.4 -> 4.0.0-alpha.5

- **NEW FEATURE**: Letsencrypt.org
integration[*](https://github.com/kataras/iris/issues/220)
- example
[here](https://github.com/iris-contrib/examples/blob/master/letsencrypt/main.go)
- **FIX**: (ListenUNIX adds :80 to
filename)[https://github.com/kataras/iris/issues/321]
- **FIX**: (Go-Bindata +
ctx.Render)[https://github.com/kataras/iris/issues/315]
- **FIX** (auto-gzip doesn't really compress data in latest
code)[https://github.com/kataras/iris/issues/312]
2016-07-29 01:33:20 +03:00
Gerasimos Maropoulos
245c732ff8 Show the updated benchmarks (July 19). Don't forget, book is updated: https://www.gitbook.com/book/kataras/iris/details 2016-07-20 07:04:27 +03:00
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