Deng Ming
02331f66d4
optimize test
2023-05-27 14:41:51 +08:00
Ming Deng
2d2e11d57d
fix 5079: only log msg when the channel is not closed ( #5132 )
2023-05-27 14:41:51 +08:00
dependabot[bot]
1d165675f4
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>
2023-05-27 14:41:51 +08:00
Deng Ming
660a19d896
remove beego.vip
2023-05-27 14:41:51 +08:00
Deng Ming
85473bc898
fix 5129: must set formatter after init the logger
2023-05-27 14:41:51 +08:00
dependabot[bot]
599b441f44
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>
2023-05-27 14:41:51 +08:00
Stone-afk
be339e8e7c
feature add singleflight cache ( #5119 )
2023-05-27 14:41:51 +08:00
hookokoko
badab8eafd
feature: add write though for cache mode ( #5117 )
...
* feature: add writethough for cache mode
2023-05-27 14:41:51 +08:00
Stone-afk
882130421d
feature extend readthrough for cache module ( #5116 )
...
* feature 增加readthrough
2023-05-27 14:41:51 +08:00
Deng Ming
bbe1e4c112
Release 2.1.0 change log
2023-05-27 14:33:32 +08:00
Deng Ming
d216cb76fa
cache: fix typo and optimize the naming
2023-05-27 13:21:03 +08:00
dependabot[bot]
d8ffaffb78
build(deps): bump go.etcd.io/etcd/client/v3 from 3.5.4 to 3.5.9 ( #5209 )
...
Bumps [go.etcd.io/etcd/client/v3](https://github.com/etcd-io/etcd ) from 3.5.4 to 3.5.9.
- [Release notes](https://github.com/etcd-io/etcd/releases )
- [Commits](https://github.com/etcd-io/etcd/compare/v3.5.4...v3.5.9 )
---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/client/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-21 15:20:12 +08:00
dependabot[bot]
83df8e85e9
build(deps): bump github.com/prometheus/client_golang ( #5213 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.14.0 to 1.15.1.
- [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.14.0...v1.15.1 )
---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-21 14:09:27 +08:00
cui fliter
53d9e8be69
fix some comments ( #5194 )
...
Signed-off-by: cui fliter <imcusg@gmail.com>
2023-05-21 13:48:06 +08:00
Stone-afk
0002ad0fb4
bugfix: protect field access with lock to avoid possible data race ( #5211 )
2023-05-18 21:22:41 +08:00
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