Etan Kissling
54dcec7f6f
Specify `maxResponseHeadersSize` when initializing HTTP client ( #126 )
...
* Specify `maxResponseHeadersSize` when initializing HTTP client
Update to be compatible with newer Chronos versions that have an
additional argument when instantiating `HttpClientRequestRef`.
* Specify max header size implicitly to remain compatible with old Chronos
2024-05-14 09:16:27 +07:00
tersec
798fae1669
test refc in CI in Nim 2.0 and later ( #125 )
2024-02-19 16:06:18 +00:00
jangko
3821900f72
v0.2.30
2024-02-04 14:56:49 +07:00
andri lim
c47f0c5d2f
Http server use async raises ( #123 )
2024-01-27 20:19:36 +07:00
jangko
14f0971f04
Upgrade github actions to v4
2024-01-27 17:00:58 +07:00
jangko
15a4ccd335
Add http handler constructor
2024-01-26 13:32:05 +07:00
jangko
4cc36cea81
Refactoring: extract graphql handler from http server
2024-01-25 17:25:47 +07:00
jangko
b517fdc433
Switch to mingw-llvm for faster Windows CI
2024-01-01 19:52:24 +07:00
jangko
7cfe1cd8da
Add push raises
2024-01-01 19:32:28 +07:00
jangko
ba6f90c807
v0.2.28
2023-09-11 16:10:15 +07:00
jangko
a2531fb3b1
remove support for nim < 1.6.0
2023-09-11 16:09:41 +07:00
jangko
83a12c07d6
remove excessive colon in validator.nim
2023-09-11 16:04:38 +07:00
jangko
b69cb98136
Add test case for spec#1044
2023-09-11 14:25:59 +07:00
jangko
9daa2c5af6
remove nimble.lock
2023-06-05 16:34:14 +07:00
jangko
07f238bd05
add nim 2.0 to ci matrix
2023-04-17 10:39:44 +07:00
jangko
f6c70d2612
switch CI to the supported version of ubuntu
2023-02-01 14:11:58 +07:00
jangko
a95dc02a2e
switch set-output to GITHUB_OUTPUT
2023-02-01 11:55:40 +07:00
jangko
de2f64ff7b
adjustment for nim 1.6
2023-01-31 17:28:41 +07:00
jangko
69592f4e5a
upgrade github actions to v3
2023-01-12 17:28:04 +07:00
jangko
4ef25a2d03
using multiple nim version in CI
2022-08-02 21:36:02 +07:00
jangko
d2635d0c61
bump version to 0.2.24
...
- allow cross-compiling on Linux for Windows
- Fix for styleCheck:usages
- replace tabs with spaces in op_fragment.toml
- implement generic hook to cover CORS and JWT auth
2022-07-17 12:00:55 +07:00
jangko
63b91c1d42
implement generic hook to cover CORS and JWT auth
2022-07-17 12:00:54 +07:00
jangko
873d9f0ff3
replace tabs with spaces in op_fragment.toml
2022-07-05 09:06:05 +07:00
jangko
f93d73c638
Fix for styleCheck:usages
2022-04-07 21:15:57 +07:00
jangko
50e7e5b467
allow cross-compiling on Linux for Windows
...
fix accidental wrong rebase and push
2022-03-25 17:06:27 +07:00
jangko
d18aafbf1e
bump version to 0.2.22
...
notable changes:
- #100 Better unicode support
- #105 Allow deprecation of input values (field args, directive args, input fields)
- #106 Allow cross-compiling on Linux for Windows
2022-03-25 14:23:43 +07:00
jangko
8662ca2caf
update docs related to deprecation
2022-03-11 23:45:56 +07:00
jangko
bf6aaf707c
Allow deprecation of input values (field args, directive args, input fields)
...
fixes #104
2022-03-11 21:16:17 +07:00
jangko
4f98887894
add more test of input object defaultValue
2021-11-01 21:48:43 +07:00
jangko
4e0b7cbced
update unicode section in toc.md
2021-11-01 13:13:58 +07:00
jangko
c1f75b87f3
more unicode char tests
...
addd more tests in tests/execution/execution.toml:
- unicode chars as UTF-8
- unicode chars as variable length escaped hex
- unicode chars as fixed length escaped hex
- unicode chars as fixed length escaped hex with surrogate pair
- unicode chars as variable length escaped hex for SMP chars
2021-11-01 13:13:58 +07:00
jangko
069be6fb99
fixes nim caching in ci
2021-11-01 13:13:58 +07:00
jangko
e7848a0c6f
better unicode support
...
input string now support full range fixed length escaped unicode char
and variable length escaped unicode char along with UTF-8 encoding.
output string also support full range fixed length escaped unicode char
for json string.
full range unicode means it will use surrogate pair if necessary.
fixes #50
2021-10-31 20:30:01 +07:00
jangko
a8af6b7af0
bump version from 0.2.18 to 0.2.20
...
features:
- playground: add support to run inside docker
- add secure mode to graphql http server
- add secure mode to graphql http client
- httpclient: add unzip dan chunked transfer of HTTP 1.1
bugfixes:
- fix accept-encoding bug in httpserver
2021-09-20 11:57:43 +07:00
jangko
276684bd6a
httpclient: add unzip dan chunked tranfer of HTTP 1.1
...
also fix httpserver not to start sending chunked response if
the content is less than certain limit (4KB)
fixes #85
2021-09-20 11:52:34 +07:00
jangko
aabdbe8185
ci: fixes mingw download url, replace space with %20
2021-09-09 14:01:12 +07:00
jangko
edc117677b
remove cpp jobs from CI
...
reason:
bearssl error: undefined reference to `x509_noanchor_init`
when compiled in cpp mode
2021-08-16 23:34:56 +07:00
jangko
219a0e3b38
add secure http test for both http client and server
...
fixes #96
2021-08-16 21:55:06 +07:00
jangko
62980e5493
add secure mode to httpclient
2021-08-16 19:59:41 +07:00
jangko
53f6e0d186
add secure mode to graphql http server
2021-08-16 13:24:23 +07:00
jangko
5ed7fc0af1
playground: add support to run inside docker
...
- fix the address bind to be configurable with cli
- add Dockerfile to run playground server
fixes #93
2021-07-04 11:41:08 +07:00
jangko
ea4d15e25a
fix accept-encoding bug in httpserver
...
now the httpserver is able to accept something like
"Accept-Encoding: gzip, deflate, br,"
But the client still need modification to cupport HTTP1.1
before we can test it
fixes #94
2021-07-04 10:46:13 +07:00
jangko
675301de70
bump version from 0.2.16 to 0.2.18
...
- replace nim-miniz with nim-zlib
- replace unittest with unittest2
2021-06-28 12:33:08 +07:00
jangko
e4fc093017
replace unittest with unittest2
2021-06-27 13:30:36 +07:00
jangko
c83b51ab47
switch from miniz to zlib
2021-06-20 09:44:11 +07:00
jangko
7cdc63df70
fix http server creation error message
...
now when error occured during http server
creation, the reason is included in the error
message
2021-06-17 07:43:46 +07:00
jangko
d34d3c8d88
fixes related to api changes in nim-miniz gzip
...
now gzip is using stew/result to return it's result.
2021-06-11 12:13:39 +07:00
jangko
75d913ca4d
bump version from 0.2.14 to 0.2.16
...
- fixes non repeatable directive error message
- refactor nim caching in github action ci
- refactor github action ci matrix
- extract miniz to it's own repo
2021-06-06 11:17:09 +07:00
jangko
6d8ae7cd3d
extract miniz to it's own repo
2021-06-05 14:10:55 +07:00
jangko
d54dc3d0db
refactor github action CI script
...
- move TEST_LANG from target to matrix
2021-06-01 11:57:40 +07:00