RW
2a2337d83e
prepare release v2.35.0
2022-07-06 12:51:08 +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
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
RW
b1c3b43f7b
Prepare release 2.34.1
2022-06-14 08:01:06 +02:00
M. Efe Çetin
e35a594cf1
✨ v3 (feature): use any as default Message type of Error struct ( #1925 )
...
* ✨ v3: use any as default Message type of Error struct.
* ✨ v3: use any as default Message type of Error struct.
* ✨ v3: use any as default Message type of Error struct.
* ✨ v3: use any as default Message type of Error struct.
2022-06-12 18:37:23 +02:00
João Vitor
4d65e88a2c
Spliting dump request to add Query ( #1909 )
...
Spliting []dump into dumps, and editing the dump[1] to = req.URL.String(), so we can tests itens that depends on querys from the request.
2022-06-12 18:33:01 +02:00
Muhammed Efe Çetin
8a15f77fc4
v3: move most deps to go.mod
2022-06-02 17:37:53 +03:00
Muhammed Efe Çetin
f119794035
v3: replace io/ioutil by io and os, update version constant
2022-06-01 18:34:22 +03:00
Muhammed Efe Çetin
edd89de2d6
v3: remove deprecations
2022-05-31 17:50:31 +03:00
Muhammed Efe Çetin
c7f45ec38e
v3: replace interface{}s by any
2022-05-31 17:41:38 +03:00
Muhammed Efe Çetin
1188144d78
🎉 v3: init
2022-05-31 17:35:49 +03:00
RW
c541ec1cb8
prepare release 2.34.0
2022-05-23 09:09:52 +02:00
RW
b31c1756a0
prepare pre-release 2.34.0-rc.1
2022-05-18 08:44:48 +02:00
RW
17d1d3c2f3
prepare release 2.33.0
2022-05-05 14:59:33 +02:00
Abdulaziz
d277bbfce3
reduce duplicate in Get method ( #1880 )
...
make code more clear to people!
2022-05-01 09:34:53 +02:00
RW
cbb63c0c3c
prepare release 2.32.0
2022-04-15 16:01:43 +02:00
RW
e9151e8ab8
Revert " ✨ feature: add SendFileWithConfig method to ctx ( #1852 )" ( #1861 )
...
This reverts commit f19ef67f73
.
2022-04-15 15:54:18 +02:00
Serhat Şevki Dinçer
e7ec08a1e9
📖 fix ListenTLS comment ( #1859 )
...
* 📖 fix ListenTLS comment
* 📖 fix ListenMutualTLS comment
2022-04-14 15:55:00 +03:00
M. Efe Çetin
f19ef67f73
✨ feature: add SendFileWithConfig method to ctx ( #1852 )
...
* add sendfilewithconfig.
* update
* shortify code.
2022-04-14 10:49:48 +02:00
M. Efe Çetin
ee65ea5bab
🧹 Use encoding/json ( #1851 )
...
* remove goccy/go-json
* fix tests.
2022-04-13 10:45:33 +02:00
RW
a8f9d4acfb
🐛 Sub fiber's error handlers not working #1839 ( #1848 )
...
fix root level bug
2022-04-05 08:40:22 +02:00
RW
907fdfa9fd
prepare release 2.31.0
2022-03-30 10:01:44 +02:00
RW
528b8b4630
prepare release 2.30.0
2022-03-21 14:57:01 +01:00
M. Efe Çetin
bd20e90e6b
✨ feature: add initial support for hooks ( #1777 )
...
* Add initial support for hooks.
* release ctx, mutex.
* Add unit tests.
* add comment lines.
* update
* update
* remove unnecessary code.
* fix race condition.
* fix gosec.
* skip error handling for onshutdown and onresponse.
* update
* separate hooks from app.go
* make hooks field private, hook struct public and Hooks() func.
* remove onreq and onres because of they can be done by middlewares.
* OnGroupName method.
* Update hooks.go
Co-authored-by: hi019 <65871571+hi019@users.noreply.github.com>
* handle errors for name and groupname
* fix tests.
* Update app.go
* use struct fields instead of map
* add multi-handler.
* add onGroup, make prefix field public on Group struct.
* Update hooks.go
* add newhooks method.
* ✨ feature: add initial support for hooks
* remove ctx from hooks.
Co-authored-by: hi019 <65871571+hi019@users.noreply.github.com>
Co-authored-by: wernerr <rene@gofiber.io>
2022-03-10 08:35:15 +01:00
RW
166e55eec6
prepare release 2.29.0
2022-03-08 13:55:10 +01:00
Serhat Şevki Dinçer
8b0170c0f4
🔗 Fix goreportcard & pkg.go.dev links in READMEs ( #1798 )
...
* 🔗 Fix goreportcard & pkg.go.dev links in READMEs
* 🔗 Fix package comment for pkg.go.dev links
* 🔗 Replace golang.org links with go.dev in READMEs
Co-authored-by: RW <rene@gofiber.io>
2022-03-03 11:54:56 +01:00
RW
d4c3f27023
prepare release 2.28.0
2022-02-28 08:19:40 +01:00
M. Efe Çetin
a7032b7a17
Update TLS Config & Add ListenMutualTLS ( #1761 )
...
* deprecations
* Add mTLS support.
* update
* update
* Update app.go
2022-02-24 08:01:42 +01:00
M. Efe Çetin
b0dd0bdb14
Update app.go ( #1787 )
2022-02-22 08:10:55 +01:00
RW
daab00c36e
prepare release 2.27.0
2022-02-14 15:32:18 +01:00
Eren BALCI
74a20b4589
🩹 fix: backwards incompatible change to fiber.Error ( #1768 )
...
* fix: backwards incompatible change to fiber.Error
* revert: work backward compatible
2022-02-14 08:17:04 +01:00
Sujit Baniya
505e4d77a7
[FEATURE REQUEST] - Add RedirectToRoute and RedirectBack ( #1750 )
...
* 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
* Add RedirectToRoute and RedirectBack with fallback if referer in header not found
* replace errors.New with fmt.Errorf
* simplified code
* Add tests for different formats
* Add method to get route location and add benchmarks
* Add ToString function
* Fix error
* rearrange case for fmt.Stringer
* Fix bug for error return
* Lock latest route for app.Name(namee string)
* decreasing timeout for client test with timeout
* remove println and adjust condition to > 0
Co-authored-by: RW <rene@gofiber.io>
2022-02-09 09:02:45 +01:00
M. Efe Çetin
c450072f4a
🐛 fix: mounted app views ( #1749 )
...
* Fix mounted app views.
* Cleaner structure.
Co-authored-by: RW <rene@gofiber.io>
* remove unnecessary lines.
* Add test case for group-with-mount, remove unnecessary lines.
Co-authored-by: RW <rene@gofiber.io>
2022-02-06 14:58:45 +01:00
Lian
af10fab05b
Add direct download option when serving static files ( #1729 )
...
* enable download for app.Static
wording
* Add unit test.
Co-authored-by: Muhammed Efe Çetin <efectn@protonmail.com>
2022-02-03 14:41:45 +01:00
Aliqyan Tapia
39a503cc1d
🚀 SaveFile to default External Storage ( #1557 )
...
* fiber change
* reference correct storage in SaveFile
* seperate logic to new function
* Change storage defination style, fix tests on go1.14
* Add unit test.
Co-authored-by: Alex Bakker <abakks@hotmail.com>
Co-authored-by: M. Efe Çetin <efectn@protonmail.com>
2022-02-03 14:09:11 +01:00
RW
6b29698d91
prepare release 2.26.0
2022-02-03 09:43:41 +01:00
cenkkoroglu
f3dcb2220e
📝 fix typo ( #1741 )
2022-02-01 20:42:23 +01:00
Eren BALCI
7cf1886df5
Fix NewErrors() and Improve NewError() ( #1728 )
...
* fix new errors
* fix tests
* removed new errors tests
* changed error message type
* fixed NewError test
* added NewErrors function
* added Test_NewErrors
* added comment line
* refactor: Sprintf changed with Sprint
2022-01-27 12:41:10 +01:00
M. Efe Çetin
559f59f198
Add Route() method like Chi router. ( #1713 )
2022-01-24 16:37:28 +01:00
kingdevnl
82d1039416
✨ feature: Pass all locals to ctx.Render ( #1693 )
...
* ✨ feature: Pass all locals to ctx.Render
* add test case for render using locals
* Added option PassLocalsToViews to enable pass locals to render
The option PassLocalsToViews is set to disabled by default
* Added a check to see if the ctx bind already contains the value
* Added a test for ctx render with locals and binds.
2022-01-24 08:29:46 +01:00
RW
8bcce5bba6
prepare release 2.25.0
2022-01-21 09:11:38 +01:00
vecpeng
2e697a6e9b
🐛 fix: json tag ( #1702 )
2022-01-10 14:22:44 +01:00
vecpeng
5fe95c2579
✨ feat: add function NewErrors to create multiple new errors ( #1701 )
2022-01-10 14:22:34 +01:00
RW
8f2a841db9
prepare release 2.24.0
2021-12-31 18:33:49 +01:00
hi019
eee279bdb3
Fix using IP ranges in config.TrustedProxies ( #1607 ) ( #1614 )
...
* Fix using IP ranges in config.TrustedProxies (#1607 )
* Add tests
* Remove debugging var
* Remove tests
* Update test
Co-authored-by: RW <rene@gofiber.io>
2021-12-31 18:32:39 +01:00
M. Efe Çetin
e26ed83166
Improve printRoutesMessage ( #1681 )
2021-12-30 23:03:44 +01:00
vecpeng
f98a9ba405
✨ feature: print all routes message when server starts ( #1677 )
...
* ✨ feature: print all routes message when server starts
* ✨ feature: print all routes message when server starts
* ✨ feature: print all routes message when server starts
* 🐛 fix: errors unhandled
* 🐛 fix: ignore child process and add some "-" to the table head
* 🐛 fix: add printRoutesMessage for listener and listenTLS
2021-12-30 14:13:31 +01:00
vecpeng
ef3a689600
🐛 fix: rename handlerCount to handlersCount ( #1674 )
2021-12-29 10:26:50 +01:00
M. Efe Çetin
fbee8fb274
Add method the get registered handler count. ( #1672 )
2021-12-29 07:23:14 +01:00
M. Efe Çetin
68d3b773bc
Add route naming feature. ( #1650 )
...
* Add route naming feature.
* Update basicauth_test.go
* Fix gosec issues.
* Change RoutaName -> Name
* Fix race conditions.
* Update READMEs.
2021-12-28 14:04:04 +01:00
M. Efe Çetin
f74dd882ea
Add no-color compatibility ( #1646 )
2021-12-07 12:50:29 +01:00
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
Kiyon
a53acc2a6d
📦 bump v2.4.1
2021-02-02 09:43:53 +08:00
Joey
267fd5ec59
Merge pull request #1121 from yquansah/yq-override-json
...
feat: add definition for overridable json engine
2021-01-31 07:56:41 +01:00
Joey
e89ef1207e
Merge pull request #1130 from mlukasik-dev/master
...
✨ add Next function to app.Static config
2021-01-31 07:54:54 +01:00
Yoofi Quansah
5941c8c4e2
🧹 chore: address comments, and use more standard definition for
...
functionality we define
2021-01-25 13:48:07 -06:00
Joey
c4372a45db
📦 v2.4.0
2021-01-25 15:51:30 +01:00
ReneWerner87
42755c30e6
⚡ Accelerate start process for many routes #1081
2021-01-24 13:02:21 +01:00
Martin Lukasik
3a132d0b98
✨ add Next function to app.Static config
2021-01-22 23:07:22 +01:00
Yoofi Quansah
2267f0f76f
🚀 feat: add custom definition for a json executor
2021-01-19 20:25:44 -08:00
Joey
3762a8520e
📦 bump v2.3.4
2021-01-15 12:09:38 +01:00
ReneWerner87
2da673b523
UnescapePath not working #1102
...
- increase version
Co-authored-by: Fenny <fenny@gofiber.io>
2021-01-11 10:16:48 +01:00
ReneWerner87
50a269da08
🐛 UnescapePath not working #1102
...
Co-authored-by: Fenny <fenny@gofiber.io>
2021-01-06 13:28:48 +01:00
Kiyon
3625f81f07
📦 bump v2.3.2
2020-12-28 13:22:55 +08:00
Joey
c8709afcb3
📦 bump v2.3.1
2020-12-28 02:49:02 +01:00
Fenny
3b956ef3a8
✏ fix typo
...
Co-Authored-By: kiyon <kiyon@gofiber.io>
2020-12-16 03:03:15 +01:00
Fenny
769645ac53
✏ prefix tls: in errors
...
Co-Authored-By: kiyon <kiyon@gofiber.io>
2020-12-16 02:54:57 +01:00
Fenny
f6569040f0
🔐 update minimal TLS version
...
Co-Authored-By: kiyon <kiyon@gofiber.io>
2020-12-16 02:50:54 +01:00
Fenny
23a0f56403
✏ add comments
...
Co-Authored-By: kiyon <kiyon@gofiber.io>
2020-12-16 02:47:48 +01:00
Fenny
fac3b42140
📦 v2.3.0
...
Co-Authored-By: kiyon <kiyon@gofiber.io>
2020-12-16 02:45:34 +01:00
Fenny
074e1f9c9c
📦 introduce ListenTLS
...
Co-Authored-By: kiyon <kiyon@gofiber.io>
2020-12-16 02:40:28 +01:00
Fenny
2b5c0a05bb
📦 bump fiber 2.2.5
...
Co-Authored-By: RW <7063188+ReneWerner87@users.noreply.github.com>
Co-Authored-By: kiyon <kiyon@gofiber.io>
2020-12-11 00:52:35 +01:00
Fenny
65598c2831
📦 hotfix v2.2.4
2020-12-03 11:58:30 +01:00
Fenny
c22107e2cc
📦 bump v2.2.3
2020-12-03 11:15:15 +01:00
Kiyon
d6d831e2b1
👷 fix lint
2020-11-30 13:49:13 +08:00
Fenny
d56ca11be8
🩹 fix empty CookieName in session
...
See https://github.com/gofiber/fiber/issues/1040
2020-11-27 16:36:22 +01:00
Fenny
2fb18b4dc5
✏ add process information
2020-11-26 22:51:43 +01:00
Fenny
92eb9f5d39
📦 update version
2020-11-24 16:59:10 +01:00
Fenny
a98fb7a5f8
🩹 allow to disable BodySize
...
Co-Authored-By: Kirill Danshin <9026581+kirillDanshin@users.noreply.github.com>
2020-11-18 08:57:27 +01:00
Fenny
0d5519fc09
✨ expose CacheDuration in Static
2020-11-11 14:18:19 +01:00
Fenny
d8eb5a5c25
📦 bump v2.2.0
2020-11-11 13:55:11 +01:00
Fenny
0483406a12
📦 bump v2.1.4
2020-11-06 02:31:14 +01:00
Fenny
0d3d6d9fe8
📦 update fasthttp and storage interface
2020-11-06 01:52:05 +01:00
Fenny
a6ecae5a38
📦 bump v2.1.3
2020-11-03 09:18:27 +01:00
Fenny
7892ab62bf
📦 update Storage behaviour
2020-10-31 07:51:44 +01:00
Fenny
8459618bfa
✏ update Storage behaviour
2020-10-31 06:36:02 +01:00
Fenny
ba08653c92
📦 bump v2.1.2
2020-10-26 07:15:29 +01:00
Tom
4868e4dd50
📦 Add Storage interface
2020-10-26 00:10:35 +00:00
Szymon Bielenica
56283b8afd
🎨 Adjust multiple comments to comply with the linter
2020-10-25 12:23:10 +01:00
Fenny
18961cc98b
📦 bump v2.1.1
2020-10-21 23:39:13 +02:00
kiyon
a586bec2f9
🔥 Deprecate ETag option and bump version to 2.1.0
2020-10-15 16:53:29 +08:00
Fenny
b55a0b3080
Merge pull request #917 from DevDevious/issue_914
...
Fix for #914
2020-10-11 01:42:30 +02:00
Cosmin Goea
ac6daebcda
Fix for #914 .
2020-10-10 17:02:56 -04:00
Cosmin Goea
b9bd7c66c1
Fix for #912 .
2020-10-10 16:57:15 -04:00
Tom
35e100db6e
📦 Add child PID display when prefork enabled
2020-10-09 09:40:49 +01:00
Roman
3e6dfb313b
🔥 set a `Cache Control` header for static ressources
...
Right now, each static request returns the file without any cache control
header. If you are using `app.Static` to serve your assets, the
browser shouldn't cache it. This PR introduces a way to set the cache
control header (if the file was found) on the file response to set a
custom max-age to e.g. cache it 1 year.
2020-10-07 15:44:38 +02:00
Roman
6084e7c1f1
🔥 make the fasthttp `ReduceMemoryUsage` flag public
...
This PR introduces the `ReduceMemoryUsage` flag to the server config
that is pulled to the underlying fasthttp server. The default is false
to keep the old behavior.
The implementation of `ReduceMemoryUsage` is here: 01acd76daf/server.go (L285)
Refs: #866 / https://github.com/gofiber/fiber/issues/866#issuecomment-704818583
2020-10-07 12:33:47 +02:00
Fenny
2d301ed7ce
📦 update version to v2.0.6
2020-10-05 20:05:16 +02:00
kiyon
102d167b9f
👷 handle error of fmt.Fprintf
2020-10-03 23:59:41 +08:00
Fenny
33b7905da6
📦 v2.0.5
2020-10-01 23:29:10 +02:00