Commit Graph

1942 Commits

Author SHA1 Message Date
surendran82
0ed5b4cee6
docs: fix github button (#4768) 2020-05-14 12:29:45 +05:30
surendran82
bc9ebd0748
docs: add HasuraCon20 banner stripe (#4758) 2020-05-14 12:03:50 +05:30
Brandon Simmons
9b247d4ed7
Merge pull request #4518 from jberryman/ghc-8.10-migration
Migrate to GHC 8.10, upgrade dependencies. Closes #4517
2020-05-13 20:34:38 -04:00
Brandon Simmons
a77bb0570f In websockets: rethrow resourceVanished as ConnectionClosed. Closes #4344
...hopefully. At least I no longer can easily induce any unexpected
exceptions after this and the GHC 8.10 + libs upgrade commit.
2020-05-13 19:13:13 -04:00
Brandon Simmons
ff62d5e0bf Migrate to GHC 8.10, upgrade dependencies. Closes #4517
This also seems to squash a stubborn space leak we see with
subscriptions (linking to canonical #3388 for reference).

This may also fix some of the "Unexpected exception" websockets
exceptions we are now surfacing (see e.g. #4344)

Also: dev.sh: fix hpc reporting

Initial work on this done by Vamshi.
2020-05-13 19:13:02 -04:00
Brandon Simmons
69f24d47b3 dev.sh: bump version due to addition of croniter python dependency 2020-05-13 17:40:01 -04:00
Tirumarai Selvan
cc8e2ccc78
Scheduled triggers (close #1914) (#3553)
server: add scheduled triggers 

Co-authored-by: Alexis King <lexi.lambda@gmail.com>
Co-authored-by: Marion Schleifer <marion@hasura.io>
Co-authored-by: Karthikeyan Chinnakonda <karthikeyan@hasura.io>
Co-authored-by: Aleksandra Sikora <ola.zxcvbnm@gmail.com>
2020-05-13 18:03:16 +05:30
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
Marek Dano
cd1f43397c Replace react-router-dom by react-router version 3. 2020-05-08 19:57:02 +01:00
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
Marek Dano
dbafb92a07 Replace 'any' in the Sidebar component and fix eslint issue. 2020-05-06 13:36:30 +01:00
Marek Dano
17a4b98e9a Migrate Sidebar to tsx. 2020-05-06 12:44:52 +01:00
Marek Dano
1e2c05426d Remove react-router and replace it with react-router-dom in the console project. 2020-05-06 12:44:15 +01:00
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