Xuing
e4cd6b5722
Unified gopkg.in/yaml version to v2 ( #5169 )
...
* Unified gopkg.in/yaml version to v2 and go mod tidy
* update CHANGELOG
2023-03-09 15:19:01 +08:00
Ming Deng
9cf5b31d67
fix the docsite URL ( #5173 )
2023-03-09 15:06:38 +08:00
hookokoko
eb9ab48baa
add non-block write log in asynchronous mode ( #5150 )
...
* add non-block write log in asynchronous mode
---------
Co-authored-by: chenhaokun <chenhaokun@itiger.com>
2023-02-07 10:33:55 +08:00
Stone-afk
031c0fc8af
rft: motify BeeLogger signalChan ( #5139 )
2023-01-20 13:49:03 +08:00
Stone-afk
8d139b8b29
bugfix Controller SaveToFile remove all temp file
2023-01-16 13:02:54 +08:00
Stone-afk
df32e9e2a8
feature upload remove all temp file
2023-01-16 13:02:54 +08:00
hookokoko
109361078d
Bloom filter cache ( #5126 )
...
* feature: add bloom filter cache
2022-12-26 23:53:27 +08:00
Ming Deng
de5d4e91ef
Merge pull request #5133 from flycash/develop
...
optimize httplib test
2022-12-23 11:49:29 +08:00
Deng Ming
5ade9fa025
format code
2022-12-23 11:31:00 +08:00
Deng Ming
15fa7e15d4
upgrade otel dependencies to v1.11.2
2022-12-23 01:00:19 +08:00
Deng Ming
67b34d692f
Merge branch 'develop' of github.com:beego/beego into develop
2022-12-23 00:58:00 +08:00
Ming Deng
47c31e237b
Merge pull request #5114 from beego/dependabot/go_modules/go.opentelemetry.io/otel/trace-1.11.2
...
build(deps): bump go.opentelemetry.io/otel/trace from 1.8.0 to 1.11.2
2022-12-23 00:56:05 +08:00
Ming Deng
c386939344
Merge pull request #5131 from beego/dependabot/github_actions/actions/stale-7
...
build(deps): bump actions/stale from 5 to 7
2022-12-23 00:55:12 +08:00
Deng Ming
48eea4de95
optimize test
2022-12-23 00:52:39 +08:00
Ming Deng
eac6c3a4cd
fix 5079: only log msg when the channel is not closed ( #5132 )
2022-12-22 10:47:01 +08:00
dependabot[bot]
ca60f73ee2
build(deps): bump actions/stale from 5 to 7
...
Bumps [actions/stale](https://github.com/actions/stale ) from 5 to 7.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v5...v7 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-21 13:05:35 +00:00
Deng Ming
e4109d09d6
remove beego.vip
2022-12-20 16:51:45 +08:00
Deng Ming
09815e2128
fix 5129: must set formatter after init the logger
2022-12-20 16:46:55 +08:00
dependabot[bot]
d31e5674d0
build(deps): bump go.opentelemetry.io/otel/trace from 1.8.0 to 1.11.2
...
Bumps [go.opentelemetry.io/otel/trace](https://github.com/open-telemetry/opentelemetry-go ) from 1.8.0 to 1.11.2.
- [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.8.0...v1.11.2 )
---
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>
2022-12-20 08:33:36 +00:00
Stone-afk
f0a59fe984
feature add singleflight cache ( #5119 )
2022-12-20 16:32:26 +08:00
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
46d660464e
Merge pull request #5124 from beego/develop
...
Prepare Release v2.0.7
2022-12-13 18:49:57 +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