meta-virtualization/recipes-devtools
Bruce Ashfield 57ede068d1 go-mux: update to v1.8.0
Bumping mux to version v1.8.0-23-g85123bf, which comprises the following commits:

    85123bf changed the routeVariables text content. (#708)
    79f2f45 Clarify documentation examples of Route methods (#672)
    395ad81 [BUG] Inconsistent HTTP status code on query mismatch (#712)
    24c3e7f Fix  `Single Page Application` example in `README.md` file (#678)
    546dd0c run go fmt with Go 1.20 (#725)
    651928c Update issues.yml (#727)
    cfc696d Update issues.yml (#726)
    809d128 Update LICENSE (#723)
    753457f Updated the logo in README.md (#724)
    ff63d0e Update LICENSE (#722)
    2392d7d Delete AUTHORS (#721)
    81b48a3 Delete stale.yml (#720)
    96847b8 Delete release-drafter.yml (#719)
    1fa2ee8 [GPT-95] Update go version, add tools for verification and testing (#718)
    7456b4e Update README.md
    eb99d7a archive mode
    5e1e8c8 archive mode
    07eedff [docs] `authenticationMiddleware` initialization in the `README.md` file (#693)
    c889844 regexp: use iota instead of hardcoded values for regexType* (#679)
    91708ff docs: update README w.r.t new maintainer ask (#660)
    3cf0d01 Include "404" and "405" in the docs (#602)
    d07530f build: CircleCI 2.1 + build matrix (#595)
    98cb6bf fix: regression in vars extract for wildcard host (#579)
    948bec3 docs: Remove stale text from comment. (#568)
    75dcda0 perf: reduce allocations in (*routeRegexp).getURLQuery (#544)
    49c0148 lint: Remove golint warning (#526)
    4de8a5a fix headers regexp test (#536)
    946b623 Fix the CORSMethodMiddleware bug with subrouters
    f395758 Remove/cleanup request context helpers (#525)
    ff4e71f Guess the scheme if r.URL.Scheme is unset (#474)
    884b5ff Added capacity to slice creation, when capacity is known (#516)
    e1863a6 Modified http status codes, using constants provided by the http package (#514)
    9536e40 bugfix: subrouter custom methodNotAllowed handler returning 404 (#509) (#510)
    e0cdff4 Update README (self-host logo) (#513)
    e67b3c0 Remove TravisCI badge (#503)
    7a1bf40 [docs] Add documentation for using mux to serve a SPA (#493)
    eab9c4f Simplify code (#501)
    50fbc3e Avoid unnecessary conversion (#502)
    d83b6ff Update config.yml (#495)
    00bdffe Update stale.yml (#494)
    0534769 Improve CORS Method Middleware (#477)
    d70f7b4 Delete ISSUE_TEMPLATE.md (#492)
    48f941f Use subtests for middleware tests (#478)
    6495467 Delete .travis.yml (#490)
    4248f5c Fix nil panic in authentication middleware example (#489)
    212aa90 [WIP] Create CircleCI config (#484)
    ed099d4 host:port matching does not require a :port to be specified.
    c5c6c98 [build] Remove sudo setting from travis.yml (#462)
    15a353a adding Router.Name to create new Route (#457)
    8eaa9f1 fix go1.12 go vet usage (#458)
    8559a4f [docs] typo (#454)
    a796238 replace rr.HeaderMap by rr.Header() (#443)
    797e653 Call WriteHeader after setting other header(s) in the example (#442)
    08e7f80 Ignore ErrNotFound while matching Subrouters (#438)
    f3ff42f getHost() now returns full host & port information (#383)
    ef912dd [bugfix] Clear matchErr when traversing subrouters.
    a31c178 Replace domain.com with example.com (#434)
    6137e19 remove redundant code that remove support gorilla/context (#427)
    d2b5d13 Update and rename stale to stale.yml (#425)
    419fd9f Add stalebot config (#424)
    758eb64 Improve subroute configuration propagation #422
    3d80bc8 Use subtests in mux_test.go (#415)
    521ea7b Use constant for 301 status code in regexp.go (#412)
    deb579d README.md: Update site URL
    9e1f595 Always run on the latest stable Go version. (#402)
    cf6680b Create release-drafter.yml (#399)
    8771f97 Drop support for Go < 1.7: remove gorilla/context (#391)
    962c5be Add 1.11 to build in travis (#398)
    e48e440 Add test for multiple calls to Name(). Fixes #394
    815b8c6 Clarify behaviour of Name method if called multiple times.
    cb46983 Update LICENSE & AUTHORS files. (#386)
    e0b5aba Initialize user map (#371)
    c856192 [deps] Add go.mod for versioned Go (#376)
    e3702be [docs] Improve docstrings for middleware, skipclean (#375)
    fdeb7bc [docs] Doc fix for testing variables in path (#374)
    5e55a4a Add CORSMethodMiddleware (#366)
    ded0c29 Fix linter issues (docs) (#370)
    b57cb16 [build] Update Go versions; add 1.10.x (#364)
    94231ff Fix table-driven example documentation (#363)
    4dbd923 Make Use() variadic (#355)
    07ba1fd Modify http status code to variable in README (#350)
    d284fd8 Modify 403 status code to const variable (#349)
    c0091a0 Create authentication middleware example. (#340)
    0fdf828 [docs] Clarify SetURLVars (#335)
    077b44c [docs] Document route.Get* methods consistently (#338)
    dc83507 [docs] README.md: Improve "walking routes" example. (#337) (#323)
    3dbb9ed README.md: add miss "time" (#336)
    ad87908 [docs] Fix doc.go (#333)
    69dae3b [docs] Add testing example (#331)
    63c5c2f [docs] Fix Middleware docs typos (#332)
    85e6bff Update doc.go: r.AddMiddleware(...) -> r.Use(...)
    0b74e3d Make shutdown docs compilable (#330)
    53c1911 [feat] Add middleware support as discussed in #293 (#294)
    5bbbb5b [docs] Add graceful shutdown example (#329)
    512169e refactor routeRegexp, particularily newRouteRegexp. (#328)
    5ab525f Public test API to set URL params (#322)
    7904d2e [docs] Add example usage for Route.HeadersRegexp (#320)
    c572efe [docs] Note StrictSlash re-direct behaviour #308 (#321)
    65ec724 Create ISSUE_TEMPLATE.md (#318)
    4a3d4f3 [bugfix] Fix method subrouter handler matching (#300) (#317)
    2d5fef0 [docs] fix outdated UseEncodedPath method docs (#314)
    7f08801 MatchErr is set to ErrNotFound if NotFoundHandler is used (#311)
    9f48112 [docs] Document router.Match (#313)
    bc452d9 [build] Allow tip failures (#312)
    7625a85 .travis.yml: Remove versions < go1.5 from build matrix
    c9183aa use req.URL.EscapedPath() instead of getPath(req) (#306)
    10490f5 GetQueryTemplates and GetQueryRegexp extraction (#304)
    9bd9ff2 Added 1.9 build step (#303)
    bdd5a5a Fix WriteHeader in TestA301ResponseWriter. (#301)
    3f19343 [docs] Document evaluation order for routes (#297)
    24fca30 [docs] README.md: add missing `.` (#292)
    bb285ea [docs] Fix missing space in docstring (#289)
    a659b61 Fix #271:  Return 405 instead of 404 when request method doesn't match the route
    ac112f7 Prefer scheme on child route when building URLs.
    37b3a6c Use scheme from parent router when building URLs.
    8c683ee Fix typo
    18fca31 Add test and fix for escaped query values.
    c7a138d Update docs.
    f9aa23a Add tests for support for queries in URL reversing.
    9c9af15 Add support for queries in URL reversing.
    043ee65 Update Walking Routes Section
    59ce668 Fix invalid example code
    85b8c20 Removing half of conflict marker (#268)
    456bcfa Update README with example for Router.Walk
    4d814f7 Update ancestors parameter for WalkFunc for matcher subrouters
    a322b2c Update Walk to match all subrouters
    bcd8bc7 Support building URLs with non-http schemes. (#260)
    751308a Updated README
    b552615 Added method Route.GetMethods
    1856953 Added method Route.GetPathRegexp
    4c1c395 fixed typo (#250)
    599cba5 Fixing Regexp in the benchmark test (#234)
    ad4ce0e updating logic in route matcher, cleaner and saner (#235)
    89d16fe Add sourcegraph badge
    94e7d24 Add Go 1.8 to .travis.yml
    392c28f [bugfix] fail fast if regex is incorrectly specified using capturing groups. (#218)
    cafdb65 [docs] Add route listing example to README
    b9ff34f Adding some extra tests, to hit all the use cases
    293ebe1 Adding in a check for routes with just /
    910dd3a Remove unnecessary line from example
    239e05f Clarify how route variables work. (#151)
    14f5df0 document non-capturing groups (closes #143)
    0a192a1 Add useEncodedPath option to router and routes (#190)
    0b13a92 Simplify extractVars, fixes edge cases. (#185)
    34bf6dc make the getPath method safer, fixing panics within App Engine (#189)
    674ef1c Add mechanism to route based on the escaped path (#184)
    cf79e51 .travis.yml: add go1.7
    7804150 [docs] Add logo to README. (#180)
    3b15f12 [docs] Add static file example to README; doc.go. (#179)
    327d4b6 Clean up some naming in mux_test.go
    cf57124 Fix error handling in  Router.Walk
    198f95d fix README.md
    9fa818a [ci] Update .travis-ci to skip install block. (#170)
    fdfca9f Support native context.Context when go1.7 is used.
    5dd5699 Add failing context.Context test for go1.7.
    0d753bb Log ListenAndServe's err response.
    12a13f3 `go vet` is part of Go now
    05d9d90 Add `SkipClean()` to `*Route`
    9935257 Add test for `SkipClean`
    a41434a Clarify more of `SkipClean`
    8e05c69 old_test: const DefaultRemoteAddr is unused.
    65c2651 fixing regexp changes from PR #144
    786d36e `go fmt`
    8ac5cf9 Add SkipClean option
    f7ac725 Update doc strings based on feedback
    02c98b3 [docs] Satisfied golint.
    f84ab9a Fix go fmt issues
    0d60c4b Add tests for GetPathTemplate. Added GetHostTemplate and associated tests as well
    5f42f0f [docs] Add http://www.gorillatoolkit.org/pkg/mux to README.
    7872f90 Update .travis.yml to build Go 1.6
    78fb8eb Added benchmark with deep path
    f489272 Named groups replaced with conditional wrapping of regexps
    66181ed Update README.md
    82a9c17 Covering change with unit test
    c329c7d Potential fix for #20
    9a9f155 Travis: Perform gofmt, go vet checks; use race detector during tests.
    a90bbbc Correct a printf verb type
    ac3897e Fix a typo in the comments, add a few comment docs
    8ae7a23 Fixed documentation from Issue 16
    ee18154 Update .travis.yml
    f8220e0 travis-ci: more recent go versions
    e45852e Fixed GoDoc badge.
    b0b2bc4 Quote domain names in README.md. Use example.com instead of domain.com
    5112c33 slightly improve printing of regexps in failed tests.
    d17b93c Refactoring for better performance
    273db68 Fix regexp syntax error caused by variable names containing any characters except letters, digits, and underscores
    577b9e4 Add tests for hyphenated variable names
    ca524fd Updated README w/ runnable example. Addresses #32.
    c3c5f00 Add test which used to fail for queries.
    780d050 Update README
    e73f183 fix use of capturing subexpressions in pattern matches.
    13c8226 Update comment and specify KeepContext option.
    39cff34 Add note about the availability of CurrentRoute.
    98fb535 Issue 16: Return the regexp compile error
    ba336c9 getUrlQuery: Use SplitN with a max of 2.
    3339267 adding tests
    fe40f0d updating query match string
    19f0a91 adding test and updating condition
    2b32409 fix for empty query
    92ae1d6 Update the walk method to walk matchers so it walks the full list of routers and child routers
    8eb02a9 Add URLPathTemplate to Route to make it easier to generate a API page that lists all routes by template
    9cb89f0 Add a couple of additional tests for query strings.
    0c9d5c0 refactoring
    a710a8b adding ^ and $ to query pattern
    c21431a Fixed up commenting and removed unused code
    c0a5cbc Fix typo
    a063f14 Fix typo
    77f424d Fix typo
    9641367 Fix up doc formatting, use spaces for alignment (tabs are for indentation only).
    e98fd88 Add complementary test for patterns with pipe
    00bf0e0 Add tests for patterns with pipe
    d7e4639 Rearrange rules for matching strict slash
    8df3a80 Rearrange getHost function
    8f1a419 Remove blank line to fix docs for  Route.Queries
    3351f60 gofmt
    854d482 Fix racy modification of NotFoundHandler.
    451fd8b Additional code cleanup (see comments on issue #56)
    3505396 Code cleanup (see comments on issue #56)
    69237ea Fix "Queries" matcher to support out-of-order query string parameters
    0a0d6a1 Add tests for regexp variables in query strings Fix how regular expression gets built for query string so that order of parameters is always preserved
    c946952 Fix old tests Remove tests that don't apply anymore Fix scheme matcher tests
    65cc9b5 Add ability to capture variables in query strings
    a883d5a Call parent BuildVarsFuncs
    cef3b0c Add BuildVarsFunc to allow modifying route variables before generating a route's URL
    b864f07 Propagate StrictSlash to subrouters instead of rudely turning it off
    3509745 Add tests for all four StrictSlash cases
    bac1372 Convert TestStrictSlash to a table driven test
    033224c Document behaviour of StrictSlash and PathPrefix better, and add tests to nail this down
    525eff4 Improve docs about leading and trailing slashes

We also update the license checksum, as it has a new date

We also drop the configure/compile tasks, as this is a source
only dependency package (and having them causes build issues).

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-08-24 15:15:14 +00:00
..
go go-mux: update to v1.8.0 2023-08-24 15:15:14 +00:00
python recipes/classes/scripts: Drop SRCPV usage 2023-08-24 01:38:21 +00:00
qemu qemu: adapt to OE-core qemu splitting 2023-08-01 14:42:25 -04:00
yq Revert "yq: Redefine do_compile" 2023-05-29 09:41:07 -04:00