hookokoko
1c0cd9838a
feature: add write though for cache mode ( #5117 )
...
* feature: add writethough for cache mode
2022-12-17 10:25:39 +08:00
Stone-afk
bd99d27a4f
feature extend readthrough for cache module ( #5116 )
...
* feature 增加readthrough
2022-12-15 21:24:17 +08:00
Ming Deng
07fd64f011
Merge pull request #5125 from flycash/develop
...
Merge master & update change log
2022-12-13 18:42:06 +08:00
Deng Ming
21a03002d1
add change log
2022-12-13 18:40:51 +08:00
Deng Ming
20a0425a87
Merge branch 'master' of github.com:beego/beego into develop
2022-12-13 18:38:37 +08:00
Ming Deng
a233400ae2
Merge pull request #5123 from beego/dependabot/go_modules/github.com/go-sql-driver/mysql-1.7.0
...
build(deps): bump github.com/go-sql-driver/mysql from 1.6.0 to 1.7.0
2022-12-13 14:30:36 +08:00
dependabot[bot]
bfdc4f025c
build(deps): bump github.com/go-sql-driver/mysql from 1.6.0 to 1.7.0
...
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql ) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/go-sql-driver/mysql/releases )
- [Changelog](https://github.com/go-sql-driver/mysql/blob/master/CHANGELOG.md )
- [Commits](https://github.com/go-sql-driver/mysql/compare/v1.6.0...v1.7.0 )
---
updated-dependencies:
- dependency-name: github.com/go-sql-driver/mysql
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 06:18:59 +00:00
Ming Deng
fef71f2a96
Merge pull request #5121 from A7103/develop
...
Upgrade `github.com/go-kit/kit` package to fix `CVE-2022-24450` vulnerability
2022-12-13 14:17:58 +08:00
Pan
ef09d4b99c
run go mod tidy command
2022-12-12 17:49:54 +08:00
Pan
cf397f3748
Upgrade github.com/go-kit/kit package because it have vulnerabilities
2022-12-12 17:49:14 +08:00
Ming Deng
f5d84df153
Merge pull request #5095 from beego/dependabot/go_modules/github.com/prometheus/client_golang-1.14.0
...
build(deps): bump github.com/prometheus/client_golang from 1.12.1 to 1.14.0
2022-12-12 10:48:57 +08:00
Ming Deng
76343e4422
Prepare Release 2.0.6 ( #5104 )
...
* add: generic cache random time offset expired.
* bugfix: Csrf token should be Secure and httpOnly, but not now
* fix: expose the Offset property to allow external modifications
* improving the concurrency performance of random value calculation
* add WithOffsetFunc to define private RandomExpireCache.offset field
* fix: add seconds definition
* build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.8.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.1 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.8.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>
* fix 4907: force admin service http only
* Feat: add get all tasks function (#4999 )
* feat: add get all tasks function
* Refine Comments : admin/profile.go,bean/mock.go,config/global.go... (#5009 )
* Refine Comments
* refine comments for cache.go
* refine comments for log.go
* Update orm.go
* refine comments for orm_log.go,types.go
* Update utils.go
* Update doc.go
* refine comments for for four files (#5011 )
* refine comments for cache.go
* refine comments for log.go
* Update orm.go
* refine comments for orm_log.go,types.go
* Update utils.go
* Update doc.go
* Update db.go
* fix pass []any as any in variadic function by asasalint (#5012 )
* fix pass []any as any in variadic function
* add change log
* build(deps): bump go.opentelemetry.io/otel/trace from 1.7.0 to 1.8.0 (#5019 )
Bumps [go.opentelemetry.io/otel/trace](https://github.com/open-telemetry/opentelemetry-go ) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.7.0...v1.8.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/trace
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* refine comments for package core (#5014 )
* Refine Comments
* refine comments for cache.go
* refine comments for log.go
* Update orm.go
* refine comments for orm_log.go,types.go
* Update utils.go
* Update doc.go
* refine comments
* refine comments
* Update db.go
* refine comments for core
* build(deps): bump go.opentelemetry.io/otel/exporters/stdout/stdouttrace (#5018 )
Bumps [go.opentelemetry.io/otel/exporters/stdout/stdouttrace](https://github.com/open-telemetry/opentelemetry-go ) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.7.0...v1.8.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/stdout/stdouttrace
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix 5022: Miss assiging ln to graceful Server (#5028 )
* prepare for releasing v2.0.5
* prepare for releasing v2.0.5 (#5032 )
* feat: make commands and docker compose for ORM unit tests (#5031 )
* feat: make commands and docker compose for ORM unit tests
Signed-off-by: mango <xu.weiKyrie@foxmail.com>
* add changelog
Signed-off-by: mango <xu.weiKyrie@foxmail.com>
Signed-off-by: mango <xu.weiKyrie@foxmail.com>
* Modify comment syntax error (#5094 )
* fix: revise the body wrapper to handle empty body case (#5102 )
Fix the router.go serverHttp method, wrap the body if the request body
is empty, which can avoid panic when calling the CopyBody method.
Signed-off-by: chlins <chenyuzh@vmware.com>
Signed-off-by: chlins <chenyuzh@vmware.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: mango <xu.weiKyrie@foxmail.com>
Signed-off-by: chlins <chenyuzh@vmware.com>
Co-authored-by: auual <ding@ibyte.me>
Co-authored-by: Leon Ding <deen.job@qq.com>
Co-authored-by: dada0z <zhang.guangda@qq.com>
Co-authored-by: kevinzeng <kevinzeng@zego.im>
Co-authored-by: Kevin Tsang <39397413+ktalg@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 日暮颂歌1991 <448081525@qq.com>
Co-authored-by: Regan Yue <1131625869@qq.com>
Co-authored-by: alingse <alingse@foxmail.com>
Co-authored-by: mango <35127166+mangoGoForward@users.noreply.github.com>
Co-authored-by: 王哈哈 <31426858+wanghaha-dev@users.noreply.github.com>
Co-authored-by: Chlins Zhang <chlins.zhang@gmail.com>
2022-11-23 00:06:32 +08:00
Chlins Zhang
cc5a0258b2
fix: revise the body wrapper to handle empty body case ( #5102 )
...
Fix the router.go serverHttp method, wrap the body if the request body
is empty, which can avoid panic when calling the CopyBody method.
Signed-off-by: chlins <chenyuzh@vmware.com>
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-11-22 16:28:00 +08:00
王哈哈
1bb607b286
Modify comment syntax error ( #5094 )
2022-11-10 18:22:37 +08:00
dependabot[bot]
937f07cda7
build(deps): bump github.com/prometheus/client_golang
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.12.1 to 1.14.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.12.1...v1.14.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 13:03:09 +00:00
mango
a658b9fbe0
feat: make commands and docker compose for ORM unit tests ( #5031 )
...
* feat: make commands and docker compose for ORM unit tests
Signed-off-by: mango <xu.weiKyrie@foxmail.com>
* add changelog
Signed-off-by: mango <xu.weiKyrie@foxmail.com>
Signed-off-by: mango <xu.weiKyrie@foxmail.com>
2022-09-14 16:37:19 +08:00
Ming Deng
f81689dfb1
Release v2.0.5 ( #5033 )
...
* add: generic cache random time offset expired.
* bugfix: Csrf token should be Secure and httpOnly, but not now
* fix: expose the Offset property to allow external modifications
* improving the concurrency performance of random value calculation
* add WithOffsetFunc to define private RandomExpireCache.offset field
* fix: add seconds definition
* build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.8.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.1 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.8.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>
* fix 4907: force admin service http only
* Feat: add get all tasks function (#4999 )
* feat: add get all tasks function
* Refine Comments : admin/profile.go,bean/mock.go,config/global.go... (#5009 )
* Refine Comments
* refine comments for cache.go
* refine comments for log.go
* Update orm.go
* refine comments for orm_log.go,types.go
* Update utils.go
* Update doc.go
* refine comments for for four files (#5011 )
* refine comments for cache.go
* refine comments for log.go
* Update orm.go
* refine comments for orm_log.go,types.go
* Update utils.go
* Update doc.go
* Update db.go
* fix pass []any as any in variadic function by asasalint (#5012 )
* fix pass []any as any in variadic function
* add change log
* build(deps): bump go.opentelemetry.io/otel/trace from 1.7.0 to 1.8.0 (#5019 )
Bumps [go.opentelemetry.io/otel/trace](https://github.com/open-telemetry/opentelemetry-go ) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.7.0...v1.8.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/trace
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* refine comments for package core (#5014 )
* Refine Comments
* refine comments for cache.go
* refine comments for log.go
* Update orm.go
* refine comments for orm_log.go,types.go
* Update utils.go
* Update doc.go
* refine comments
* refine comments
* Update db.go
* refine comments for core
* build(deps): bump go.opentelemetry.io/otel/exporters/stdout/stdouttrace (#5018 )
Bumps [go.opentelemetry.io/otel/exporters/stdout/stdouttrace](https://github.com/open-telemetry/opentelemetry-go ) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.7.0...v1.8.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/stdout/stdouttrace
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix 5022: Miss assiging ln to graceful Server (#5028 )
* prepare for releasing v2.0.5 (#5032 )
Co-authored-by: auual <ding@ibyte.me>
Co-authored-by: Leon Ding <deen.job@qq.com>
Co-authored-by: dada0z <zhang.guangda@qq.com>
Co-authored-by: kevinzeng <kevinzeng@zego.im>
Co-authored-by: Kevin Tsang <39397413+ktalg@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 日暮颂歌1991 <448081525@qq.com>
Co-authored-by: Regan Yue <1131625869@qq.com>
Co-authored-by: alingse <alingse@foxmail.com>
2022-07-30 16:11:51 +08:00
Ming Deng
e84b93919f
prepare for releasing v2.0.5 ( #5032 )
2022-07-30 16:03:02 +08:00
Ming Deng
ab5a13f02a
fix 5022: Miss assiging ln to graceful Server ( #5028 )
2022-07-28 22:53:00 +08:00
dependabot[bot]
080f4e1a56
build(deps): bump go.opentelemetry.io/otel/exporters/stdout/stdouttrace ( #5018 )
...
Bumps [go.opentelemetry.io/otel/exporters/stdout/stdouttrace](https://github.com/open-telemetry/opentelemetry-go ) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.7.0...v1.8.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/stdout/stdouttrace
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-19 21:52:40 +08:00
Regan Yue
907956fbcf
refine comments for package core ( #5014 )
...
* Refine Comments
* refine comments for cache.go
* refine comments for log.go
* Update orm.go
* refine comments for orm_log.go,types.go
* Update utils.go
* Update doc.go
* refine comments
* refine comments
* Update db.go
* refine comments for core
2022-07-19 17:17:06 +08:00
dependabot[bot]
80e6f3d42c
build(deps): bump go.opentelemetry.io/otel/trace from 1.7.0 to 1.8.0 ( #5019 )
...
Bumps [go.opentelemetry.io/otel/trace](https://github.com/open-telemetry/opentelemetry-go ) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.7.0...v1.8.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/trace
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-18 18:11:04 +08:00
alingse
890caddfb3
fix pass []any as any in variadic function by asasalint ( #5012 )
...
* fix pass []any as any in variadic function
* add change log
2022-07-10 14:39:46 +08:00
Regan Yue
493e7db20b
refine comments for for four files ( #5011 )
...
* refine comments for cache.go
* refine comments for log.go
* Update orm.go
* refine comments for orm_log.go,types.go
* Update utils.go
* Update doc.go
* Update db.go
2022-07-09 18:10:19 +08:00
Regan Yue
49be2581d1
Refine Comments : admin/profile.go,bean/mock.go,config/global.go... ( #5009 )
...
* Refine Comments
* refine comments for cache.go
* refine comments for log.go
* Update orm.go
* refine comments for orm_log.go,types.go
* Update utils.go
* Update doc.go
2022-07-08 21:19:52 +08:00
日暮颂歌1991
2c506f7c2b
Feat: add get all tasks function ( #4999 )
...
* feat: add get all tasks function
2022-07-02 18:18:22 +08:00
Ming Deng
50c4c849da
Merge pull request #5005 from flycash/dev
...
fix 4907: force admin service http only
2022-07-02 17:09:44 +08:00
Deng Ming
bf60d037f2
fix 4907: force admin service http only
2022-07-02 17:04:31 +08:00
Ming Deng
4ec8eefa42
Merge pull request #5002 from beego/dependabot/go_modules/github.com/stretchr/testify-1.8.0
...
build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.8.0
2022-06-29 21:29:44 +08:00
Ming Deng
3eb35c710c
Merge pull request #5001 from ktalg/develop
...
fix: nil offset function of RandomExpireCache instance
2022-06-29 21:19:39 +08:00
dependabot[bot]
083b2c8858
build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.8.0
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.1 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.8.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>
2022-06-29 13:14:52 +00:00
Kevin Tsang
fa4cc95fd4
fix: add seconds definition
2022-06-29 14:13:52 +08:00
Kevin Tsang
178440bcdd
add WithOffsetFunc to define private RandomExpireCache.offset field
2022-06-29 14:11:42 +08:00
kevinzeng
6edee6c9c9
improving the concurrency performance of random value calculation
2022-06-28 13:17:48 +08:00
kevinzeng
4f8e984df6
fix: expose the Offset property to allow external modifications
2022-06-28 13:17:00 +08:00
Ming Deng
7fa92f927a
Merge pull request #4990 from dada0z/develop
...
bugfix: Csrf token should be Secure and httpOnly, but not now
2022-06-18 23:19:56 +08:00
dada0z
d696a37f48
bugfix: Csrf token should be Secure and httpOnly, but not now
2022-06-18 19:50:00 +08:00
Ming Deng
8b43b87dbb
Merge pull request #4984 from auula/develop
...
fix: random expired time cache.
2022-06-12 22:28:47 +08:00
Leon Ding
44220f55bc
Merge branch 'develop' into develop
2022-06-12 22:21:55 +08:00
auual
e36eb1a3c5
add: generic cache random time offset expired.
2022-06-12 22:20:11 +08:00
Ming Deng
cc476cd57d
Merge pull request #4986 from beego/master
...
Master to develop
2022-06-12 22:00:49 +08:00
Ming Deng
0b8b87cf56
Merge pull request #4982 from flycash/dev
...
Release v2.0.4 change log
2022-06-12 10:42:27 +08:00
Deng Ming
9d27055fc8
Release v2.0.4 change log
2022-06-12 10:41:06 +08:00
Ming Deng
fd15b2026b
Merge pull request #4981 from beego/develop
...
Release v2.0.4
2022-06-12 10:38:39 +08:00
Ming Deng
a6779b48a4
Merge pull request #4980 from flycash/dev
...
fix 4976: make admin serve HTTP only
2022-06-10 21:52:49 +08:00
Deng Ming
41cc57dcf2
fix 4976: make admin serve HTTP only
2022-06-10 21:26:36 +08:00
Ming Deng
af271bcc6e
Merge pull request #4979 from flycash/dev
...
fix 4975: graceful server listen the specific address
2022-06-10 21:07:48 +08:00
Deng Ming
79abec4fb9
fix 4975: graceful server listen the specific address
2022-06-10 19:04:09 +08:00
Ming Deng
5a873ea0f0
Merge pull request #4950 from Dokiys/feature/orm_otel_filter
...
Feat: add orm opentelemetry filter
2022-05-30 23:20:55 +08:00
Dokiy
f2c28be167
feat: add orm opentelemetry filter
2022-05-29 21:47:53 +08:00