Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: [#341] The Chain Query isn't executed one by one #380

Merged
merged 1 commit into from
Dec 30, 2023
Merged

Conversation

hwbrzzl
Copy link
Contributor

@hwbrzzl hwbrzzl commented Dec 28, 2023

Closes goravel/goravel#341

πŸ“‘ Description

βœ… Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

β„Ή Additional Information

@hwbrzzl hwbrzzl changed the base branch from master to v1.13.x December 28, 2023 09:52
@hwbrzzl hwbrzzl closed this Dec 28, 2023
@hwbrzzl hwbrzzl reopened this Dec 28, 2023
Copy link

codecov bot commented Dec 28, 2023

Codecov Report

Attention: 533 lines in your changes are missing coverage. Please review.

Comparison is base (ad61d31) 62.24% compared to head (84a79e6) 70.74%.
Report is 93 commits behind head on v1.13.x.

Files Patch % Lines
database/gorm/query.go 82.90% 67 Missing and 39 partials ⚠️
database/gorm/cursor.go 36.44% 65 Missing and 3 partials ⚠️
database/console/seed_command.go 35.93% 35 Missing and 6 partials ⚠️
foundation/container.go 15.55% 38 Missing ⚠️
foundation/application.go 41.17% 22 Missing and 8 partials ⚠️
database/gorm/test_models.go 84.06% 20 Missing and 9 partials ⚠️
database/factory.go 68.60% 18 Missing and 9 partials ⚠️
database/gorm/test_utils.go 91.97% 12 Missing and 3 partials ⚠️
log/formatter/general.go 76.56% 11 Missing and 4 partials ⚠️
database/seeder.go 72.00% 8 Missing and 6 partials ⚠️
... and 27 more
Additional details and impacted files
@@             Coverage Diff             @@
##           v1.13.x     #380      +/-   ##
===========================================
+ Coverage    62.24%   70.74%   +8.50%     
===========================================
  Files          125      145      +20     
  Lines         8078    10156    +2078     
===========================================
+ Hits          5028     7185    +2157     
+ Misses        2717     2522     -195     
- Partials       333      449     +116     

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

@hwbrzzl hwbrzzl requested a review from a team December 28, 2023 11:35
@hwbrzzl hwbrzzl merged commit a7da329 into v1.13.x Dec 30, 2023
11 checks passed
@hwbrzzl hwbrzzl deleted the bowen/#341-1 branch December 30, 2023 13:41
hwbrzzl added a commit that referenced this pull request Feb 22, 2024
* Upgrade v1.13.1

* Merge #305, #306 to v1.13.x (#308)

* Upgrade v1.13.1 (#295)

* Update README

* build(deps): bump the go-modules group with 1 update (#296)

Bumps the go-modules group with 1 update: [github.com/bytedance/sonic](https://github.com/bytedance/sonic).

- [Release notes](https://github.com/bytedance/sonic/releases)
- [Commits](bytedance/sonic@v1.10.0...v1.10.1)

---
updated-dependencies:
- dependency-name: github.com/bytedance/sonic
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#297)

Bumps the go-modules group with 1 update: [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).

- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](https://github.com/golang-module/carbon/compare/v2.2.6...v2.2.7)

---
updated-dependencies:
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#299)

Bumps the go-modules group with 1 update: [google.golang.org/grpc](https://github.com/grpc/grpc-go).

- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.58.0...v1.58.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the github-actions group with 1 update (#300)

Bumps the github-actions group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action).

- [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: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wenbo Han <hwbrzzl@gmail.com>

* feat: add GetBytes method and test cases (#298)

* feat: add GetBytes method and test cases

* workflow: remove filesystem

* fix: lint

* feat: optimize code

* feat: optimize test

* fix: windows tests

* workflow: fix

* fix: file not close

* feat: optimize code

* fix: lint

* fix: lint

* fix: test

* feat: Add interface comments (#292)

* Add interface comments to all facades

* Add comments for remaining contracts

* convert the first letter of word to a lower case in godoc comments

* Add a space for each comment after //

* build(deps): bump the go-modules group with 1 update (#301)

Bumps the go-modules group with 1 update: [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).

- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](https://github.com/golang-module/carbon/compare/v2.2.7...v2.2.8)

---
updated-dependencies:
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#303)

Bumps the go-modules group with 1 update: [google.golang.org/grpc](https://github.com/grpc/grpc-go).

- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.58.1...v1.58.2)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix:[#263] There is a path error in the filesystem module (#305)

* feat: Add Fluent String helpers (#304)

* add fluent strings helpers

* add more fluent string helpers

* add headline helper

* add test cases for fluent strings

* add test cases for headline function

* modify, according to suggestions

* modify, according to suggestions

* reformat the str file

* fix: #267 (#306)

* feat: add environment helper

* feat: optimize sonic

* fix: tests

* feat: rename to env

* feat: optimize json

* fix: optimize tests

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 耗子 <i@haozi.net>
Co-authored-by: krishan kumar <84431594+kkumar-gcc@users.noreply.github.com>

* fix: [#270] Optimize postgres DNS (#309)

* fix: [#270] Optimize postgres DNS

* Fix unit test

* fix: [#253] [Bug] The With method can't be used with the Cursor method together (#311)

* fix: #253 [Bug] The With method can't be used with the Cursor method together

* Remove test

* Upgrade v1.13.2

* Update README

* fix: Register multiple events (#317)

* Upgrade v1.13.1 (#295)

* Update README

* build(deps): bump the go-modules group with 1 update (#296)

Bumps the go-modules group with 1 update: [github.com/bytedance/sonic](https://github.com/bytedance/sonic).

- [Release notes](https://github.com/bytedance/sonic/releases)
- [Commits](bytedance/sonic@v1.10.0...v1.10.1)

---
updated-dependencies:
- dependency-name: github.com/bytedance/sonic
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#297)

Bumps the go-modules group with 1 update: [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).

- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](https://github.com/golang-module/carbon/compare/v2.2.6...v2.2.7)

---
updated-dependencies:
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#299)

Bumps the go-modules group with 1 update: [google.golang.org/grpc](https://github.com/grpc/grpc-go).

- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.58.0...v1.58.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the github-actions group with 1 update (#300)

Bumps the github-actions group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action).

- [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: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wenbo Han <hwbrzzl@gmail.com>

* feat: add GetBytes method and test cases (#298)

* feat: add GetBytes method and test cases

* workflow: remove filesystem

* fix: lint

* feat: optimize code

* feat: optimize test

* fix: windows tests

* workflow: fix

* fix: file not close

* feat: optimize code

* fix: lint

* fix: lint

* fix: test

* feat: Add interface comments (#292)

* Add interface comments to all facades

* Add comments for remaining contracts

* convert the first letter of word to a lower case in godoc comments

* Add a space for each comment after //

* build(deps): bump the go-modules group with 1 update (#301)

Bumps the go-modules group with 1 update: [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).

- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](https://github.com/golang-module/carbon/compare/v2.2.7...v2.2.8)

---
updated-dependencies:
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#303)

Bumps the go-modules group with 1 update: [google.golang.org/grpc](https://github.com/grpc/grpc-go).

- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.58.1...v1.58.2)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix:[#263] There is a path error in the filesystem module (#305)

* feat: Add Fluent String helpers (#304)

* add fluent strings helpers

* add more fluent string helpers

* add headline helper

* add test cases for fluent strings

* add test cases for headline function

* modify, according to suggestions

* modify, according to suggestions

* reformat the str file

* fix: #267 (#306)

* feat: add environment helper

* feat: optimize sonic

* fix: tests

* feat: rename to env

* feat: optimize json

* fix: optimize tests

* refactor: move mocks (#307)

* feat: update mocks

* refactor: move mocks

* workflow: remove code review

* workflow: fix mockery

* fix: update mocks

* refactor: move gorm initialize interface to contracts folder

* feat: test generate mock

* workflow: update mock

* chore: update mocks

* chore: remove unnecessary go generate tag

* workflow: only generate mocks in master branch

* workflow: fix lint

* workflow: make mockery only run on pr

* feat: move Gorm interface to contracts/database/gorm

* feat: move Gorm interface to contracts/database/gorm

* feat: move interface

* chore: update mocks

* fix: test

---------

Co-authored-by: devhaozi <devhaozi@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#310)

Bumps the go-modules group with 1 update: [golang.org/x/crypto](https://github.com/golang/crypto).

- [Commits](golang/crypto@v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the github-actions group with 1 update (#312)

Bumps the github-actions group with 1 update: [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action).

- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](stefanzweifel/git-auto-commit-action@v4...v5)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#313)

Bumps the go-modules group with 1 update: [github.com/spf13/viper](https://github.com/spf13/viper).

- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](spf13/viper@v1.16.0...v1.17.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/viper
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wenbo Han <hwbrzzl@gmail.com>

* build(deps): bump the go-modules group with 2 updates (#315)

Bumps the go-modules group with 2 updates: [github.com/bytedance/sonic](https://github.com/bytedance/sonic) and [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).


Updates `github.com/bytedance/sonic` from 1.10.1 to 1.10.2
- [Release notes](https://github.com/bytedance/sonic/releases)
- [Commits](bytedance/sonic@v1.10.1...v1.10.2)

Updates `github.com/golang-module/carbon/v2` from 2.2.8 to 2.2.9
- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](https://github.com/golang-module/carbon/compare/v2.2.8...v2.2.9)

---
updated-dependencies:
- dependency-name: github.com/bytedance/sonic
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Register multiple events

* Fix typo

* Restore

* Allow multiple events registeration

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Wenbo Han <hwbrzzl@gmail.com>
Co-authored-by: Bowen <wenbo.han@compass.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 耗子 <i@haozi.net>
Co-authored-by: krishan kumar <84431594+kkumar-gcc@users.noreply.github.com>
Co-authored-by: devhaozi <devhaozi@users.noreply.github.com>

* fix: database variable (#316)

* Upgrade v1.13.1 (#295)

* Update README

* build(deps): bump the go-modules group with 1 update (#296)

Bumps the go-modules group with 1 update: [github.com/bytedance/sonic](https://github.com/bytedance/sonic).

- [Release notes](https://github.com/bytedance/sonic/releases)
- [Commits](bytedance/sonic@v1.10.0...v1.10.1)

---
updated-dependencies:
- dependency-name: github.com/bytedance/sonic
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#297)

Bumps the go-modules group with 1 update: [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).

- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](https://github.com/golang-module/carbon/compare/v2.2.6...v2.2.7)

---
updated-dependencies:
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#299)

Bumps the go-modules group with 1 update: [google.golang.org/grpc](https://github.com/grpc/grpc-go).

- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.58.0...v1.58.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the github-actions group with 1 update (#300)

Bumps the github-actions group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action).

- [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: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wenbo Han <hwbrzzl@gmail.com>

* feat: add GetBytes method and test cases (#298)

* feat: add GetBytes method and test cases

* workflow: remove filesystem

* fix: lint

* feat: optimize code

* feat: optimize test

* fix: windows tests

* workflow: fix

* fix: file not close

* feat: optimize code

* fix: lint

* fix: lint

* fix: test

* feat: Add interface comments (#292)

* Add interface comments to all facades

* Add comments for remaining contracts

* convert the first letter of word to a lower case in godoc comments

* Add a space for each comment after //

* build(deps): bump the go-modules group with 1 update (#301)

Bumps the go-modules group with 1 update: [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).

- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](https://github.com/golang-module/carbon/compare/v2.2.7...v2.2.8)

---
updated-dependencies:
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#303)

Bumps the go-modules group with 1 update: [google.golang.org/grpc](https://github.com/grpc/grpc-go).

- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.58.1...v1.58.2)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix:[#263] There is a path error in the filesystem module (#305)

* feat: Add Fluent String helpers (#304)

* add fluent strings helpers

* add more fluent string helpers

* add headline helper

* add test cases for fluent strings

* add test cases for headline function

* modify, according to suggestions

* modify, according to suggestions

* reformat the str file

* fix: #267 (#306)

* feat: add environment helper

* feat: optimize sonic

* fix: tests

* feat: rename to env

* feat: optimize json

* fix: optimize tests

* refactor: move mocks (#307)

* feat: update mocks

* refactor: move mocks

* workflow: remove code review

* workflow: fix mockery

* fix: update mocks

* refactor: move gorm initialize interface to contracts folder

* feat: test generate mock

* workflow: update mock

* chore: update mocks

* chore: remove unnecessary go generate tag

* workflow: only generate mocks in master branch

* workflow: fix lint

* workflow: make mockery only run on pr

* feat: move Gorm interface to contracts/database/gorm

* feat: move Gorm interface to contracts/database/gorm

* feat: move interface

* chore: update mocks

* fix: test

---------

Co-authored-by: devhaozi <devhaozi@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#310)

Bumps the go-modules group with 1 update: [golang.org/x/crypto](https://github.com/golang/crypto).

- [Commits](golang/crypto@v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the github-actions group with 1 update (#312)

Bumps the github-actions group with 1 update: [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action).

- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](stefanzweifel/git-auto-commit-action@v4...v5)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#313)

Bumps the go-modules group with 1 update: [github.com/spf13/viper](https://github.com/spf13/viper).

- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](spf13/viper@v1.16.0...v1.17.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/viper
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wenbo Han <hwbrzzl@gmail.com>

* build(deps): bump the go-modules group with 2 updates (#315)

Bumps the go-modules group with 2 updates: [github.com/bytedance/sonic](https://github.com/bytedance/sonic) and [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).


Updates `github.com/bytedance/sonic` from 1.10.1 to 1.10.2
- [Release notes](https://github.com/bytedance/sonic/releases)
- [Commits](bytedance/sonic@v1.10.1...v1.10.2)

Updates `github.com/golang-module/carbon/v2` from 2.2.8 to 2.2.9
- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](https://github.com/golang-module/carbon/compare/v2.2.8...v2.2.9)

---
updated-dependencies:
- dependency-name: github.com/bytedance/sonic
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix database variable

* Restore

* Fix database typo

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Wenbo Han <hwbrzzl@gmail.com>
Co-authored-by: Bowen <wenbo.han@compass.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 耗子 <i@haozi.net>
Co-authored-by: krishan kumar <84431594+kkumar-gcc@users.noreply.github.com>
Co-authored-by: devhaozi <devhaozi@users.noreply.github.com>

* feat: [#265] The Config module supports get system environment variables (#329)

* feat: [#265] The Config module supports get system environment variables (#335)

* feat: [#265] The Config module supports get system environment variables

* Add unit tests

* Upgrade v1.13.3

* Update mock

* Upgrade v1.13.4

* fix: [#312] orm connection is not working (#354)

* fix: [#312] orm connection is not working

* Optimize logic

* Optimize unit test

* Optimize unit test

* Optimize unit tests

---------

Co-authored-by: Bowen <bowen@192.168.0.101>

* fix: [#320] mock.Log() is not working (#355)

* Upgrade v1.13.5 (#357)

* fix: [#341] The Chain Query isn't executed one by one (#380)

* Upgrade v1.13.7

* Merge orm

* Optmize merge

* update go.mod

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 耗子 <i@haozi.net>
Co-authored-by: krishan kumar <84431594+kkumar-gcc@users.noreply.github.com>
Co-authored-by: Ahmed M. Ammar <ahmed3mar@outlook.com>
Co-authored-by: devhaozi <devhaozi@users.noreply.github.com>
Co-authored-by: Bowen <bowen@192.168.0.101>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

πŸ› [Bug] The Chain Query isn't executed one by one
2 participants