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: miekg/dns
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.1.56
Choose a base ref
...
head repository: miekg/dns
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.1.57
Choose a head ref
  • 18 commits
  • 22 files changed
  • 10 contributors

Commits on Sep 15, 2023

  1. up go version for testing (#1482)

    Signed-off-by: Miek Gieben <[email protected]>
    miekg authored Sep 15, 2023
    Configuration menu
    Copy the full SHA
    0f1051c View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2023

  1. Enable dependabot (#1483)

    Update Go module dependencies monthly.
    
    Signed-off-by: SuperQ <[email protected]>
    SuperQ authored Sep 19, 2023
    Configuration menu
    Copy the full SHA
    4d3b87f View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. tweak SetDo doc (#1488)

    EugeneOne1 authored Oct 10, 2023
    Configuration menu
    Copy the full SHA
    0d504a6 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2023

  1. Remove comment about checking zero bit. (#1491)

    The check was removed in #975.
    tangrs authored Nov 2, 2023
    Configuration menu
    Copy the full SHA
    52f175a View commit details
    Browse the repository at this point in the history
  2. Simplify CanonicalName (#1494)

    This function was previously changed from using strings.ToLower to a
    custom loop to ensure it only lowercases ASCII characters. This was
    more complicated than it needed to be and introduced more allocations
    than is necessary.
    
    Instead of that approach we call strings.Map with a simple ASCII
    lowercase mapping function. Sadly we still use the nice ASCII-only fast
    path that strings.ToLower had, but it's unlikely to be worth all the
    extra code.
    tmthrgd authored Nov 2, 2023
    Configuration menu
    Copy the full SHA
    8a3ef11 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    24995b9 View commit details
    Browse the repository at this point in the history
  4. Bump golang.org/x/sync from 0.3.0 to 0.4.0 (#1495)

    Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.3.0 to 0.4.0.
    - [Commits](golang/sync@v0.3.0...v0.4.0)
    
    ---
    updated-dependencies:
    - dependency-name: golang.org/x/sync
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 2, 2023
    Configuration menu
    Copy the full SHA
    cc15719 View commit details
    Browse the repository at this point in the history
  5. Bump golang.org/x/net from 0.15.0 to 0.17.0 (#1498)

    Bumps [golang.org/x/net](https://github.com/golang/net) from 0.15.0 to 0.17.0.
    - [Commits](golang/net@v0.15.0...v0.17.0)
    
    ---
    updated-dependencies:
    - dependency-name: golang.org/x/net
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 2, 2023
    Configuration menu
    Copy the full SHA
    b18c05c View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2023

  1. Avoid using strings.Split (#1501)

    * Avoid using strings.Split
    
    strings.Split has to allocate for the return slice. This allocation
    was wasteful in ever case it was used in this library.
    
    Instead we use the new strings.Cut and other string manipulation where
    appropriate. This tends to lead to cleaner and more readable code in
    addition to the benefits this has on the garbage collector.
    
    * Further simplify structTag in the msg_generate.go
    
    This doesn't need to call strings.TrimPrefix twice.
    tmthrgd authored Nov 6, 2023
    Configuration menu
    Copy the full SHA
    02e9e72 View commit details
    Browse the repository at this point in the history
  2. Cleanup IsRRSet (#1502)

    This is a very minor change that simply neatens up this function.
    tmthrgd authored Nov 6, 2023
    Configuration menu
    Copy the full SHA
    9657fe6 View commit details
    Browse the repository at this point in the history
  3. Eliminate tmp buffer from packOctetString (#1503)

    This is exactly the same change as #1429 but for packOctetString.
    
    I have no idea how I missed this given it's the very next function.
    
    Updates #1429
    tmthrgd authored Nov 6, 2023
    Configuration menu
    Copy the full SHA
    6836ba8 View commit details
    Browse the repository at this point in the history
  4. Use cloneSlice in unpackDataA and unpackDataAAAA (#1504)

    I missed this pattern in #1432. These seem to be the only two
    occurrences.
    
    Updates #1432
    tmthrgd authored Nov 6, 2023
    Configuration menu
    Copy the full SHA
    1c418a3 View commit details
    Browse the repository at this point in the history
  5. Avoid using a goto loop in unpackDataOpt (#1505)

    We definitely shouldn't be using goto for a simple loop.
    
    This is technically a behaviour change when off == len(msg), but we're
    always called with off < len(msg) so this is unobservable.
    tmthrgd authored Nov 6, 2023
    Configuration menu
    Copy the full SHA
    3996b17 View commit details
    Browse the repository at this point in the history
  6. Use strings.Builder in endingToString (#1506)

    This will cause one less allocation as String allocates on a
    bytes.Buffer but not on a strings.Builder.
    tmthrgd authored Nov 6, 2023
    Configuration menu
    Copy the full SHA
    a16092f View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

  1. Remove slurpRemainder TODO from (*ZoneParser).Next (#1508)

    No one has complained about this in the four years it's been here. I
    think we can safely accept this new behaviour.
    tmthrgd authored Nov 7, 2023
    Configuration menu
    Copy the full SHA
    5d3f81b View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. Swap closing order in inAxfr and inIxfr (#1511)

    * Fix closing order
    
    * Comment to make clear that the close order is deliberate
    
    ---------
    
    Co-authored-by: Tim Scheuermann <[email protected]>
    noxer and Tim Scheuermann authored Nov 13, 2023
    Configuration menu
    Copy the full SHA
    3d593a6 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. feat: add support for ReuseAddr (#1510)

    * feat: add support for ReuseAddr
    
    * Update listen_reuseport.go
    
    * Update listen_reuseport.go
    
    * fixup! feat: add support for ReuseAddr
    
    ---------
    
    Co-authored-by: Miek Gieben <[email protected]>
    jimlambrt and miekg authored Nov 15, 2023
    Configuration menu
    Copy the full SHA
    257e89e View commit details
    Browse the repository at this point in the history
  2. Release 1.1.57

    miekg committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    836bea2 View commit details
    Browse the repository at this point in the history
Loading