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

Bump com.alibaba.nacos:nacos-client from 2.4.1 to 2.5.0 #5172

Open
wants to merge 4,686 commits into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 1, 2025

Bumps com.alibaba.nacos:nacos-client from 2.4.1 to 2.5.0.

Release notes

Sourced from com.alibaba.nacos:nacos-client's releases.

2.5.0 (Jan 21th, 2025)

This version mainly introduces the configuration gray history record feature and refactors and optimizes the configuration gray management to enable users to manage configuration releases and gray configurations more efficiently. It is important to note that this update may lead to certain changes in the database table structure used by Nacos, and the first startup after the upgrade may take some time for automatic data migration (this situation only applies to clusters that have used the beta gray feature in older versions).

In addition to the above features, this version also includes significant optimizations and bug fixes for several other functions, including but not limited to the following:

  • Unified client addressing logic and provision of custom extension interfaces.
  • The client will automatically refresh the token when encountering a no-permission status during requests, without waiting for the token to expire.

Please see the details of the changes below:

Change details

Feature

#12217 Support beta config history. #12257 client auth plugin support refreshing server list. #12719 nacos client support refresh access token when request with 403.

Enhancement&Refactor

#11659 Refactor config query to chain of responsibility. #12189 Unified Nacos Client address module code. #12342 Improve the retrieval of ConfigInfoState to facilitate the extension and implementation of databases like Oracle. #12644 Enhance to return cached instances when getAllInstance with subscribe exception. #12748 Support custom client configuration timeout. #12756 Enhance Disk operation for DiskUtils. #12757 Refactor update password api auth check and add unit test. #12773 Enhance hint message when adding duplicate permissions or binding relationship. #12371 Refactor beta and gray config model. #12851 Cluster grpc request add server identity info. #12872 Refactor ConfigCache and related pathways, uniformly use UTF-8 encoding for md5 fields. #12911 Use lambda to replace some for loop and add unit tests. #12928 Replace document url in console ui and README. #12950 Enhance nacos client destruction log and give better messages. #12982 Enhance to support resolving JAVA_HOME from symbolic links when which java is used. #13023 Optimize the logic for Config query API.

BugFix

#11153 Fix Hints error when access console index and redirect to login page. #11930 Fix leak namespace description for default namespace problem. #12769 Fix clean config history error for derby datasource. #12871 Fix duplicate defined items in console ui. #12875 Fix config search failed when using type for MySQL datasource. #12940 Fix return empty when ip or port is null for API /service/subscriber/list. #12960 Fix config rollback page error when use advanced options. #12970 Fix NamingMetadataManager.removeInstanceMetadata() error. #13003 Fix don't use derby default staring with standalone mode.

Dependency

#12686 Bump Spring Security version to 5.8.15. #12735#12965#13035 Bump console ui dependencies by npm audit. #12777 Bump maven-enforcer-plugin to 3.5.0.

... (truncated)

Commits
  • 90d3469 fix config query notify delay (#13050)
  • 2d78d1c Upgrade 2.5.0 and bump console-ui dependencies by npm audix. (#13035)
  • 6da6cc9 Bump org.apache.tomcat.embed:tomcat-embed-core from 9.0.96 to 9.0.98 (#13025)
  • 8c0682b [ISSUE#13021] fix comment typo on ServiceInfo(key) constructor (#13022)
  • 8a136c2 [ISSUE #13023]Add Unit Test for ConfigQueryHandlerChainn and optimize the log...
  • 3796395 Return all subscriber when ip or port is null. (#13008)
  • 595bdc9 update destruction log and give better messages (#12950)
  • 14becb8 optimize: support resolving JAVA_HOME from symbolic links when which java i...
  • f0e6425 [ISSUE #13003] 修复单机默认配置启动时,未使用derby数据库问题 (#13004)
  • 762303b [ISSUE #12970] Fix NamingMetadataManager.removeInstanceMetadata() error (#12971)
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

karsonto and others added 30 commits January 8, 2024 17:31
* fix bug for mac get ip address

* reformat code style

* rename parameter

* some enhance

* some enhance
…oderException (#4702)

* [ISSUE #4701]fix use tcp protocol client send message, it throw a DecoderException

* optmize code

* refactor with LengthFieldBasedFrameDecoder

* fix code style

* optimize code

* fix log print

* optimize code and add some comments
…4716)

* Properly close resources used by WatchFileManagerTest

* Create WatchService without try-with-resources

The WatchService was being prematurely auto-closed, resulting in ClosedWatchService exceptions

* Restructure WatchFileManagerTest.testWatchFile to assert the file change event is detected

* Load properties file prior to creating FileWriter in WatchFileManagerTest

This change ensures the properties in tempConfigFile are loaded into the properties object before the tempConfigFile is cleared by creating the new FileWriter

* Verify onChange is called at least once

Depending on when the WatchService begins monitoring for file changes, it is possible that creating the new FileWriter, which clears the provided file, will trigger an onChange call, in addition to the onChange call triggered by properties.store().

* Close WatchService in WatchFileTask.shutdown()
* deployment operator, commands simplified.

* update

* update resources
…d elegant logging (#4698)

* upgrade log4j and slf4j

* recommanded example

* add known dependencies

* remove log4j-to-slf4j

* Revert "recommanded example"

This reverts commit 3c52810.

* Deprecate `LogUtils` for removal

The `LogUtils` class is not useful because:

 * it wraps every logger call in `isLevelEnabled`. These are not
   necessary since the arguments to the logger calls are simple
   variables and not computationally complex expressions,
 * currently it breaks location detection of the logger calls, which
   will always show `LogUtils` as origin,
 * it prevents the project from using source code rewrite tools like
   [`rewrite-logging-frameworks`](https://github.com/openrewrite/rewrite-logging-frameworks).

This commit adds deprecates the class for removal in the next major
version and adds Error Prone's `@InlineMe` annotations, to help users
automatically rewrite code based on `LogUtils`.

* Add minimal `errorPronePatch` task

This task patches the codebase based on Error Prone suggestions (cf.
[patching](https://errorprone.info/docs/patching), without adding Error
Prone to the main compile task.

It is a simplified version of the `gradle-errorprone-plugin` (cf.
[installing](https://errorprone.info/docs/installation) and only works
on a clean tree using JDK 11.

Use as:

./gradlew clean errorPronePatch errorPronePatchTest

* Rewrite `LogUtils` call sites

This commit contains exclusively code changes performed by Error Prone
and rewrites all the callsites to `LogUtils` to use the `Logger` object
directly.

* add suppliers

* Revert "Rewrite `LogUtils` call sites"

This reverts commit 1dc6bf4.

* Replace the time-consuming method parms with the supplier usage of LogUtil

* Execute errorProne scripts and remove blank line by IDEA optimize import

* Remove non-supplier methods in LogUtils

* Remove unused trace and error log level

* Rename LogUtils to LogUtil to save space

* Fix checkstyle

* Replace isXXXXEnabled to normal use

* Rename messageLogger to static final MESSAGE_LOGGER

* Fix all checkstyle warnings

* run spotlessApply

* Fix JDK11 Javadoc task failed

* Add {} and fix javadoc task

* Revert "Add minimal `errorPronePatch` task"

This reverts commit 0407bda.

* Turn back to surpress javadoc only on JDK8

* Fix logging lack param

* Merge branch 'master' into pil0txia_enhance_4697

---------

Co-authored-by: Piotr P. Karwasz <[email protected]>
* refactor: Use static final modifier to decorate Logger

Signed-off-by: Ruslan Mykoliuk <[email protected]>

* refactor: Check style

Signed-off-by: Ruslan Mykoliuk <[email protected]>

* Update EventMeshConstants.java

* Update BatchSendMessageProcessor.java

* Update EventMeshConstants.java

---------

Signed-off-by: Ruslan Mykoliuk <[email protected]>
* Add GRADLE_ENTERPRISE_ACCESS_KEY to a couple of Gradle builds missing it

* Update to most recent Gradle Enterprise Gradle Plugin

* Move CodeQL verification to its own worfklow

* Rename CodeQL workflow to "Analyze"

* Rename "Build" workflow to "Docker"

* Restore the language matrix with 'java' as the only language in ci workflow

* Return the cpp/csharp language step in ci workflow

* Rename CodeQL job to "Analyze" rather than "Build"
* operator quick start link

* update

* README.zh-CN.md

* update README.zh-CN.md

* update README.zh-CN.md and add README.md

* update README.md

* update README.zh-CN.md

* update

* add deploy operator on k8s

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update
… constraints. (#4693)

* resources describes the compute resource requirements and limits 、component initialization order rules and DNS.

* add license and update runtime resources

* update runtime_controller.go

* update

* deployment operator, commands simplified.

* update

* update

* update

* update
* Implemented the functions of file source connector.

* Implemented the functions of file source connector.

* Implemented the functions of file source connector.

* Implemented the functions of file source connector.

* Implemented the functions of file source connector.

* Implemented the functions of file source connector.

* Implemented the functions of file source connector.

* Implemented the functions of file source connector.

* Implemented the functions of file source connector.

* Implemented the functions of file source connector.

* Implemented the functions of file source connector.

* Implemented the functions of file source connector.
…EtcdCustomService] (#4752)

* Enhance thread handling of InterruptedException

* inline variable

* check code style

* catch InterruptedException in a separate catch code block
* Substitute e.printStackTrace() with log.error()

* add exception arg

* Modify the wording of the log
…ocs (#4726)

* Update issue template and enable code block rendering

* Remove deprecated docs
…ply message (#4751)

* optimized returned reply msg

* corrected the change
…dy] (#4757)

* added appropriate getters and setters for HeartbeatEntity class in HeartbeatRequestBody.java. updated EventMeshHttpConsumer.java to access aforementioned variables using correct setters. Updated HeartbeatProcessor.java to access aforementioned variables using correct getters.

* <Removed unnecessary getters and setters in eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/http/body/client/HeartbeatRequestBody.java >
…er (#4739)

* fix 4738

* fix some bug

* fix bug

* remove initProducerManager from AbstractRemotingServer init

* bug fix

* bug fix

* some enhance

* some enhance

* add admin bootstrap

* some enhance

* remove HttpHandlerManager and ClientManageController.

* modify some unit test

* add admin http handlermanager
* [ISSUE #4458] Support mysql Sink Connector feature

* remove pg jdbc import

* update dependencies
* Add null check in writeOffset method

* delete todo

* Move data.put inside null check in writeOffset method

* simplify if judgement

* remove dev environment

* fix style
a. Change to private modifier.
b. Repeat code extraction as method.
* condition_check_for_source_eorker

* ci_typo_fix

* import_order_fix
cnzakii and others added 25 commits October 28, 2024 11:37
…lementing FunctionRuntime. (#5109)

* feat: Unified function module

* feat: update something

* feat: update FunctionRuntime

* feat: update FunctionRuntime
Bumps software.amazon.awssdk:s3 from 2.28.12 to 2.29.5.

---
updated-dependencies:
- dependency-name: software.amazon.awssdk:s3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…5125)

Bumps [com.zendesk:mysql-binlog-connector-java](https://github.com/osheroff/mysql-binlog-connector-java) from 0.29.2 to 0.30.1.
- [Changelog](https://github.com/osheroff/mysql-binlog-connector-java/blob/master/CHANGELOG.md)
- [Commits](https://github.com/osheroff/mysql-binlog-connector-java/commits)

---
updated-dependencies:
- dependency-name: com.zendesk:mysql-binlog-connector-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [org.redisson:redisson](https://github.com/redisson/redisson) from 3.36.0 to 3.38.1.
- [Release notes](https://github.com/redisson/redisson/releases)
- [Changelog](https://github.com/redisson/redisson/blob/master/CHANGELOG.md)
- [Commits](redisson/redisson@redisson-3.36.0...redisson-3.38.1)

---
updated-dependencies:
- dependency-name: org.redisson:redisson
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps org.apache.kafka:kafka-clients from 3.7.1 to 3.8.1.

---
updated-dependencies:
- dependency-name: org.apache.kafka:kafka-clients
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps commons-io:commons-io from 2.17.0 to 2.18.0.

---
updated-dependencies:
- dependency-name: commons-io:commons-io
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps org.apache.kafka:kafka-clients from 3.8.1 to 3.9.0.

---
updated-dependencies:
- dependency-name: org.apache.kafka:kafka-clients
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* [ISSUE #5127] fix

* [ISSUE #5127] fix

* [ISSUE #5127] fix

* [ISSUE #5127] fix

* [ISSUE #5127] fix checkstyle test

---------

Co-authored-by: JiangShuJu <[email protected]>
* [ISSUE #5137] update connector runtime v2 module

* fix checkStyle error
* [ISSUE #5137] update connector runtime v2 module

* fix checkStyle error

* [ISSUE #5139] update canal connector module
* [ISSUE #5137] update connector runtime v2 module

* fix checkStyle error

* [ISSUE #5139] update canal connector module
* [ISSUE #5137] update connector runtime v2 module

* fix checkStyle error

* [ISSUE #5139] update canal connector module

* [ISSUE #5141] update eventmesh-admin-server module
* [ISSUE #5137] update connector runtime v2 module

* fix checkStyle error

* [ISSUE #5139] update canal connector module

* [ISSUE #5141] update eventmesh-admin-server module

* [ISSUE #5144] update eventmesh-connector-http module
* Update cncf landscape link in README.md

* Update README.md
* Publish build scans to develocity.apache.org
* Update Develocity plugin versions
* Add a projectId
* Use `DEVELOCITY_ACCESS_KEY` to authenticate to `develocity.apache.org`
Bumps [com.alibaba.nacos:nacos-client](https://github.com/alibaba/nacos) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/alibaba/nacos/releases)
- [Changelog](https://github.com/alibaba/nacos/blob/develop/CHANGELOG.md)
- [Commits](alibaba/nacos@2.4.1...2.5.0)

---
updated-dependencies:
- dependency-name: com.alibaba.nacos:nacos-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Feb 1, 2025
github-actions[bot]
github-actions bot previously approved these changes Feb 1, 2025
@xwm1992 xwm1992 force-pushed the dependabot/gradle/com.alibaba.nacos-nacos-client-2.5.0 branch from 26a87c2 to 566bb69 Compare February 7, 2025 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.