1
0
mirror of https://github.com/gofiber/fiber.git synced 2025-02-21 05:12:40 +00:00

325 Commits

Author SHA1 Message Date
RW
ad98f5e807
prepare release 2.23.0 2021-12-06 12:39:54 +01:00
RW
5ff3bc88a3
prepare release 2.22.0 2021-11-15 08:39:58 +01:00
Gusted
7b7dcf29f7
♻️ Tidy up the codebase (#1613)
* run gofmt

* add t.Helper()

* Simplify assigns

* Simplify make operation

* Remove unused field in struct

* Fix typo

* Run gofumpt ./

* Consistent spacing

* len(...) can never be negative

* Use ReplaceAll

* Simplify operation

* Remove deadcode

* Fix typo

* Tidy up `} else { if ...`

* Fix AssertEqual

* Remove t.Helper() to fix go1.14.15
2021-11-05 08:00:03 +01:00
RW
e9ca6f0483
prepare release for v2.21.0
prepare release for v2.21.0
2021-10-28 08:56:56 +02:00
Ali Baran Eser
cdbcfbec17
🔥 Feature: add IP ranges support to config.TrustedProxies (#1602)
* feat: add IP ranges support to config.TrustedProxies

* Added config example to README and moved IncrementIPRange to utils.
2021-10-28 00:46:39 +02:00
RW
e8fc3bc928
prepare release 2.20.2 2021-10-13 15:11:12 +02:00
M. Efe Çetin
9eaa8b0c73
Change default json lib. (#1563)
* Change default json lib.

* Remove gopsutil test.

* Fix tests.

* Ignore linter for UnmarshalFieldError.

* update
2021-10-11 08:28:06 +02:00
RW
15390647ca
prepare release 2.20.1 2021-10-07 10:49:13 +02:00
RW
45e4da2071
prepare release 2.20.0
prepare release 2.20.0
2021-10-06 08:48:17 +02:00
Jose Garcia
587f3ae9df
Support for sub fiber's error handlers (#1560)
- Mounted fiber and its sub apps error handlers are now saved a new
  errorHandlers map in App
- New public App.ErrorHandler method that wraps the logic for which
  error handler to user on any given context
- Error handler match logic based on request path <=> prefix accuracy
- Typo fixes
- Tests
2021-10-05 14:03:20 +02:00
RW
0ad677e8e5
prepare release 2.19.0
prepare release 2.19.0
2021-09-21 08:22:52 +02:00
RW
1e04df035a
prepare version 2.18.1
prepare version 2.18.1
2021-09-21 08:18:22 +02:00
Rupesh Harode
9dd39c0e55
🩹 Fix: corrects ipv6 loopback ip shown on UI (#1517)
Author:    Rupesh Harode <rupeshharode@gmail.com>

Co-authored-by: Rupesh Harode <rupesh.harode@dailyrounds.org>
2021-09-03 14:23:03 +02:00
RW
12befe9440
prepare release 2.18.0 2021-08-26 07:20:25 +02:00
Pranay
670170f7c5
📝 Update: Add JSONDecoder to config (#1489)
* 📝 Update: Add JSONDecoder to config
2021-08-18 14:26:07 +02:00
RW
385c94adcd
prepare release 2.17.0
prepare release 2.17.0
2021-08-12 08:20:49 +02:00
Paul Cento
15987a2677
♻️ Refactor: remove use of deprecated functions (#1474) 2021-08-06 07:56:36 +02:00
RW
5636441fe5
prepare release 2.16.0
prepare release 2.16.0
2021-07-30 20:40:44 +02:00
Kazumasa Takenaka (Bamboo)
f5338266e3
fix typo (#1442)
paramters -> parameters
avilable  -> available
seperated -> separated
2021-07-17 17:20:14 +02:00
RW
005471d7ca
prepare release 2.15.0 2021-07-16 08:45:10 +02:00
Sujit Baniya
8ab5c657c6
🔥 FEATURE: Allow adding App Name to customizing the startup message (#1418)
* Add Global Layout for view render

* Add test case for Views Layout

* Update ctx_test.go

* Add App Name function to pass custom app name

* Remove json tag for function

* Change func to string

* Add test for AppName

Co-authored-by: RW <rene@gofiber.io>
2021-07-16 08:44:11 +02:00
Troy
08b2b71197
Add support for streaming the request body. (#1423)
* update fasthttp

* allow req body streaming

* multipart form streaming

* update fasthttp

* allow req body streaming

* multipart form streaming

* Testing
2021-07-11 11:45:46 +02:00
RW
ff57431cde
prepare release 2.14.0 2021-07-01 14:10:54 +02:00
Oleg Roshnivskyy
5ba78cd24a
🔥 Feature: Add TrustedProxies feature (#1397)
* 🔥 Feature: Add TrustedProxies feature

Add TrustedProxies feature to prevent HTTP header spoofing.

* Update ctx.go

* Update app.go

* Update app.go

Co-authored-by: hi019 <65871571+hi019@users.noreply.github.com>
2021-06-30 08:03:45 +02:00
RW
1def652e57
prepare release 2.13.0
prepare release 2.13.0
2021-06-16 19:57:55 +02:00
Sujit Baniya
cb5f2f7eab
🔥 Add Global ViewLayout (#1384)
* Add Global Layout for view render

* Add test case for Views Layout

* Update ctx_test.go
2021-06-14 11:10:49 +02:00
RW
3698ed6ddd
prepare release 2.12.0 2021-06-06 09:51:58 +02:00
RW
b14224e5e4
Prepare release 2.11.0 2021-06-02 08:08:35 +02:00
RW
67adaeadec
prepare release v2.10.0
prepare release v2.10.0
2021-05-19 08:49:35 +02:00
kiyon
428e2bd8f4
Merge pull request #1316 from diegocsandrim/fix-app-test-parallel
Fix app test parallel
2021-05-07 08:27:16 +08:00
RW
24b5370b93
prepare release 2.9.0
prepare release 2.9.0
2021-05-06 11:18:49 +02:00
Diego Sandrim
0dc67e80d2 Moves .getBytes and .getString from package variable to App instance variable, avoiding data race when creating a new App. 2021-05-05 17:24:26 -03:00
bestgopher
056c6808af
Use atomic instead of mutex when counting the route handler. (#1314)
* use atomic instead of mutex when counting

* 📒 router: fix typo error
2021-05-05 17:53:54 +02:00
Dario Leittersdorf
a28afaae75
🩹Fix: Startup message doesn't show correct amount of Handlers after mounting (#1302)
* fix: pass handlerCount when mounting to an App

* test: check for correct handlerCount after mounting an instance

* fix: pass handlerCount when mounting to a Group

* test: check for correct handlerCount after mounting to a Group

Co-authored-by: dleitter <dario.leittersdorf@bonprix.net>
2021-05-04 09:21:04 +02:00
RW
a48cb806f3
Update app.go
bump fiber version for the release
2021-04-20 08:42:40 +02:00
RW
cfa07b7499
Update app.go 2021-03-29 09:43:40 +02:00
RW
8611c3e3ea
Prepare release 2.6.1 2021-03-28 15:10:37 +02:00
RW
12cefa2f31
Prepare release
- bump version
2021-03-13 12:49:51 +01:00
kiyon
4e54d4818c
Merge pull request #1211 from kiyonlin/json
🔃 Use internal json package as the default json encoder
2021-03-10 08:42:51 +08:00
Kiyon
704b306809 🔃 Use internal json package as the default json encoder 2021-03-10 08:35:27 +08:00
gregchalmers
0da74f62f3 bound made msg clearer 2021-03-09 02:46:28 -08:00
gregchalmers
f25c667a8a refactor for repeated code 2021-03-09 00:35:51 -08:00
gregchalmers
c09f9a675f swapped bound & link 2021-03-08 23:18:17 -08:00
gregchalmers
3d5123671c %v -> %s 2021-03-08 23:09:52 -08:00
gregchalmers
25c5e4c264 fixed host=="" to "0.0.0.0" from "127.0.0.1" 2021-03-08 22:51:19 -08:00
gregchalmers
cc262daae3 nice to have #1207 PR 2021-03-09 17:14:52 +13:00
Kiyon
b46185e1b0 👷 Fix hardcode tls to startupMessage in app.Listener 2021-02-23 16:40:17 +08:00
Kiyon
47f75cdb52 📦 bump v2.5.0 2021-02-08 16:10:13 +08:00
Kiyon
00dbdd5fb3 👷 Add network type constant 2021-02-08 11:35:17 +08:00
Kiyon
0ec0f50cfd 🔥 Add network option 2021-02-07 13:55:13 +08:00