Muhammed Efe Çetin
3b943d79c9
v3: remove internal/template/html, replace internal/memory by internal/storage/memory
2022-06-04 14:19:59 +03:00
Muhammed Efe Çetin
8a15f77fc4
v3: move most deps to go.mod
2022-06-02 17:37:53 +03:00
Muhammed Efe Çetin
1188144d78
🎉 v3: init
2022-05-31 17:35:49 +03:00
Philippe Bernardino Leite
19c3a3c2c9
z/OS Compatibility ( #1904 )
2022-05-09 08:40:02 +02:00
M. Efe Çetin
ee65ea5bab
🧹 Use encoding/json ( #1851 )
...
* remove goccy/go-json
* fix tests.
2022-04-13 10:45:33 +02:00
Serhat Şevki Dinçer
2f0d745b5a
🆙 bump goccy/go-json to 0.9.6 ( #1832 )
2022-03-22 13:21:46 +03:00
M. Efe Çetin
10fa3ef6f5
🤖 deps: bump goccy/go-json to v0.9.5 ( #1808 )
...
* bump goccy/go-json to 0.9.4
* bump goccy/go-json to 0.9.5
2022-03-05 21:19:03 +01:00
Théotime Lévêque
df85b62a78
🐛 Fix go-json generator. ( #1806 )
...
go generate ./... generates panic as import paths have
probably changed over time. This commit free this command
from panics.
2022-03-05 15:39:34 +03:00
M. Efe Çetin
937713e41e
✨ feature: bind support for render ( #1754 )
...
* Bind support for Render.
* update
* fix tests
* split Pass-locals-to-views & Bind from Render
* update comments.
* add benchs.
* Update ctx.go
Co-authored-by: hi019 <65871571+hi019@users.noreply.github.com>
* Update ctx.go
* optimize
* switch dictpool.
* ✨ feature: bind support for render
- improve performance
* ✨ feature: bind support for render
- improve performance
Co-authored-by: hi019 <65871571+hi019@users.noreply.github.com>
Co-authored-by: wernerr <rene.werner@verivox.com>
Co-authored-by: wernerr <rene@gofiber.io>
2022-02-12 22:52:24 +01:00
M. Efe Çetin
aa56364445
bump goccy/go-json to 0.9.4 ( #1771 )
2022-02-12 19:36:48 +01:00
M. Efe Çetin
8bd1509311
Change default gc interval. ( #1756 )
2022-02-07 13:42:40 +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
M. Efe Çetin
3663c70f6c
📦 Update goccy/go-json to 0.9.3. ( #1719 )
...
* Update goccy/go-json to 0.9.3.
* Remove test
2022-01-18 09:48:11 +01:00
M. Efe Çetin
6f34de511e
Update goccy/go-json to 0.9.1. ( #1709 )
...
* Update goccy/go-json to 0.9.1.
* fix lint error
2022-01-11 15:23:59 +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
M. Efe Çetin
f04ddd41ff
Fix goccy/go-json for go1.18-beta1. ( #1673 )
2021-12-29 02:12:29 +01:00
M. Efe Çetin
10aa7f7f3b
Update goccy/go-json to 0.8.1 ( #1644 )
...
* Update goccy/go-json to 0.8.1
* Fix linter.
* Update error.go
2021-12-06 08:24:57 +01:00
RW
9d01ed1d7c
Update fasthttp from v1.29.0 to v1.31.0 ( #1603 )
...
* Update fasthttp from v1.29.0 to v1.31.0
* Update fasthttp from v1.29.0 to v1.31.0
2021-10-28 08:55:59 +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
Ali Yusuf
0763ecdd13
fix: Add missing TargetConditionals.h include ( #1572 )
...
closes #1571
2021-10-10 17:06:17 +02:00
Jason McNeil
9f537f922d
Update load_darwin.go ( #1564 )
2021-10-06 22:49:23 +02:00
M. Efe Çetin
c0c14671ba
Add one minute load avg for monitor. ( #1530 )
...
Fix CI/CD errors.
Fix Windows.
Fix Windows.
Fix golint error.
2021-09-22 08:29:44 +02:00
RW
3e8227d7eb
FIX: panic: unaligned 64-bit atomic operation [32 bit machines] #1487 ( #1502 )
...
* 🐛 panic: unaligned 64-bit atomic operation [32 bit machines] #1487
https://pkg.go.dev/sync/atomic#pkg-notes
https://go101.org/article/memory-layout.html
https://github.com/golang/go/issues/36606
* 🐛 panic: unaligned 64-bit atomic operation [32 bit machines] #1487
change from uin64 to uint32 for the timestamp -> max value is 4294967295 -> Sun Feb 07 2106 06:28:15 GMT+0000
2021-08-22 10:28:34 +02:00
Kazumasa Takenaka (Bamboo)
f5338266e3
fix typo ( #1442 )
...
paramters -> parameters
avilable -> available
seperated -> separated
2021-07-17 17:20:14 +02:00
tuhao1020
a109dc6c68
Schema parser: use full match instead of strings.HasPrefix ( #1424 )
...
* #1414 use full match instead of strings.HasPrefix
* update for nested or recursive structs
* replace strings.Contains with strings.IndexByte
2021-07-11 11:45:15 +02:00
Javad Rajabzade
7609117cec
Improved some conditions ( #1386 )
...
* simplify `u <= (1<<7)-1` to `u < (1 << 7)`
* It's not recommended to use `len` for empty string, we can check with string with ""
* It's not recommended to use `len` for empty string, we can check with string with ""
* It's not recommended to use `len` for empty string, we can check with string with ""
* It's not recommended to use `len` for empty string, we can check with string with ""
* Instead Bool comparison can using simplified bool check if !var = false checking
* Unnecessary use of fmt.Sprintf for value without format
* For check condition two value not required ! method
* nil check may not be enough for slice, better check with len
* function parameters combined
* When the form returns error information, the text content should not start with a capital letter or end with a punctuation mark
* error var invalidPath should have name of the form errFoo, It is recommended that the error variables that are part of an API should be named
* change to condition len(x), it's faster https://github.com/gofiber/fiber/pull/1386#discussion_r652369520
* Update write.go
* Update write_bytes.go
* Update store.go
Co-authored-by: RW <rene@gofiber.io>
2021-06-17 22:03:59 +02:00
Ilya Chukov
89fdbcf036
Improve errors handling ( #1381 )
...
* replace `fmt.Errorf` to `errors.New`
* changed once `Sprintf` to `Join`
2021-06-13 11:11:42 +02:00
RW
b1b490645e
Fix session middleware ( #1235 )
...
encoding/gob for session middleware
2021-03-26 11:24:55 +01:00
Kiyon
ff2052c48a
👷 Improve tls test
2021-03-11 14:33:04 +08:00
TroyDota
80fadc607c
Update memory.go
2021-02-15 04:07:51 +02:00
unknown
c62e5f7d4d
go style updates
2021-01-26 21:57:58 +03:00
Fenny
9e87cb7c17
✏ update msg
2020-12-06 16:39:32 +01:00
Fenny
19bee02563
🩹 draft for #1051
2020-12-03 11:56:32 +01:00
Fenny
e28c886d73
🩹 fix internal memory storage
2020-12-03 11:14:33 +01:00
Fenny
7be78406cb
🔐 use uuid v4 in session
2020-11-30 14:31:10 +01:00
Fenny
772d78186a
🐌 too slow, need better alternative
2020-11-27 18:34:22 +01:00
Fenny
0c8efc3de3
💱 update uuid
2020-11-27 16:58:19 +01:00
Fenny
e1078f8716
🩹 fix #1030
2020-11-26 12:05:43 +01:00
Fenny
a3ecbbee3c
🩹 fix missing variables
2020-11-24 16:35:09 +01:00
Fenny
f6d1689155
🩹 fix #1012
2020-11-24 16:31:13 +01:00
Fenny
323d9d89cc
🩹 fix manager logic
2020-11-23 07:38:42 +01:00
Fenny
8fe458011d
📦 add mapstore
2020-11-20 11:43:07 +01:00
Fenny
6ded637712
🩹 update store logic
2020-11-18 09:02:42 +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
362b9de868
🩹 fix duration check
2020-11-13 18:35:17 +01:00
Fenny
573853d440
🔍 add len check
2020-11-12 20:14:10 +01:00
Fenny
015de85e30
💼 update session
2020-11-06 19:43:57 +01:00
Fenny
891f36340e
📦 improve json encoding
2020-11-03 09:01:49 +01:00
LeoZhan
00750b8989
refactor: format the code
2020-11-01 00:32:01 +08:00
Fenny
67dfa17903
📦 vendor fwd
2020-10-27 00:33:58 +01:00