Skip to content

merging#1

Open
omnarayan wants to merge 69 commits into
izinga:masterfrom
gin-contrib:master
Open

merging#1
omnarayan wants to merge 69 commits into
izinga:masterfrom
gin-contrib:master

Conversation

@omnarayan

Copy link
Copy Markdown

No description provided.

appleboy and others added 30 commits October 9, 2023 10:34
- Update the version of `actions/checkout` from `v3` to `v4` in `.github/workflows/codeql.yml`
- Update the version of `actions/checkout` from `v3` to `v4` in `.github/workflows/goreleaser.yml`
- Update the version of `actions/setup-go` from `v3` to `v4` in `.github/workflows/goreleaser.yml`
- Update the version of `actions/setup-go` from `v3` to `v4` in `.github/workflows/lint.yml`
- Update the version of `actions/checkout` from `v3` to `v4` in `.github/workflows/lint.yml`
- Update the version of `actions/setup-go` from `v3` to `v4` in `.github/workflows/testing.yml`
- Update the version of `actions/checkout` from `v3` to `v4` in `.github/workflows/testing.yml`

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Fix a typo in the cron expression for the codeql workflow
- Update the language specification for the codeql workflow to use double quotes instead of single quotes
- Update the file paths in the goreleaser workflow to use double quotes instead of single quotes
- Update the version of the goreleaser action to v5
- Update the Go version range in the lint workflow to include Go 1.21
- Update the version of the linter to the latest version

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Update the version of `github.com/bradfitz/gomemcache` to `v0.0.0-20230905024940-24af94b03874`
- Update the version of `github.com/gin-gonic/gin` to `v1.9.1`
- Update the version of `go.mongodb.org/mongo-driver` to `v1.12.1`
- Update the version of `gorm.io/gorm` to `v1.25.4`
- Add `github.com/bytedance/sonic v1.10.2 // indirect` as a new requirement
- Add `github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect` as a new requirement
- Add `github.com/chenzhuoyu/iasm v0.9.0 // indirect` as a new requirement
- Add `github.com/gabriel-vasile/mimetype v1.4.2 // indirect` as a new requirement
- Update the version of `github.com/go-playground/validator/v10` to `v10.15.5`
- Update the version of `github.com/goccy/go-json` to `v0.10.2`
- Update the version of `github.com/klauspost/compress` to `v1.17.0`
- Update the version of

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Replace `mongo.NewClient` with `mongo.Connect` to create a new client
- Remove the code block that connects the client

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Fix a typo in the `.goreleaser.yaml` file
- Update the title of the "Bug fixes" section in the `changelog`
- Update the title of the "Enhancements" section in the `changelog`
- Update the regex patterns in the `changelog` for the "docs" and "CICD" categories

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
…nd go1.11

- Add a build constraint for go1.13 in `gorm/gorm_test.go`
- Remove unused variable in `mongo/mongodriver/mongodriver.go`
- Remove unused variable in `mongo/mongomgo/mongomgo.go`
- Add an empty import in `postgres/postgres.go`
- Add a test case in `postgres/postgres_test.go`
- Add a build constraint for go1.10 in `session_options_go1.10.go`
- Add a build constraint for go1.11 in `session_options_go1.11.go`
- Remove unused import in `session_options_go1.11.go`
- Add a build constraint for go1.10 in `tester/tester_options_samesite_go1.10.go`
- Add a build constraint for go1.11 in `tester/tester_options_samesite_go1.11.go`

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Remove support for Go versions 1.18 and 1.19 in the lint workflow

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Change the `runs-on` value to `ubuntu-latest` in the workflow file
- Add a `strategy` section with a `matrix` for different OS and Go versions
- Update the `name` field to include the OS and Go version
- Remove the `env` section with `GO111MODULE` and `GOPROXY` variables
- Update the `postgresql version` value to `"14"`
- Add a `with` section with `go-version` variable

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Update the CI Lint badge URL to include the branch name
- Update the Testing badge URL to include the branch name
- Remove the Gitter chat badge
- Add an empty line in the `main()` function
- Add an empty line in the `main()` function
- Remove the embedded code snippet from the README file

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Update the version of `actions/setup-go` from v4 to v5 in `goreleaser.yml`
- Update the version of `actions/setup-go` from v4 to v5 in `lint.yml`
- Update the version of `actions/setup-go` from v4 to v5 in `testing.yml`

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Update the github action to use version 3 instead of version 2

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Update golang.org/x/crypto to v0.17.0
- Update golang.org/x/net to v0.19.0
- Update golang.org/x/sys to v0.15.0
- Update golang.org/x/text to v0.14.0

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Update `github.com/gorilla/context` to version `v1.1.2`
- Update `github.com/gorilla/sessions` to version `v1.2.2`
- Update `go.mongodb.org/mongo-driver` to version `v1.14.0`
- Update `gorm.io/gorm` to version `v1.25.8`
- Update `github.com/bytedance/sonic` to version `v1.11.3`
- Update `github.com/chenzhuoyu/iasm` to version `v0.9.1`
- Update `github.com/gabriel-vasile/mimetype` to version `v1.4.3`
- Update `github.com/go-playground/validator/v10` to version `v10.19.0`
- Update `github.com/gorilla/securecookie` to version `v1.1.2`
- Update `github.com/klauspost/compress` to version `v1.17.7`
- Update `github.com/klauspost/cpuid/v2` to version `v2.2.7`
- Update `github.com/leodido/go-urn` to version `v1.4.0`
- Update `github.com/mattn/go-isatty` to version `v0.0.20`
- Update `github.com/pelletier/go-toml/v2` to version `v2.2.0`
- Update `github.com/ugorji/go/codec` to version `v1.2.12`
- Update `golang.org/x/arch` to version `v0.7.0`
- Update `golang.org/x/crypto` to version `v0.21.0`
- Update `golang.org/x/net` to version `v0.22.0`
- Update `golang.org/x/sync` to version `v0.6.0`
- Update `golang.org/x/sys` to version `v0.18.0`
- Update `google.golang.org/protobuf` to version `v1.33.0`

Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Update CodeQL action from version 2 to version 3 in `.github/workflows/codeql.yml`
- Change the step name from "Checkout" to "Checkout repository" in `.github/workflows/goreleaser.yml`
- Modify the Go version setup from 1.17 to using a version file and checking the latest in `.github/workflows/goreleaser.yml`
- Adjust the GoReleaser arguments from `release --rm-dist` to `release --clean` in `.github/workflows/goreleaser.yml`
- Upgrade the golangci-lint action from version 3 to version 4 in `.github/workflows/lint.yml`
- Expand the Go version range from `[1.20, 1.21]` to `[1.20, 1.21, 1.22]` in `.github/workflows/lint.yml` and `.github/workflows/testing.yml`
- Update the codecov action from version 3 to version 4 in `.github/workflows/testing.yml`

Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Update the GitHub Actions workflow to use `golangci-lint-action@v5` instead of `v4`
- Remove the `project_name` from `.goreleaser.yaml`
- Simplify the `builds` section by removing comments and keeping the `skip: true` directive
- Change the changelog configuration to use the `github` method instead of `git`
- Add new changelog groups for refactoring, build process updates, and documentation updates
- Remove changelog filters that excluded commits with messages matching certain patterns (e.g., `docs`, `CICD`, `typo`)

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Update Go version requirement from `1.18` to `1.19` in `go.mod`

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Update `golang.org/x/crypto` dependency from `v0.21.0` to `v0.22.0`
- Update `golang.org/x/net` dependency from `v0.22.0` to `v0.24.0`
- Update `golang.org/x/sys` dependency from `v0.18.0` to `v0.19.0`

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Update GoReleaser action from version `v5` to `v6`

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Add Go 1.23 to the lint workflow matrix
- Update golangci-lint-action to version 6 in the lint workflow
- Add Go 1.23 to the testing workflow matrix
- Update codecov-action to version 5 in the testing workflow

Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Update `golang.org/x/crypto` from v0.22.0 to v0.31.0
- Update `golang.org/x/net` from v0.24.0 to v0.33.0
- Update `golang.org/x/sync` from v0.6.0 to v0.10.0
- Update `golang.org/x/sys` from v0.19.0 to v0.28.0
- Update `golang.org/x/text` from v0.14.0 to v0.21.0

Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Remove `github.com/boj/redistore` dependency from `go.mod`
- Update `github.com/gomodule/redigo` to version `v1.9.2` in `go.mod`
- Add `github.com/snowdreamtech/redistore` dependency to `go.mod`
- Replace `github.com/boj/redistore` import with `github.com/snowdreamtech/redistore` in `redis.go`
- Add detailed comments for `NewStoreWithDB` function parameters and return values
- Add detailed comments for `NewStoreWithPool` function parameters and return values
- Add detailed comments for `GetRedisStore` function parameters and return values
- Add detailed comments for `SetKeyPrefix` function parameters and return values

cc @snowdream

Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Remove Go 1.19 from the GitHub Actions workflow
- Update Go version from 1.19 to 1.20 in `go.mod`

Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Update Redis GitHub action from version 1.4.0 to 1.8.0
- Update MongoDB GitHub action from version 1.8.0 to 1.11.0

Signed-off-by: appleboy <appleboy.tw@gmail.com>
* chore: update Go version and dependencies for MongoDB integration

- Update Go version from 1.20 to 1.22
- Remove dependency on `github.com/bos-hieu/mongostore`
- Upgrade `github.com/gorilla/sessions` from v1.2.2 to v1.3.0
- Add dependency on `github.com/laziness-coders/mongostore` v0.0.14
- Upgrade `go.mongodb.org/mongo-driver` from v1.14.0 to v1.16.0
- Import `github.com/laziness-coders/mongostore` in `mongodriver.go`

Signed-off-by: appleboy <appleboy.tw@gmail.com>

* ci: remove Go versions 1.20 and 1.21 from workflows

- Remove Go versions 1.20 and 1.21 from the lint workflow
- Remove Go versions 1.20 and 1.21 from the testing workflow

Signed-off-by: appleboy <appleboy.tw@gmail.com>

---------

Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Add GitHub Actions workflow for Bearer PR Check
- Configure workflow to run on pull request events [opened, synchronize, reopened]
- Set permissions for contents (read) and pull-requests (write)
- Define job to run on `ubuntu-latest`
- Include steps for checking out repository, setting up reviewdog, running Bearer report, and running reviewdog with GitHub PR review integration

Signed-off-by: appleboy <appleboy.tw@gmail.com>
…or handling

- Add `bearer.yml` file with rules to skip specific checks
- Replace `log` package with `log/slog` in `sessions.go`
- Simplify error format string in `sessions.go`
- Update error logging in `sessions.go` to use `slog.Error` with structured logging and return `nil` on error

Signed-off-by: appleboy <appleboy.tw@gmail.com>
)

- Replace `github.com/snowdreamtech/redistore` with `github.com/boj/redistore` in `go.mod`
- Update import path from `github.com/snowdreamtech/redistore` to `github.com/boj/redistore` in `redis.go`

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
rogersm and others added 30 commits May 22, 2025 11:01
- Update gin-gonic/gin dependency from v1.10.0 to v1.10.1

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Update golangci-lint GitHub Action to use version v8
- Bump golangci-lint version from v2.0 to v2.1

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
…288)

* added guard to split not to get out of bounds exception when testing

* reverting Session() returning nil if session does not exist (issue #287)
fixed #124
fixed #144

* Add option to use multiple sessions with different stores

* Change `http.NewRequest` to `http.NewRequestWithContext`

Follow-up to #830a1b9: Replace `http.NewRequest` with `http.NewRequestWithContext` in multiple test functions in `tester.go` and `tester_options_samesite_go1.11.go`

Signed-off-by: found-cake <me@foundcake.kr>

* fix typo

Signed-off-by: found-cake <me@foundcake.kr>

---------

Signed-off-by: found-cake <me@foundcake.kr>
Co-authored-by: Sam Bryant <srbry@hotmail.com>
* Update go.mod

* Update cookie.go

* add filesystem store as provided by Gorilla sessions

* Add filesystem backend example

* add filesystem tester

* add example file, add some debug output in tests

* reset package / module paths, so it should ready to merge

* module cleanup

* conflicts resolved, ready for review

* fix filesystem test

---------

Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Add a vulnerability scanning job to the workflow using Trivy to detect critical and high severity issues

Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Update Go versions in lint workflow to test against 1.23, 1.24, and 1.25
- Add Go 1.25 to the matrix in testing workflow
- Change Trivy scan configuration to use double quotes for values

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Add a GitHub Action workflow for Trivy security scanning, triggered on pushes, pull requests, schedule, and manual dispatch
- Display a Trivy Security Scan status badge in the README

Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Update Go version requirement from 1.23.0 to 1.24.0
- Bump several golang.org/x dependency versions for crypto, net, sync, sys, and text

Signed-off-by: appleboy <appleboy.tw@gmail.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
chore(deps): bump github/codeql-action from 3 to 4

chore(deps): bump actions/setup-go from 5 to 6

chore(deps): bump golangci/golangci-lint-action from 7 to 9

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Remove old // +build style build tag comments and retain only modern //go:build syntax for build constraints

Signed-off-by: appleboy <appleboy.tw@gmail.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Upgrade aquasecurity/trivy-action to 0.33.1
- Upgrade codecov/codecov-action to v5
- Upgrade goreleaser/goreleaser-action to v6

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Upgrade aquasecurity/trivy-action to address security vulnerabilities
in the previous version.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Upgrade github.com/gin-gonic/gin from v1.11.0 to v1.12.0 and update
GitHub Actions test matrix to only support Go 1.25 and 1.26.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Upgrade goreleaser-action to v7 in goreleaser workflow

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Bump golang.org/x/text from v0.34.0 to v0.35.0
- Upgrade codecov/codecov-action from v5 to v6
- Upgrade niden/actions-memcached from v7 to v8
- Upgrade supercharge/redis-github-action from 1.8.0 to 1.8.1
- Upgrade supercharge/mongodb-github-action from 1.12.0 to 1.12.1
- Normalize aquasecurity/trivy-action reference from 0.35.0 to v0.35.0 to match the published tag

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Upgrade aquasecurity/trivy-action to latest v0.36.0 release
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
go.mod requires go 1.25.0; Go 1.24 in CI matrix fails to load
packages under GOTOOLCHAIN=local.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Update codecov/codecov-action GitHub Action from v6 to v7

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants