Auke Booij
2735d284c1
server: use a new version of graphql-parser-hs to avoid loss of precision ( #4741 )
...
Fixes #4733 . See also hasura/graphql-parser-hs#29 .
2020-05-13 12:10:46 +02:00
Auke Booij
e17e47ef8c
server: avoid code duplication using type classes ( #4624 )
...
There are two implementations of a Cache, namely a bounded and an
unbounded variant. This can be elegantly captured in a type class.
In addition to reducing the amount of error-prone code in the
definition of the cache, this version reduces the amount of
error-prone code in usage sites of the cache, as it makes the cache
into an abstract object, so that a calling site cannot distinguish
between cache types. Any decision about what should be cached should
be made through the interface of a cache, rather than at the callsite,
and this is captured by this variant.
2020-05-13 11:17:32 +02:00
Auke Booij
4d10a610f4
server: fix mishandling of GeoJSON inputs in subscriptions ( fix #3239 ) ( #4551 )
...
* Add support for multiple top-level fields in a subscription to improve testability of subscriptions
* Add an internal flag to enable multiple subscriptions
* Add missing call to withConstructorFn in live queries (fix #3239 )
Co-authored-by: Alexis King <lexi.lambda@gmail.com>
2020-05-13 10:09:44 +02:00
Marion Schleifer
9a16e25769
docs: add page on query performance ( close #2316 ) ( #3693 )
2020-05-12 21:20:35 +05:30
Marion Schleifer
d17b2232d1
docs: update security guide ( #4730 )
2020-05-12 17:42:51 +05:30
Antoine Leblanc
201dcca59a
console: restore partial support for foreign tables ( fix #4714 ) ( #4742 )
2020-05-12 17:18:35 +05:30
Marion Schleifer
0df2c57fe6
docs: remove ids from mutation examples ( #4539 )
2020-05-12 16:17:06 +05:30
Jigyasu Arya
f993a6c907
console: fix checkbox for forwarding client headers in actions ( close #4595 ) ( #4669 )
2020-05-12 15:22:23 +05:30
Marion Schleifer
c843f787fe
docs: fix link in heroku deployment guide ( #4739 )
2020-05-12 12:40:57 +05:30
Fadi Khadra
cd1c562073
console: allow modifying default value for PK ( close #4075 ) ( #4679 )
2020-05-12 11:46:48 +05:30
Anon Ray
3dd72bf66c
docs: fix info on excluding scheme in CORS config ( #4685 )
2020-05-11 18:56:08 +05:30
Marion Schleifer
d335743e4b
docs: add section on actions vs remote schemas ( close #4093 ) ( #4284 )
...
* add section on actions vs remote schemas
* fix language
* add changelog
* update actionvs vs remote schemas
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
2020-05-11 18:42:58 +05:30
Bert Verhelst
506af29dae
docs: add filter query example to check if no nested objects exist ( #4675 )
2020-05-11 18:27:03 +05:30
Shraddha Agrawal
fa509aad3c
docs: update cli reference ( #4728 )
2020-05-11 17:44:48 +05:30
Tirumarai Selvan
619553ef4e
add commit step to upgrading on heroku ( #4731 )
2020-05-11 17:07:01 +05:30
Praveen Durairaju
6ffb29b943
docs: migrate to google tag manager ( #4711 )
2020-05-08 13:14:20 +05:30
Aravind
f1c3b43f6f
cli: fix docs failing to build ( close #4637 ) ( #4698 )
2020-05-07 13:03:50 +05:30
Rikin Kachhia
c2fdcd0471
console: optimise count fetch in data browser ( #4692 )
...
* in table-browse-rows, make intelligent count
* update changelog
* simplify getting estimatedCount
* prevent doubled requests
* hide estimated count
* update changelog
* Update CHANGELOG.md
Co-authored-by: Rishichandra Wawhal <rishi@hasura.io>
Co-authored-by: Aleksandra Sikora <ola.zxcvbnm@gmail.com>
2020-05-06 23:37:56 +05:30
Shahidh K Muhammed
e14352eb72
tag release v1.2.1 ( #4680 )
2020-05-05 19:23:29 -05:00
jjangga0214
1211c23a2f
docs: update cli installation via npm instructions ( #4409 )
2020-05-05 12:35:44 +05:30
Rikin Kachhia
dcab20a5ee
docs: update image paths ( #4649 )
2020-05-05 09:22:08 +05:30
Can Taşpınar
9d815598cc
cli: include new commands in help text ( fix #4623 ) ( #4626 )
2020-05-05 09:21:20 +05:30
Marion Schleifer
9f4461b223
docs: fix action handler example ( #4663 )
2020-05-05 09:16:39 +05:30
ShahAnuj2610
8a58ef8b0c
readme: update badges ( close #4225 ) ( #4563 )
2020-05-04 09:43:53 +05:30
Rikin Kachhia
6a6225ed99
docs: update telemetry opt-out docs ( #4574 )
...
Co-Authored-By: Marion Schleifer <marion@hasura.io>
2020-05-03 06:15:18 +05:30
surendran82
5998d22231
console: add read replica support section to pro popup ( #4118 )
2020-05-02 14:41:40 +05:30
Rikin Kachhia
2ef36f6f3c
docs: update migrations docs ( #4639 )
2020-05-01 19:36:00 +05:30
Aleksandra Sikora
43f12db1d3
console: update @babel/core and @babel/preset-env ( #4628 )
2020-05-01 18:34:52 +05:30
Aleksandra Sikora
09d3c89d4c
console: fix data browser css issue in safari ( close #4632 ) ( #4634 )
2020-05-01 05:31:22 +05:30
Rikin Kachhia
cecec960ed
docs: add note about using cli-migrations-v2 image ( #4618 )
2020-04-30 15:20:32 +05:30
Aleksandra Sikora
220338d5d7
console: pin dependency versions ( #4612 )
2020-04-30 13:09:17 +05:30
Aravind Shankar
ab97dee4b0
add build_image as required job for test_and_build_cli_migrations ( #4615 )
2020-04-30 12:21:56 +05:30
Aravind Shankar
1ee3f40ad4
cli(migrations): load correct server image ( fix #4610 ) ( #4614 )
2020-04-30 10:52:11 +05:30
Rikin Kachhia
08e81da02c
docs: update session vars in functions sections ( #4606 )
2020-04-30 00:53:29 +05:30
Auke Booij
ad882a93e2
tests: tear down numerics values ( fix #4602 ) ( #4604 )
...
Also temporarily disable part of the CI to avoid it becoming confused about tests for/from old versions
2020-04-29 16:56:16 +02:00
Shahidh K Muhammed
fb35576984
tag release v1.2.0 ( #4597 )
2020-04-29 17:13:42 +05:30
Rikin Kachhia
90b49eb007
docs: update config v1 migrations docs ( #4598 )
2020-04-29 15:39:49 +05:30
Tirumarai Selvan
444db3a4f4
docs: add database url env to server downgrade docs ( #4593 )
2020-04-29 15:36:15 +05:30
Rikin Kachhia
c2df714e5d
docs: update migrations docs ( #3403 )
2020-04-29 13:30:26 +05:30
Rikin Kachhia
35a50bb28b
docs: update actions documentation ( #4586 )
2020-04-29 13:16:02 +05:30
Tirumarai Selvan
7f0e47c44e
ready changelog for v1.2 ( #4591 )
2020-04-29 11:56:19 +05:30
Shraddha Agrawal
e174633ace
Merge pull request #4566 from ShraddhaAg/init-current-directory
...
cli: allow initialising project in current directory (fix #4560 )
2020-04-28 19:10:46 +05:30
Shraddha Agrawal
88685736c7
Merge branch 'master' into init-current-directory
2020-04-28 18:35:00 +05:30
Shraddha Agrawal
d95d6378e8
cli: add support for servers with self-signed certs ( fix #4564 ) ( #4582 )
...
Co-Authored-By: Marion Schleifer <marion@hasura.io>
2020-04-28 17:29:57 +05:30
Rikin Kachhia
b97ab77ee4
docs: misc changes ( #4584 )
...
* change v1.0 -> v1.x in version dropdown
* run sphinx build with upto 4 parallel processes
2020-04-28 17:12:02 +05:30
Shraddha Agrawal
63a0a3936a
docs: add version info to the CLI .env file section ( close #4572 ) ( #4573 )
2020-04-28 16:58:02 +05:30
Shraddha Agrawal
1002d20a0a
Merge branch 'master' into init-current-directory
2020-04-28 02:27:23 +05:30
Marion Schleifer
3ba344befb
docs: data validations ( close #4085 ) ( #4260 )
2020-04-28 00:32:15 +05:30
Auke Booij
ee7c7b1672
server: allow computed fields to have access to Hasura's session variables ( fix #3846 ) ( #4486 )
...
* Allow computed fields to have access to Hasura's session variables
* Inform about session args for computed fields in changelog and docs
* Add tests for session arguments for computed fields (and the respective errors)
Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
Co-authored-by: Marion Schleifer <marion@hasura.io>
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
2020-04-27 17:07:03 +02:00
Aravind
98906e6c5f
Merge branch 'master' into init-current-directory
2020-04-27 16:51:16 +05:30