Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jarcoal/httpmock
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.3.1
Choose a base ref
...
head repository: jarcoal/httpmock
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.4.0
Choose a head ref
  • 16 commits
  • 18 files changed
  • 6 contributors

Commits on Aug 17, 2023

  1. docs: typo

    maxatome authored Aug 17, 2023
    Configuration menu
    Copy the full SHA
    39ed85b View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. chore: switch CI to go 1.22 & golangci-lint 1.55.2

    Signed-off-by: Maxime Soulé <btik-git@scoubidou.com>
    maxatome committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    c72d04a View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

  1. style: // nolint: → //nolint:

    Signed-off-by: Maxime Soulé <btik-git@scoubidou.com>
    maxatome committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    e224b26 View commit details
    Browse the repository at this point in the history
  2. chore: switch CI to golangci-lint 1.57.2

    Signed-off-by: Maxime Soulé <btik-git@scoubidou.com>
    maxatome committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    ebea747 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2024

  1. Configuration menu
    Copy the full SHA
    d95b1ca View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2024

  1. Update transport.go

    remove unused matcher variable in checkMethod function
    battlecook authored and maxatome committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    0a14bd7 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

  1. chore: switch CI to go 1.23 & golangci-lint 1.60.1

    Signed-off-by: Maxime Soulé <btik-git@scoubidou.com>
    maxatome committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    7b7821f View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. chore: fix CI tip build + switch to golangci-lint 1.61.0

    Signed-off-by: Maxime Soulé <btik-git@scoubidou.com>
    maxatome committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    6eb813e View commit details
    Browse the repository at this point in the history
  2. replace defer with t.Cleanup

    alvii147 authored and maxatome committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    8705bb3 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2024

  1. Make http.Response.Status respect RFC 2616, like in Go stdlib.

    Although RFC 2616 has been superseded with RFC 9110, some client implementation still rely on certain behavious regarding the Status-Line.
    
    Now, as httpmock currently implements it, per [RFC 9110#6.2-1](https://www.rfc-editor.org/rfc/rfc9110.html#section-6.2-1), the "reason phrase" is actually optional, and you need only to include the status code.
    
    Back in the days of [RFC 2616](https://www.rfc-editor.org/rfc/rfc2616.html#section-6.1), per #6.1, the Status-Line had to contain both the status code (eg. 200) and its textual representation (eg. OK).
    
    Change code is directly stolen from the Go standard library.
    
    Signed-off-by: Cléo Rebert <cleo.rebert@gmail.com>
    constantoine authored and maxatome committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    1ebd59a View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2024

  1. docs: update resty example (#160)

    * docs: update resty example
    
    Fixes issue #150. Switches the example to use resty/v2, which no longer
    supports resty.DefaultClient. It additionally uses a json responder
    instead of a text responder to set the content-type header correctly, as
    referenced in #150 (comment)
    tymcgee authored Dec 27, 2024
    Configuration menu
    Copy the full SHA
    ee13561 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2025

  1. feat: enhance Activate and add DeactivateNonDefault functions (#161)

    Now requires go 1.16, to be able to use testing.T.Cleanup.
    
    Signed-off-by: Maxime Soulé <btik-git@scoubidou.com>
    maxatome authored Jan 17, 2025
    Configuration menu
    Copy the full SHA
    2225990 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2025

  1. docs: fix README build status badge

    + add FUNDING.yml file
    
    Signed-off-by: Maxime Soulé <btik-git@scoubidou.com>
    maxatome committed Jan 19, 2025
    Configuration menu
    Copy the full SHA
    8cdfbf1 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2025

  1. test: use golangci-lint v2.0.2

    Signed-off-by: Maxime Soulé <btik-git@scoubidou.com>
    maxatome committed Apr 5, 2025
    Configuration menu
    Copy the full SHA
    dc21346 View commit details
    Browse the repository at this point in the history
  2. docs: README typo

    Signed-off-by: Maxime Soulé <btik-git@scoubidou.com>
    maxatome committed Apr 5, 2025
    Configuration menu
    Copy the full SHA
    fad35ec View commit details
    Browse the repository at this point in the history
  3. docs: clarify ConnectionFailure doc

    Signed-off-by: Maxime Soulé <btik-git@scoubidou.com>
    maxatome committed Apr 5, 2025
    Configuration menu
    Copy the full SHA
    7d2a02f View commit details
    Browse the repository at this point in the history
Loading