42 Commits

Author SHA1 Message Date
Jacek Sieka
31af0f2bda
v0.5.0 (#230)
* avoid depending on #head
2024-10-29 10:07:21 +01:00
Jacek Sieka
98a5efba4d
Various error handling and processing fixes (#228)
* remove redundant gcsafe/raises
* rework async raises to chronos 4.0 where this was not yet done
* streamline logging between http/socket/ws
  * don't log error when raising exceptions (whoever handles should log)
  * debug-log requests in all variants of server and client
* unify ipv4/ipv6 address resolution, with preference for ipv6
* fix server start so that it consistently raises only when no addresses
could be bound
2024-10-22 21:58:46 +02:00
andri lim
0408795be9
v0.4.4 (#227)
* v0.4.4

* Replace apt-fast with apt-get
2024-10-15 16:59:34 +07:00
Miran
8e1cdb1823
update ci.yml and be more explicit in .nimble (#221) 2024-07-01 18:07:28 +02:00
andri lim
9c65df3053
Add build test with chronicles to json enabled (#215)
* Add build test with chronicles to json enabled

* Fix windows failing test
2024-02-19 13:47:40 +07:00
tersec
20fb49fdd0
test refc in CI in Nim 2.0 and later (#209) 2024-02-14 02:28:29 +00:00
jangko
583b89c264
v0.4.2 2024-02-04 14:52:37 +07:00
jangko
95a6f550cd
v0.4.0 2024-01-31 15:10:29 +07:00
jangko
a6475e49b2
v0.3.0 2024-01-11 21:23:55 +07:00
andri lim
e0b077fea4
Upgrade rpc router internals (#178)
* Upgrade rpc router internals

* use new chronos asyncraises

* Fix style mismatch

* Fix nim v2 compilation error

* Addresing review

* Remove unnecessary custom serializer and let the library do the work

* fix error message

* Update readme.md
2024-01-03 20:06:53 +07:00
jangko
c3769f9130
Add copyright to source file 2023-12-14 08:34:13 +07:00
jangko
08d7fccfe2
v0.2.0 2023-12-13 09:27:19 +07:00
tersec
f79be14c99
drop support for Nim v1.2/1.4 (#164) 2023-05-25 12:16:08 +03:00
Jacek Sieka
c0ecb42613
normalise nimble, update ci, unittest2 (#158) 2022-12-02 13:17:27 +01:00
Jacek Sieka
b4aff8fec5
remove news support (#155)
`news` has several resource leaks and other security issues - replaced
by `nim-websock` which is actively maintained.
2022-11-08 14:39:29 +01:00
Jacek Sieka
2e3d22b9e2
enable styleCheck:usages (#135) 2022-04-08 10:25:41 +02:00
Ștefan Talpalaru
24b56c8d2b
CI: test with multiple Nim versions (#121)
* CI: test with multiple Nim versions

and disable C++ testing (linker doesn't like arg order)
2021-12-16 23:33:42 +01:00
Mark Spanbroek
59a01aa200 Remove version pin on chronicles
Caused dependency conflicts when combining json_rpc with other
packages that depend on chronicles, now that chronicles has
a new version (0.10.2).
2021-12-16 14:48:33 +01:00
Zahary Karadjov
35e6d7e6ff
Restore the support for using the news package 2021-11-29 15:36:17 +02:00
Zahary Karadjov
7ab1b31614
Fix code breakage after the rebase 2021-11-22 17:05:26 +02:00
Bernardo A. Rodrigues
3599a73b58
Chronos HTTP(S) Server (#111) 2021-11-22 15:14:30 +02:00
jangko
809172abe4
rename ws to websock 2021-06-29 11:51:05 +07:00
jangko
b8a8ca2623
replace news with nim-ws
fixes #103
2021-06-24 06:52:31 +07:00
Jacek Sieka
64d40d6c1a
simplify imports (#98)
remove broken uint64 converter - upstream std/json also includes a
broken uint64 converter
2021-03-26 13:17:00 +01:00
jangko
6ccf3141e8
add github action script 2021-01-07 18:12:27 +07:00
jangko
18dceaa29f
change tormund/news to status-im/news 2020-09-21 12:08:17 +07:00
Viktor Kirilov
ecf49a0632 updated news 2020-05-08 16:13:00 +03:00
Ștefan Talpalaru
72a99cc977
replace getCurrentExceptionMsg() and delete some unused imports 2019-12-02 12:26:09 +01:00
Yuriy Glukhov
d4fbed75c7
Better error handling 2019-11-22 15:14:16 +02:00
Zahary Karadjov
9d0326aad4 Allow building with chronicles_sinks=json 2019-06-20 18:57:13 +03:00
Yuriy Glukhov
ac2f6b9360 Comments addressed 2019-06-17 18:47:11 +03:00
Yuriy Glukhov
f19d66b35c Websocket client support and some fixes 2019-06-12 20:53:15 +03:00
Ștefan Talpalaru
493583b7f4
cosmetic change 2019-05-10 22:08:30 +02:00
Mamy Ratsimbazafy
53ed44dfa5
Rebrand asyncdispatch2 to chronos (#50) 2019-02-06 18:27:58 +01:00
Ștefan Talpalaru
756ad70598 add the root cause issue in a comment, so we know
when the workaround is no longer needed
2019-01-17 18:35:15 +02:00
Ștefan Talpalaru
b2c5fa8e58 disable Chronicles colours on Windows 2019-01-17 18:35:15 +02:00
Ștefan Talpalaru
c29e4de623 add "--threads:on" to tests 2019-01-17 18:35:15 +02:00
Zahary Karadjov
bfc290f360 Don't use HTTP dependencies in Nimble due to nim-lang/nimble#543 2018-09-15 23:50:44 +03:00
coffeepots
db7101c08d Revert "Include httputils"
This reverts commit c3647e2804bbe5095090eb60c216a549e855c980.
2018-07-15 15:48:28 +01:00
coffeepots
c3647e2804 Include httputils 2018-07-14 11:51:20 +01:00
cheatfate
0942b0387d Add RpcHttpServer.
Add RpcHttpClient.
2018-07-14 10:51:54 +03:00
coffeepots
0c98f79d9c Rename to json_rpc 2018-06-26 19:08:11 +01:00