1
0
mirror of https://github.com/kataras/iris.git synced 2026-06-09 23:23:35 +00:00
Commit Graph

1930 Commits

Author SHA1 Message Date
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 a563b37ba1 Update README. 2017-01-28 11:39:50 +02:00
Gerasimos (Makis) Maropoulos 64a2c7581a Add a 'good' Overview section at the README. 2017-01-28 11:38:20 +02:00
Gerasimos (Makis) Maropoulos 73b8396cd6 https://github.com/iris-contrib/plugin/blob/master/cors/plugin.go#L28 2017-01-27 14:25:48 +02:00
Gerasimos (Makis) Maropoulos 4a903886e8 Update README 2017-01-26 09:50:26 +02:00
Gerasimos (Makis) Maropoulos 7dfb13cfbd Nothing special here 2017-01-25 22:19:06 +02:00
Gerasimos (Makis) Maropoulos b7b77b62d3 Update DONATIONS.md 2017-01-18 13:56:55 +02:00
Gerasimos (Makis) Maropoulos 306a709c04 Add a tip with a link on how to change the default Router. Remove the comic, not everybody has houmor. 2017-01-14 05:17:46 +02:00
Gerasimos (Makis) Maropoulos 3782a2e679 Update README.md 2017-01-13 09:52:10 +02:00
Gerasimos (Makis) Maropoulos fdb74b6865 Update README.md
Remove deadlink, add a header to the comic and add a new gif which leads
on a youtube video with iris' users comments
2017-01-13 09:36:52 +02:00
Gerasimos (Makis) Maropoulos f380d710cc Update to 6.1.2 2017-01-13 05:57:46 +02:00
Gerasimos (Makis) Maropoulos c73c2a00c3 Add a comic sketch 2017-01-13 02:13:02 +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 c5f95ba78a Update donations 2017-01-10 18:29:38 +02:00
Gerasimos (Makis) Maropoulos 4246ef6980 don't write status code when the response writer was hijacked 2017-01-10 17:51:52 +02:00
Gerasimos (Makis) Maropoulos acc3a0b9a3 Add a response recorder test to showcase its usage 2017-01-10 17:30:03 +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 c476fe8921 Feature Request: *http.Request access from Websockets. iris.Config.Websocket.IDGenerator custom connection's ID generator added too.
Example:

-
https://github.com/iris-contrib/examples/blob/master/websocket/main.go#L34

Relative commits to kataras/go-websocket:
-
https://github.com/kataras/go-websocket/commit/550fc8b32eb13b3b4a4bfeb227ef1a896c8f8698

-
https://github.com/kataras/go-websocket/commit/62c2d989d8b5e9126cdbf451c0e41e2e2b0b31b8
2017-01-09 06:23:49 +02:00
Gerasimos (Makis) Maropoulos d5d113b4ca Add the loggerzap middleware to the README. Relative: https://github.com/iris-contrib/middleware/pull/23 2017-01-09 02:00:29 +02:00
Gerasimos (Makis) Maropoulos e5ca3d0868 Standby for Go v1.8. Read HISTORY.md for previous commits: iris.DestroyAllSessions/DestroySessionByID. 2017-01-08 07:40:43 +02:00
Gerasimos (Makis) Maropoulos 081d01d459 Update README.md 2017-01-08 06:55:15 +02:00
Gerasimos (Makis) Maropoulos a5b11288ec Remove tests from httptest's vendor 2017-01-08 06:48:33 +02:00
Gerasimos (Makis) Maropoulos a35607d6e3 Add 'vendor' folder for the httptest package dependecy (its master were broken before 4 hours, you are covered) 2017-01-08 06:41:38 +02:00
Gerasimos (Makis) Maropoulos 5daa3d6fa7 Add iris.DestroySessionByID(string) and iris.DestroyAllSessions() as requested. Read HISTORY.md
https://github.com/kataras/go-sessions/commit/c9d94b7b447e0541484a23330fd05b7799863592
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 7df9b2b437 net/http testing library doesnt supprots CloseNotify, so don't panic on context.StreamWriter 2017-01-06 15:57:09 +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 ced2083ab3 Fix https://github.com/kataras/iris/issues/570 | no-internet connection but Config.CheckForUpdates is true 2016-12-31 14:40:19 +02:00
Gerasimos (Makis) Maropoulos fe79fdea44 Fix https://github.com/kataras/iris/issues/566 2016-12-22 19:07:03 +02:00
Gerasimos (Makis) Maropoulos 1f25e4335a Nothing special here,yet, stay tuned 2016-12-19 11:15:48 +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 1da8231abd Nothing special: just add comments to the BeginTransaction, I have more ideas on this, stay tuned 2016-12-18 13:24:24 +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 c6b6ebf757 Fix the readme TODOs syntax. Read HISTORY.md for v5.1.0
Simple proof-of-concept example of request-scoped transactions here:
https://github.com/iris-contrib/examples/blob/master/request_transactions/main.go
2016-12-15 15:26:06 +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