2.11.0 (2023-04-16)
fixes
- [
543b2bc
] - fix: 🐛 ref should use custom handler (#126) (Hongcai Deng <[email protected]>)
others
- [
33dcabf
] - test: github action only test on macOS and Linux (#129) (fengmk2 <[email protected]>) - [
895fa83
] - test: 💍 fix ref should use custom handler circular bug (#128) (Hongcai Deng <[email protected]>) - [
5c633be
] - test: run test on github action (#127) (fengmk2 <[email protected]>) - [
0b14874
] - chore: add contributors (#117) (fengmk2 <[email protected]>) - [
9012536
] - chore: add node 12 & 14 into travis list (#125) (Jackson Tian <[email protected]>)
features
- [
461a715
] - feat: support encode & decode custom map type (#122) (zōng yǔ <[email protected]>)
features
- [
ee57e93
] - feat: support custom decode handler (#119) (zōng yǔ <[email protected]>)
fixes
- [
3f0b392
] - fix: should reset _classRefFields (#87) (fengmk2 <[email protected]>)
others
- [
f71da69
] - test: fix throws test on node 10 (#110) (fengmk2 <[email protected]>)
fixes
- [
b231db0
] - fix: compose cache key with class and fields length (#102) (Yiyu He <[email protected]>)
features
- [
ce5a7f8
] - feat: support convert java.util.Locale to com.caucho.hessian.io.LocaleHandle (#99) (zōng yǔ <[email protected]>)
features
- [
ceaef7b
] - feat: hessian2 optimize codec (#97) (Hongcai Deng <[email protected]>)
features
- [
1403a44
] - feat: use byte.getRawStringByStringLength to read utf8 string (#94) (Yiyu He <[email protected]>)
fixes
- [
a7a3f92
] - fix: support writeLong parameter is a Long object (#96) (zōng yǔ <[email protected]>)
features
- [
4d3b48e
] - feat: support cache class for v2/decode (#90) (Yiyu He <[email protected]>)
features
- [
ab45730
] - feat: upgrade is-type-of to 1.1.0 (#81) (fengmk2 <[email protected]>)
- fix: skip regExp & Function property (#77)
- feat: map key is object should try to use
name
propery (#78)
- fix: package.json to reduce vulnerabilities (#75)
- fix: downward compatibility (#71)
- feat: support java.util.HashMap to es6 Map (#70)
- fix(writeDate): overflow 32-bit signed integer issue
- deps: upgrade all deps
- fix: remove es6
- chore: add examples for test
- fix: v2 list encode
- lint: remove deprecated rule "globastrict", replace with rule "strict:global"
- fix: donnot use the api of module long introduced in new version, module byte depends on the old version.
- fix: output Number.MAX_SAFE_INTEGER as string rather than number. fix #56
- fix: fix encode/decode date bug
- fix: HashMap & Map is same type
- test: use npm scripts instead of Makefile
- test: add undefined test
- fix: array encode can be null
- fix: skip innerClass ref field like this$\d
- fix(writeLong) hessian2.0 write long bug
- test(testcase) fix testcase
- chore(README) modify README
- feat(generic) support generic map
- feat(hessian 2.0) implement hessian 2.0
- test: add more node version on travis ci
- test: add encode {$class: "java.lang.Long", $: null} => null test case
- fix(encode) fix object property null issue
- fix(decode): toString is not stable.
- chore(test): skip large string with v0.11.15
- fix(writeObject): should assertType obj.$ when writeObject and add more messge
- ignore 0xd800 and 0xdbff char test cases
- feat(null): writeNull when obj.$ is null
- Merge pull request #30 from node-modules/java.lang.Error
- support decode java.lang.*Error as js Error
- bump byte
- Merge pull request #29 from node-modules/exception-bug-fix
- only test on node 0.10.28
- change badge and add travis coverage
- fix exception convert bug
- support
java.util.concurrent.atomic.AtomicLong
fix #27
- default list and map withType
- Merge pull request #26 from node-modules/full-with-type
- withType return all type info for v1
- add bencmark result link
- Merge pull request #24 from node-modules/support-Long
- support encode Long instance
- Merge pull request #23 from node-modules/cache-class-name
- cache class name
- reuse encoder and add base benchmark
- fix read object missing with type
- handle xxxx.HSFException
- Decode java exception object to js Error object. close #18
- hessian 2.0 should read hessian 1.0 date format
- add utf8 test cases
- hessian 2.0 can decode hessian 1.0 list
- hessian 2.0 can read hessian 1.0 hashmap
- hessian 2.0 can decode hessian 1.0 int format
- hessian 2.0 can decode hessian 1.0 long format
- fix hessian 2.0 long decode and encode
- add hessian 1.0 enum, list, map bin test
- encode string as java hessian 1.0 impl
- add number bin test
- fix writeObject 2.0, now Enum as a normal java Object
- improve enum write in hessian 2.0
- hessian 2.0 refator
- refactor readArray
- encode and decode enum
- refactor writeObject, writeRef, writeDate
- refactor hessian writeObject with real java codes
- bump byte
- fix write array error
- fix btypebuffer
- support java.lang.Object
- support response with int key
- fix type?
- fix encode array bug
- fix no length read array in v1
- use is-type-of
- fix test in 0.11
- remove exports.java, just let people use js-to-java module
- Merge pull request #11 from dead-horse/use-is-type-of
- use is-type-of to do type check
- use badge replace install code
- Merge pull request #9 from fengmk2/hessian-v2
- encode hessian 2.0 list
- encode hessian 2.0 map
- add readRefId() to share code logic between v1.0 and v2.0
- change decoder switch and if else to hash map code detect
- add hessian 2.0 decoder
- Support hessian 2.0 encoder.
- Support hessian 2.0 decode. #8
- fix test
- add decoder.position method
- update dependencies
- fix encode long, read end of buffer
- add npm badge
- update readme
- Merge pull request #6 from fengmk2/compact-types
- fix hasOwnProperty was override:
{hasOwnProperty: 1}
- add type list examples: int[] = {0, 1, 2}
- Support decode sparse array, @see http://hessian.caucho.com/doc/hessian-1.0-spec.xtp#map fixed #5
- support anonymous variable-length list = {0, "foobar"}
- add binary, date, double, int, list, long, string test cases on hessian 1.0.2
- add java base types and each type mapping one test file.
- update readme
- Merge pull request #1 from fengmk2/more-tests
- add readArray error test case
- Add more tests and remove assert use TypeError instead.
- change name to hessian.js
- remove utility
- fix typo
- add AUTHORS
- update readme
- add npmignore
- complete all the unit test
- use get instead of read in readString
- add todo
- add mocha-lcov-reporter
- add fixture.dat
- add fixture.dat
- add travis
- add test
- add test for simple type
- update readme
- add v1 decoder
- add readme
- fully support simple and complex js object to hessian
- v1 encoder simple type done
- update byte
- use byte to handle the buffer things
- Initial commit