You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "uuuyuqi (via GitHub)" <gi...@apache.org> on 2026/09/11 03:46:22 UTC
[PR] build(deps): upgrade fastjson2 from 2.0.62 to 2.0.64 [dubbo]
uuuyuqi opened a new pull request, #16459:
URL: https://github.com/apache/dubbo/pull/16459
## What is the purpose of the change?
Upgrade `com.alibaba.fastjson2:fastjson2` from `2.0.62` to `2.0.64` through the version property in `dubbo-dependencies-bom/pom.xml`.
This includes the AutoType validation and JSON/JSONB parser hardening published in [2.0.63](https://github.com/alibaba/fastjson2/releases/tag/2.0.63), followed by the serialization/deserialization fixes in [2.0.64](https://github.com/alibaba/fastjson2/releases/tag/2.0.64).
No Java code or serialization configuration changes are included. The separate fastjson 1.x dependency remains at `1.2.83_noneautotype`.
### GitHub_issue
N/A — routine dependency upgrade; no existing Dubbo issue is being closed.
### Validation
- JDK 17: `FastJson2SerializationTest`, `TypeMatchTest`, `FastJsonImplTest`, `FastJson2ImplTest`, and `JsonUtilsTest`: **813 tests passed**, with no failures, errors, or skipped tests.
- JDK 21: BOM Spotless check passed; the BOM and `dubbo-all` build with dependencies passed across **78 reactor modules** (tests skipped for this build).
- Local RPC smoke test on JDK 17: separate provider and consumer JVMs, Nacos service discovery, and `fastjson2` serialization. Both JVMs verified fastjson2 `2.0.64` at runtime. **341 RPC calls and 425 assertions passed**, covering `Date`, primitive/boxed bytes, byte arrays, nulls, and DTOs containing dates, lists, and maps. The smoke harness is external to this one-line dependency change.
Commands for the repository checks:
```sh
mvn -B -ntp -pl dubbo-serialization/dubbo-serialization-fastjson2 -am \
-Dtest=FastJson2SerializationTest,TypeMatchTest,FastJsonImplTest,FastJson2ImplTest,JsonUtilsTest \
-Dsurefire.failIfNoSpecifiedTests=false test
mvn -B -ntp -pl dubbo-dependencies-bom spotless:check
mvn -B -ntp -pl dubbo-dependencies-bom,dubbo-distribution/dubbo-all -am \
-Drevision=3.3.7-fastjson2-2064-pr-SNAPSHOT -Dmaven.test.skip=true install
```
## Checklist
- [x] Include a GitHub_issue field for the change.
- [x] Explain what changes and why.
- [x] Verify the affected behavior with existing tests. No new Java logic or sample is introduced.
- [ ] GitHub Actions passed — pending PR creation and CI execution.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [PR] build(deps): upgrade fastjson2 from 2.0.62 to 2.0.64 [dubbo]
Posted by "chickenlj (via GitHub)" <gi...@apache.org>.
chickenlj closed pull request #16459: build(deps): upgrade fastjson2 from 2.0.62 to 2.0.64
URL: https://github.com/apache/dubbo/pull/16459
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [PR] build(deps): upgrade fastjson2 from 2.0.62 to 2.0.64 [dubbo]
Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #16459:
URL: https://github.com/apache/dubbo/pull/16459#issuecomment-5629349938
## [Codecov](https://app.codecov.io/gh/apache/dubbo/pull/16459?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 32.22%. Comparing base ([`dab47b7`](https://app.codecov.io/gh/apache/dubbo/commit/dab47b78434ae36957c196c65c0c805fc36b7f66?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`e546d61`](https://app.codecov.io/gh/apache/dubbo/commit/e546d615190a58f3824bb58d92208a691ae53926?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
> :exclamation: There is a different number of reports uploaded between BASE (dab47b7) and HEAD (e546d61). Click for more details.
>
> <details><summary>HEAD has 7 uploads less than BASE</summary>
>
>| Flag | BASE (dab47b7) | HEAD (e546d61) |
>|------|------|------|
>|unit-tests-java17|1|0|
>|unit-tests-java8|1|0|
>|integration-tests-java8|1|0|
>|integration-tests-java21|1|0|
>|unit-tests-java11|1|0|
>|unit-tests-java25|1|0|
>|unit-tests-java21|1|0|
></details>
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## 3.3 #16459 +/- ##
=============================================
- Coverage 60.91% 32.22% -28.70%
- Complexity 15 10230 +10215
=============================================
Files 1953 1952 -1
Lines 89271 89249 -22
Branches 13473 13389 -84
=============================================
- Hits 54383 28758 -25625
- Misses 29309 56258 +26949
+ Partials 5579 4233 -1346
```
| [Flag](https://app.codecov.io/gh/apache/dubbo/pull/16459/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
|---|---|---|
| [integration-tests-java21](https://app.codecov.io/gh/apache/dubbo/pull/16459/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
| [integration-tests-java8](https://app.codecov.io/gh/apache/dubbo/pull/16459/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
| [samples-tests-java21](https://app.codecov.io/gh/apache/dubbo/pull/16459/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `32.16% <ø> (+<0.01%)` | :arrow_up: |
| [samples-tests-java8](https://app.codecov.io/gh/apache/dubbo/pull/16459/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `29.81% <ø> (-0.03%)` | :arrow_down: |
| [unit-tests-java11](https://app.codecov.io/gh/apache/dubbo/pull/16459/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
| [unit-tests-java17](https://app.codecov.io/gh/apache/dubbo/pull/16459/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
| [unit-tests-java21](https://app.codecov.io/gh/apache/dubbo/pull/16459/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
| [unit-tests-java25](https://app.codecov.io/gh/apache/dubbo/pull/16459/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
| [unit-tests-java8](https://app.codecov.io/gh/apache/dubbo/pull/16459/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
</details>
[:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/dubbo/pull/16459?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
- :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org