Phước Trung
30e31e546f
Fires 404 HTTP Code when use gRPC strict mode
2022-08-09 16:37:29 +07:00
Gerasimos (Makis) Maropoulos
ef2643b046
replace ioutil with io package and other minor improvements
2022-06-17 22:03:18 +03:00
Gerasimos (Makis) Maropoulos
41026c9209
publish v12.2.0-alpha6
2022-02-18 22:19:33 +02:00
Gerasimos (Makis) Maropoulos
43079f75d2
godoc: minor
2021-04-22 11:52:25 +03:00
yale8848
8f3e6f7bbf
add CustomPathWordFunc
2021-03-14 20:58:10 +08:00
Gerasimos (Makis) Maropoulos
8aedf6bc32
:)
2021-01-09 05:41:20 +02:00
Gerasimos (Makis) Maropoulos
240fdb6dc3
API versioning improvements
...
Replace the go-version package with a regex-free alternative semver
the result: versioned apis have almost zero performance cost now
thanks @motogo for your kind donation ❤️ - please check your github notifications
2021-01-07 04:14:41 +02:00
Gerasimos (Makis) Maropoulos
a70ee32ebd
fix #1665
2020-10-31 05:04:05 +02:00
Gerasimos (Makis) Maropoulos
4065819688
New: i18n pluralization and variables support and more...
...
fixes : #1649 , #1648 , #1641 , #1650
relative to: #1597
2020-09-29 19:19:19 +03:00
Gerasimos (Makis) Maropoulos
e828a96752
fix #1633 and respect controller's no log option for websocket controllers too
2020-09-15 23:37:11 +03:00
Gerasimos (Makis) Maropoulos
3baee7db34
add Party.SetRoutesNoLog and mvc.Application.SetControllersNoLog as requested at #1630
2020-09-15 00:23:09 +03:00
Gerasimos (Makis) Maropoulos
7113165cb8
fix #1629
2020-09-14 01:09:51 +03:00
Gerasimos (Makis) Maropoulos
99fd50bf9d
mvc: give the end-developer the option to skip an error through the HandleError method
...
relative to: https://github.com/kataras/iris/issues/1628#issuecomment-691668764
2020-09-13 16:03:20 +03:00
Gerasimos (Makis) Maropoulos
7f7d8df9c0
add mvc.Err builtin dependency to map any context/mvc response's.Err field on methods like HandleHTTPError
...
relative to: https://github.com/kataras/iris/issues/1606
2020-08-31 15:26:30 +03:00
Gerasimos (Makis) Maropoulos
00684f9d2e
add Route.ExcludeSitemap method to exclude a route from sitemap, also exclude the offline routes as requested
2020-08-29 01:21:42 +03:00
Gerasimos (Makis) Maropoulos
6f9a453160
DBUG API: mark overlapped routes, hide the builtin functionality (read description)
...
also reference the correct file:line on <autogenerated> (by searching for the file,line of method inside the embedded fields themselves, as go automatically generates the methods foreach struct for their embedded fields)
fix UseGlobal may override the overlap feature
2020-08-28 16:02:14 +03:00
Gerasimos (Makis) Maropoulos
a6ec94e1a6
overlap routing: and mvc: allow setting status code from a dependency or a middleware
2020-08-28 04:11:56 +03:00
Gerasimos (Makis) Maropoulos
5e82fa5b89
mvc: struct field and method dependency logs on debug level. Read HISTORY.md
...
- remove Party.GetReporter
- Read HISTORY.md
2020-08-24 21:44:29 +03:00
Gerasimos (Makis) Maropoulos
8e049d77c9
HandleHTTPError MVC Method as requested at #1595 . Read HISTORY.md
...
example at: https://github.com/kataras/iris/tree/master/_examples/mvc/error-handler-http
2020-08-22 08:04:22 +03:00
Gerasimos (Makis) Maropoulos
889b7942d3
add two new examples and share the app's specific logger instance with sessions databases and APIBuilder
2020-08-16 07:07:36 +03:00
Gerasimos (Makis) Maropoulos
46a3a99adf
various improvements and new 'UseOnce' method - read HISTORY.md
2020-08-06 03:35:58 +03:00
Gerasimos (Makis) Maropoulos
a4efb222cc
docfix #1566
...
Former-commit-id: fe2dbe46ac8153ef4db0b5788794bf907b98baad
2020-07-24 21:09:30 +03:00
Gerasimos (Makis) Maropoulos
0f113dfcda
( #1554 ) Add support for all common compressions (write and read)
...
- Remove the context.Context interface and export the *context, the iris.Context now points to the pointer\nSupport compression and rate limiting in the FileServer\nBit of code organisation
Former-commit-id: ad1c61bf968059510c6be9e7f2cceec7da70ba17
2020-07-10 23:21:09 +03:00
Gerasimos (Makis) Maropoulos
45c6bce15f
fix https://github.com/kataras/iris/issues/1542
...
Former-commit-id: 23f795a6b6b64745311d0630d8e630edc3f65244
2020-06-20 16:06:26 +03:00
Gerasimos (Makis) Maropoulos
04c8b79b1f
mvc: versioning: add 'Deprecated' feature as well
...
Former-commit-id: c233bae47aa765a7e1cd9ab7000acd14614a78ae
2020-06-20 11:11:44 +03:00
Gerasimos (Makis) Maropoulos
3c86fa8010
dependency injection: fix read slices
...
rel: https://github.com/kataras/iris/issues/1542
Former-commit-id: 0028fafa60b80c80cade1e7a18a11109ce0e9948
2020-06-20 07:22:29 +03:00
Gerasimos (Makis) Maropoulos
311b560717
new feature: versioned controllers
...
Former-commit-id: c797e23c78b1e74bbe9ba56673f3a98f17f5e2f7
2020-06-19 20:58:24 +03:00
Gerasimos (Makis) Maropoulos
3f98b39632
fix #1539
...
Former-commit-id: f2f277cd5cbe781ce596adc7840a1b1bc3b3bfc6
2020-06-19 05:54:21 +03:00
Gerasimos (Makis) Maropoulos
9724592697
fix https://github.com/kataras/iris/issues/1536#issuecomment-646258752
...
Former-commit-id: 129d115937617e4d77b7e6e7efddf3168b15d021
2020-06-18 23:53:53 +03:00
Gerasimos (Makis) Maropoulos
4afef007a4
fix #1537
...
Former-commit-id: d93af027428259c857c7a5ddf6e21cfd0b09b470
2020-06-14 08:44:41 +03:00
Gerasimos (Makis) Maropoulos
ed45c77be5
reorganization of _examples and add some new examples such as iris+groupcache+mysql+docker
...
Former-commit-id: ed635ee95de7160cde11eaabc0c1dcb0e460a620
2020-06-07 15:26:06 +03:00
Gerasimos (Makis) Maropoulos
8c470e46a2
mvc controllers and methods: provide mvc.Application automatically
...
Former-commit-id: 991d8e72c3c231813a455dd0680cd8a83b82abb1
2020-05-06 08:00:56 +03:00
Gerasimos (Makis) Maropoulos
714e84b597
apply https://github.com/kataras/iris/issues/1500
...
Former-commit-id: 2b5ae1857a5815977507b6b8fc72dd0040d470ca
2020-04-29 21:16:43 +03:00
Gerasimos (Makis) Maropoulos
27ca1c93f5
logging: several improvements
...
Former-commit-id: 12538c74a1aa55314c35ac3cf2665646b704851d
2020-04-28 01:58:56 +03:00
Gerasimos (Makis) Maropoulos
77a79cae58
improve route debug info, see HISTORY.md
...
Former-commit-id: ae245bae5fefa57c5f7663f7d1d661ec68ad366a
2020-04-26 06:21:20 +03:00
Gerasimos (Makis) Maropoulos
5d3c96947c
New: gRPC MVC features, new WithLowercaseRouting option and add some new context methods
...
read HISTORY.md
Former-commit-id: 30a16cceb11f754aa32923058abeda1e736350e7
2020-04-25 02:30:19 +03:00
Gerasimos (Makis) Maropoulos
0cf5d5a4a3
minor
...
Former-commit-id: 85c8b1e20da6e39485478025ef1b0f80ef953e4a
2020-04-21 09:27:28 +03:00
Gerasimos (Makis) Maropoulos
c0e6f9e4d9
add a test for controller.GetBy-only method... it passes as expected https://github.com/kataras/iris/issues/1487
...
Former-commit-id: 5f4abd4a8c6528d666d91315fa515a4a607326fc
2020-04-17 16:03:11 +03:00
Gerasimos (Makis) Maropoulos
1bb76853a9
.DI() to ConfigureContainer(...builders)
...
Former-commit-id: 169671a8b5b706dc8f136e68c1a060f27a2c421b
2020-04-17 15:56:36 +03:00
Gerasimos (Makis) Maropoulos
1b02f048ef
new 'Party.DI()' method to return the Party's instance of the new 'APIBuilderDI' and move the DI-relative Router to this new APIBuilderDI
...
Former-commit-id: 2fb81406c6e3162991c90e0918a3cac1b77c2b54
2020-04-08 20:04:56 +03:00
Gerasimos (Makis) Maropoulos
a694266c63
fix https://github.com/kataras/iris/issues/1473 and add test for https://github.com/kataras/iris/issues/1468 https://github.com/kataras/iris/pull/1474 https://github.com/kataras/iris/pull/1475
...
Former-commit-id: 3e7d927761a5d5559b65ea3f91b94e3dc523a187
2020-03-24 02:12:10 +02:00
Gerasimos (Makis) Maropoulos
bb66c10ad3
🐵 prepare next version: improve the hero and mvc path parameters bindings
...
Former-commit-id: 0626b91c6448b5cebf1d04ee3f115cde68aa3d6d
2020-03-02 19:48:53 +02:00
Gerasimos (Makis) Maropoulos
1c9b592088
👔 next version: some linting
...
Former-commit-id: a102fbb90e2a8a8b09fcb9c9e0c370e4078b74d1
2020-03-01 08:34:53 +02:00
Gerasimos (Makis) Maropoulos
ce2eae9121
☕ add a dependency-injection examples folder for the next release and some improvements
...
Former-commit-id: 040168afb7caf808618f7da5e68ae8eb01cb7170
2020-03-01 02:17:19 +02:00
Gerasimos (Makis) Maropoulos
5fc24812bc
❤️ awesome and unique features for end-developers are coming...
...
total refactor of the hero and mvc packages, see README#Next (it's not completed yet)
Former-commit-id: b85ae99cbfe5965ba919c1e15cf4989e787982c0
2020-02-29 14:18:15 +02:00
Gerasimos (Makis) Maropoulos
08403f0317
Update to version 12.1.8 - Read HISTORY.md
...
Former-commit-id: d3d30cb15537146e3071731be9d674a5cb59de97
2020-02-16 11:14:35 +02:00
Gerasimos (Makis) Maropoulos
c13fd84354
fix https://github.com/kataras/iris/issues/1450 and continue on implementing 1449
...
Former-commit-id: 617f64d061e88f050a443ea1751fa244164656c5
2020-02-14 23:34:56 +02:00
Gerasimos (Makis) Maropoulos
3093d65363
version 12.1.5
...
Former-commit-id: cda69f08955cb0d594e98bf26197ee573cbba4b2
2020-02-02 16:29:06 +02:00
Gerasimos (Makis) Maropoulos
b2c5ec03fd
miscellaneous
...
Former-commit-id: bc2fddd4da23ec917be5dd9e8bddd4b13cdce050
2020-01-07 03:41:07 +02:00
Gerasimos (Makis) Maropoulos
3945fa68d1
obey the vote of @1370 (77-111 at this point) - add import suffix on iris repository
...
We have to do the same on iris-contrib/examples, iris-contrib/middleware and e.t.c.
Former-commit-id: 0860688158f374bc137bc934b81b26dcd0e10964
2019-10-25 01:27:02 +03:00