Commit Graph

477 Commits (4b62d3d592248077c38f53d6117828f278e8eb3f)

Author SHA1 Message Date
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
Fenny b48864b90b 📦 v2.0.4 2020-09-29 21:48:04 +02:00
Fenny d53cb8bfd6 📦 introduce app.Server 2020-09-27 23:23:28 +02:00
Fenny 753391b217 🧹 remove old code 2020-09-26 11:25:32 +02:00
Fenny e414c4a83e 🗻 able to mount sub-apps 2020-09-26 11:24:25 +02:00
Fenny 872a78042b 📦 v2.0.2 2020-09-19 11:47:43 +02:00
Fenny bacec638ed 📝 format comments 2020-09-17 01:39:42 +02:00
Fenny 221fa325db
Merge pull request #790 from Fenny/master
🎈 bump v2.0.1
2020-09-15 21:09:44 +02:00
Fenny 00b93b086e 🎈 bump v2.0.1 2020-09-15 21:01:34 +02:00
kiyon 27cd8ad9c5 👷 improve app and prefork test cases 2020-09-15 09:02:24 +08:00
Fenny 2768ea2a77 🙌 make utils public
Co-Authored-By: RW <7063188+ReneWerner87@users.noreply.github.com>
2020-09-14 12:12:29 +02:00
Fenny a09daabfee move utils to internal 2020-09-14 09:24:48 +02:00
Fenny a3cac71ae8 🔦 move utils to internal 2020-09-14 09:09:06 +02:00
Fenny ca9c8c632f v2
Co-Authored-By: hi019 <65871571+hi019@users.noreply.github.com>
Co-Authored-By: RW <7063188+ReneWerner87@users.noreply.github.com>
Co-Authored-By: kiyon <kiyon@gofiber.io>
Co-Authored-By: Roger Guldbrandsen <8797880+kinbiko@users.noreply.github.com>
2020-09-14 08:05:34 +02:00
Fenny 82e30c8db5 v2
Co-Authored-By: hi019 <65871571+hi019@users.noreply.github.com>
Co-Authored-By: RW <7063188+ReneWerner87@users.noreply.github.com>
Co-Authored-By: kiyon <kiyon@gofiber.io>
Co-Authored-By: Roger Guldbrandsen <8797880+kinbiko@users.noreply.github.com>
2020-09-14 06:07:34 +02:00
Fenny 569354fb43 v2 2020-09-14 05:22:15 +02:00
Fenny 3d76f078a4 v2 2020-09-14 04:54:26 +02:00
Fenny 79aeb6f795 v2 2020-09-14 04:17:36 +02:00
Fenny b388617532 v2 2020-09-13 12:04:14 +02:00
Fenny 2951c6ac0d v2 2020-09-13 11:39:55 +02:00
Fenny ec5d66e7a8 v2 2020-09-13 11:20:11 +02:00
Fenny 612c8491ef update startup message 2020-09-11 20:40:32 +02:00
Fenny 11fdb537d1 🎈 prepare for v1.15.0 2020-09-01 14:31:43 +02:00
Fenny 4085a53d78 📦 bump v1.14.4 2020-08-24 10:57:16 +02:00
Fenny 37158a1e15 ♥ fix typo 2020-08-24 10:56:14 +02:00
Fenny f3359f439a 📦 bump dependencies 2020-08-24 10:35:12 +02:00
Fenny 53a7a6204e
📦 Correct Version 2020-08-16 11:36:25 +02:00
Fenny cec3629ecb ⚙ update server when calling Handler 2020-08-11 00:08:04 +02:00
Fenny 2ce81c1835 ⚙ init server only once 2020-08-11 00:02:00 +02:00
Fenny 5108d2b3b3 ⚙ init only once 2020-08-10 23:56:47 +02:00
Fenny 254bc30596 ⚙ init only once 2020-08-10 23:56:16 +02:00
Fenny 5b2ade2fee v1.13.4 2020-08-10 16:56:03 +02:00
Fenny bd483b784e Merge remote-tracking branch 'upstream/master' 2020-08-10 16:52:14 +02:00
ReneWerner87 2c6d7e00c4 🌵hybrid routing with tree and fast router 2020-08-10 10:54:41 +02:00
ReneWerner87 df3c48a734 🌵hybrid routing with tree and fast router 2020-08-10 10:51:38 +02:00
ReneWerner87 945b61d1c3 🌵hybrid routing with tree and fast router 2020-08-09 21:53:15 +02:00
Fenny 6ca4fe500f Update app.go 2020-08-08 02:48:20 +02:00
Fenny 87127f571a 🧹 Remove deprecated Templates 2020-07-28 04:36:56 +02:00
Fenny 62dc7749e2 Replace route count with handler count
Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: kiyon <kiyonlin@users.noreply.github.com>
2020-07-22 02:06:32 +02:00
ReneWerner87 b34a77bc96 💉 Sync route method metadata
Co-authored-by: Fenny <fenny@gofiber.io>
2020-07-21 23:30:52 +02:00
Fenny 2c71307f8f 📦 Make router stack accessable
Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: kiyon <kiyonlin@users.noreply.github.com>
2020-07-21 22:49:49 +02:00
wernerr 647e08ec00 🚀 compress same route's handler 2020-07-20 19:48:43 +02:00
wernerr b9bdc0d4a8 🚀 compress same route's handler 2020-07-20 19:29:54 +02:00
kiyon 174eb0e33d 🚀 compress same route's handler and sort routes when registering 2020-07-20 21:43:01 +08:00
Fenny f9e6ea8103 🖇 Cleanup router chaining 2020-07-19 13:36:26 +02:00
Fenny ea7429eaf7 Merge remote-tracking branch 'upstream/master' 2020-07-19 13:33:57 +02:00
Fenny 9be99385dd 🎂 Bump v1.13.2 2020-07-19 13:33:37 +02:00
Fenny 5dc77f07d2 Merge remote-tracking branch 'upstream/master' 2020-07-19 13:33:00 +02:00
fenny 5f2c445812
Merge pull request #641 from ReneWerner87/route_chaining
🔗 Allow route method chaining
2020-07-19 13:32:45 +02:00
fenny 500556178a
Merge pull request #642 from Fenny/master
🎨 Fix colors for Windows
2020-07-19 13:20:52 +02:00
Fenny 2e4205d2ac 🐱👤 Bump v1.13.1 2020-07-19 13:20:25 +02:00
ReneWerner87 1b2d3d92c4 🔗Allow route method chaining
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/express-serve-static-core/index.d.ts#L119-L126
2020-07-19 10:04:21 +02:00
Hemanth Krishna b2447605b0 ✏️ Fix typo for app and ctx warnings 2020-07-19 09:00:51 +02:00
Fenny 7f44f5b017 🔍 detect tcp proto by addr 2020-07-19 09:00:51 +02:00
Fenny 4554ea135c 🔍 Auto detect TCP protocol 2020-07-19 09:00:51 +02:00
Fenny 313885cd65 🧹 Handle TCP6 addr in Prefork 2020-07-19 09:00:51 +02:00
Fenny c46e0379e3 🔌 Support TCP6 in Prefork mode 2020-07-19 09:00:51 +02:00
Fenny caf98efddf 📀 Cores should be Threads 2020-07-19 09:00:51 +02:00
Hemanth Krishna f695e21b1e ✏️ Fix typo for app and ctx warnings 2020-07-18 20:19:42 +05:30
Fenny b8ae52c835 🔍 detect tcp proto by addr 2020-07-18 01:19:45 +02:00
Fenny a6b03415aa 🔍 Auto detect TCP protocol 2020-07-18 01:17:52 +02:00
Fenny 2893c13718 🧹 Handle TCP6 addr in Prefork 2020-07-18 01:03:14 +02:00
Fenny 468404efe4 🔌 Support TCP6 in Prefork mode 2020-07-18 00:57:43 +02:00
Fenny 35fdd375cd 📀 Cores should be Threads 2020-07-18 00:47:18 +02:00
fenny a2f2e76c3d
Merge pull request #619 from Fenny/master
🧫 Add TLS tests
2020-07-15 13:10:14 -04:00
Fenny 85987ec0b4 📦 Bump v1.13.0 2020-07-15 18:58:39 +02:00
fenny 346efd907c
Merge pull request #617 from Fenny/master
🧪 Increase test coverage: 96.4%
2020-07-15 12:28:30 -04:00
Fenny da85c85c14 🧪 Increase test coverage: 96% 2020-07-15 17:43:30 +02:00
songjiayang 710b93bb7b ✏️ Fix typo for goreport 2020-07-15 13:51:10 +08:00
Fenny 9dbe22a0cf 🚀 Bump v1.12.7 2020-07-14 16:24:14 +02:00
Fenny 39b59d8d24 🎨 Fix PID alignment 2020-07-14 16:23:14 +02:00
Fenny 0a3eb08530 Merge remote-tracking branch 'upstream/master' 2020-07-14 14:35:26 +02:00
Fenny 0429ac32d9 🧹 Fix typo 2020-07-14 14:13:57 +02:00
kiyon 80e222093d 🍤 improve app test coverage 2020-07-14 15:23:41 +08:00
Fenny d3dd32d9d1 🔌 Add IPv6 Support
Co-Authored-By: kiyon <kiyonlin@163.com>
2020-07-14 04:02:05 +02:00
Fenny b6f0d6c6ad 🔌 Add IPv6 support
Co-Authored-By: kiyon <kiyonlin@163.com>
2020-07-14 03:56:05 +02:00
Fenny 20cba2604b 🔌 Add IPv6 support
Co-Authored-By: kiyon <kiyonlin@163.com>
2020-07-14 03:53:58 +02:00
Fenny b8fbaca1ea 🔌 Add IPv6 Support
Co-Authored-By: kiyon <kiyonlin@163.com>
2020-07-14 03:02:26 +02:00
fenny aa58673dbb
Merge pull request #582 from kiyonlin/ppid2pid
Ppid2pid
2020-07-13 19:01:29 -04:00
Fenny d3edb7f666 ✏ Add methodUse 2020-07-13 15:40:24 +02:00
fenny 5a85ab072f
Merge pull request #594 from kiyonlin/extract-use
👷 Add use methodInt and Extract "USE" to a global const variable
2020-07-12 16:11:25 -04:00
Roger Guldbrandsen 67fff203c4
📚Fix formatting of GoDoc
- Preformatting should be indented (a - character does nothing).
- Headers in documentation was probably unintentional.

The broken docs can be observed here:
https://pkg.go.dev/github.com/gofiber/fiber@v1.12.6
2020-07-13 01:16:53 +09:00
kiyon 2cfc1b1546 👷 Extract "USE" to a global const variable 2020-07-12 23:54:22 +08:00
Roger Guldbrandsen ccd2fef610
♻️Use constants for most default properties 2020-07-13 00:49:56 +09:00
Roger Guldbrandsen 34f8958de0
📚Clarify Static struct documentation 2020-07-13 00:41:19 +09:00
Roger Guldbrandsen 070cbb0963
📚Settings documentation cleanup
- End all comments with a full stop.
- Be consistent with wording for bool settings (when set to true).
  - Exception: ETag property, as I am not familiar with it.
- Be consistent with mentioning default values (Default: $foo)
2020-07-12 23:29:15 +09:00
Roger Guldbrandsen 5d5e988802
📚Clarify Immutable setting 2020-07-12 22:48:12 +09:00
kiyon fad2cc6152 🎨 change ppid to pid 2020-07-11 12:04:24 +08:00
kiyon ee4ffddb90 💌 replace prefork child flag with prefork child env 2020-07-11 08:30:03 +08:00
Fenny d3039680fe 🚀 Bump version v1.12.6 2020-07-10 14:01:52 +02:00
Fenny b1688a0113 Clearify New Signatures 2020-07-09 15:58:47 +02:00
Fenny cd5ad30d84 💡 Show possible signatures 2020-07-07 12:07:06 +02:00
Fenny 6bae5e75bf 🧩 Describe the HTTP methods 2020-07-06 17:57:00 +02:00
Fenny 855881e0a2 📝 Fix description 2020-07-06 17:12:35 +02:00
Fenny 9b630585c4 📃 Fix typo 2020-07-06 17:10:31 +02:00
fenny c7a0449362
Merge pull request #546 from Fenny/master
📇 Update Test methods
2020-07-05 11:12:21 +02:00
Fenny 8b425e1206 🚀 Change Version Tag 2020-07-05 11:09:38 +02:00
Fenny 599fdcdcb6 Listener replaces Serve 2020-07-05 11:08:23 +02:00
doingodswork a092d0d40a Improve flag handling
1. Don't define the prefork flag
2. Don't expose the prefork-child flag in the flag usage message
2020-07-04 16:17:27 +02:00
Fenny 72786471ce Fix docker host addr 2020-07-04 08:47:50 +02:00
Fenny 4dead8d6d3 Fix typo in RequestID 2020-07-04 08:39:45 +02:00
Fenny 583ec38e37 Bump v1.12.3
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-07-03 15:08:21 +02:00
Fenny 34ac831143 Add json formatting 2020-07-02 20:26:38 +02:00
Fenny 1d4478bf00 🧹🧹 Cleanup 2020-07-02 13:51:10 +02:00
Fenny 1e1f6ea5b1 Disable colors if not supported 2020-07-02 08:50:53 +02:00
Fenny c7587c7f5a Update .gitignore 2020-07-01 10:50:22 +02:00
Fenny 0daee4c8c6 Default to 127.0.0.1 instead of 0.0.0.0 2020-07-01 10:48:52 +02:00
Fenny 9b1d41e0bf Update version: 1.12.2 2020-06-30 00:27:46 +02:00
ReneWerner87 d57651835b improve routing performance 2020-06-29 22:51:41 +02:00
Fenny 86d93d1b0b Update app.go 2020-06-27 04:50:44 +02:00
Fenny ec51458940 Add memory info 2020-06-27 04:22:22 +02:00
Fenny badb45779f Update startup message 2020-06-25 22:48:49 +02:00
Fenny e32dd318b5 Merge remote-tracking branch 'upstream/master' 2020-06-25 20:52:04 +02:00
Fenny 85d7a6add4 Support Naming Routes 2020-06-25 16:24:21 +02:00
Fenny 4aafc504ad Merge remote-tracking branch 'upstream/master' 2020-06-25 16:11:30 +02:00
fenny 01aaf4fd95
Merge pull request #507 from Fenny/master
Update middleware examples
2020-06-25 16:05:36 +02:00
Fenny 85fcc74646 Fix golint warning 2020-06-25 16:02:24 +02:00
Fenny 033e009212 Fix gosec warning 2020-06-25 15:59:45 +02:00
Fenny 3bdbc53d17 Separate Prefork logic 2020-06-25 15:42:50 +02:00
ReneWerner87 cf4836c606 🚀 Added possibility to work with urlencoded special characters in the route 2020-06-25 08:44:29 +02:00
ReneWerner87 09e9915e9c 🚀 How about compatibling with httpexpect #485 2020-06-24 21:36:40 +02:00
Fenny 6638efafa7 Update prefork logic 2020-06-23 16:56:48 +02:00
Fenny 37ebde8b86 Update app.go 2020-06-23 15:07:29 +02:00
Fenny 3e72ab42bd Update app.go 2020-06-23 15:05:30 +02:00
Fenny 1dcbd1e6ff Update app.go 2020-06-23 15:05:18 +02:00
Fenny 45aacc1ddb Update startupMessage 2020-06-23 15:04:21 +02:00
Fenny 67fefdd5d8 Add Prefork support for Windows 2020-06-22 16:07:38 +02:00
Fenny a72ce156c5 Add Prefork support for Windows 2020-06-22 15:55:24 +02:00
Fenny 9c2a36be17 Add Prefork support for Windows 2020-06-22 15:12:50 +02:00
Fenny cacbfad765 Update timeout comments 2020-06-21 18:00:57 +02:00
Fenny 09116ae22b Add 405 Support 2020-06-21 10:47:03 +02:00
Fenny 44d739496d Add 405 Method Not Allowed 2020-06-20 17:26:48 +02:00
Fenny 0b672c4670 Bump version 1.12.0 2020-06-17 13:38:37 +02:00
Fenny 3915cd607d Typo 2020-06-17 13:37:50 +02:00
Fenny 7beca6a961 v1.12.0-alpha 2020-06-15 15:47:27 +02:00
fenny f20e66efee
Merge pull request #471 from ReneWerner87/master
🐛 flag.Parse not working when using Prefork on Fiber #469
2020-06-15 15:37:29 +02:00
wernerr 58f88265fd 🐛 flag.Parse not working when using Prefork on Fiber #469
add predefined flags to avoid errors
2020-06-15 15:27:11 +02:00
Fenny e745960330 Add ReadBufferSize & WriteBufferSize 2020-06-15 13:36:50 +02:00
Fenny f79fb58278 Add layout support in Render 2020-06-12 12:29:57 +02:00
Fenny 713b51ae30 Add content type to default error handler 2020-06-08 13:09:40 +02:00
Fenny fbea5211d0 goreportcard fix 2020-06-08 02:55:19 +02:00
wernerr 7617e425d8 organise startup message 2020-06-07 21:19:58 +02:00
wernerr 8c2f4e3edb organise startup message 2020-06-07 21:10:38 +02:00
wernerr 535dc52697 organize default settings more clear 2020-06-07 20:57:55 +02:00
Fenny abbd18d815 Add CompressedFileSuffix 2020-06-07 20:35:41 +02:00
Fenny 22555c0806 Update 2020-06-07 10:13:50 +02:00
Fenny a8f8f30b5d Update error handler 2020-06-06 20:49:02 +02:00
Fenny 9fec4c7820 Update app.go 2020-06-06 20:42:55 +02:00
Fenny f0a9846bf0 Update error handler 2020-06-06 20:42:08 +02:00
Fenny 749aac17bb 🐳 Internal Error Handling 2020-06-06 19:02:28 +02:00
Fenny bf3c36688f 🚑 Custom Error Interface 2020-06-06 18:54:02 +02:00
Fenny 1acc65bd36 🐛 ErrorHandler & ctx.Routes() 2020-06-06 07:30:22 +02:00
Fenny f44b1fd88e Update version 2020-06-03 17:20:20 +02:00
Fenny 3470e8db53 Update Version 2020-06-03 00:01:55 +02:00
Fenny eb8c8d88d3 Update version 1.10.3 2020-06-01 20:30:11 +02:00
Fenny ae785453bb Hide complete msg on DisableStartupMessage 2020-06-01 20:29:52 +02:00
Fenny 39f6db6c47 Remove old comment 2020-06-01 11:24:12 +02:00
Fenny 2f4b9c4132 Add Handler comment 2020-06-01 11:19:29 +02:00
Fenny ac64da1a3a Update Version 1.10.2 2020-06-01 11:17:37 +02:00
Juan Riquelme González 5babf5a055 Change DisableStartupMessage behavior 2020-05-30 17:46:06 +02:00
Juan Riquelme González d247e2a961 Add Settings StartupBanner & HideStartupBanner 2020-05-29 23:41:03 +02:00
fenny 38c8bb240d
Update app.go 2020-05-27 23:06:23 +02:00
fenny edb10010da
Update app.go 2020-05-27 23:05:47 +02:00
Fenny 30c215c601 Update Version to v1.10.1
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-27 22:56:56 +02:00
fenny 02b4061b44
Add Handler & Templates interface (#412)
* Add new supporter
* Add new test condition
* Add Handler Type
* Update Templates Interface
2020-05-25 13:31:20 +02:00
fenny e8b8fdfb35
Add Handler type (#410)
* Add new supporter
* Add new test condition
* Add Handler Type
2020-05-24 16:02:21 +02:00
Fenny 6cd50c9e7b Add RenderEngine & DisableHeaderNormalizing
- RenderEngine setting
- DisableHeaderNormalizing setting
- Move sync pool to *App
- Return *Route

Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-23 09:25:18 +02:00
Fenny 1f52b51dca
Add Content-Length to app.Test() (#387)
* Add Content-Length if not provided with Body
2020-05-16 08:12:43 +02:00
Fenny 3fb483e9df Refactor internal functions 2020-05-16 05:11:25 +02:00
Fenny e0b13d9ca4
Update test & benchmark (#374)
Co-Authored-By: RW <renewerner87@googlemail.com>

* Add nosec for WriteByte

* test persistens for benchmark results

* Add tests & benchmark

* Update app_test.go

* Update benchmark.yml
2020-05-13 20:21:49 +02:00
Fenny b8228e4546 Golint code 2020-05-12 23:24:04 +02:00
Fenny e719fa00bf
Use param support + optimizations (#361)
* Benchmark workflow

* Update router.go

* Clean root

* Add mutex

* Benchmark workflow

* Benchmark workflow
* Add mutex
* Enable benchmark tests
* Enable race testing

Co-Authored-By: ReneWerner87 <renewerner87@users.noreply.github.com>

* Benchmark Workflow

* Benchmark workflow
* Add mutex
* Enable benchmark tests
* Enable race testing

Co-Authored-By: ReneWerner87 <renewerner87@users.noreply.github.com>

* Update security workflow

* Benchmark workflow
* Add mutex
* Enable benchmark tests
* Enable race testing

Co-Authored-By: ReneWerner87 <renewerner87@users.noreply.github.com>

* Make Ctx pool accessible

- Add ctx benchmarks

* v1.9.6

* v1.9.6

Co-Authored-By: ReneWerner87 <renewerner87@googlemail.com>

* Improve context functions

* Add utils benchmarks

* Update benchmarks & tests

* Add utils tests

* New tests

* update test

* Move fastpath tests

* offer negotiation

* Cleanup

* Update Vary

Co-Authored-By: RW <renewerner87@googlemail.com>

* Optimize Append

Co-Authored-By: RW <renewerner87@googlemail.com>

* Optimize more methods

Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: Vic Shóstak <vikkyshostak@gmail.com>

* Add param support to Use

Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: Vic Shóstak <vikkyshostak@gmail.com>

* Add use_params tests

Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: Vic Shóstak <vikkyshostak@gmail.com>

* v1.9.7

Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: Vic Shóstak <vikkyshostak@gmail.com>

* Tests

Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: Vic Shóstak <vikkyshostak@gmail.com>

* v1.9.7

Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: Vic Shóstak <vikkyshostak@gmail.com>
Co-Authored-By: József Sallai <jozsef@sallai.me>
Co-Authored-By: Thomas van Vugt <thomasvvugt@users.noreply.github.com>

* Update app_test.go

Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: Vic Shóstak <vikkyshostak@gmail.com>
Co-Authored-By: József Sallai <jozsef@sallai.me>
Co-Authored-By: Thomas van Vugt <thomasvvugt@users.noreply.github.com>
Co-Authored-By: Nifty255 <nifty255@users.noreply.github.com>

* Rename argument

Co-Authored-By: RW <renewerner87@googlemail.com>

* Add nosec for WriteByte

Co-Authored-By: RW <renewerner87@googlemail.com>

* Add media article

* Update media articles

* Fix typo

Co-Authored-By: Thomas van Vugt <thomasvvugt@users.noreply.github.com>

* Fix typo

Co-authored-by: ReneWerner87 <renewerner87@users.noreply.github.com>
Co-authored-by: ReneWerner87 <renewerner87@googlemail.com>
Co-authored-by: Vic Shóstak <vikkyshostak@gmail.com>
Co-authored-by: József Sallai <jozsef@sallai.me>
Co-authored-by: Thomas van Vugt <thomasvvugt@users.noreply.github.com>
Co-authored-by: Nifty255 <nifty255@users.noreply.github.com>
2020-05-12 19:24:04 +02:00
Fenny 6e58bfcde3
Make ctx pool accessible + ctx benchmarks (#355)
**🚀 Fiber `v1.9.6`**

The Ctx pool is now accessible for third-party packages

🔥 New
- `func AcquireCtx(fctx *fasthttp.RequestCtx) *Ctx`
- `func ReleaseCtx(ctx *Ctx)`

🩹 Fixes
- Some `Ctx` methods didn't work correctly when called without an `*App` pointer.
- `ctx.Vary` sometimes added duplicates to the response header

🧹 Updates
- Add context benchmarks
- Remove some unnecessary functions from `utils`

🧬 Middleware
- [gofiber/adaptor](https://github.com/gofiber/adaptor) `v0.0.1` Converter for net/http handlers to/from Fiber handlers
2020-05-11 04:30:31 +02:00
Fenny e2cc8106bb
Benchmark workflow (#351)
* Benchmark workflow
* Add mutex
* Enable benchmark tests
* Enable race testing

Co-authored-by: ReneWerner87 <renewerner87@users.noreply.github.com>
2020-05-09 15:15:34 +02:00
Fenny a4273dc3bb
Update version tag (#345)
* Update version tag 🤖 v1.9.5
2020-05-07 20:28:10 +02:00
Fenny e3b777bacf
🤖 v1.9.5 (#344)
* 🤖 v1.9.5

Co-authored-by: Fenny <fenny@protonmail.com>
2020-05-07 20:22:26 +02:00
Fenny 8ea25a79b9
💥 v1.9.4 (#341)
* Update router.go

Co-authored-by: Fenny <fenny@protonmail.com>
2020-05-07 19:28:21 +02:00
Fenny 27a7b21716
Replace two-value range loops (#324)
* Replace two value range loops
2020-04-29 04:55:34 +02:00
TianhongWu 880824be1c
Use const value for status code (#325) 2020-04-29 04:52:51 +02:00
Fenny 0419d089e9
🧹 PR for 1.9.3 (#321)
* Add crowdin

* Update media links

* Update README_de.md

* Update README_de.md

* Update README_de.md

* Add crowdin link

* Print addr when listening

* Print addr on listening

* Add DisableStartupMessage

* Fix typo

* Update Test_BodyParser

* Support ETags

* v1.9.3
2020-04-28 21:34:34 +02:00
Fenny 4d14679a87
Add DisableStartupMessage (#314)
* Add crowdin

* Update media links

* Update README_de.md

* Update README_de.md

* Update README_de.md

* Add crowdin link

* Print addr when listening

* Print addr on listening

* Add DisableStartupMessage

* Fix typo
2020-04-27 23:34:35 +02:00
khaibin eda372d64d
BodyParser: Ignore unknown fields by default (#308)
https://godoc.org/github.com/gorilla/schema#Decoder.IgnoreUnknownKeys
2020-04-27 06:30:14 +02:00
Fenny e2187145c4
Print addr when listening (#307)
Print addr on listening
2020-04-26 06:05:03 +02:00
Thomas van Vugt 6c91252c6b Added to Serve function 2020-04-25 21:42:57 +02:00
Thomas van Vugt 8332245781 Add ASCII Fiber logo 2020-04-25 14:33:40 +02:00
Fenny 3e2c27b959 v1.9.2 2020-04-23 01:54:11 +02:00
Fenny 4242901c92 v1.9.2 2020-04-23 00:33:36 +02:00
Fenny a88b58959b Update app.go 2020-04-19 16:10:19 +02:00
Fenny 673bd61fa1 BodyParser supports Query params 2020-04-13 09:01:27 +02:00
Fenny 8c00ce8f5f v1.9.0 2020-04-12 14:58:05 +02:00
Fenny 79c378c384 v1.8.431 2020-03-31 10:03:39 +02:00
Fenny f40d786caa v1.8.4
- Remove middleware folder
- Extend travis testing
2020-03-22 01:51:53 +01:00
Fenny c5436a7519 Fix some consts 2020-03-20 16:49:46 +01:00
Fenny b425a5b4bf v1.8.34 2020-03-20 16:43:28 +01:00
Fenny 9657019879 Add more comments 2020-03-16 17:18:25 +01:00
Fenny c7baaf6243 v1.8.33 2020-03-16 15:00:58 +01:00
Fenny bec9eecb29 v1.8.32 2020-03-15 14:45:57 +01:00
Fenny 0133d9c331 Add StaticConfig 2020-03-15 14:00:03 +01:00
Fenny 20de89cab3 v1.8.32 2020-03-15 13:48:54 +01:00
Fenny 48e7892624 Merge branch 'master' of https://github.com/Fenny/fiber 2020-03-14 12:30:33 +01:00
Fenny 558fcd2f30 v1.8.3 2020-03-14 12:30:21 +01:00