3xxx / engineercms

工程师知识管理系统:基于golang语言(beego框架),支持分布式文件存储minio集群部署。engineercms为土木工程师基于web的知识管理系统。管理个人、工程项目资料,业主—设计—监理—施工方均从平台获得资料。支持提取码分享文件、onlyoffice实时文档协作,在线利用mindoc创作你的书籍,阅览PDF文件。手机端配套小程序,微信搜索“设计与管理”即可呼出小程序。
https://zsj.itdos.net/
Apache License 2.0
1.35k stars 410 forks source link

Bump github.com/beego/beego/v2 from 2.0.1 to 2.0.2 #65

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps github.com/beego/beego/v2 from 2.0.1 to 2.0.2.

Release notes

Sourced from github.com/beego/beego/v2's releases.

Release v2.0.2

Change Log

Incompatible Changes:

We remove the comments router generation function. So you have to run bee generate routers command to generate the routers. Here is the command:

bee generate routers [-ctrlDir=/path/to/controller/directory] [-routersFile=/path/to/routers/file.go] [-routersPkg=myPackage]
    -ctrlDir: the directory contains controllers definition. Bee scans this directory and its subdirectory to generate routers info
    -routersFile: output file. All generated routers info will be output into this file.
              If file not found, Bee create new one, or Bee truncates it.
              The default value is "routers/commentRouters.go"
    -routersPkg: package declaration.The default value is "routers".
              When you pass routersFile parameter, youd better pass this parameter

Release v2.0.2-beta.1

We focus on four things:

  1. Improve code quality;
  2. Fix bugs;
  3. Introduce error code for some modules. We will design error code for other modules in the future if we got good feedback;
  4. Add some convininet functions for web module;

CHANGE LOG

  • Add a custom option for whether to escape HTML special characters when processing http request parameters. 4701
  • Always set the response status in the CustomAbort function. 4686
  • Add template functions eq,lt to support uint and int compare. 4607
  • Migrate tests to GitHub Actions. 4663
  • Add http client and option func. 4455
  • Add: Convenient way to generate mock object 4620
  • Infra: use dependabot to update dependencies. 4623
  • Lint: use golangci-lint. 4619
  • Chore: format code. 4615
  • Test on Go v1.15.x & v1.16.x. 4614
  • Env: non-empty GOBIN & GOPATH. 4613
  • Chore: update dependencies. 4611
  • Update orm_test.go/TestInsertOrUpdate with table-driven. 4609
  • Add: Resp() method for web.Controller. 4588
  • Web mock and test support. 4565 4574
  • Error codes definition of cache module. 4493
  • Remove generateCommentRoute http hook. Using bee generate routers commands instead.4486 bee PR 762
  • Fix: /abc.html/aaa match /abc/aaa. 4459
  • ORM mock. 4407
  • Add sonar check and ignore test. 4432 4433
  • Update changlog.yml to check every PR to develop branch.4427
  • Fix 4396: Add context.param module into adapter. 4398
  • Support RollbackUnlessCommit API. 4542
  • Fix 4503 and 4504: Add when to Write([]byte) method and add prefix to writeMsg. 4507
  • Fix 4480: log format incorrect. 4482
  • Remove duration from prometheus labels. 4391
  • Fix unknown escape sequence in generated code. 4385

... (truncated)

Changelog

Sourced from github.com/beego/beego/v2's changelog.

v2.0.2

See v2.0.2-beta.1

v2.0.2-beta.1

  • Add a custom option for whether to escape HTML special characters when processing http request parameters. 4701
  • Always set the response status in the CustomAbort function. 4686
  • Add template functions eq,lt to support uint and int compare. 4607
  • Migrate tests to GitHub Actions. 4663
  • Add http client and option func. 4455
  • Add: Convenient way to generate mock object 4620
  • Infra: use dependabot to update dependencies. 4623
  • Lint: use golangci-lint. 4619
  • Chore: format code. 4615
  • Test on Go v1.15.x & v1.16.x. 4614
  • Env: non-empty GOBIN & GOPATH. 4613
  • Chore: update dependencies. 4611
  • Update orm_test.go/TestInsertOrUpdate with table-driven. 4609
  • Add: Resp() method for web.Controller. 4588
  • Web mock and test support. 4565 4574
  • Error codes definition of cache module. 4493
  • Remove generateCommentRoute http hook. Using bee generate routers commands instead.4486 bee PR 762
  • Fix: /abc.html/aaa match /abc/aaa. 4459
  • ORM mock. 4407
  • Add sonar check and ignore test. 4432 4433
  • Update changlog.yml to check every PR to develop branch.4427
  • Fix 4396: Add context.param module into adapter. 4398
  • Support RollbackUnlessCommit API. 4542
  • Fix 4503 and 4504: Add when to Write([]byte) method and add prefix to writeMsg. 4507
  • Fix 4480: log format incorrect. 4482
  • Remove duration from prometheus labels. 4391
  • Fix unknown escape sequence in generated code. 4385
  • Fix 4590: Forget to check URL when FilterChain invoke next(). 4593
  • Fix 4727: CSS when request URI is invalid. 4729
  • Using fixed name commentRouter.go as generated file name. 4385
  • Fix 4383: ORM Adapter produces panic when using orm.RegisterModelWithPrefix. 4386
  • Support 4144: Add new api for order by for supporting multiple way to query 4294
  • Support session Filter chain. 4404
  • Feature issue #4402 finish router get example. 4416
  • Implement context.Context support and deprecate QueryM2MWithCtx and QueryTableWithCtx 4424
  • Finish timeout option for tasks #4441 4441
  • Error Module brief design & using httplib module to validate this design. 4453
  • Fix 4444: panic when 404 not found. 4446
  • Fix 4435: fix panic when controller dir not found. 4452
  • Hotfix:reflect.ValueOf(nil) in getFlatParams 4716
  • Fix 4456: Fix router method expression 4456
  • Remove some go get lines in .travis.yml file 4469
  • Fix 4451: support QueryExecutor interface. 4461
  • Add some testing scripts 4461
  • Refactor httplib: Move debug code to a filter 4440
  • fix: code quality issues 4513

... (truncated)

Commits
  • 6255e55 Merge pull request #4845 from flycash/master
  • b8cf07f fix bug: etcd should use etcd as adapter name
  • 82919a0 Merge pull request #4804 from flycash/fix4782
  • fe4b84e fix4791: delay to format parameter
  • 99d26b0 Merge pull request #4797 from flycash/fix4782
  • 0347cfc fxi4782: must set status before rendering error page
  • eb2bed7 Merge pull request #4796 from flycash/fix-4789
  • 3981234 set default rate and capacity for ratelimit filter
  • c6e84d8 Merge pull request #4769 from flycash/v2.0.2-beta.1
  • 9ced4fd Update change log
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/3xxx/engineercms/network/alerts).