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

release 2.5.0 #13060

Merged
merged 64 commits into from
Jan 21, 2025
Merged

release 2.5.0 #13060

merged 64 commits into from
Jan 21, 2025

Conversation

KomachiSion
Copy link
Collaborator

Please do not create a Pull Request without creating an issue first.

What is the purpose of the change

XXXXX

Brief changelog

XX

Verifying this change

XXXX

Follow this checklist to help us incorporate your contribution quickly and easily:

  • Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
  • Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
  • Run mvn -B clean package apache-rat:check findbugs:findbugs -Dmaven.test.skip=true to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test to make sure integration-test pass.

shiyiyue1102 and others added 30 commits July 26, 2024 17:04
* 34567

* refactor gray model

* pmd checkstyle

* 兼容性处理

* 灰度增量对账

* 升级内容字段编码,添加gray表

* pmd and checkstyle

* merge develop fix conflict

* derby create gray table

* modify gray table sql

* derby sql bugfix

* fix test case

* fix test case

* fix test case
…12507)

* Refine the formal configuration and add additional information(#12217)

* Change the "configType" field to "publishType"(#12217)

* Improve the gray configuration(#12217)

* add the reconciliation mechanism of gray configuration(#12217)

* Change the JSON format of gray rule.(#12217)

* Remove redundant queries(#12217)

* fix reconciliation mechanism of gray configuration.(#12217)

* Adjust the way of obtaining grayName.(#12217)

* Change the variable name.(#12217
* Add unit test for sys module.

* Add unit test for sys module.

* Fix unit test.

* Make unit test more stable.

* Make unit test more stable.
* refactor: Unified Nacos Client address module code, and provide custom expansion capabilities

* refactor: Adjust the priority of endpoint and server addr

* refactor: adjust code for code review

* refactor: adjust code for code review

* refactor: adjust code for code review

* refactor: adjust code for code review

* refactor: adjust code for code review

* refactor: adjust code for code review

* refactor: add new line

* refactor: adjust code for review

* refactor: adjust code for review

* refactor: adjust code for review

* refactor: merge develop and fix test

* refactor: revert test code

* refactor: adjust for code review

* refactor: fix checkstyle
* feat: - support e2e write url to pr
      - support java auth test
      - fix cpp bug cased by mirror error

* feat: - support e2e write url to pr
      - support java auth test
      - fix cpp bug cased by mirror error

* feat: - support e2e write url to pr
      - support java auth test
      - fix cpp bug cased by mirror error
* fix: upgrade upload-artifact version

* fix: upgrade upload-artifact version

* feat: support e2e write to pr
…12746)

* Refactor server list manager and server list provider.
And Add unit test for these classes.

* Little refactor and enhance for ConfigServerListManager and NamingServerListManager.
Add unit test for these.
* Make unit test more stable.

* update comment。

* update comment。

* change repo to alibaba/nacos.

* 尝试添加评论PR的权限。

* 尝试添加评论PR的权限。

* 尝试添加评论PR的权限。

* comment on pr action by pull_request_target.

* use github.repository variable replace repository
* Add some check in DiskUtil and add unit test.

* simply DiskUtils in control plugin.
* Support custom client configuration timeout.(#12748)

* Add UT.(#12748
…h-refactor

# Conflicts:
#	config/src/main/java/com/alibaba/nacos/config/server/constant/PropertiesConstant.java
#	config/src/main/java/com/alibaba/nacos/config/server/remote/ConfigChangeClusterSyncRequestHandler.java
#	config/src/main/java/com/alibaba/nacos/config/server/service/dump/disk/ConfigRawDiskService.java
#	config/src/test/java/com/alibaba/nacos/config/server/service/dump/disk/ConfigRawDiskServiceTest.java
#	console/src/main/resources/static/index.html
#	console/src/main/resources/static/js/main.js
…t. (#12815)

fix(#11930): the information of default namespace should be consistent.

fix(#11930): the information of default namespace should be consistent.
2.simplify gray model
3.gray model upgrade compatible
* [ISSUE #12719] Interval refresh the client's access token.

* Safely obtaining LoginIdentityContext
Fix the version comparison query SQL.
* Refactor Auth server identity check.

* Fix Unit test.

* For checkstyle.
littlesparklet and others added 29 commits December 4, 2024 09:19
…edirected to the login page without pop-ups. (related issue #11153) (#12907)

* Remove excess code.(related issue #12871 )

* Log in to the console through a browser http://ip:8848/nacos and be redirected to the login page without pop-ups. (related issue #11153)
 config query chain of responsibility model refactor
#12805)

* The error message is not user-friendly when adding duplicate permissions. (#12273)

* The error message is not user-friendly when adding duplicate permissions. (#12773)

* add some unit test.

* fix ci fail.
#12803)

* The error message is not user-friendly when adding duplicate permissions. (#12773)

* The error message is not user-friendly when adding duplicate permissions.(#12773)
…e the extension and implementation of databases like Oracle. (#12343)

* Improve the retrieval of ConfigInfoState to facilitate the extension and implementation of databases like Oracle.

* Add unit tests for the SQL construction part of the `ExternalConfigInfoPersistServiceImpl#findConfigInfoState` method.

* Enhance the construction of the delete statement in AbstractMapper by using a unified appendWhereClause method to construct the WHERE clause. Modify appendWhereClause to be protected, allowing for customization based on different database types, such as adjustments according to column names.
…ibe exception (#12929)

* when get cached all instance with `subscribe` exception, will return cached instance not throw exception.

* For checkstyle
…ns or binding relationship. (#12926)

* Fix unfriendly message when adding duplicate roles.

* unit test.

* correct code style.

* correct code style.

* correct code style.
* feat(优化抽象类AbstractMapper) 将for循环拼接的SQL语句改为Lambda表达式拼接,使得代码简洁清晰,并添加相关测试用例

* [ISSUE #12914] 优化抽象类AbstractMapper,将for循环拼接的SQL语句改为Lambda表达式拼接,使得代码简洁清晰,并添加相关测试用例

* [ISSUE #12911] resolve code conflict
…e UTF-8 encoding for md5 fields (#12931)

* Refactor ConfigCache and related pathways optimize encoding for md5 fields. Utilize the SPI mechanism in related pathways and methods to ensure extensibility for config cache
)

* fix type search on mysql model

* add column gray name  into his_config_info

* check style and pmd fix

* add colomn for mapper

* fix rollback history type miss

* testcase

* testcase
* fix type search on mysql model

* 灰度模型迁移程序并发&迁移不落历史表
#12942)

* add API getConfigHistoryInfoPair: query the detailed configuration history information pair, including original version and updated version.

* add unit test.

* correct code style.

* correct code style.

* correct code style.

* Optimize code quality.

* solve ci fail.

* solve ci fail.

* solve ci fail.

* solve ci fail.

* ci pass.

* consider gray history config info.

* solve ci error.
* fix type search on mysql model

* 灰度模型迁移程序并发&迁移不落历史表

* Config migrate executor times

* 1.Config migrate executor times
2. history comparation optimize

* 1.Config migrate executor times
2. history comparation optimize

* checkstyle
…or (#12971)

* [ISSUE #12970] Fix NamingMetadataManager.removeInstanceMetadata() error

fix #12970

* Update NamingMetadataManagerTest.java
* [ISSUE #12940] Add a new param to support return all subscriber when ip or port is null.

* [ISSUE #12940] Add a new param to support return all subscriber when ip or port is null.

* [ISSUE #12940] add some unit tests.
… the logic (#13024)

 optimize Config Query Chain logic
* fix comment typo on ServiceInfo(key) constructor

* fix comment typo on ServiceInfo#GROUP_POSITION field
…13025)

Bumps org.apache.tomcat.embed:tomcat-embed-core from 9.0.96 to 9.0.98.

---
updated-dependencies:
- dependency-name: org.apache.tomcat.embed:tomcat-embed-core
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Upgrade to 2.5.0.

* Bump ui dependencies by npm audix.

* Fix unit test.

* Ignore DumpAllProcessorTest Tmp.
* fix type search on mysql model

* 灰度模型迁移程序并发&迁移不落历史表

* fix notify delay
@KomachiSion KomachiSion merged commit 11de43f into master Jan 21, 2025
26 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.