1
0
Fork 0
mirror of https://github.com/sourcegraph/jsonrpc2.git synced 2026-06-16 04:04:56 +02:00

Commit graph

  • 95b3fbfc6d
    Use errors.Is/errors.As instead of == comparisons against errors errors-is-as-migration-7f3a1c Michael Bahr 2026-06-11 13:47:36 +00:00
  • 4a1663c314
    Merge ccd64f0b4d into 4756698b1e Anshul 2026-01-01 14:35:10 -03:00
  • 4756698b1e
    Bump actions/checkout from 5 to 6 in the github-actions group (#93) master dependabot[bot] 2025-12-02 09:01:38 +02:00
  • 05ce4aa6e4
    Bump actions/checkout from 5 to 6 in the github-actions group dependabot[bot] 2025-12-01 17:37:17 +00:00
  • ef3ea8b2ea
    Bump actions/setup-go from 5 to 6 in the github-actions group (#92) dependabot[bot] 2025-10-02 20:55:33 +02:00
  • 626be41194
    Bump actions/setup-go from 5 to 6 in the github-actions group dependabot[bot] 2025-10-01 16:16:35 +00:00
  • 3c4c92ad61
    Bump actions/checkout from 4 to 5 in the github-actions group (#91) dependabot[bot] 2025-09-02 13:36:38 +02:00
  • a2a6aa3cc7
    Bump actions/checkout from 4 to 5 in the github-actions group dependabot[bot] 2025-09-02 11:14:46 +00:00
  • ddb146fd0d
    Cancel Handler context when connection closes (#90) Sam Herrmann 2025-08-19 10:19:52 -04:00
  • bb87722ac2 Close Conn when given context is done Sam Herrmann 2025-08-14 11:35:57 -04:00
  • 9ca8fdc650 Cancel Handler context when connection closes Sam Herrmann 2025-08-13 10:54:12 -04:00
  • f5cfa8aff6 Repository overview and functionality Amp 2025-07-29 16:26:00 -05:00
  • 2cc94179e1
    transparently simplify control flow (#83) v0.2.1 Kevin Gillette 2025-02-17 07:55:54 -07:00
  • ec6ca95995
    transparently simplify control flow Kevin Gillette 2025-02-15 23:37:44 -07:00
  • ccd64f0b4d
    conn: delete from pending on close Anshul 2024-12-03 10:47:00 +05:30
  • 534fd43609
    Merge pull request #80 from sourcegraph/nsc/lsifgo-to-scipgo Noah S-C 2024-02-23 16:31:37 +00:00
  • 4963d1c241 chore: use scip-go instead of lsif-go for precise indexing in CI nsc/lsifgo-to-scipgo Noah S-C 2024-02-23 15:34:49 +00:00
  • dd69e185fa
    Bump the github-actions group with 2 updates (#79) dependabot[bot] 2024-01-10 12:16:40 +02:00
  • 7894847b5e
    Bump the github-actions group with 2 updates dependabot[bot] 2024-01-10 10:07:03 +00:00
  • bf47ec21a6
    ci: Create dependabot.yml (#78) Joyce 2024-01-10 07:06:38 -03:00
  • f2f822a731
    ci: Create dependabot.yml Joyce 2023-12-29 15:19:12 -03:00
  • cd64a673da
    Merge pull request #75 from diogoteles08/patch-1 Will Dollman 2023-09-25 12:04:20 +01:00
  • 943e53c8e9
    Update SECURITY.md Will Dollman 2023-09-25 11:53:41 +01:00
  • e4e2e6324c Update security policy to use email for reporting Will Dollman 2023-09-25 11:50:00 +01:00
  • 510183e882
    Create Security Policy Diogo Teles Sant'Anna 2023-09-11 14:51:22 -03:00
  • 8a0bf06edf
    ci: set minimal permissions to GitHub workflows (#73) Diogo Teles Sant'Anna 2023-08-30 04:07:57 -03:00
  • 33f3e81580
    ci: set minimal permissions to GitHub workflows Diogo Teles Sant'Anna 2023-08-29 18:33:45 +00:00
  • b9c1fbdb96
    Fix logging of received response messages (#71) Fazlul Shahriar 2023-07-14 07:00:57 -04:00
  • c1127fc730
    Fix logging of received response messages Fazlul Shahriar 2023-06-19 12:44:20 -04:00
  • 5d80b29f44
    conn: do not lock sending when closing (#70) Keegan Carruthers-Smith 2023-06-07 08:40:20 +02:00
  • 6ce8eb0749 conn: do not lock sending when closing Keegan Carruthers-Smith 2023-06-05 15:59:48 +02:00
  • fce7925543
    Add renovate.json renovate/configure renovate[bot] 2023-03-25 00:22:08 +00:00
  • 040dc22f8a
    Add package example test (#68) Sam Herrmann 2023-02-28 23:46:15 -05:00
  • a7a54493e9 Add package example test Sam Herrmann 2023-02-28 18:26:12 -05:00
  • 7dfa21858a Rename example_test.go Sam Herrmann 2023-02-28 18:26:02 -05:00
  • ae88a5e7c0
    Always omit params member from request when empty (#67) v0.2.0 Sam Herrmann 2023-02-22 03:53:44 -05:00
  • 75525c1070 Add example test for null and omitted params Sam Herrmann 2023-02-21 13:43:58 -05:00
  • f74a03be7a Uncomment code Sam Herrmann 2023-02-21 12:33:10 -05:00
  • 7c2b0a0a06 Always omit params member from request when empty Sam Herrmann 2023-02-11 10:41:32 -05:00
  • 6864d8cc6d
    Omit data field from error when empty (#66) Sam Herrmann 2023-02-12 07:52:17 -05:00
  • 243eedf323 Omit data field from error when empty Sam Herrmann 2023-02-09 12:30:36 -05:00
  • 846c29e96d
    Split jsonrpc2.go file into multiple files (#65) Sam Herrmann 2023-02-09 01:56:42 -05:00
  • f7001b6b61 Split jsonrpc2.go file into multiple files Sam Herrmann 2023-02-08 20:01:03 -05:00
  • 028a50bb39
    Fix underlying connection not being closed on protocol error (#64) Sam Herrmann 2023-02-07 15:46:05 -05:00
  • 85075f0782 Fix TestConn_Close Sam Herrmann 2023-02-07 13:52:21 -05:00
  • 0c9de81282 Mark Conn as closed even if closing stream fails Sam Herrmann 2023-02-07 08:28:20 -05:00
  • 236b9e00cd Cleanup TestConn_DisconnectNotify Sam Herrmann 2023-02-06 17:04:43 -05:00
  • 21db451b57 Fix underlying connection not being closed on protocol error Sam Herrmann 2023-02-06 16:42:46 -05:00
  • 78a3d790f3
    Pin staticcheck version to v0.2.2 (#63) Sam Herrmann 2023-02-03 03:51:22 -05:00
  • c5c9d8f322 Pin staticcheck version to v0.2.2 Sam Herrmann 2023-02-02 10:11:49 -05:00
  • 8012d49686
    Add ability to omit params member from request (#62) Sam Herrmann 2023-01-24 01:47:36 -05:00
  • 48f33d7cf6 Add ability to omit params member from request Sam Herrmann 2023-01-19 09:26:22 -05:00
  • c5d79b7c37 Add ability to omit params member from request Sam Herrmann 2023-01-18 16:09:49 -05:00
  • e1f9fdf1bb
    fix no corresponding request if req.ID is modified by onSend (#60) Semesse 2023-01-14 02:33:58 +08:00
  • e7ead1860a
    fix no corresponding request if req.ID is modified by onSend Semesse 2023-01-13 22:28:02 +08:00
  • 065a868115
    Merge pull request #59 from sourcegraph/batch-changes/dax/update-checkout-v3 Dax McDonald 2023-01-05 07:22:44 -08:00
  • 7f448843ac batch changes - update checkout v2 to v3 Sourcegraph 2023-01-03 22:03:16 +00:00
  • a896fc3eac
    [#57] Fix and deprecate PlainObjectCodec (#58) Michał Nowotnik 2022-07-11 15:43:39 +02:00
  • 3d8a093359 remove mutex, comment fixes Michał Nowotnik 2022-07-11 10:48:56 +02:00
  • 85ee4c48f5 doc fixes Michał Nowotnik 2022-07-08 18:27:25 +02:00
  • f498bfa550 [#57] Fix and deprecate PlainObjectCodec Michał Nowotnik 2022-07-08 13:38:31 +02:00
  • 44352a460f Upgrade gorilla websocket to v1.4.2 Ggicci 2022-01-23 19:01:23 +08:00
  • 4188fa4438 Adjust Handler interface and support middleware Ggicci 2022-01-23 16:36:45 +08:00
  • e8229febb0
    Expose NoopHandler Jose Garcia 2021-11-25 16:58:13 +00:00
  • 4a67c7872c
    Guard against nil handlers Jose Garcia 2021-11-25 16:30:23 +00:00
  • e58a7f5b4f
    Merge 01ce4c18a2 into c9c77b6bb9 sourcegraph-bot 2021-11-20 07:06:28 +00:00
  • c9c77b6bb9
    Add ability to set custom logger (#48) Sam Herrmann 2021-11-19 03:30:03 -05:00
  • 5f298fe6a1
    Homogenize treatment of params and meta in UnmarshalJSON (#52) lhchavez 2021-08-04 09:55:02 -07:00
  • e4d4be050e Homogenize treatment of params and meta in UnmarshalJSON lhchavez 2021-08-04 13:46:15 +00:00
  • 120d461fd1
    Add GitHub actions (#51) lhchavez 2021-08-04 05:46:32 -07:00
  • d6ac66e24f
    Add a way to specify more non-standard-compliant fields to Request (#50) lhchavez 2021-08-04 05:45:59 -07:00
  • a55c99b433 Add GitHub actions lhchavez 2021-07-28 13:28:48 +00:00
  • 4e1e529bef Ensure that SetExtraField cannot be used to overwrite another field lhchavez 2021-07-28 13:22:26 +00:00
  • 83d34e6888 Make the RequestField.Value an interface{} lhchavez 2021-07-28 13:16:16 +00:00
  • f987817f79 Add a way to specify more non-standard-compliant fields to Request lhchavez 2021-07-26 21:46:01 +00:00
  • 666ca2e978 Add ability to set custom logger Sam Herrmann 2021-06-16 10:28:15 -04:00
  • 5cdc7d6ccd
    fix typo in jsonrpc2/stream.go (#47) amyxia 2021-05-26 20:52:51 +08:00
  • 3a7bd6afc3 fix typo in jsonrpc2/stream.go xiarui.xr 2021-05-26 14:37:34 +08:00
  • 99f63e011f
    Add PlainObjectCodec (#45) v0.1.0 Sam Herrmann 2021-04-26 03:13:34 -04:00
  • 08fd77d0de
    Add StringID call option (#44) Sam Herrmann 2021-04-26 03:12:26 -04:00
  • 6ef786667c Add PlainObjectCodec Sam Herrmann 2021-04-24 21:00:56 -04:00
  • 9ce4585034 Add StringID call option Sam Herrmann 2021-04-24 14:49:40 -04:00
  • 547856e09e DispatchCall was added in #41 but is missing in the public interface. Cornelius Weig 2021-02-25 16:04:18 +00:00
  • 366fbb5207
    Break the Call method into a dispatcher and waiter (#41) Cornelius Weig 2021-02-01 09:28:50 +01:00
  • 682876aa75 Break the Call method into a dispatcher and waiter Cornelius Weig 2021-01-29 23:42:30 +00:00
  • c179da1d26
    Remove loop condition Sadegh Ramezani 2020-07-10 14:36:41 +04:30
  • 0c98949ef8
    Add message serializer Sadegh Ramezani 2020-07-10 14:35:08 +04:30
  • 15c2290dcb
    update LSIF indexing CI workflow garo (they/them) 2020-04-29 14:40:54 -04:00
  • 9e615b1c32 LSIF Indexing Campaign garo/lsif-indexing-campaign Sourcegraph Bot 2020-04-29 16:57:20 +00:00
  • d34962ba21 TypeScript and Go LSIF indexing typescript-and-go-lsif-indexing Sourcegraph Bot 2020-04-29 16:54:59 +00:00
  • 610c2c3948 Go and TypeScript LSIF indexing garo/go-and-typescript-lsif-indexing Sourcegraph Bot 2020-04-29 16:45:46 +00:00
  • 01ce4c18a2 Use t.Cleanup instead of defer in Golang code tests sourcegraph/t-cleanup Sourcegraph Bot 2020-04-28 15:58:19 +00:00
  • 96c4efab7e
    Produce LSIF data for each commit for fast/precise code nav (#35) Quinn Slack 2019-12-21 20:34:38 -08:00
  • 6717e021a5
    Update lsif.yml Quinn Slack 2019-12-21 20:28:04 -08:00
  • 1fa6cb7d8d Produce LSIF data for each commit for fast/precise code nav Sourcegraph Bot 2019-12-22 04:13:29 +00:00
  • cee7209801
    minor logging fixes (#34) Quinn Slack 2019-11-13 00:00:33 -08:00
  • 81af42d766 minor logging fixes s3rj1k 2019-11-07 23:44:16 +02:00
  • 3bf62ad25c fix Using a reference for the variable on range scope (#32) s3rj1k 2019-11-04 23:57:41 +02:00
  • b90665cd06 fix Using a reference for the variable on range scope s3rj1k 2019-11-04 10:00:19 +02:00
  • 9d396041a5
    Merge pull request #31 from s3rj1k/logger Quinn Slack 2019-11-03 21:31:32 -08:00