Releases: isaacgr/jaysonic
Releases · isaacgr/jaysonic
v1.2.3
Release notes
Indicate which chunk caused a parse error.
Print error to stdout if no pending call to reject.
Refs #25
Commits
- Merge pull request #26 from isaacgr/bugfix/#25/parse_error_causes_client_crash 37fab4d
- 212594e
- Give chunk in parse error message. Write error to log if error recieved without pending call. Refs #25. 383a9a8
- Allow console for ws client. Refs #25. 164672b
- Add parse error tests to http and ws clients. Refs #25. c3dcb74
- Fix npm audit issues 882330e
- Reduce timeout delay. fa3de2b
- Add tests for json parse error handling. Refs #25. ba6a647
- Update parse error messages and no pending calls message. Refs #25. 18d5676
- Install intercept-stdout. Refs #25. dec06ff
- Indicate which chunk caused parse error. Throw error if error.id not in this.pendingCalls. Refs #25. e216704
v1.2.2
v1.2.1
v1.2.0
Release Notes
Add support for a websocket server and client.
Commits
- Merge pull request #23 from isaacgr/feature/#5/client_with_websockets 68f8c1d
- Update README for ws info 54db4c7
- Add more tags 5d4193d
- Remove onConnection() method to align with other clients. 3b68d4e
- Add tests for multiple requests and batches dfb195a
- Update server with new code refactor 5815379
- Merge branch 'master' into feature/#5/client_with_websockets a98fa15
- Update ws tests. Refs #5. af07377
- Update ws client and server tests. Refs #5. e2dcd39
- Add browser environment 0354ddb
- Add tests for ws client 062c39d
- Use .send for client in notify() method 4c1ac81
- Pass message to handleResponse() and handleNotification() 56535a3
- Fix linting c4f804a
- Add connect() method for client to align with other clients 8f19b06
- Add opts folder to mocha test script 2adf3e1
- Add default url to ws client c92ceb4
- Remove general test file 0f449b2
- Export ws server e1649a7
- Add listen method to ws server. f6d3c5b
- Add websocket server to test-server.js. 2e93363
- Tests for websocket client. Refs #5. cc17a84
- Add mocha.opts file for easier configuration. 86dd572
- Install jsdom to test websocket client. Refs #5. 7189922
- Update websocket test files. 9834d97
- Update support for batches. Refs #5. 72cc7c9
- Ignore websocket test folder 5982a48
- Install ws package for websocket server. Refs #5. f6b9011
- Add websocket server. Refs #5. d45ba8a
- Remove default url. Update verifyData method. Update batch handling. Refs #5. adbf193
- Fix parse issue with batching 2433819
- Add retry attempts f2d306e
- Remove path option 5754fb3
- Add subscription handling 8c2716a
- Add error handling Fix data verification calls Add batching c22ebad
- Add Websocket test files d8037ec
- Add methods to WSClient for data verification etc. 17ca15e
- Initial WebSocket client commit 7371f1d
v1.1.0
Release notes
Rejects stringified batch objects.
Client and server message validation code improvements. Refs #17 .
Remove this.server.on('connection') wrapper around data, which fixes duplicate http requests.
Handle multiple concurrent requests from TCP and HTTP client.
Use response.body for http batch responses, mirrors regular request.
Add id option to request().message to allow for notification messages.
Organize tests better.
Still unable to handle batch notifications.
Commits
- Merge pull request #21 from isaacgr/bugfix/#20/reject_stringified_batch_objects 23df575
- Return body and writer object in batch responses. 39ad32b
- Add test for mutliple requests from http client. Refs #17. 45e292f
- Remove this.server.on('connection') wrapper from data handler. Refs #17. Move client connection handlers to initServer() function. 0f632e7
- Add tests for multiple requests at once. Refs #17. f113028
- Fix linting. 0d4eadf
- Remove return statements and move message checks into if/elseif blocks. Refs #17. c2dcc1e
- Move message conditional checks into if/elseif blocks. Refs #20. b82d8fc
- Move message conditional checks to if/elseif blocks. Refs #20. 5876e7e
- Add return statement for response. Refs #17. 521ea44
- Add id arg to request().message. 07df389
- Remove batched notification checks for now. 2d77b02
- Restructure tests for batch request/response checks. Refs #20. da12edc
- Handle notification message in subclass Fix linting errors 362aee0
- Fix linting errors a244470
- Move validation of request object into seperate files. d3dcf1b
- Remove emitters and call class methods. Refs #17. 45f82fd
- Remove handleResponse and handleError from init function. Reject whole batch if any responses are errors b7341b3
- Initial refactor for server message validation. Refs #20. Split message validation and request validation into seperate promises. Remove try/catch around message response loops. Reject batches if request objects are stringified. 73dbe79
v1.0.8
v1.0.7
- Merge pull request #16 from isaacgr/invalid/#13/batch_error_uses_serving_id ea57cea
- Add test to http client for batch with bad request. ca8af00
- Add test for batch with one good and one bad request. 5e238c3
- Return null in batch error. Refs #13. 845fdd9
- Merge pull request #15 from isaacgr/bugfix/#9/http_batch_timeouts 78fdf2c
- Add timeout for HTTP batch requests 445f8c2
- Merge pull request #14 from isaacgr/bugfix/#9/batch_request_timeouts 37e4e75
- Add timeout for batch requests c1c8462
- Merge pull request #12 from isaacgr/bugfix/#7/client_error_on_write_to_disconnected_server 51858d4
- Cleanup error messages. Refs #7. a242240
- Add tests for writing with no connection. Refs #7. 0e79ad9
- Reject with error if tcp client attempts write to disconnected server. Refs #7. 65b6116
- Reject request with error if HTTP client unable to connect. Refs #7. f794906
- Merge pull request #8 from isaacgr/bugfix/#6/make_http_request_encoding_configurable c263485
- Update README with error response object info for HTTP request. Refs #6. 84b081c
- Update readme with encoding option. Refs #6. c7dcf94
- Fix linting bed1a4b
- Move non-empty array test to http-server.js a9b486b
- Add response body to error for HTTP requests. Refs #6. Parse HTTP responses when 'end' event emitted. Refs #6. e7e5305
- Add test for encoding paramter. Refs #6. 8f9dd16
- Add encoding type to encoding options. Refs #6. Use encoding option to calculate content-length. Refs #6. a3334c7