-
Notifications
You must be signed in to change notification settings - Fork 185
Comparing changes
Open a pull request
base repository: gin-contrib/cors
base: v1.5.0
head repository: gin-contrib/cors
compare: v1.7.0
- 17 commits
- 9 files changed
- 4 contributors
Commits on Nov 28, 2023
-
chore: update dependencies to latest versions
- Update `github.com/bytedance/sonic` from version `v1.10.1` to `v1.10.2` - Update `github.com/chenzhuoyu/iasm` from version `v0.9.0` to `v0.9.1` - Update `github.com/gabriel-vasile/mimetype` from version `v1.4.2` to `v1.4.3` - Update `github.com/go-playground/validator/v10` from version `v10.15.5` to `v10.16.0` - Update `github.com/klauspost/cpuid/v2` from version `v2.2.5` to `v2.2.6` - Update `github.com/mattn/go-isatty` from version `v0.0.19` to `v0.0.20` - Update `golang.org/x/arch` from version `v0.5.0` to `v0.6.0` - Update `golang.org/x/crypto` from version `v0.14.0` to `v0.16.0` - Update `golang.org/x/net` from version `v0.16.0` to `v0.19.0` - Update `golang.org/x/sys` from version `v0.13.0` to `v0. Signed-off-by: Bo-Yi Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7d356c2 - Browse repository at this point
Copy the full SHA 7d356c2View commit details
Commits on Dec 11, 2023
-
chore: update version of actions/setup-go in GitHub workflows
- Update the version of `actions/setup-go` from v4 to v5 in the `.github/workflows/go.yml` file - Update the version of `actions/setup-go` from v4 to v5 in the `.github/workflows/goreleaser.yml` file Signed-off-by: Bo-Yi Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8263fce - Browse repository at this point
Copy the full SHA 8263fceView commit details
Commits on Dec 30, 2023
-
ci: update GitHub Actions to Version 3
- Update the github action to use version 3 instead of version 2 Signed-off-by: Bo-Yi Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0e993b7 - Browse repository at this point
Copy the full SHA 0e993b7View commit details
Commits on Feb 2, 2024
-
chore: update GitHub actions to latest versions
- Update the CodeQL action from version 2 to version 3 in `.github/workflows/codeql.yml` - Update the cache action from version 3 to version 4 in `.github/workflows/go.yml` Signed-off-by: appleboy <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f41df75 - Browse repository at this point
Copy the full SHA f41df75View commit details -
chore: update third-party dependencies
- Update `github.com/go-playground/validator/v10` from version `v10.16.0` to `v10.17.0` - Update `github.com/leodido/go-urn` from version `v1.2.4` to `v1.3.0` - Update `github.com/pelletier/go-toml/v2` from version `v2.1.0` to `v2.1.1` - Update `github.com/ugorji/go/codec` from version `v1.2.11` to `v1.2.12` - Update `golang.org/x/arch` from version `v0.6.0` to `v0.7.0` - Update `golang.org/x/crypto` from version `v0.16.0` to `v0.18.0` - Update `golang.org/x/net` from version `v0.19.0` to `v0.20.0` - Update `golang.org/x/sys` from version `v0.15.0` to `v0.16.0` - Update `google.golang.org/protobuf` from version `v1.31.0` to `v1.32.0` Signed-off-by: appleboy <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5da0aee - Browse repository at this point
Copy the full SHA 5da0aeeView commit details
Commits on Feb 12, 2024
-
ci: enhance testing matrix and tolerance limits
- Add Go version `1.22` to the GitHub Actions workflow testing matrix Signed-off-by: appleboy <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fcbd06f - Browse repository at this point
Copy the full SHA fcbd06fView commit details
Commits on Mar 6, 2024
-
test: improve CORS wildcard handling and testing (#144)
- Add two new test functions in `cors_test.go` for parsing wildcard rules: one without wildcards and one with invalid wildcards - Ensure no wildcard rules are returned when `AllowWildcard` is set to false - Verify that parsing invalid wildcard rules triggers a panic Signed-off-by: Bo-Yi Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 85bf9fb - Browse repository at this point
Copy the full SHA 85bf9fbView commit details -
chore: update dependencies to latest versions
- Update `github.com/bytedance/sonic` dependency from `v1.10.2` to `v1.11.2` - Upgrade `github.com/go-playground/validator/v10` from `v10.17.0` to `v10.19.0` - Increment `github.com/klauspost/cpuid/v2` version from `v2.2.6` to `v2.2.7` - Bump `github.com/leodido/go-urn` from `v1.3.0` to `v1.4.0` - Update `golang.org/x/crypto` from `v0.18.0` to `v0.21.0` - Upgrade `golang.org/x/net` from `v0.20.0` to `v0.22.0` - Update `golang.org/x/sys` from `v0.16.0` to `v0.18.0` - Bump `google.golang.org/protobuf` from `v1.32.0` to `v1.33.0` Signed-off-by: Bo-Yi Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2451987 - Browse repository at this point
Copy the full SHA 2451987View commit details -
ci: refactor CI workflows and improve tests
- Update GitHub Actions workflows to determine Go version from `go.mod` and check for the latest version. Signed-off-by: Bo-Yi Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f08c1bc - Browse repository at this point
Copy the full SHA f08c1bcView commit details -
ci: refactor GitHub Actions workflows
- Update the GitHub Actions workflow to use version 4 of the golangci-lint-action - Update the GitHub Actions workflow to use version 4 of the codecov-action Signed-off-by: Bo-Yi Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 30792dc - Browse repository at this point
Copy the full SHA 30792dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 27b723a - Browse repository at this point
Copy the full SHA 27b723aView commit details -
Configuration menu - View commit details
-
Copy full SHA for eac6c48 - Browse repository at this point
Copy the full SHA eac6c48View commit details -
test: refactor tests and update CI configurations
- Change the CORS test to only check for an error instead of matching the exact error message Signed-off-by: Bo-Yi Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d5002f2 - Browse repository at this point
Copy the full SHA d5002f2View commit details -
test(cors): enhance CORS wildcard handling tests (#145)
- Import the `reflect` package in `cors_test.go` - Add new test cases for parsing wildcard rules in CORS configuration - Implement tests to check for panic on multiple wildcards and validate expected results for various wildcard scenarios ref: #106 Signed-off-by: Bo-Yi Wu <[email protected]>
1Configuration menu - View commit details
-
Copy full SHA for 90a7c66 - Browse repository at this point
Copy the full SHA 90a7c66View commit details
Commits on Mar 10, 2024
-
fix: improve error handling and test robustness
- Add error handling to the `router.Run()` call in `example.go` with a panic if an error occurs Signed-off-by: Bo-Yi Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7f30a1f - Browse repository at this point
Copy the full SHA 7f30a1fView commit details -
chore(cors): Allow a custom validation function which receives the fu…
…ll gin context (#140) * Allow a origin validation function with context * Revert "Allow a origin validation function with context" This reverts commit 82827c2. * Allow origin validation function which receives the full request context * fix logic in conditional * add test, fix logic * slightly re-work to pass linter * update comments * restructure to shorten line lengths to pass linter * remove punctuation at the end of error string * Add multi-group preflight test * remove comment
Configuration menu - View commit details
-
Copy full SHA for 9d49f16 - Browse repository at this point
Copy the full SHA 9d49f16View commit details -
refactor: refactor request handling and improve CORS checks
- Refactor `performRequestWithHeaders` function signature for better readability - Standardize the string comparison order in CORS origin checks Signed-off-by: Bo-Yi Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4447aeb - Browse repository at this point
Copy the full SHA 4447aebView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.5.0...v1.7.0