Instances-api - A JSON API to fetch Piped instances

Owner
Team Piped
The developers of the Piped application.
Team Piped
Comments
  • fix(deps): update module github.com/gofiber/fiber/v2 to v2.41.0

    fix(deps): update module github.com/gofiber/fiber/v2 to v2.41.0

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | github.com/gofiber/fiber/v2 | require | minor | v2.40.1 -> v2.41.0 |


    Release Notes

    gofiber/fiber

    v2.41.0

    Compare Source

    🚀 New

    • Add ShutdownWithTimeout function (#​2228) https://docs.gofiber.io/api/app#server-shutdown
    • Match function (#​2142)

    🧹 Updates

    • Latency use lowest time unit in logger middleware (#​2261)
    • Add more detail error message in serverErrorHandler (#​2267)
    • Use fasthttp.AddMissingPort (#​2268)
    • Set byteSent log to 0 when use SetBodyStreamWriter (#​2239)
    • Unintended overwritten bind variables (#​2240)
    • Bump github.com/valyala/fasthttp from 1.41.0 to 1.43.0 (#​2237, #​2245)
    • Bump github.com/mattn/go-isatty from 0.0.16 to 0.0.17 (#​2279)

    🐛 Fixes

    • Fix some warnings, go-ole on mac os (#​2280)
    • Properly handle error of "net.ParseCIDR" in "(*App).handleTrustedProxy" (#​2243)
    • Fix regex constraints that contain comma (#​2256)
    • Unintended overwritten bind variables (#​2240)

    📚 Documentation

    • Fix ci badge errors (#​2282)
    • Replace 1.14 with 1.16 in READMEs (#​2265)
    • Update docstring for FormValue() (#​2262)
    • Added Ukrainian README translation (#​2249)
    • middleware/requestid: mention that the default UUID generator exposes the number of requests made to the server (#​2241)
    • middleware/filesystem does not handle url encoded values on it's own (#​2247)

    Full Changelog: https://github.com/gofiber/fiber/compare/v2.40.1...v2.41.0

    Thank you @​AngelVI13, @​Simerax, @​cwinters8, @​efectn, @​jfcg, @​leonklingele, @​li-jin-gou, @​pjebs, @​shuuji3 and @​v1def for making this update possible.


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Enabled.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

  • fix(deps): update module github.com/google/go-github/v42 to v48

    fix(deps): update module github.com/google/go-github/v42 to v48

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | github.com/google/go-github/v42 | require | major | v42.0.0 -> v48.2.0 |


    Release Notes

    google/go-github

    v48.2.0

    Compare Source

    This minor release includes the following changes:

    • Add parents field to timeline events (#​2566)
    • Update doc URL for PackageGetAllVersions (#​2568)
    • Add the 'require_last_push_approval' field (#​2567)
    • Bump github.com/google/go-github/v48 from 48.0.0 to 48.1.0 in /scrape (#​2573)
    • Bump golangci-lint version to 1.50.1 (#​2576)
    • Add RunAttempt field for WorkflowJob (#​2562)
    • Add LockBranch and AllowForkSyncing to repos.go (#​2577)
    • Add new field for issue state reason (#​2583)
    • Add support for repository actions access level / permission (#​2578)
    • Add has_discussions field to repository (#​2589)
    • Use 'concurrency' instead of 'styfle/cancel-workflow-action' in GitHub Actions (#​2591)
    • Add MakeLatest parameter to support explicitly setting latest release (#​2594)
    • Change create fork options from url param to body param (#​2490)
    • Support new GitHub v3 API calendar-based versioning (#​2581)
    • Update AUTHORS for v48.2.0

    v48.1.0

    Compare Source

    This minor release includes the following interesting changes:

    • Add apps to restriction rules in branch protection (#​2509)
    • Add support for security manager endpoints (#​2530)
    • Add support for cursor pagination in AlertListOptions (#​2512)
    • Add merge_group webhook event via MergeGroupEvent and MergeGroup structs (#​2556)
    • Code Scanning: add new field for dismissed comment (#​2557)
    • Remove references to io/ioutil package (#​2547)
    • Add support for Dependabot alert endpoints (#​2554)
    • Support workflow restrictions in actions_runner_groups (#​2559)

    along with the following tests, docs, and/or maintenance updates:

    • Update scrape dependency to v48 (#​2502)
    • Update AUTHORS for v48 (#​2503)
    • Bump golangci/golangci-lint-action from 3.2.0 to 3.3.0 (#​2515)
    • Add test case for JSON resource marshaling (#​2517)
    • Add test case for JSON resource marshaling (#​2526)
    • Fix typo in README URL (#​2514)
    • Update workflow to use Go 1.19 and Go 1.18 (#​2525)
    • Add test cases for JSON resource marshaling (#​2524)
    • Add test cases for JSON resource marshaling (#​2527)
    • Add test case for JSON resource marshaling (#​2521)
    • Add test case for JSON resource marshaling (#​2528)
    • Add test cases for JSON resource marshaling (#​2520)
    • Add test cases for JSON resource marshaling (#​2531)
    • Add test cases for JSON resource marshaling (#​2532)
    • Add test for resource JSON marshaling (#​2533)
    • Add tests for resource JSON marshaling (#​2536)
    • Add test case for JSON resource marshaling (#​2537)
    • Add test for resource JSON marshaling (#​2538)
    • Add test case for JSON resource marshaling (#​2539)
    • Add test case for JSON resource marshaling (#​2542)
    • Add test case for JSON resource marshaling (#​2541)
    • Add test case for JSON resource marshaling (#​2544)
    • Add test case for JSON resource marshaling (#​2543)
    • Add test case for JSON resource marshaling (#​2545)
    • Add test case for JSON resource marshaling (#​2546)
    • Add test case for JSON resource marshaling (#​2548)
    • Add test case for JSON resource marshaling (#​2549)
    • Add test cases for JSON resource marshaling (#​2550)
    • Add test case for JSON resource marshaling (#​2551)
    • Add test case for JSON resource marshaling (#​2552)
    • Bump golangci/golangci-lint-action from 3.3.0 to 3.3.1 (#​2564)

    v48.0.0

    Compare Source

    This release contains the following breaking API changes:

    • Return proper responses for SCIM provisioned identities #​2474

    and the following additional changes:

    • Bump github.com/google/go-github/v47 from 47.0.0 to 47.1.0 in /scrape #​2473
    • Bump codecov/codecov-action from 3.1.0 to 3.1.1 #​2472
    • Add SecretScanningPushProtection field to SecurityAndAnalysis struct #​2476
    • Bump styfle/cancel-workflow-action from 0.10.0 to 0.10.1 #​2484
    • Update ProtectionChanges to contain the remaining possible return values #​2486
    • Rename 'whitelist' to 'allowlist' in oauth class selectors #​2488
    • Add support for User SSH signing keys #​2482
    • Fix use GITHUB_OUTPUT from deprecated set-output #​2492
    • Add enterprise list runner applications download #​2496
    • Create custom role APIs #​2494
    • Bump styfle/cancel-workflow-action from 0.10.1 to 0.11.0 #​2498

    v47.1.0

    Compare Source

    This minor release includes these changes:

    • Update scrape dependency to v47 (#​2442)
    • Additional options name, default_branch_only for create a fork (#​2448)
    • List Secret Scan Alerts with index-based pagination (#​2446)
    • Add alphanumeric param to AutolinkOptions (#​2450)
    • Remove GenerateReleaseNotes from RepositoriesService.EditRelease (#​2445)
    • Add org permissions to InstallationPermissions (#​2452)
    • Escape special characters in ref name for update ref (#​2454)
    • Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 (#​2457)
    • Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 in /scrape (#​2458)
    • Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 in /update-urls (#​2459)
    • Fix unhandled error in actions_artifacts.go (#​2460)
    • Add explicit error return (#​2469)
    • Add org struct fields (#​2471)
    • Always send 'checks' field when creating branch protection (#​2468)

    v47.0.0

    Compare Source

    This release contains the following breaking API changes:

    • Add ListOptions for listing user migrations #​2417

    and the following additional changes:

    • Update scrape dependency to v46 #​2438
    • Fix go.mod for example #​2439
    • Add hooks support for WebSub (formerly PubSubHubbub) protocol #​2397
    • Add parameters to configure merge commit messages to repo #​2440

    v46.0.0

    Compare Source

    This release contains the following breaking API changes:

    • Support PagesSource as struct for update pages API #​2407
    • Change DependabotSecretsSelectedRepoIDs to []string #​2401

    and the following additional changes:

    • Add state_reason to IssuesService.Edit #​2395
    • Bump github.com/google/go-github/v45 from 45.1.0 to 45.2.0 in /scrape #​2399
    • Bump styfle/cancel-workflow-action from 0.9.1 to 0.10.0 #​2398
    • Add RunAttempt field to AuditEntry #​2411
    • feat: add GetCodeownersErrors to RepositoriesService (#​2405) #​2408
    • Remove omitempty from Content field of RepositoryContentFileOptions #​2430
    • Unable to create empty file #​2427
    • Add BypassPullRequestAllowances field #​2432
    • Add 'pending_deployments' endpoint support (#​2421) #​2422
    • Add LFS control #​2429
    • Add tag protection #​2424
    • Add TextMatch custom header to other search type custom headers #​2388
    • Add support for parsing code_scanning_alerts in webhooks #​2392
    • Include the version of go-github in User-Agent headers sent to the GitHub API #​2403
    • chore: Update README with additional auth use case #​2434
    • feature: adding api and web to meta api endpoint. #​2435

    v45.2.0

    Compare Source

    This minor release includes these changes:

    • Add Actor field to WorkflowRun (#​2381)
    • Bump github.com/google/go-github/v45 from 45.0.0 to 45.1.0 in /scrape (#​2382)
    • docs fix: correct a comment (#​2383)
    • Add missing common event fields (#​2384)
    • Add RoleName field to User struct (#​2386)
    • Add support for repo setting use_squash_pr_title_as_default (#​2390)
    • Add MembersCanForkPrivateRepositories field to Organization struct (#​2389)

    v45.1.0

    Compare Source

    This minor release includes these changes:

    • Update scrape dependency to v45 (#​2375)
    • Include RoleName field in Repository struct (#​2379)

    v45.0.0

    Compare Source

    This release contains the following breaking API changes:

    • Support query parameter visible_to_repository in ListOrganizationRunnerGroups (#​2329)

    and the following additional changes:

    • Add missing Sender field in RepositoryVulnerabilityAlertEvent (#​2365)
    • Add support to sync a fork branch with the upstream repository. (#​2337)
    • Add fields to RateLimits struct (#​2340)
    • Add ReRequestCheckRun (#​2358)
    • Add 'repository_import' event (#​2364)
    • Bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 (#​2366)
    • Bump github.com/google/go-github/v44 from 44.0.0 to 44.1.0 in /scrape (#​2367)
    • update-urls: update sidebar child articles links (#​2369)
    • fix: correct endpoints for custom roles (#​2370)
    • Update URLs (#​2373)

    v44.1.0

    Compare Source

    This minor release contains the following changes:

    • Update scrape dependency to v44 (#​2352)
    • Add a "Webhooks" section to the README.md (#​2353)
    • Add support for list Code Scan Alerts by Org (#​2346)
    • Bump github.com/google/go-cmp from 0.5.7 to 0.5.8 in /update-urls (#​2354)
    • Bump github.com/google/go-cmp from 0.5.7 to 0.5.8 (#​2355)
    • Bump github.com/google/go-cmp from 0.5.7 to 0.5.8 in /scrape (#​2356)
    • Add RerunFailedJobsByID and RerunJobByID (#​2345)

    v44.0.0

    Compare Source

    This release contains the following breaking API changes:

    and the following additional changes:

    • Update scrape dependency to v43 #​2308
    • Add repo webhook redelivery method #​2305
    • Add security-advisory and code-scanning-alert event types #​2311
    • Bump actions/checkout from 2 to 3 #​2314
    • Move examples dir into its own Go module #​2310
    • Add AllowUpdateBranch to the Repository struct #​2313
    • Bump actions/cache from 2 to 3 #​2316
    • Add support for setting actions permissions on a repository #​2315
    • Remove code duplication #​2321
    • Improve stringify test coverage #​2320
    • Clean up method return consistency #​2318
    • Make auto-generated files read-only #​2323
    • Update workflow to use Go 1.18 and Go 1.17 #​2322
    • Add support for the pull request review thread event #​2326
    • Bump actions/setup-go from 2 to 3 #​2332
    • Bump codecov/codecov-action from 2.1.0 to 3 #​2331
    • Add create repository with an initial commit with empty README #​2333
    • Restrict permissions for GitHub actions #​2334
    • Add support to list custom roles for organizations #​2336
    • Bump codecov/codecov-action from 3.0.0 to 3.1.0 #​2343
    • example: update go modules for some examples bbfb105
    • fix gofmt issue in newreposecretwithxcrypto 97b5d95
    • run golangci-lint on all modules c071ded

    v43.0.0

    Compare Source

    This release contains the following breaking API changes:

    • Add list options support for environments #​2258
    • GitHub Actions Billing returns total_paid_minutes_used as float64 #​2284
    • Fix RequireCodeOwnerReviews and RequiredApprovingReviewCount fields with omitempty #​2289

    and the following additional changes:

    • Update scrape dependency to v42 #​2254
    • Add AllowForking to Repository struct #​2256
    • Bump github.com/bradleyfalzon/ghinstallation/v2 from 2.0.3 to 2.0.4 #​2259
    • Update docs for CreateWorkflowDispatchEventRequest.Ref #​2263
    • Add support for additional PagesUpdate parameters #​2266
    • Bump github.com/google/go-cmp from 0.5.6 to 0.5.7 #​2269
    • Bump github.com/google/go-cmp from 0.5.6 to 0.5.7 in /update-urls #​2270
    • Bump github.com/google/go-cmp from 0.5.6 to 0.5.7 in /scrape #​2271
    • ci: bump golangci-lint version #​2272
    • Add checks field to RequiredStatusChecks #​2276
    • Add Repo and Org fields to DeployKeyEvent #​2280
    • Add support for the secret scanning API #​2281
    • Add SecretScanningAlertEvent Webhook #​2282
    • Add GetWorkflowRunAttempt #​2290
    • Add APIMeta fields related to SSH keys #​2293
    • Don't update the ratelimits if we got a response from a cache #​2273
    • Revert "Remove graduated GitHub v3 API preview header" #​2301
    • Bump golangci/golangci-lint-action from 2.5.2 to 3.1.0 #​2303

    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

  • Update module golang.org/x/oauth2 to v0.3.0

    Update module golang.org/x/oauth2 to v0.3.0

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | golang.org/x/oauth2 | require | minor | v0.2.0 -> v0.3.0 |


    Release Notes

    golang/oauth2

    v0.3.0

    Compare Source


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Enabled.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

  • Update docker/setup-qemu-action action to v2

    Update docker/setup-qemu-action action to v2

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | docker/setup-qemu-action | action | major | v1 -> v2 |


    Release Notes

    docker/setup-qemu-action

    v2

    Compare Source


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

  • Update docker/setup-buildx-action action to v2

    Update docker/setup-buildx-action action to v2

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | docker/setup-buildx-action | action | major | v1 -> v2 |


    Release Notes

    docker/setup-buildx-action

    v2

    Compare Source


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

  • Update docker/login-action action to v2

    Update docker/login-action action to v2

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | docker/login-action | action | major | v1 -> v2 |


    Release Notes

    docker/login-action

    v2

    Compare Source


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

  • Update docker/build-push-action action to v3

    Update docker/build-push-action action to v3

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | docker/build-push-action | action | major | v2 -> v3 |


    Release Notes

    docker/build-push-action

    v3

    Compare Source


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

  • Update actions/checkout action to v3

    Update actions/checkout action to v3

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | actions/checkout | action | major | v2 -> v3 |


    Release Notes

    actions/checkout

    v3

    Compare Source


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

  • Update module golang.org/x/oauth2 to v0.2.0

    Update module golang.org/x/oauth2 to v0.2.0

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | golang.org/x/oauth2 | require | minor | v0.0.0-20211104180415-d3ed0bb246c8 -> v0.2.0 |


    Release Notes

    golang/oauth2

    v0.2.0

    Compare Source


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Enabled.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

  • Update module go to 1.19

    Update module go to 1.19

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | go (source) | golang | minor | 1.17 -> 1.19 |


    Release Notes

    golang/go

    v1.19.3

    v1.19.2

    v1.19.1

    v1.19.0

    v1.18.8

    v1.18.7

    v1.18.6

    v1.18.5

    v1.18.4

    v1.18.3

    v1.18.2

    v1.18.1

    v1.18.0


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Enabled.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

  • Update module github.com/gofiber/fiber/v2 to v2.40.1

    Update module github.com/gofiber/fiber/v2 to v2.40.1

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | github.com/gofiber/fiber/v2 | require | minor | v2.26.0 -> v2.40.1 |


    Release Notes

    gofiber/fiber

    v2.40.1

    Compare Source

    🐛 Fixes

    • Fix mounting when mount prefix is / (#​2227)

    Full Changelog: https://github.com/gofiber/fiber/compare/v2.40.0...v2.40.1

    v2.40.0

    Compare Source

    ❗ BreakingChange

    • Bump github.com/valyala/fasthttp from 1.40.0 to 1.41.0 (#​2171)
    • Deprecate: go 1.14 & go 1.15 support deprecation (#​2172)

    Due to the fact that fasthttp, which fiber is based on in release 1.41.0, does not support go versions 1.14 & 1.15 anymore, we had to remove them from our package as well.

    🚀 New

    • Register custom methods (#​2107) https://docs.gofiber.io/api/fiber#config
    // now you can add your own custom methods
    app := fiber.New(fiber.Config{
        RequestMethods: append(fiber.DefaultMethods, "LOAD", "TEST"),
    })
    
    app.Add("LOAD", "/hello", func(c *fiber.Ctx) error {
        return c.SendString("Hello, World 👋!")
    })
    
    • Add multiple-prefix support to app.Use() and group.Use() (#​2205) https://docs.gofiber.io/api/app#route-handlers - More like Express
    // declaration of multiple paths for the ".Use" method as in express is now possible
    app.Use([]string{"/john", "/doe"}, func(c *Ctx) error {
        return c.SendString(c.Path())
    })
    
    • Allow optional params with route constraints (#​2179) https://docs.gofiber.io/guide/routing#constraints
    app.Get("/:userId<int>?", func(c *fiber.Ctx) error {
        return c.SendString(c.Params("userId"))
    })
    // curl -X GET http://localhost:3000/42
    // 42
    
    // curl -X GET http://localhost:3000/
    //
    
    • Improve mounting behavior (#​2120) https://docs.gofiber.io/api/app#mount https://docs.gofiber.io/api/app#mountpath
    app := fiber.New()
    micro := fiber.New()
    // order when registering the mounted apps no longer plays a role
    app.Mount("/john", micro)
    // before there was problem when after mounting routes were registered
    micro.Get("/doe", func(c *fiber.Ctx) error {
        return c.SendStatus(fiber.StatusOK)
    })
    
    // output of the mount path possible
    micro.MountPath()   // "/john"
    
    • Middleware/pprof: Add URL prefix to pprof middleware (#​2194) https://docs.gofiber.io/api/middleware/pprof
    // In systems where you have multiple ingress endpoints, it is common to add a URL prefix, like so:
    app.Use(pprof.New(pprof.Config{Prefix: "/endpoint-prefix"}))
    
    • Middleware/logger: Add customTags in Config (#​2188, #​2224, #​2225) https://docs.gofiber.io/api/middleware/logger#add-custom-tags
    app.Use(logger.New(logger.Config{
        Format: "[${time}] ${status} - ${latency} ${method} ${randomNumber} ${path}\n",
        CustomTags: map[string]logger.LogFunc{
            // possibility to adapt or overwrite existing tags
            logger.TagMethod: func(output logger.Buffer, c *fiber.Ctx, data *logger.Data, extraParam string) (int, error) {
                return output.WriteString(utils.ToLower(c.Method()))
            },
            // own tags can be registered
            "randomNumber": func(output logger.Buffer, c *fiber.Ctx, data *logger.Data, extraParam string) (int, error) {
                return output.WriteString(strconv.FormatInt(rand.Int63n(100), 10))
            },
        },
    }))
    // [17:15:17] 200 -      0s get 10 /test
    // [17:15:17] 200 -      0s get 51 /test
    
    • Middleware/logger: Add callback function (#​2219) https://docs.gofiber.io/api/middleware/logger#callback-after-log-is-written
    app.Use(logger.New(logger.Config{
        // is triggered when the handlers has been processed
        Done: func(c *fiber.Ctx, logString []byte) {
            // allows saving the logging string to other sources
            if c.Response().StatusCode() != fiber.StatusOK {
                reporter.SendToSlack(logString) 
            }
        },
    })) 
    

    🧹 Updates

    • Track Configured Values (#​2221)
    • Ctx: simplify Protocol() (#​2217)
    • Ctx: make Secure() also report whether a secure connection was established to a trusted proxy (#​2215)
    • Ctx: update Locals function to accept interface{} key (#​2144)
    • Utils: reduce diff to external utils package (#​2206)
    • Utils: Update HTTP status codes (#​2203)
    • Utils: Replace UnsafeBytes util with suggested way (#​2204)
    • Fix and optimize memory storage (#​2207)
    • Leverage runtime/debug to print the full stack trace info (#​2183)
    • Ci: add check-latest param in vulncheck.yml (#​2197)
    • Ci: replace snyk with govulncheck (#​2178)

    🐛 Fixes

    • Fix naming of routes inside groups (#​2199)

    📚 Documentation

    • Update list of third-party library licenses (#​2211)
    • Update README_zh-CN.md (#​2186)
    • Add korean translate in Installation section (#​2213)
    • Comment typo (#​2173)
    • Cache readme and docs update (#​2169)

    Full Changelog: https://github.com/gofiber/fiber/compare/v2.39.0...v2.40.0

    Thank you @​Skyenought, @​calebcase, @​efectn, @​gandaldf, @​gmlewis, @​jamestiotio, @​leonklingele, @​li-jin-gou, @​marcmartin13, @​panjf2000, @​pjebs, @​rafimuhammad01 and @​thor-son for making this update possible.

    v2.39.0

    Compare Source

    🚀 New

    • Middleware/cache: Cache-Control: no-cache/no-store (#​2159) https://docs.gofiber.io/api/middleware/cache
    • Middleware/proxy: support to set client (#​2117) https://docs.gofiber.io/api/middleware/proxy
    • Add GetRoutes (#​2112) https://docs.gofiber.io/api/app#getroutes
    • Static: add CacheControl to Static config (#​2140) https://docs.gofiber.io/api/app#static

    🧹 Updates

    • Improve memory storage (#​2162)
    • Make IP validation 2x faster (#​2158)
    • Switch to text/javascript as per RFC9239 (#​2146)
    • Test: add nil jsonDecoder test case (#​2139)
    • Utils: update mime extensions (#​2133)

    🐛 Fixes

    • Unhandled errors and update code comments to help the IDEs (#​2128)
    • Multi-byte AppName displays confusion (#​2148)
    • Query string parameter pass to fiber context (#​2164)
    • Handle multiple X-Forwarded header (#​2154)
    • Middleware/proxy - solve data race in middleware/proxy's test (#​2153)
    • Middleware/session - Reset d.Data instead of deleting keys in it (#​2156)
    • Agent: agent.Struct fails to unmarshal response since 2.33.0 #​2134 (#​2137)

    📚 Documentation

    Full Changelog: https://github.com/gofiber/fiber/compare/v2.38.1...v2.39.0

    Thank you @​Kamandlou, @​Yureien, @​efectn, @​floxydio, @​fufuok, @​joseroberto, @​leonklingele, @​li-jin-gou, @​marcmartin13, @​nathanfaucett, @​sadfun, @​supakornbabe, @​unickorn and @​xbt573 for making this update possible.

    v2.38.1

    Compare Source

    🚀 New

    • Middleware/cache: Add methods configuration (#​2081) https://docs.gofiber.io/api/middleware/cache

    🧹 Updates

    • Middleware/timeout: Add timeout context middleware (#​2090) https://docs.gofiber.io/api/middleware/timeout
    • Fix linter errors for tests (#​2102)
    • Upgrade go version to 1.19 in go.mod (#​2103)
    • Remove redundant parentheses and update comments (#​2082)
    • Update code comment for helping IDEs (#​2095)
    • Update code comments for helping IDEs and fix unhandled error in test (#​2099)

    🐛 Fixes

    • Test: fix Test_Ctx_ParamParser route param (#​2119)
    • SchemaPasers: Same struct parse param failed (#​2101)
    • Fix ctx.SendStream(io.Reader) huge memory usage (#​2091)

    📚 Documentation

    Full Changelog: https://github.com/gofiber/fiber/compare/v2.37.1...v2.38.1

    Thank you @​Kamandlou, @​dayuoba, @​efectn, @​hakankutluay, @​li-jin-gou, @​nnnkkk7 and @​trim21 for making this update possible.

    v2.38.0

    Compare Source

    v2.37.1

    Compare Source

    🧹 Updates

    • Bump github.com/valyala/fasthttp from 1.39.0 to 1.40.0 (#​2075)
    • Unhandled errors in app_test.go (#​2071)
    • Unhandled error in hooks test (#​2070)

    🐛 Fixes

    • Constraints when to use multiple params (#​2077)
    • Unhandle in strictmode (#​2055)
    • EnvVar middleware parses base64 incorrectly (#​2069)

    Full Changelog: https://github.com/gofiber/fiber/compare/v2.37.0...v2.37.1

    Thank you @​Kamandlou, @​efectn, @​fufuok and @​wangjq4214 for making this update possible.

    v2.37.0

    Compare Source

    🚀 New

    • Route constraints (#​1998) https://docs.gofiber.io/guide/routing#constraints
    • Add envvar expose middleware (#​2054) https://docs.gofiber.io/api/middleware/envvar
    • Add XML to context. (#​2003) https://docs.gofiber.io/api/ctx#xml https://docs.gofiber.io/api/fiber - XMLEncoder
    • Middleware/csrf custom extractor (#​2052) https://docs.gofiber.io/api/middleware/csrf
    • Tls.ClientHelloInfo in Ctx (#​2011) https://docs.gofiber.io/api/ctx#clienthelloinfo

    🧹 Updates

    • Remove prefork support from custom listeners (#​2060)
    • Make IP() and IPs() more reliable (#​2020)
    • Bump github.com/valyala/fasthttp from 1.38.0 to 1.39.0 (#​2017)
    • Add go 1.19 to tests (#​1994)
    • Add black colors to default overriding function (#​1993)
    🧹 Cleanup
    • Unhandled errors in helpers_test.go (#​2058)
    • Unhandled error in common_linux.go (#​2056)
    • Handle file error on closing (#​2050)
    • Unhandled error in cache package tests (#​2049)
    • Unhandled errors and remove unused parameter (#​2061)
    • Unhandled errors in tests (#​2048)

    🐛 Fixes

    • Fix csrf middleware behavior with header key lookup (#​2063)
    • Fix regex constraints (#​2059)
    • Fix route constraints problems (#​2033)
    • Make tlsHandler public to use it with Listener (#​2034)
    • Case sensitivity for parameters in GetRouteURL (#​2010)
    • Client: fix Agent use after free (#​2037)
    • Middleware/monitor - fix ignore custom settings (#​2024)
    • Fix proxy overwrote the wrong scheme (#​2004)
    • Fix infinitely app.Test (#​1997)
    • Fix gopsutil when compiling for bsd (#​1995)

    📚 Documentation

    Thank you @​efectn, @​Maxi-Mega, @​Trim21, @​GalvinGao, @​Kamandlou, @​gbolo, @​micziz, @​mstrYoda, @​sixcolors, @​solrac97gr, @​thomasdseao, @​tusharxoxoxo and @​wangjq4214 for making this update possible.

    v2.36.0

    Compare Source

    🚀 New

    • Add OnPrefork Hooks so you can get the PID of the child process. (#​1974) https://docs.gofiber.io/guide/hooks#onfork
    • Customizable colors (#​1977) https://docs.gofiber.io/api/fiber#config "ColorScheme"

    🐛 Fixes

    • Padding around app name in startup message when containing non-ascii characters (#​1987)
    • Closes #​1931 "🤗 How to get path param before a custom verb?" (#​1983)

    📚 Documentation

    • Translate to Indonesian Awesome List (#​1980)

    Thank you @​Maxi-Mega, @​efectn, @​radenrishwan and @​tohutohu for making this update possible.

    v2.35.0

    Compare Source

    🚀 New

    • Add params parse (#​1964) https://docs.gofiber.io/api/ctx#paramsparser
    • middleware/monitor: Add some parameters to config for supporting #​1936 (#​1956) https://docs.gofiber.io/api/middleware/monitor

    🧹 Updates

    • Binds the param string to a struct use params tag (#​1968)
    • Client: Remove beta warning (#​1951)
    • Bump github.com/valyala/fasthttp from 1.37.0 to 1.38.0 (#​1948)
    • Delete a blank line (#​1961)
    • Actions for MacOS (#​1911)

    🐛 Fixes

    • middleware/logger: TagLatency doesn't have standard format between modes (#​1943)
    • middleware/session: fix update cookie. (#​1960)

    📚 Documentation

    • Refactor - default error handler & example (#​1941)
    • New issue templates (#​1945)
    • Translate some lines to turkish (#​1954)
    • Update README_fa.md (#​1953)
    • Flat-square style for readme badges (#​1949)

    Thank you @​efectn, @​hamidreza01, @​ly020044, @​marcelogamba, @​nnnkkk7, @​olongfen and @​taheri24 for making this update possible.

    v2.34.1

    Compare Source

    🧹 Updates

    • Spliting dump request to add Query (#​1909)
    • Refactor favicon middleware, avoid magic numbers. (#​1919)

    🐛 Fixes

    • Fix GetLocationFromRoute bug for optional params (#​1922)

    📚 Documentation

    • Fix typo for paramsInt function (#​1913)

    Thank you @​ancogamer, @​remotenode, @​sujit-baniya and @​vikpe for making this update possible.

    v2.34.0

    Compare Source

    🚀 New

    • Add max size to cache (#​1892) https://docs.gofiber.io/api/middleware/cache
    • Add refresh period to monitor mw (#​1898) https://docs.gofiber.io/api/middleware/monitor
    • Add page title to monitor mw (#​1893) https://docs.gofiber.io/api/middleware/monitor

    🧹 Updates

    • Bump github.com/valyala/fasthttp from 1.35.0 to 1.37.0 (#​1882)
    • z/OS Compatibility (#​1904)

    Thank you @​dranikpg, @​jfcg and @​philippeleite for making this update possible.

    v2.33.0

    Compare Source

    🚀 New

    🧹 Updates

    • Reduce duplicate in Get method (#​1880)
    • Cannot process array of values in application/x-www-form-urlencoded request (#​1873)

    🐛 Fixes

    • Fix expiration time in cache middleware (#​1881)

    📚 Documentation

    Thank you @​ChandanChainani, @​TomRomeo, @​alfuhigi, @​ankush, @​breakbuidl, @​naveensrinivasan, @​webdevium and @​witer33 for making this update possible.

    v2.32.0

    Compare Source

    🚀 New

    • Support adding queries to RedirectToRoute (#​1858) https://docs.gofiber.io/api/ctx#redirecttoroute
    • Add AllParams method (#​1853) https://docs.gofiber.io/api/ctx#allparams
    • Add context Writef feature function (#​1841) https://docs.gofiber.io/api/ctx#writef

    🧹 Updates

    • Use encoding/json (#​1851) https://docs.gofiber.io/guide/faster-fiber
    • Bump github.com/valyala/fasthttp from 1.34.0 to 1.35.0 (#​1849)
    • RFC: Return an instance of *fiber.Error when no handler found (#​1847) https://docs.gofiber.io/extra/faq#how-do-i-handle-custom-404-responses

    🐛 Fixes

    📚 Documentation

    Thank you @​asyslinux, @​codemicro, @​efectn and @​jfcg for making this update possible.

    v2.31.0

    Compare Source

    🚀 New

    • Allow parsing of square bracket query param (#​1818)
    • Change name to get URL from (#​1831) https://docs.gofiber.io/api/ctx#getrouteurl

    🧹 Updates

    Thank you @​jfcg, @​ninadingole and @​sujit-baniya for making this update possible.

    v2.30.0

    Compare Source

    🚀 New

    • Add initial support for hooks (#​1777) https://docs.gofiber.io/guide/hooks

    🧹 Updates

    • Add go1.18 to tests and docs (#​1819)

    🐛 Fixes

    • Limiter middleware db connection (#​1813)

    Thank you @​efectn and @​qracer for making this update possible.

    v2.29.0

    Compare Source

    🚀 New

    • Cache middleware: Store e2e headers. (#​1807) https://docs.gofiber.io/api/middleware/cache#config

    🧹 Updates

    • Bump github.com/valyala/fasthttp from 1.33.0 to 1.34.0 (#​1811)
    • Bump goccy/go-json to v0.9.5 (#​1808)
    • Optimize App.buildTree() (#​1809)

    🐛 Fixes

    📚 Documentation

    • Update some translation (#​1815)
    • Cache middleware: Fix comment typo in manager.go. (#​1804)
    • Fix goreportcard & pkg.go.dev links in READMEs (#​1798)
    • Update turkish readme (#​1800)
    • Update readme - cleanup (#​1794)

    Thank you @​FlameMida, @​efectn, @​jfcg and @​thylong for making this update possible.

    v2.28.0

    Compare Source

    🚀 New

    • Update TLS Config & Add ListenMutualTLS (#​1761) https://docs.gofiber.io/api/app#listentls https://docs.gofiber.io/api/app#listenmutualtls

    🐛 Fixes

    • Restore Original URL of the context after changing it (#​1788)
    • Fix for "Why net.Addr is fiber.testAddr, not *net.TCPAddr?🤗 #​1574" (#​1784)
    • utils.TrimBytes should trim all content (#​1779)

    📚 Documentation

    • Inconsistents of storage (#​1787)
    • Fixing a mistake of the comment in the limiter package (#​1790)
    • Translate some words to bahasa(ID) (#​1780)
    • Add SSE example (#​1776)

    Thank you @​efectn, @​fufuok, @​geet, @​qracer and @​rendiputra for making this update possible.

    v2.27.0

    Compare Source

    🚀 New

    • Bind support for render (#​1754) https://docs.gofiber.io/api/ctx#bind
    • Add RedirectToRoute and RedirectBack (#​1750) https://docs.gofiber.io/api/ctx#redirecttoroute https://docs.gofiber.io/api/ctx#redirectback
    • Session Only Cookies (#​1752) https://docs.gofiber.io/api/ctx#cookie https://docs.gofiber.io/api/middleware/csrf
    • Add ability to restart route handling (#​1739) https://docs.gofiber.io/api/ctx#restartrouting
    • Add direct download option when serving static files (#​1729) https://docs.gofiber.io/api/app#static
    • SaveFile to default External Storage (#​1557) https://docs.gofiber.io/api/ctx#savefiletostorage

    🔙 Reverted ⚠️

    • Backwards incompatible change to fiber.Error (#​1768) ⚠️ We have decided to remove the fiber.Errors method and set the fiber.Error to the state before 2.25.0 due to the not downward compatible changes added in the last versions

    🧹 Updates

    • Bump: goccy/go-json to 0.9.4 (#​1771)
    • Change default gc interval of internal/memory (#​1756)
    • middleware/limiter: Fix file names (#​1747) (#​1748)
    • Bump github.com/valyala/fasthttp from 1.32.0 to 1.33.0 (#​1744)

    🐛 Fixes

    📚 Documentation

    Thank you @​Aliqyan, @​Lian1230, @​NorbertHauriel, @​Trim21, @​abhi12299, @​apoq, @​balcieren, @​bigflood, @​efectn, @​liaohongxing, @​mtneug and @​sujit-baniya for making this update possible.


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Enabled.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

  • Dependency Dashboard

    Dependency Dashboard

    This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.


    ⚠ Dependency Lookup Warnings ⚠

    • Renovate failed to look up the following dependencies: golang.org/x/oauth2.

    Files affected: go.mod


    Ignored or Blocked

    These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

    Detected dependencies

    docker-compose
    docker-compose.yml
    dockerfile
    Dockerfile
    github-actions
    .github/workflows/build-docker.yml
    • actions/checkout v3
    • docker/setup-qemu-action v2
    • docker/setup-buildx-action v2
    • docker/login-action v2
    • docker/build-push-action v3
    .github/workflows/build.yml
    • actions/checkout v3
    • actions/setup-go v3
    gomod
    go.mod
    • go 1.19
    • github.com/gofiber/fiber/v2 v2.41.0
    • github.com/google/go-github/v42 v42.0.0
    • github.com/google/go-github/v48 v48.2.0
    • golang.org/x/oauth2 v0.3.0

    • [ ] Check this box to trigger a request for Renovate to run again on this repository
Fetch input data for Advent of Code challenges.

Import the inputs for Advent of Code challenges straight into your code. Fetched data is cached by default. Usage Log into Advent of Code from your br

Oct 12, 2022
Fetch the Spotify friend activity via Go

spotify-buddylist Fetch the Spotify friend activity via Go Overview The official Spotify API doesn't provide a way to fetch the friend activity feed t

Jan 2, 2022
Program to fetch public IP ranges of AWS, Azure and Google

cloudip This program will retrieve a list of all public IP address ranges (v4 or v6) for the three major cloud vendors: Amazon AWS, Microsoft Azure an

Aug 21, 2022
support multi autosolve instances for AYCD

AYCD AutoSolve Go Client Client for connecting to the AYCD AutoSolve network

Jun 26, 2022
AWS blended instances advisor

API Contents Requests Requests should be formatted in the following way. { "name": string, "minMemory": number, "maxVcpu": number, "minInstances"

Jan 7, 2022
Golang client for ethereum json rpc api

Ethrpc Golang client for ethereum JSON RPC API. web3_clientVersion web3_sha3 net_version net_peerCount net_listening eth_protocolVersion eth_syncing e

Jan 7, 2023
Light JSON API for storing user ratings of NASA's Astronomy Picture of the Day (APOD).
Light JSON API for storing user ratings of NASA's Astronomy Picture of the Day (APOD).

nasa-apod-api-go Light JSON API for storing user ratings of NASA's Astronomy Picture of the Day (APOD). To run this server you must have access to a N

Oct 26, 2021
An API for generating JSON based STIX objects and TAXII messages with the Go

libstix2 an API for generating JSON based STIX objects and TAXII messages with the Go (Golang) programming language. Please see the examples directory and the README files in each of the sub packages for more information. This API is built to support STIX 2.x and TAXII 2.x.

Dec 21, 2021
A tiny JSON rule based API Mocker

API Mocker A tiny JSON rule based API mocker. The API Mocker intends to simulate an API behavior, supported by a group of rules written as a JSON file

Sep 11, 2022
I try to make a Restfull-API with golang and interaction with json.file

{ "users": [ { "name": "Elliot", "type": "Reader", "age": 23, "social": { "facebook": "https://facebook.com",

Jan 5, 2022
Convert IBM stanza-style files to json and publish as an API

stanza_to_json Convert IBM stanza-style files to json and publish as an API Background IBM Stanza files have been extended to be used in other ways, b

Feb 2, 2022
JSON API for a random meme scraped from reddit.

JSON API for a random meme scraped from reddit.

Jan 2, 2023
Go library to interface with Solana JSON RPC and WebSocket interfaces
Go library to interface with Solana JSON RPC and WebSocket interfaces

Solana SDK library for Go Go library to interface with Solana JSON RPC and WebSocket interfaces. Clients for Solana native programs, Solana Program Li

Mar 2, 2022
Search and output the value of JSON by it's path.

golang-cli Get the value of a JSON element via it's path name. Usage ======= jutil ======= Usage: jutil [-p <path>] [-v] Options: -p string

Dec 19, 2021
Simple-Weather-API - Simple weather api app created using golang and Open Weather API key
Simple-Weather-API - Simple weather api app created using golang and Open Weather API key

Simple Weather API Simple weather api app created using golang and Open Weather

Feb 6, 2022
Go library for accessing the MyAnimeList API: http://myanimelist.net/modules.php?go=api

go-myanimelist go-myanimelist is a Go client library for accessing the MyAnimeList API. Project Status The MyAnimeList API has been stable for years a

Sep 28, 2022
Go client for the YNAB API. Unofficial. It covers 100% of the resources made available by the YNAB API.

YNAB API Go Library This is an UNOFFICIAL Go client for the YNAB API. It covers 100% of the resources made available by the YNAB API. Installation go

Oct 6, 2022
An API client for the Notion API implemented in Golang

An API client for the Notion API implemented in Golang

Dec 30, 2022
lambda-go-api-proxy makes it easy to port APIs written with Go frameworks such as Gin to AWS Lambda and Amazon API Gateway.

aws-lambda-go-api-proxy makes it easy to run Golang APIs written with frameworks such as Gin with AWS Lambda and Amazon API Gateway.

Jan 6, 2023