dependabot[bot]
648e662cc5
Bump github.com/valyala/fasthttp from 1.38.0 to 1.39.0 ( #2017 )
...
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp ) from 1.38.0 to 1.39.0.
- [Release notes](https://github.com/valyala/fasthttp/releases )
- [Commits](https://github.com/valyala/fasthttp/compare/v1.38.0...v1.39.0 )
---
updated-dependencies:
- dependency-name: github.com/valyala/fasthttp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-17 13:26:39 +02:00
M. Efe Çetin
aa4d2c3f65
📝 docs: make Hooks public ( #2015 )
2022-08-16 08:13:38 +02:00
M. Efe Çetin
2517944c80
✨ feature: route constraints ( #1998 )
...
* Segment parameters constraints and determining it's type
* add parsing for constraints.
* fix tests
* add tests, benchs & some fixes.
* fix regex & datetime tests.
* clean up constraint parser, multiple constraint support.
* update
* regex customization.
* constants, remove variadic methods.
* add some benchs, refactor constraint check funtion.
* more readable conditions
* fix tests
* precompile regex
* precompile regex when parsing the route
* update comments
Co-authored-by: wernerr <rene@gofiber.io>
Co-authored-by: Mohab Abd El-Dayem <mohab.m.mohamed@gmail.com>
Co-authored-by: RW <rene@gofiber.io>
2022-08-16 08:05:50 +02:00
M. Efe Çetin
95abdacba0
✨ feature: add XML to context. ( #2003 )
...
* ✨ feature: add XML to context.
* Update app.go
2022-08-16 08:05:35 +02:00
M. Efe Çetin
6669ec4486
📝 docs: gofmt & add missing copyright texts ( #2013 )
2022-08-15 20:25:26 +02:00
Muhammed Efe Çetin
28f1df4246
v3: fix Benchmark_AcquireCtx
benchmark
2022-08-15 18:27:06 +03:00
Jinquan Wang
e8a2ba363c
🐛 bug: fix proxy overwrote the wrong scheme ( #2004 )
...
* 🐛 bug: fix proxy overwrote the wrong scheme
* ✅ fix: fix io not exist in go1.14
2022-08-09 16:14:41 +02:00
Muhammed Efe Çetin
f3067c14b3
🔥 v3: remove monitor middleware from core to reduce deps
2022-08-08 11:22:28 +03:00
Muhammed Efe Çetin
9af3c21b7a
👷 v3 (ci): fix tests
2022-08-08 11:19:57 +03:00
Muhammed Efe Çetin
1512053c97
v3: optimize binding (reduce 1 alloc)
2022-08-08 11:16:05 +03:00
M. Efe Çetin
406ab3177f
v3: fix undefined function
2022-08-08 10:21:51 +03:00
M. Efe Çetin
eacde70294
✨ v3 (feature): initial support for binding ( #1981 )
...
* ✨ v3 (feature): initial support for binding
* ✨ v3 (feature): initial support for binding #1981
use pointer/references instead of copies
* ✨ v3 (feature): initial support for binding
embed bind into the ctx
* ✨ v3 (feature): initial support for binding
- add URI binder.
* ✨ v3 (feature): initial support for binding
- add response header binder.
* ✨ v3 (feature): initial support for binding
- add response header binder.
* ✨ v3 (feature): initial support for binding
- add cookie binder.
* ✨ v3 (feature): initial support for binding
- custom binder support for body binding.
- test case for custom binder.
* ✨ v3 (feature): initial support for binding
- add map[string][]string & map[string]string support for binders.
* ✨ v3 (feature): initial support for binding
- fix Test_Bind_Header_Map
* ✨ v3 (feature): initial support for binding
- Functional Should/Must
* ✨ v3 (feature): initial support for binding
- custom struct validator support.
* ✨ v3 (feature): initial support for binding
- README for binding.
- Docs for binding methods.
* ✨ v3 (feature): initial support for binding
- Bind() -> BindVars(), Binding() -> Bind()
* ✨ v3 (feature): initial support for binding
- fix doc problems
* ✨ v3 (feature): initial support for binding
- fix doc problems
Co-authored-by: wernerr <rene@gofiber.io>
2022-08-08 09:16:08 +02:00
M. Efe Çetin
41159296f3
v3: revert " ✨ v3 (feature): use any as default Message type of Error struct ( #1925 )" ( #2000 )
...
Revert "✨ v3 (feature): use any as default Message type of Error struct (#1925 )"
2022-08-08 08:21:00 +02:00
Trim21
e5eb8d3c98
fix infinitely app.Test
( #1997 )
...
* diff
* better code
* err message
* code style
* up
* fix type error
* use time.Timer
2022-08-08 08:18:57 +02:00
Muhammed Efe Çetin
738e710766
♻️ v3 (enhancement): use fs.FS as Filesystem type of favicon middleware
2022-08-07 19:06:05 +03:00
M. Efe Çetin
adcb1f2bf1
v3: fix benchmark results ( #1982 )
...
* v3: fix benchmark results
* v3: fix benchmark results
* Fix Benchmark_Router_Github_API
* reduce duplicated tests run actions
* reduce duplicated tests run actions
* fix some benchmarks
Co-authored-by: wernerr <rene@gofiber.io>
2022-08-07 14:53:01 +03:00
Muhammed Efe Çetin
9c6c7da4e4
🐛 bug: add forgotten overriding for white color
2022-08-04 20:43:07 +03:00
Muhammed Efe Çetin
5bc1871205
📝 ci: fix CoC links on issue templates
2022-08-04 20:41:17 +03:00
M. Efe Çetin
9761f4e797
🐛 bug: fix gopsutil when compiling for bsd. ( #1995 )
2022-08-03 16:03:17 +02:00
RW
97ba1d16d5
Update benchmark.yml
2022-08-03 14:35:47 +02:00
wernerr
3552136805
reduce duplicated tests run actions
2022-08-03 13:12:47 +02:00
wernerr
96b4db17c6
reduce duplicated tests run actions
2022-08-03 13:03:06 +02:00
M. Efe Çetin
fb780a01d0
ci: add go 1.19 to tests ( #1994 )
...
* ci: add go 1.19 to tests
* change test runner versions
skip it for 1.15, 1.17, 1.18
Co-authored-by: wernerr <rene@gofiber.io>
2022-08-03 11:07:21 +02:00
Maxi_Mega
4f7816774b
🎨 Add black colors to default overriding function ( #1993 )
...
* Fix padding around app name in startup message when it contains non-ascii characters
* fix conflict, allow ending space only for odd length strings
* move startup message tests to listen_test.go
* add black color to defaultColors overriding function, fix (again) padding in startupMessage
2022-08-02 14:23:14 +02:00
wernerr
1cca495c7b
try to stabilize Test_Test_Timeout
v2.36.0
2022-08-02 08:31:22 +02:00
RW
7108b444e3
prepare release v2.36.0
2022-08-02 08:11:35 +02:00
RW
c59370f47a
prepare release v2.36.0
2022-08-02 08:09:08 +02:00
Maxi_Mega
e49880c5d6
🎨 Fix padding around app name in startup message when containing non-ascii characters ( #1987 )
...
* Fix padding around app name in startup message when it contains non-ascii characters
* fix conflict, allow ending space only for odd length strings
* move startup message tests to listen_test.go
2022-08-01 13:16:49 +03:00
とーふとふ
43133bec43
🔥 Add OnPrefork Hooks so you can get the PID of the child process. ( #1974 )
2022-08-01 08:25:56 +02:00
M. Efe Çetin
4103f9463d
✨ feature: customizable colors ( #1977 )
...
* ✨ feature: customizable colors
* ✨ feature: customizable colors
* ✨ feature: customizable colors
2022-08-01 08:24:37 +02:00
RW
ff1e0109a3
Closes #1931 " 🤗 How to get path param before a custom verb?" ( #1983 )
...
* Add possibility for parameters before custom verb
FIX for "🤗 How to get path param before a custom verb? #1931 "
* try to stabilize the tests
2022-07-27 08:37:03 +02:00
Raden Mohamad Rishwan
ad89ba4e1c
fix README_it.md ( #1980 )
2022-07-21 17:46:01 +03:00
M. Efe Çetin
a458bd344c
✨ v3 (feature): convert fiber.Ctx type to interface ( #1928 )
...
* ✨ v3: convert fiber.Ctx type to interface
* update ctx methods
* add new methods to customize ctx, fix some problems
* update comments.
* fix something
2022-07-13 07:48:29 +02:00
RW
2a2337d83e
prepare release v2.35.0
v2.35.0
2022-07-06 12:51:08 +02:00
olongfen
bad7001570
binds the param string to a struct use params tag ( #1968 )
...
* add: params parse
* fix: binds the param string to a struct use params tag
2022-07-06 12:42:54 +02:00
olongfen
dfa24a0958
add: params parse ( #1964 )
2022-07-05 13:45:11 +02:00
Majid Taheri(I love optimization)
744e4da3ef
add some parameters to config for supporting #1936 ( #1956 )
...
* add some parameters to config for supporting #1936
* remove go:embed
* apply code review - 1956#issuecomment-1169811117
* lint
Co-authored-by: Muhammed Efe Çetin <efectn@protonmail.com>
2022-07-05 13:34:32 +02:00
M. Efe Çetin
29be2338e8
♻️ refactor: default error handler & example ( #1941 )
...
* ♻️ refactor: default error handler & example
* ♻️ refactor: default error handler & example
2022-07-04 09:15:17 +02:00
marcelogamba
e58ad6b69a
TagLatency doesn't have consistence format between default and custom format ( #1943 )
...
Co-authored-by: Marcelo Gamba <gamba@itstransdata.com>
2022-07-04 09:14:57 +02:00
M. Efe Çetin
dac929fdee
🧹 client: remove beta warning ( #1951 )
...
* 🧹 client: remove beta warning
* Stabilize the Test_Test_Timeout unittest
Co-authored-by: wernerr <rene@gofiber.io>
2022-07-04 07:50:37 +02:00
M. Efe Çetin
b6818c20be
📝 docs: new issue templates ( #1945 )
...
* 📝 docs: new issue templates
* 📝 docs: new issue templates
* 📝 docs: new issue templates
* 📝 docs: new issue templates
* 📝 docs: new issue templates
2022-07-04 07:49:57 +02:00
dependabot[bot]
a337e95463
Bump github.com/valyala/fasthttp from 1.37.0 to 1.38.0 ( #1948 )
...
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp ) from 1.37.0 to 1.38.0.
- [Release notes](https://github.com/valyala/fasthttp/releases )
- [Commits](https://github.com/valyala/fasthttp/compare/v1.37.0...v1.38.0 )
---
updated-dependencies:
- dependency-name: github.com/valyala/fasthttp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-04 07:43:03 +02:00
John Li
41d31a0190
fix middleware/session update cookie. ( #1960 )
2022-07-02 13:02:41 +02:00
naoki kuroda
b8b5c8afed
delete a blank line ( #1961 )
2022-07-02 11:32:09 +03:00
M. Efe Çetin
ab3874c634
📝 docs: translate some lines to turkish ( #1954 )
2022-06-29 12:41:33 +03:00
hamidreza ghahremani
83d8761222
Update README_fa.md ( #1953 )
2022-06-29 11:47:01 +03:00
M. Efe Çetin
002d9b5db4
📝 docs: flat-square style for readme badges ( #1949 )
2022-06-29 07:54:34 +02:00
Muhammed Efe Çetin
a2c71e548e
v3: include adopter, helmet, keyauth, redirect, rewrite middlewares into the codebase ( https://github.com/gofiber/fiber/issues/1828 )
2022-06-21 17:36:59 +03:00
Muhammed Efe Çetin
67b9542f3f
v3: rename protocol to scheme, add protocol to ctx ( https://github.com/gofiber/fiber/issues/1828 )
2022-06-21 17:24:34 +03:00
Muhammed Efe Çetin
07e847b3c1
Merge branch 'master' into v3-beta
2022-06-18 20:04:23 +03:00