1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-22 20:06:21 +02:00
Commit Graph

23 Commits

Author SHA1 Message Date
toimtoimtoim
6ef5f77bf2 WIP: logger examples
WIP: make default logger implemented custom writer for jsonlike logs
WIP: improve examples
WIP: defaultErrorHandler use errors.As to unwrap errors. Update readme
WIP: default logger logs json, restore e.Start method
WIP: clean router.Match a bit
WIP: func types/fields have echo.Context has first element
WIP: remove yaml tags as functions etc can not be serialized anyway
WIP: change BindPathParams,BindQueryParams,BindHeaders from methods to functions and reverse arguments to be like DefaultBinder.Bind is
WIP: improved comments, logger now extracts status from error
WIP: go mod tidy
WIP: rebase with 4.5.0
WIP:
* removed todos.
* removed StartAutoTLS and StartH2CServer methods from `StartConfig`
* KeyAuth middleware errorhandler can swallow the error and resume next middleware
WIP: add RouterConfig.UseEscapedPathForMatching to use escaped path for matching request against routes
WIP: FIXMEs
WIP: upgrade golang-jwt/jwt to `v4`
WIP: refactor http methods to return RouteInfo
WIP: refactor static not creating multiple routes
WIP: refactor route and middleware adding functions not to return error directly
WIP: Use 401 for problematic/missing headers for key auth and JWT middleware (#1552, #1402).
> In summary, a 401 Unauthorized response should be used for missing or bad authentication
WIP: replace `HTTPError.SetInternal` with `HTTPError.WithInternal` so we could not mutate global error variables
WIP: add RouteInfo and RouteMatchType into Context what we could know from in middleware what route was matched and/or type of that match (200/404/405)
WIP: make notFoundHandler and methodNotAllowedHandler private. encourage that all errors be handled in Echo.HTTPErrorHandler
WIP: server cleanup ideas
WIP: routable.ForGroup
WIP: note about logger middleware
WIP: bind should not default values on second try. use crypto rand for better randomness
WIP: router add route as interface and returns info as interface
WIP: improve flaky test (remains still flaky)
WIP: add notes about bind default values
WIP: every route can have their own path params names
WIP: routerCreator and different tests
WIP: different things
WIP: remove route implementation
WIP: support custom method types
WIP: extractor tests
WIP: v5.0.x proposal
over v4.4.0
2021-10-02 18:36:42 +03:00
Martti T
f6b45f2376
CI: test against Go 1.17 (#1984) 2021-09-15 16:29:35 -03:00
Martti T
a4ab482b60
Add Go 1.16 to CI and drop 1.12 specific code (#1850)
* Correct incorrect years in CHANGELOG.md
* CI tests with last 4 versions. Remove 1.12 and below specific code
* Rename proxy test
2021-04-16 11:38:12 +02:00
Martti T
9b0e63046b
Fluent Binder for Query/Path/Form binding (#1717) (#1736)
* Fluent Binder for Query/Path/Form binding.
* CI: report coverage for latest go (1.15) version
* improve docs, remove uncommented code
* separate unixtime with sec and nanosec precision binding
2021-01-08 00:43:38 +01:00
Roland Lammel
6caec3032b
Make our stalebot more relaxed
* Use newly added `stale` label for marking for auto-closing
* Ignore issues marked as bug or enhancement for stale marking
* Give more time for auto-closing of stale issue (30d instead of 7d)
2020-12-07 11:23:29 +01:00
Roland Lammel
b90e4e8ea1
Merge pull request #1702 from pafuent/increase_number_of_benchmarks_in_comparison_action
Increasing number of benchmarks on GitHub action
2020-12-01 11:24:29 +01:00
Pablo Andres Fuente
61514f1c84 Changes on codecov.yml will trigger GitHub Actions 2020-12-01 05:06:31 +00:00
Pablo Andres Fuente
364b7e6eca Increasing number of benchmarks on GitHub action
Now the number of times that the benchmarks are run before being
compared is 8 on the GitHub action.
2020-12-01 04:39:06 +00:00
Pablo Andres Fuente
5b9bbbd356 Adding GitHub action to compare benchmarks
The GitHub action runs all the benchmarks for the target branch, and the
compares those values with the benchmarks results for the PR new code.
2020-11-23 05:28:17 +00:00
Roland Lammel
ad3be08de1
Merge pull request #1683 from asahasrabuddhe/patch-2
Add support for Go 1.15 to CI
2020-11-20 13:38:34 +01:00
Ajitem Sahasrabuddhe
fdbcc2f94e
add support for go 1.12 2020-11-20 17:11:08 +05:30
Arun Gopalpuri
b47042f385 adding decompress gzipped request middleware 2020-11-20 00:51:24 -08:00
Ajitem Sahasrabuddhe
d385a92e51
add support for Go 1.15 & drop support for Go 1.12 2020-11-13 17:30:47 +05:30
Florian Polster
31599cf1f4
Workflow also run on changes to go.mod, _fixture, .github changes 2020-11-11 10:19:05 +01:00
Florian Polster
a7b6d444a4
Run Test Workflow only if Go code was changed 2020-09-12 10:57:58 +02:00
Lars Lehtonen
c08f30359b
test matrix add go1.14 (#1551)
test matrix deprecate go1.11
2020-04-25 11:01:54 -07:00
Ajitem Sahasrabuddhe
75620e6767
Migrate to GitHub Actions (#1473)
* add workflow yml

* fix syntax error

* update test command
2020-01-28 19:24:22 -08:00
Vishal Rana
81a66086ae
Update ISSUE_TEMPLATE.md 2019-08-23 09:02:25 -07:00
Vishal Rana
a8de73efbe Added probot-stale
Signed-off-by: Vishal Rana <vr@labstack.com>
2018-11-29 16:28:21 -08:00
Vishal Rana
7c614588bc Updated github issue template
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-06-22 11:27:49 -07:00
Vishal Rana
1e51b33509 Create ISSUE_TEMPLATE.md 2017-06-14 21:15:04 -07:00
Vishal Rana
ab7885d303 Update ISSUE_TEMPLATE.md 2016-08-29 13:45:46 -07:00
Vishal Rana
9f23055745 Create ISSUE_TEMPLATE.md 2016-06-04 16:42:29 -07:00