3558 Commits

Author SHA1 Message Date
Amir Hossein
01ea139da4
🔎 fix unhandled errors (#2048)
fix unhandled errors
2022-08-26 12:02:46 +02:00
Muhammed Efe Çetin
235ff1649c
📝 docs: convert gitter, telegram links to discord 2022-08-25 19:27:15 +03:00
GalvinGao
b970457109
docs: change support claim up to go 1.19 (#2043) 2022-08-24 14:09:33 +02:00
micziz
6c6661a32d
📝 docs: Update Italian readme (#2042)
Update README_it.md
2022-08-24 13:50:45 +03:00
M. Efe Çetin
4d28b1e200
🐛 bug: make tlsHandler public to use it with Listener (#2034)
* 🐛 bug: ClientHelloInfo support for app.Listener

* 🐛 bug: ClientHelloInfo support for app.Listener

* fix

* make tlshandler public

* update

* 🐛 bug: make tlsHandler public to use it with Listener #2034

Co-authored-by: wernerr <rene@gofiber.io>
2022-08-24 09:47:37 +02:00
Jinquan Wang
9c98a1fb37
🐛 bug: Case sensitivity for parameters in GetRouteURL (#2010)
* 🐛 bug: Case sensitivity for parameters in GetRouteURL

* ✏️ perf: error spell
2022-08-24 09:16:19 +02:00
George Bolo
8540d0afdc
fixes #2016 - make IP() and IPs() more reliable (#2020)
* fixes #2016 - make IP() and IPs() more reliable

* improve the performance of IP validation functionality

* refactor IP validation and make it a configuration option
2022-08-23 08:32:21 +02:00
wernerr
917263c9e4 Improve pull request template 2022-08-22 08:47:55 +02:00
Trim21
80a6fdc215
client: fix Agent use after free (#2037)
* fix

* fix

* fix
2022-08-22 08:01:40 +02:00
Jinquan Wang
32d311cd59
🐛 monitor middleware - fix ignore custom settings (#2024)
* 🐛 fix: ignore custom settings

* 🐛 fix: ignore custom settings

*  chore: add tests for config default
2022-08-19 15:09:16 +02:00
Tushar Dahiya
1fec8757c4
Update README.md 📝 (#2023)
Update README.md

Grammatical Error
2022-08-19 08:20:33 +02:00
Thomas
2edcf95f57
update: tls.ClientHelloInfo in Ctx (#2011)
* Update go.mod

* wip

* wip

* wip

* wip

* wip

* Move tlsHandler from Config to App

* Use NewError instead of panic

* Add a test with ServerName

* Add some tests on ClientHelloInfo

* fix missing import

* remove unnecessary ctx field.

Co-authored-by: RW <rene@gofiber.io>
Co-authored-by: Muhammed Efe Çetin <efectn@protonmail.com>
2022-08-19 08:19:22 +02:00
RW
f031e08d18
prepare release 2.37.0-rc.1 v2.37.0-rc.1 2022-08-18 16:29:52 +02:00
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
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
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
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
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