wenshao
d79f5139b7
Add English CSV documentation and improve JavaDoc for CSVWriter
2025-08-22 23:57:33 +08:00
wenshao
77a4dd8218
Configure .gitattributes to treat image files as binary
2025-08-22 20:17:41 +08:00
wenshao
1f5964a5ee
ignore worktrees
2025-08-22 11:13:03 +08:00
高铁
3ee9cfbb3a
QWEN.md
2025-08-22 00:37:23 +08:00
dependabot[bot]
4b8ca14f0b
Bump org.apache.flink:flink-json from 2.0-preview1 to 2.1.0
...
Bumps org.apache.flink:flink-json from 2.0-preview1 to 2.1.0.
---
updated-dependencies:
- dependency-name: org.apache.flink:flink-json
dependency-version: 2.1.0
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-22 00:28:04 +08:00
dependabot[bot]
d330e9e0a1
Bump solon.version from 3.4.2 to 3.4.3
...
Bumps `solon.version` from 3.4.2 to 3.4.3.
Updates `org.noear:solon-parent` from 3.4.2 to 3.4.3
- [Release notes](https://github.com/opensolon/solon/releases )
- [Commits](https://github.com/opensolon/solon/compare/v3.4.2...v3.4.3 )
Updates `org.noear:solon-logging-simple` from 3.4.2 to 3.4.3
Updates `org.noear:solon-test` from 3.4.2 to 3.4.3
Updates `org.noear:solon-maven-plugin` from 3.4.2 to 3.4.3
Updates `org.noear:solon-serialization` from 3.4.2 to 3.4.3
---
updated-dependencies:
- dependency-name: org.noear:solon-parent
dependency-version: 3.4.3
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.noear:solon-logging-simple
dependency-version: 3.4.3
dependency-type: direct:development
update-type: version-update:semver-patch
- dependency-name: org.noear:solon-test
dependency-version: 3.4.3
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.noear:solon-maven-plugin
dependency-version: 3.4.3
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.noear:solon-serialization
dependency-version: 3.4.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-22 00:27:54 +08:00
dependabot[bot]
45d47714e6
Bump com.fasterxml.jackson:jackson-bom from 2.18.3 to 2.19.2
...
Bumps [com.fasterxml.jackson:jackson-bom](https://github.com/FasterXML/jackson-bom ) from 2.18.3 to 2.19.2.
- [Commits](https://github.com/FasterXML/jackson-bom/compare/jackson-bom-2.18.3...jackson-bom-2.19.2 )
---
updated-dependencies:
- dependency-name: com.fasterxml.jackson:jackson-bom
dependency-version: 2.19.2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-22 00:27:43 +08:00
业余布道师
bce0fd4e45
Merge pull request #3745 from alibaba/feature/issue-3690-default-charset-utf8
...
Feature/issue 3690 default charset utf8
2025-08-21 20:37:14 +08:00
高铁
b23a2b8b46
refactor: use StandardCharsets.UTF_8 instead of Charset.forName("UTF-8") in tests
...
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2025-08-21 20:06:32 +08:00
高铁
e9594b9d72
fix: set default charset to UTF-8 for FastJsonHttpMessageConverter
...
- Set defaultCharset to UTF-8 in FastJsonHttpMessageConverter constructors for Spring5, Spring6 and Fastjson1-compatible versions
- Update documentation to reflect that manual setting of defaultCharset is no longer required from version 2.0.59
- Add tests to verify defaultCharset is correctly set to UTF-8
Fixes #3690
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2025-08-21 20:03:52 +08:00
wenshao
a5639e2583
Fix proxy detection for Spring RefreshScope and add comprehensive tests
2025-08-21 17:42:00 +08:00
wenshao
99423be6b0
Update checkstyle configuration file
...
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2025-08-21 17:27:15 +08:00
Shaojin Wen
a80a1deb56
Fix base64 prefix issue 3681 ( #3741 )
...
* Fix BASE64 prefix compatibility issue in ObjectReaderImplInt8ValueArray (#3681 )\n\n- Enhanced BASE64 prefix handling to support not only JPEG but also PNG and other image formats\n- Added generic prefix detection for better compatibility with various data:image/* formats\n- Fixed issue where only data:image/jpeg;base64, prefix was supported\n\nFixes #3681
* Fix BASE64 prefix compatibility issue for ObjectReaderImplInt8ValueArray\n\n- Enhanced the readObject method to handle generic BASE64 data URI prefixes\n- Added comprehensive tests for various BASE64 prefixes (jpeg, png, gif, webp, bmp, text)\n- Fixes issue #3681\n\nThis change ensures that ObjectReaderImplInt8ValueArray can properly handle\nBASE64 encoded data with various data URI prefixes, not just jpeg and png.\nThe implementation now looks for the ';base64,' substring to extract the\nactual BASE64 data, making it compatible with any data URI format.
2025-08-20 19:13:13 +08:00
jujn
04a717548c
fix bug for issue #3739
2025-08-20 16:14:16 +08:00
wenshao
82319f21c3
revert
2025-08-20 15:26:38 +08:00
wenshao
38a5f4241c
修复Javadoc引用错误,修正JSONReader和JSONWriter中的链接引用
...
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2025-08-20 15:23:24 +08:00
wenshao
4967702130
revert
2025-08-20 11:52:55 +08:00
wenshao
f4537def9b
完善features文档,添加使用示例和最佳实践建议,并更新相关文档引用
2025-08-20 11:32:58 +08:00
wenshao
928930ddd2
Update code style documentation and remove unused presto-checks.xml
...
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2025-08-20 11:23:41 +08:00
wenshao
74018e4f19
java doc
2025-08-20 11:17:41 +08:00
wenshao
559ba1d777
fix java doc
2025-08-18 15:08:29 +08:00
wenshao
fc86418805
Fix trailing whitespace in IOUtils#writeDecimal method comments to pass checkstyle validation
...
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2025-08-18 14:22:25 +08:00
wenshao
cfb3fd069f
Fix IOUtils.isNumber() edge cases and add tests
...
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2025-08-18 14:16:20 +08:00
wenshao
a551e7f645
Fix bug in JSONWriterUTF8.writeString with offset parameter
...
Fixed incorrect loop condition in writeString(char[], int, int, boolean) method where 'i < len' was used instead of 'i < end'. This bug caused incorrect string processing when offset parameter was non-zero.
Added test case to verify the fix works correctly with offset values.
2025-08-18 13:06:04 +08:00
wenshao
5858859330
Fix bug in JSONWriterUTF16.writeString with incorrect loop condition
...
The loop condition in writeString(char[], int, int, boolean) was incorrectly using 'i < len' instead of 'i < offset + len', causing wrong character range to be processed. Fixed by changing the loop condition to properly handle offset and length parameters.
Added comprehensive test cases to verify the fix works correctly for various scenarios including edge cases and out-of-bounds conditions.
2025-08-18 12:01:50 +08:00
wenshao
b23c365896
Fix bug in Path.toString() method with Unicode surrogate pairs handling\n\nFixed an issue where the wrong loop variable 'i' was used instead of 'j' when processing Unicode surrogate pairs in JSON field names. This caused ArrayIndexOutOfBoundsException or incorrect results when serializing JSON with emoji keys or other Unicode characters represented by surrogate pairs.\n\nAdded test cases to verify the fix works correctly with various Unicode characters including emojis.
2025-08-18 11:35:44 +08:00
wenshao
c0f1125166
Fix missing break statement in setDateFormat method for 'yyyyMMddHHmmssSSSZ' case
2025-08-18 09:49:03 +08:00
dependabot[bot]
d9ca7d29ac
Bump commons-io:commons-io from 2.19.0 to 2.20.0
...
Bumps [commons-io:commons-io](https://github.com/apache/commons-io ) from 2.19.0 to 2.20.0.
- [Changelog](https://github.com/apache/commons-io/blob/master/RELEASE-NOTES.txt )
- [Commits](https://github.com/apache/commons-io/compare/rel/commons-io-2.19.0...rel/commons-io-2.20.0 )
---
updated-dependencies:
- dependency-name: commons-io:commons-io
dependency-version: 2.20.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-17 20:21:19 +08:00
dependabot[bot]
4b771e1e2c
Bump com.opencsv:opencsv from 5.10 to 5.12.0
...
Bumps com.opencsv:opencsv from 5.10 to 5.12.0.
---
updated-dependencies:
- dependency-name: com.opencsv:opencsv
dependency-version: 5.12.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-17 20:21:06 +08:00
dependabot[bot]
4e4af4da6c
Bump io.projectreactor:reactor-test from 3.1.0.RELEASE to 3.7.9
...
Bumps [io.projectreactor:reactor-test](https://github.com/reactor/reactor-core ) from 3.1.0.RELEASE to 3.7.9.
- [Release notes](https://github.com/reactor/reactor-core/releases )
- [Commits](https://github.com/reactor/reactor-core/compare/v3.1.0.RELEASE...v3.7.9 )
---
updated-dependencies:
- dependency-name: io.projectreactor:reactor-test
dependency-version: 3.7.9
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-17 20:20:54 +08:00
dependabot[bot]
b7e2a91017
Bump org.apache.commons:commons-collections4 from 4.4 to 4.5.0
...
Bumps org.apache.commons:commons-collections4 from 4.4 to 4.5.0.
---
updated-dependencies:
- dependency-name: org.apache.commons:commons-collections4
dependency-version: 4.5.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-17 20:20:42 +08:00
rowstop
0fbc32480d
Update the docs to include Fastjson2 integration with Spring WebFlux.
2025-08-17 20:20:22 +08:00
mymde
d66d0cf537
fixed bug for issue #3702
2025-08-17 20:20:01 +08:00
jujn
92bd063907
fix bug for issue #3719 ( #3721 )
2025-08-17 20:18:06 +08:00
jiangguilong
08c2f3089d
docs(JSONB): 更新 JSONB 解析配置示例
...
将 JSONB 解析配置示例中的 JSONReader.Feature 从 SupportBeanArrayMapping 修改为 SupportArrayToBean,以反映正确的配置选项。
2025-08-17 20:16:59 +08:00
dependabot[bot]
88873ce86e
Bump io.github.git-commit-id:git-commit-id-maven-plugin
...
Bumps [io.github.git-commit-id:git-commit-id-maven-plugin](https://github.com/git-commit-id/git-commit-id-maven-plugin ) from 9.0.0 to 9.0.2.
- [Release notes](https://github.com/git-commit-id/git-commit-id-maven-plugin/releases )
- [Commits](https://github.com/git-commit-id/git-commit-id-maven-plugin/compare/v9.0.0...v9.0.2 )
---
updated-dependencies:
- dependency-name: io.github.git-commit-id:git-commit-id-maven-plugin
dependency-version: 9.0.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 09:30:50 +08:00
wenshao
8cad1d6225
improve java doc
2025-08-11 16:00:03 +08:00
wenshao
710421bcd3
add qwen-code init file
2025-08-11 15:44:58 +08:00
jujn
913aa3a703
fixed bug for issue #3702 ( #3704 )
2025-08-11 14:06:50 +08:00
dependabot[bot]
1611988eb5
Bump org.msgpack:msgpack-core from 0.9.9 to 0.9.10
...
Bumps [org.msgpack:msgpack-core](https://github.com/msgpack/msgpack-java ) from 0.9.9 to 0.9.10.
- [Release notes](https://github.com/msgpack/msgpack-java/releases )
- [Changelog](https://github.com/msgpack/msgpack-java/blob/main/RELEASE_NOTES.md )
- [Commits](https://github.com/msgpack/msgpack-java/compare/v0.9.9...v0.9.10 )
---
updated-dependencies:
- dependency-name: org.msgpack:msgpack-core
dependency-version: 0.9.10
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-11 10:12:11 +08:00
wenshao
b507fea22d
fix dateFormat for long field, for issue #3407
2025-08-10 21:11:57 +08:00
zhou yong kang
a47c68d468
fix:correctly handle the set format and successfully parse it #3692 ( #3701 )
...
* fix:correctly handle the set format and successfully parse it into a hashset object #3692
* Update core/src/main/java/com/alibaba/fastjson2/reader/ObjectArrayReader.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update core/src/main/java/com/alibaba/fastjson2/reader/ObjectArrayReader.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix:add list support
---------
Co-authored-by: Shaojin Wen <shaojin.wensj@alibaba-inc.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-07 18:58:09 +08:00
张治保
4cc881e556
support for Spring's reactor codec, #3691 #1501 ( #3703 )
...
* support for Spring's reactor codec, #3691 #1501
* Update extension-spring5/src/main/java/com/alibaba/fastjson2/support/spring/codec/Fastjson2Encoder.java
extracting the string value to a variable to avoid casting twice and improve readability
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix: update deprecation notice for Fastjson2Encoder to include Fastjson2Decoder
* extracting the byte[] value to a variable to avoid casting twice and improve readability
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-07 18:56:32 +08:00
dependabot[bot]
41ac35f8e9
Bump org.apache.dubbo:dubbo from 3.3.4 to 3.3.5
...
Bumps [org.apache.dubbo:dubbo](https://github.com/apache/dubbo ) from 3.3.4 to 3.3.5.
- [Release notes](https://github.com/apache/dubbo/releases )
- [Changelog](https://github.com/apache/dubbo/blob/3.3/CHANGES.md )
- [Commits](https://github.com/apache/dubbo/compare/dubbo-3.3.4...dubbo-3.3.5 )
---
updated-dependencies:
- dependency-name: org.apache.dubbo:dubbo
dependency-version: 3.3.5
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-05 11:17:56 +08:00
yulin
161bed23e6
docs: update markdown version
2025-08-04 10:48:04 +08:00
wenshao
fe2a28eb30
2.0.57 -> 2.0.58
2025-08-04 10:45:48 +08:00
高铁
a7f2faca1f
add testcase for issue #3605
2025-08-04 09:06:28 +08:00
wenshao
b23afe2a47
add comments
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (11, macos-latest) (push) Has been cancelled
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (11, ubuntu-24.04) (push) Has been cancelled
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (11, windows-latest) (push) Has been cancelled
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (17, macos-latest) (push) Has been cancelled
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (17, ubuntu-24.04) (push) Has been cancelled
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (17, windows-latest) (push) Has been cancelled
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (21, macos-latest) (push) Has been cancelled
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (21, ubuntu-24.04) (push) Has been cancelled
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (21, windows-latest) (push) Has been cancelled
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (8, macos-latest) (push) Has been cancelled
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (8, ubuntu-24.04) (push) Has been cancelled
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (8, windows-latest) (push) Has been cancelled
Details
2025-08-02 22:57:47 +08:00
wenshao
c365b29280
add testcase for issue #3687
2025-08-02 22:50:19 +08:00
wenshao
cb4ea2d518
support more base64 decode, for issue #3687
2025-08-02 21:20:01 +08:00