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: go-openapi/swag
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.22.7
Choose a base ref
...
head repository: go-openapi/swag
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.23.0
Choose a head ref
  • 16 commits
  • 18 files changed
  • 3 contributors

Commits on Jan 22, 2024

  1. perf(mangling): optimized the processing of initialisms

    This PR significantly improves the performance of name mangling
    utilities (e.g. ToGoName, etc).
    
    The need for this occured while benchmarking go-swagger's CI suite:
    surprisingly, the topmost allocator was swag.ToGoName.
    
    It is the result of a dozen successive optimization passes driven
    by profiling.
    
    These functions now execute ~10x faster and need 100 times less
    memory allocations. See BENCHMARK.md
    
    Optimization techniques used to reduce allocations:
    * pointer -> value (everything was pointers: now everything is values)
    * interface -> struct with a Kind field
    * closure -> func
    * string to []byte: use unsafe conversion
    * string concatenation -> use bytes.Buffer (recyclable, unlike
    strings.Builder)
    * static values converted over and over again: pre-bake the conversions
    * var x []T  -> make([]T, 0, heuristic size)
    * temporarily allocated values -> use pool to recycle previously
    allocated data items
    
    Optimization techniques used to reduce CPU:
    * read unicode rune -> short-circuit for single byte runes
    * map lookup -> func with switch statement
    * for i, v := range -> for i := range (minor impact)
    
    Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>
    fredbi committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    01194a0 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2024

  1. refreshed go.mod

    Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
    fredbi committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    216b00a View commit details
    Browse the repository at this point in the history
  2. Added dependabot

    * Added dependabot to keep go dependencies & actions updated.
    
    Signed-off-by: Neo2308 <pradha.krishna.cse17@itbhu.ac.in>
    Neo2308 authored and fredbi committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    e181373 View commit details
    Browse the repository at this point in the history
  3. Updated dependabot frequency to monthly

    * Updated gomod update frequency to monthly.
    
    Signed-off-by: Neo2308 <pradha.krishna.cse17@itbhu.ac.in>
    Neo2308 authored and fredbi committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    76c9b7c View commit details
    Browse the repository at this point in the history
  4. Bump actions/checkout from 3 to 4

    Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and fredbi committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    8ce930b View commit details
    Browse the repository at this point in the history
  5. Bump actions/setup-go from 4 to 5

    Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
    - [Release notes](https://github.com/actions/setup-go/releases)
    - [Commits](actions/setup-go@v4...v5)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-go
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and fredbi committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    a05020e View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2024

  1. ci(dependencies): automate dependencies updates

    Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>
    fredbi committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    c877230 View commit details
    Browse the repository at this point in the history
  2. Bump the development-dependencies group with 1 update

    Bumps the development-dependencies group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action).
    
    
    Updates `codecov/codecov-action` from 3 to 4
    - [Release notes](https://github.com/codecov/codecov-action/releases)
    - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
    - [Commits](codecov/codecov-action@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: codecov/codecov-action
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: development-dependencies
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and github-actions[bot] committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    d33767c View commit details
    Browse the repository at this point in the history
  3. chore(ci): prevents duplicate workflow runs

    Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>
    fredbi committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    14fcae4 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2024

  1. Bump the development-dependencies group with 1 update

    Bumps the development-dependencies group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action).
    
    
    Updates `codecov/codecov-action` from 3 to 4
    - [Release notes](https://github.com/codecov/codecov-action/releases)
    - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
    - [Commits](codecov/codecov-action@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: codecov/codecov-action
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: development-dependencies
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and github-actions[bot] committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    fec0b4e View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2024

  1. ci: remove paths-ignores

    Using paths-ignore as a short-circuit for doc-only PRs does not work:
    branch protection rules cannot be passed.
    
    Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
    fredbi committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    db91acc View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

  1. Bump the development-dependencies group with 1 update

    Bumps the development-dependencies group with 1 update: [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action).
    
    
    Updates `golangci/golangci-lint-action` from 3 to 4
    - [Release notes](https://github.com/golangci/golangci-lint-action/releases)
    - [Commits](golangci/golangci-lint-action@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: golangci/golangci-lint-action
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: development-dependencies
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and github-actions[bot] committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    6b32215 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2024

  1. Bump github.com/stretchr/testify from 1.8.4 to 1.9.0

    Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0.
    - [Release notes](https://github.com/stretchr/testify/releases)
    - [Commits](stretchr/testify@v1.8.4...v1.9.0)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/stretchr/testify
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and fredbi committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    4896833 View commit details
    Browse the repository at this point in the history
  2. chore(lint): relinted

    Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
    fredbi committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    54f3f80 View commit details
    Browse the repository at this point in the history
  3. fix(ci): remove dependency-type from dependabot groups

    dependency-type is irrelevant in the gomod ecosystem.
    
    This setting prevented some updates to auto-merge as expected.
    
    Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
    fredbi committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    5e655d8 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2024

  1. chore(go): go-openapi requires go.1.20 across the board

    Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
    fredbi committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    53e32e8 View commit details
    Browse the repository at this point in the history
Loading