262 Commits

Author SHA1 Message Date
jangko
03784848eb
bump nim-graphql version from 0.2.12 to 0.2.14
enhancements:
- scalar `Float` now have proper validation
- seqs are not copied anymore in some places, but using system.move

bugfixes:
- `removeWhitespaces` in test_common no longer eat white spaces
  from quoted string.
- `skipWhitespace` in lexer.nim now preserve \r\n instead of replace it with \n

new features:
- add custom instrument infrastructure
- add Query Complexity instrumen
2021-05-10 22:22:04 +07:00
jangko
7f509a00df
bump nim-graphql from 0.2.10 to 0.2.12
- enhancements:
  - response stream reform:
    - allow for more response stream implementation easily

- features:
  - add NodeRespStream:
    - return AST produced by execution engine instead of serialize
      it into json or something else

  - add store flag to parseSchema and parseQuery family:
    - with this additional flag, both query and schema can be marked
      with stored flag
    - purge also become selective when purging queries
    - dog fooding the introspection schema loader using this flag

bugfixes:
  - next fields will continue execution if there is error:
    - if one field failed, it will not terminate subsequent fields
      execution, but errors are kept.
  - propagate inner field error to it's parent
    - Since Non-Null type fields cannot be null, field errors are propagated to be
      handled by the parent field. If the parent field may be null then it resolves
      to null, otherwise if it is a Non-Null type, the field error is further
      propagated to it’s parent field.

    - If a List type wraps a Non-Null type, and one of the elements of that list
      resolves to null, then the entire list must resolve to null. If the List type
      is also wrapped in a Non-Null, the field error continues to propagate upwards.

    - If all fields from the root of the request to the source of the field error
      return Non-Null types, then the "data" entry in the response should be null.
2021-05-07 17:38:51 +07:00
jangko
cf9ed5c2ca
bump nim-graphql
fixes stupid bug in http gzip func
2021-05-05 16:49:30 +07:00
jangko
331a95f363
bump nim-graphql from from 0.2.8 to 0.2.10
- fixes httpserver gzip crc32 calculation
- catch exception and turn it into error code in
  public api functions
2021-05-05 14:07:28 +07:00
jangko
0cdda3c437
bump nim-graphql from 0.2.6 to 0.2.8
- AST node now is inheritable
2021-05-05 11:20:12 +07:00
jangko
44601157f3
bump nim-graphql from 0.2.4 to 0.2.6
bugfixes:
- empty list should be allowed as argument value or input field value

features:
- add `parseSchemas`
2021-05-04 13:01:33 +07:00
jangko
24ce283498
bump nim-graphql from 0.2.2 to 0.2.4
bug fixes:
- fixes copyTree for nkMap node
- fixes queries with variables reusability
- fixes non nullable variables with no runtime value
2021-05-02 15:25:29 +07:00
jangko
86edf449cf
bump nim-graphql from 0.2.0 to 0.2.2
nim-graphql v0.2.2 have numerous bugfixes, but notable ones are:
- only one non-introspection field are allowed in subscription root
- @skip and @include should not allowed for subscription root
- more descriptive error message for playground ethapi, fixes
- fixes GraphiQL client complaint about our instrospection system is old
- graphql http server enhancements: gzip encoding and chunked transfer
2021-05-01 15:08:36 +07:00
jangko
6e79fa3708
bump nim-graphql from 0.1.2 to 0.2.0
- fixes http server response status code
- fixes `__schema.types` and `__schema.directives` implementation
- fixes 'getOperation' in executor.nim
- web ui(graphiql) for http server
2021-04-30 12:56:14 +07:00
jangko
1a68388969
bump nim-graphql submodule from 0.1.0 to 0.1.2
a crash bug is found in nim-graphql validator for
input object value coercion. the bug already fixed.
another non critical bug is about builtin 'specifiedByURL'
directive changed to 'specifiedBy' following the newest
graphql spec.
2021-04-27 12:51:56 +07:00
jangko
1ca4b63c3a
bump chronicles, serialization and json-serialization
recent nim-serialization API changes already made it's way into
toml-serialization. and with the addition of newest toml-serialization
along with it's bugfixes, those submodules mentioned above
become out of date because toml-serialization need newer version of
nim-serialization.
2021-04-24 10:36:48 +07:00
jangko
e76e0144d0
add submodules: graphql and toml-serialization 2021-04-22 11:29:42 +07:00
Jacek Sieka
3147df0dcd
switch to chronos metrics, remove insecure (#580)
* switch to chronos metrics, remove insecure

See https://github.com/status-im/nimbus-eth2/pull/2468

also fixes pcre linking for real, and adds some random build flags that
help nimbus-eth2 stay afloat

* fix help

* don't omit frame pointers on windows
2021-04-09 09:26:06 +02:00
Jamie Lokier
6d30b349b3
Bump nim-eth for: Kademlia crash when trying to sync with testnet or mainnet (#489)
Prior to this commit, when using discv4 (Kademlia) to find peers, there is a
crash after a few minutes.  It occurs for most of us on Eth1 mainnet, and
everyone on Ropsten.

Tested for about 4 days constant operation on Ropsten.  The crash which occured
every few minutes no longer occurs, and discv4 keeps working.

Signed-off-by: Jamie Lokier <jamie@shareable.org>
2021-04-07 18:09:22 +01:00
kdeme
f34431e2d4
Bump nim-eth and nim-chronos and fix exception effects 2021-04-02 19:55:21 +02:00
jangko
1988d08ad8 bump submodules 2021-03-19 12:30:00 +07:00
jangko
a836c122ed bump submodules 2021-02-14 11:01:27 +07:00
jangko
8c5c967715 bump submodules 2021-01-20 11:50:07 +07:00
jangko
fab894f5ad
bump nim-blscurve 2020-12-02 15:16:03 +07:00
jangko
ed3b753276
add nim-blscurve submodule 2020-11-19 10:56:29 +07:00
jangko
952ad654e4
bump nim-chronos 2020-11-18 17:54:12 +07:00
jangko
71b4c44112
bump submodules 2020-11-17 10:01:00 +07:00
jangko
d5f45f13da
bump nim-eth and nim-stew 2020-10-01 14:06:47 +07:00
jangko
43308c8e76
bump submodules 2020-09-30 13:09:54 +07:00
jangko
e31a2ec3fc
replace tormund/news with status-im/news 2020-09-15 11:40:52 +07:00
jangko
1c7316a419
bump submodules 2020-09-10 09:54:36 +07:00
Zahary Karadjov
d058509e69
Bump modules 2020-08-19 14:29:09 +03:00
jangko
6e4676e325
bump submodules 2020-08-04 12:32:57 +07:00
Ștefan Talpalaru
46e8870db3
Nim-1.2.6-RC1 (#524) 2020-07-30 14:10:22 +02:00
jangko
063019ab95
bump submodules 2020-07-20 12:35:32 +07:00
jangko
376cbcdfd5
bump nim-eth 2020-07-04 17:16:56 +07:00
jangko
51f2017b03
add bearssl submodule 2020-06-24 13:10:09 +07:00
jangko
702977276b
bump vendor/news 2020-06-24 12:57:44 +07:00
jangko
ef5a964b42
bump submodules 2020-06-24 11:44:09 +07:00
Ștefan Talpalaru
75b5d4effe
Makefile: move "nat-libs" to "deps" 2020-06-22 17:12:12 +02:00
Ștefan Talpalaru
b4f5d8d62f
Nim-1.2.2 2020-06-17 15:10:07 +02:00
Ștefan Talpalaru
6fcf7f4ef4
add link to nimbus-build-system docs 2020-06-13 02:03:02 +02:00
Ștefan Talpalaru
d0d2b3dd8d
bump vendor/nimbus-build-system 2020-06-01 22:49:23 +02:00
jangko
4a0b3c4f16
bump more submodules 2020-05-14 10:28:07 +07:00
jangko
a5d805aac5
bump submodules 2020-05-14 07:50:39 +07:00
Jacek Sieka
ff028982d6 bump 2020-04-27 18:40:45 +03:00
Jacek Sieka
d441687488 bump 2020-04-27 18:40:45 +03:00
Jacek Sieka
ed7dbab70f db: use kvstore from nim-eth 2020-04-27 18:40:45 +03:00
kdeme
55fb4987d7
Bump chronicles + adjust some raises in libnimbus 2020-04-21 14:17:08 +02:00
kdeme
905102c736
Bump nim-eth for waku v1 changes 2020-04-21 14:16:19 +02:00
Jacek Sieka
4ade5797ee
rlp: don't use ranges / experimental features (#495) 2020-04-20 20:12:44 +02:00
Ștefan Talpalaru
73e9199ebf
new initial submodule update strategy (#494)
* new initial submodule update strategy

* Azure: increase timeout

* Makefile: change comment [skip ci]
2020-04-18 14:56:40 +02:00
Jacek Sieka
45a9933d83
vendor: bump (#493) 2020-04-18 00:11:42 +02:00
Ștefan Talpalaru
a783b096fe
bump vendor/nimbus-build-system (#491)
* bump vendor/nimbus-build-system

- add the Nim compiler header to the Nimbus header
- also support the USE_LIBBACKTRACE env var

* "go-checks" target no longer available
2020-04-16 00:21:58 +02:00
andri lim
b3a519398e bump nim-eth 2020-04-09 19:13:17 +03:00