Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
334 commits
Select commit Hold shift + click to select a range
4bbc915
fix ~ icon for actions error message
lastnamearya May 18, 2020
1de5d47
optimize ~ table icon for query analyzer
lastnamearya May 18, 2020
409be57
optimize ~ close icon for action relationships
lastnamearya May 18, 2020
bf23a88
optimize ~ icons for event trigger logs
lastnamearya May 18, 2020
420dc84
optimize ~ icons for event trigger tables
lastnamearya May 18, 2020
6597e98
flush logger on shutdown (#4800)
tirumaraiselvan May 19, 2020
fb175f2
docs: add disabling dev mode to production checklist (#4715)
rikinsk May 19, 2020
3f631ca
cli-ext: setup linting and prettification (#4463)
ShahAnuj2610 May 19, 2020
fffc65f
console: migrate switch button and spinner to TypeScript (#4504)
kawamataryo May 19, 2020
ac30767
Allowlist metadata Import bug (#4762)
codingkarthik May 20, 2020
289ff5e
console: migrate VoyagerView to TS (#4734)
marekdano May 20, 2020
2a016c1
docs: update security vulnerability page title (#4831)
rikinsk May 21, 2020
a8699bb
docs: add page for procuring custom docker images and binaries (#4828)
dsandip May 21, 2020
9c55940
flush log buffer on exception in mkWaiApp ( fix #4772 ) (#4801)
tirumaraiselvan May 21, 2020
93bb342
docs: update troubleshooting section with reference on debugging erro…
marionschleifer May 21, 2020
e3c0072
docs: improve wording in enum page (#4827)
marionschleifer May 21, 2020
3727184
docs: add note to permissions page regarding Hasura vs PG roles (#4834)
marionschleifer May 21, 2020
d184497
docs: update pgdump key in production checklist (#4814)
jcf May 21, 2020
642c421
docs: add integration guide for AWS Cognito (#4822)
gautambt May 21, 2020
8455817
rfc: admin-only/backend-only insert permissions (#4120)
0x777 May 21, 2020
ef78875
docs: improve actions documentation (#4743)
marionschleifer May 21, 2020
7ef7109
docs: fix errors in cognito docs (#4843)
gautambt May 22, 2020
ff99b24
fix a security issue with 1.2
0x777 May 5, 2020
e347ef3
fix explain queries with role permissions, fix #4816
rakeshkky May 21, 2020
29da6af
docs: update HasuraCon banner content (#4845)
surendran82 May 22, 2020
f7cb3c1
Merge branch 'master' into migrate-sidebar-to-ts
May 25, 2020
b771956
cli: fix update scripts failing when sql migrations files are already…
scriptonist May 26, 2020
b5ca6ec
Merge pull request #4882 from scriptonist/fix-update-scripts-bug
scriptonist May 26, 2020
756614c
update auth-webhook boilerplates for node (#4885)
tirumaraiselvan May 26, 2020
babb31c
remove redundant content from community content (#4886)
May 26, 2020
fb80784
console: migrate Button to TypeScript (#4570)
kawamataryo May 27, 2020
b088db6
console: migrate `Container.js` to TypeScript (#4724)
ryands17 May 27, 2020
1b442fc
console: migrate cypress tests to TypeScript (#4550)
rajanand02 May 27, 2020
c1197be
console: fix dependency vulnerabilities (#4677)
May 27, 2020
c0d2bc6
Remote Joins: Create relationships across database and remote schemas…
tirumaraiselvan May 27, 2020
594b387
console: add Help button and move About page to settings (#4848)
rikinsk May 27, 2020
e914fcf
Fixes dead link in docs - close #4914 (#4915)
madsnedergaard May 28, 2020
087fe03
docs: remove github stars (#4918)
praveenweb May 28, 2020
bc16668
console: remove deprecated better-npm-run (#4819)
May 29, 2020
b2fd57a
console: fix visiting view modify page overwriting raw sql content (c…
soorajshankar May 29, 2020
d2aac37
console: allow entering big int values (close #3667) (#4775)
soorajshankar May 29, 2020
ea2f167
console: require async globals before render; track runtime errors (#…
May 29, 2020
41b3be8
workflow: add lint and format action for console (#4501)
May 29, 2020
d9a51fe
add no-changelog-required note to PR template (#4933)
tirumaraiselvan May 29, 2020
6b590cb
console: remote joins code improvements (#4920)
May 29, 2020
a2a492e
console: migrate CollapsibleToggle to TS (#4697)
kshitijk83 May 29, 2020
61349c0
console: migrate ErrorBoundary to TS (#4542)
marekdano May 29, 2020
7eab3a7
fix haddock comment
0x777 May 29, 2020
f14900e
bump dependencies
0x777 May 29, 2020
16d01bc
cli: add support for skipping execution while generating migrations t…
arvi3411301 Jun 2, 2020
2d2def8
Disables optimizations on Hasura.Server.Init module
0x777 Jun 1, 2020
af0d4d8
console: replace remote schema url in tests (#4964)
Jun 2, 2020
45c8699
console: dependencies cleanup (#4705)
Jun 2, 2020
b9ed3df
tag release v1.2.2 (#4963)
shahidhk Jun 2, 2020
90dea98
cli-ext: add typescript support (#4820)
Jun 2, 2020
57d52b2
docs: update PG requirements page (close #4865) (#4857)
rikinsk Jun 2, 2020
81f338c
remove event from the saved locked events after processing it (#4932)
codingkarthik Jun 2, 2020
cd46876
Refactor the WAI shutdownHandler to use an MVar (#4667)
paf31 Jun 2, 2020
34a41e5
Add some useful FromJSON instances (#4707)
paf31 Jun 2, 2020
edbd9c4
cli: load assets from server if cdn is disabled (close #3382) (#3851)
scriptonist Jun 3, 2020
daf0988
cli: fix bug with squashing event triggers (close #4883) (#4949)
scriptonist Jun 3, 2020
177556f
cli: fix tests failing in local dev environment (#4729)
scriptonist Jun 3, 2020
a69f47c
install manifests: update all install manifests to enable dev mode by…
rikinsk Jun 3, 2020
d9cc676
cli: add --dry-run flag to migrate apply command (close #3128) (#3499)
ashishra0 Jun 3, 2020
7e2d637
Fix typo in error message (#4923)
GeKorm Jun 3, 2020
1b3f5b8
console: fix regression in editing permissions manually (fix #4683) (…
soorajshankar Jun 4, 2020
ae75c6c
allow logging details of a live query polling thread (#4959)
0x777 Jun 4, 2020
aaab6d3
console: add scheduled triggers support (#4732)
Jun 5, 2020
e4e4856
console: improve error handling for prerelease notification opt-out (…
kolharsam Jun 5, 2020
d6de359
actions: fix behaviour when using remote relationship in mutation act…
codingkarthik Jun 5, 2020
78d2f2c
Merge branch 'master' into migrate-sidebar-to-ts
Jun 5, 2020
d651319
Fix location type
Jun 5, 2020
2b4d12e
Fix eslint config, run prettier
Jun 5, 2020
342c017
Merge branch 'master' into migrate-sidebar-to-ts
Jun 5, 2020
d67757c
console: update QueryAnalyzer to support subscriptions (close #2541) …
kolharsam Jun 6, 2020
6572dfc
docs: make header common with other hasura.io/ pages (#4957)
surendran82 Jun 6, 2020
20cf05d
console: migrate Globals to TS (#4587)
marekdano Jun 6, 2020
2ada312
console: add new sidebar icon that separates enums from tables (fix #…
Xetera Jun 6, 2020
2bb038d
remove the Events/HTTP module (#4930)
codingkarthik Jun 8, 2020
5de647b
Don't compile in developer APIs by default
jberryman Jun 4, 2020
9fe5303
docs: add note on payload case in action handlers (#5004)
adav Jun 8, 2020
8f9c358
docs: fix css regression (#5009)
surendran82 Jun 8, 2020
762e947
docs: add security and product update subscription form (#4977)
surendran82 Jun 8, 2020
2a9bc23
add relay modern support (#4458)
0x777 Jun 8, 2020
547e658
console: replace remote schema url in tests (#5011)
Jun 8, 2020
a233067
docs: fix mailchimp scripts (#5012)
rikinsk Jun 8, 2020
e800e32
console: fix "Cannot read property 'foldable'" runtime error in `Brow…
Jun 8, 2020
1f8748c
tag release v1.3.0-beta.1 (#5017)
arvi3411301 Jun 8, 2020
d747bc1
Tighten up handling of admin secret, more docs
jberryman May 19, 2020
5e37350
Refactor and unit test authentication code paths (closes #4736)
jberryman May 28, 2020
316ac08
docs: add accessing session variables in computed fields docs (#5018)
rikinsk Jun 8, 2020
e4ff1ba
Merge branch 'master' into migrate-sidebar-to-ts
Jun 8, 2020
9b2d46c
Merge pull request #4690 from marekdano/migrate-sidebar-to-ts
Jun 9, 2020
fa60c7d
console: migrate telemetry to typescript (#4737)
marekdano Jun 9, 2020
9356cbe
correct actions diagram (#5007)
marionschleifer Jun 9, 2020
dd977d6
console: convert About and Login components to typescript (#4794)
ryands17 Jun 9, 2020
0df38f0
console: respect read-only mode in actions pages (close #4656) (#4764)
soorajshankar Jun 9, 2020
1ccff06
docs: add webinar banner stripe (#5027)
surendran82 Jun 9, 2020
b782986
fix bug which arised when renaming a column/table if it was used to c…
codingkarthik Jun 9, 2020
cf8cf4f
Merge branch 'master' into 4736-security-testing
jberryman Jun 9, 2020
2861bea
console: fix enum tables reload data button UI (close #4647) (#4877)
soorajshankar Jun 9, 2020
bd7b671
docs: fix the headers example in the create_scheduled_event API
codingkarthik Jun 9, 2020
7fd7bae
Merge pull request #5030 from codingkarthik/docs-fix-scheduled-event-…
codingkarthik Jun 9, 2020
c8d242d
console: provide option to cascade metadata on dependency conflicts (…
soorajshankar Jun 9, 2020
e724fd9
docs: remove "under development" note from remote schemas page (#5040)
marionschleifer Jun 10, 2020
461db99
docs: add custom Github button to header (#5041)
surendran82 Jun 10, 2020
2030da5
console: convert settings/utils to typescript (#4684)
poul-kg Jun 10, 2020
63eb311
console: fix listen update column config selection for event trigger …
Jun 10, 2020
1e3eb03
cli: fix tests failing due to a env var not being set in CI (#5015)
scriptonist Jun 11, 2020
7efc532
console: add default graphiql mode in api explorer (#5061)
Jun 11, 2020
2f79136
docs: add migration setup guide for v2 migrations (close #4746) (#4898)
marionschleifer Jun 11, 2020
cb3252c
console: allow configuring session_argument for custom functions (clo…
soorajshankar Jun 11, 2020
cc2878d
docs: remove duplicate labels and fix links (#4952)
marionschleifer Jun 11, 2020
d862afb
Merge branch 'master' into 4736-security-testing
jberryman Jun 11, 2020
4c9362c
Merge pull request #4919 from jberryman/4736-security-testing
0x777 Jun 11, 2020
f73b847
console: fix handling inconsistent objects (close #5072) (#5073)
Jun 12, 2020
0bdfad4
console: remove proposal-export-default-from (#5032)
Jun 12, 2020
c49dddf
docs: update header (#5063)
surendran82 Jun 12, 2020
fd00892
console: reuse websocket connection in api explorer (#5064)
Jun 12, 2020
bb592a1
docs: add more description to 'HASURA_GRAPHQL_EVENTS_HTTP_POOL_SIZE' …
tirumaraiselvan Jun 15, 2020
65920fb
console: migrate main state to typescript (#4804)
marekdano Jun 15, 2020
8b6728d
docs: change body font size to at least 18px (for higher resolutions)…
sezgi Jun 11, 2020
c9e622f
docs: design & UI fixes (fix #5022)
sezgi Jun 11, 2020
1e1d653
docs: 16px font size under 1200px (fix #5022)
sezgi Jun 15, 2020
5117084
install manifests: use caddy v2 for https setup (#4823)
sanderhahn Jun 16, 2020
13e4edb
cli: add flags --up-sql and --down-sql to migrate create command (clo…
Jun 16, 2020
d7ca702
cli: support squashing migrations with remote joins (close #4908) (#4…
scriptonist Jun 16, 2020
5a648a9
cli: fix cron triggers not being exported on a metadata export (close…
scriptonist Jun 16, 2020
1f20379
cli: manage seed migrations as sql files (close #2431) (#3763)
scriptonist Jun 16, 2020
f03b554
docs: fix multiple queries execution pattern (#5105)
rikinsk Jun 16, 2020
4e229dc
relay fixes (#5013)
rakeshkky Jun 16, 2020
0cf4cbc
server: refactor GQL execution check and config API (#5094)
ecthiender Jun 16, 2020
a3991bf
Merge branch 'master' into ui-tweaks
rikinsk Jun 16, 2020
6fc4043
generalize query execution logic on Postgres (#5110)
0x777 Jun 16, 2020
70bf152
Merge branch 'master' into ui-tweaks
sezgi Jun 16, 2020
fe0aca2
Merge pull request #5077 from sezgi/ui-tweaks
sezgi Jun 16, 2020
d064959
server: drop catalog dependencies when parent column/table is dropped…
codingkarthik Jun 17, 2020
213958a
console: fix typo in remote relationships tooltip (close #5113)
poul-kg Jun 17, 2020
4fb0303
correct entries in changelog (#5124)
tirumaraiselvan Jun 17, 2020
a70d278
remove swp file (#5127)
tirumaraiselvan Jun 17, 2020
df8a0b7
console: migrate wrap type utils to typescript (#4557)
Windrushfarer Jun 17, 2020
d13e26d
docs: update copy to use "deny-list" (fix #5115) (#5116)
sezgi Jun 17, 2020
171473c
docs: fix `pre.literal-block` style (close #5130) (#5131)
sezgi Jun 17, 2020
3c76ddf
console: misc UX improvements (close #4500, #4689) (#5066)
rikinsk Jun 18, 2020
268aa46
docs: add minor docs improvements (#5106)
marionschleifer Jun 18, 2020
f2428e3
console: allow manual edit of column types and handle array data type…
Jun 18, 2020
a7a60c2
server: changes catalog initialization and logging for pro customizat…
ecthiender Jun 19, 2020
4293714
console: add the ability to delete a role in permissions summary page…
Jun 19, 2020
39688af
docs: add missing examples to API docs (close #4745) (#4844)
Ckbhatia Jun 19, 2020
f8a7312
Regression benchmarks setup (#3310)
nizar-m Jun 19, 2020
c4e812e
docs: add cloud docs header (#5171)
allpwrfulroot Jun 22, 2020
623ed76
docs: update cloud docs urls (#5175)
rikinsk Jun 22, 2020
8e8f02d
docs: update http links to https (#5176)
praveenweb Jun 23, 2020
ea23571
fix introspection faling when multiple actions defined with PG scalar…
rakeshkky Jun 23, 2020
9936ace
console: handle renaming cron triggers (#5167)
Jun 23, 2020
6a58c14
server: fix updating of headers behaviour in the update cron trigger …
codingkarthik Jun 23, 2020
2e84a72
Fix erroneously-commited cabal.project.dev change from f8a731 (#5183)
jberryman Jun 23, 2020
0c34a92
docs: content for Relay docs and example repo (close #4912) (#5150)
sezgi Jun 23, 2020
2185018
docs: add note on permissions to certain mutations (close #5058) (#5135)
marionschleifer Jun 24, 2020
9422707
docs: provide curl alternative to wget in docker getting started (#5159)
metasean Jun 24, 2020
246f71c
docs: use smaller font size for all screen sizes & reduce sidebar lin…
sezgi Jun 24, 2020
6486a4f
cli: when applying metadata, assume empty metadata plugin files if th…
scriptonist Jun 24, 2020
01e7b2a
console: display error notification if an introspection query fails (…
Jun 24, 2020
c7ffd88
fix relay introspection when remote relationships are defined, fix #5…
rakeshkky Jun 24, 2020
1aa0562
cli: support squashing migrations with cron triggers (squash V1) (#5165)
scriptonist Jun 24, 2020
5275307
docs/console: clarify usage of "query" vs "request" , change allowed …
marionschleifer Jun 24, 2020
fa45bb2
docs: add "supported from" note to relay docs (#5201)
marionschleifer Jun 24, 2020
8b49f47
fix postgres query error for object relationship with permission limi…
rakeshkky Jun 25, 2020
8092e04
tag release v1.3.0-beta.2 (#5121)
arvi3411301 Jun 25, 2020
f8b58ea
console: fix styling of table row content on relationship page (close…
Jun 25, 2020
6d0518b
community: update CONTRIBUTING french translation (#4996)
EmrysMyrddin Jun 25, 2020
f6d111c
cli: allow setting the release to get in cli/get.sh (#4348)
Jun 25, 2020
f9b5b83
Lower stack chunk size in RTS to reduce thread STACK memory (closes #…
jberryman Jun 24, 2020
a8cc360
tag release v1.3.0-beta.3 (#5207)
scriptonist Jun 26, 2020
6c68999
docs: remove hasura con banner (#5213)
surendran82 Jun 26, 2020
1dbe5cd
Merge branch 'master' into 5190-improve-websockets-idle-memory-v2-onl…
jberryman Jun 26, 2020
93104e6
Merge pull request #5214 from jberryman/5190-improve-websockets-idle-…
jberryman Jun 26, 2020
1ff660d
docs: clarify unauthenticated access configuration (close #2528) (#5217)
marionschleifer Jun 29, 2020
4de8f91
docs: add section for managed databases and related perms (close #167…
tirumaraiselvan Jun 29, 2020
bc3d735
server/docs: add instructions to fix loss of float precision in Postg…
Jun 30, 2020
bc234b0
contrib: link to fork-and-branch git workflow guide (close #5225) (#5…
sezgi Jun 30, 2020
2b0e377
5087 libpq pool leak (#5089)
jberryman Jul 1, 2020
a6e50d5
docs: fix error in actions api docs (#5235)
marionschleifer Jul 1, 2020
6fe0b74
community: fix DATA_API_URL for Heroku in console README (#5069)
tehnuge Jul 1, 2020
ab311cd
console: add eslint-plugin-react-hooks (#5219)
soorajshankar Jul 1, 2020
53ef491
docs: update getting started with hasura cloud (close #5206) (#5208)
marionschleifer Jul 1, 2020
1eac598
docs: remove product expert button (#5232)
marionschleifer Jul 1, 2020
2daa2c8
docs: add Nhost one-click deployment to deployment guides (#5180)
nunopato Jul 1, 2020
c4da0a7
docs: docs for scheduled triggers (close #4913) (#5141)
sezgi Jul 1, 2020
b9918e0
console: allow configuring statement timeout on console RawSQL page (…
gokulchandra Jul 1, 2020
a78f17b
console: add code exporter to graphiql (close #4531) (#4652)
ShahAnuj2610 Jul 1, 2020
cfffade
do not use prepared statements for mutations
0x777 Jul 1, 2020
d464208
Merge pull request #5255 from 0x777/issue-2012-mutations-no-prepared-…
0x777 Jul 2, 2020
9ccbd1c
bump pg-client-hs version (fixes a build issue on some environments) …
0x777 Jul 2, 2020
af452de
console: support tracking partitioned tables (close #5071) (#5258)
Jul 2, 2020
636dc62
community: fixed typo in event-triggers boilerplate (#5222)
akashvermaofskt Jul 2, 2020
6cd9eb2
console: add button to cancel one-off scheduled events and cron-trigg…
Jul 2, 2020
53a40bc
console: handle generated and identity columns in console data sectio…
Jul 2, 2020
97b1155
server: unlock scheduled events on graceful shutdown (#4928)
codingkarthik Jul 2, 2020
9e423a3
Fix buggy parsing of new --conn-lifetime flag in 2b0e3774
jberryman Jul 2, 2020
9ef6de5
server: include additional fields in scheduled trigger webhook payloa…
codingkarthik Jul 3, 2020
cd0e2ec
cli: fix permission issues when creating symlinks on windows, misc fi…
scriptonist Jul 3, 2020
2fe353a
allow array relation connection fields regardless of aggregation perm…
rakeshkky Jul 3, 2020
b94278e
update links in README (#5283)
shark-h Jul 3, 2020
7ae3e55
tag release v1.3.0-beta.4 (#5281)
scriptonist Jul 4, 2020
5cd30e0
Disable downgrade test for now. Closes #5273 (#5291)
jberryman Jul 6, 2020
5d35f56
console: fix creating migrations from Raw SQL page (close #5296) (#5308)
Jul 6, 2020
eba8ca3
community: clarify vuejs-auth0-graphql readme (#4383)
matthewadams Jul 6, 2020
6d235be
Add --disable-delayed-os-memory-return to default rtsopts
jberryman Jul 5, 2020
ee6ea40
docs: fix indexing issue (#5282)
marionschleifer Jul 7, 2020
c33d1a0
docs: fix duplicate label warning (fix #5260) (#5261)
sezgi Jul 7, 2020
4637de4
console: add statement timeout for data browser count query (#5313)
Jul 7, 2020
41ba544
docs: change heroku one click url (#5314)
marionschleifer Jul 7, 2020
d775d94
community: update readme with hasura cloud (#5307)
marionschleifer Jul 7, 2020
b26e023
docs: docs for remote joins (close #4911) (#5132)
sezgi Jul 7, 2020
b1c686f
console: searchable select UX fix (close #5246) (#5254)
soorajshankar Jul 8, 2020
b1b92c7
console: update hasura pro content to cloud in header (#5268)
surendran82 Jul 8, 2020
b2faecb
docs: remove deprecated directory flag from examples (#5325)
marionschleifer Jul 8, 2020
5152bbf
docs: fix confusion in unauthenticated access docs (#5319)
marionschleifer Jul 8, 2020
78914c4
docs: change pro button to hasura cloud in header (#5315)
marionschleifer Jul 8, 2020
a79b07c
docs: add "See past editions" link to newsletter callout (close #5277…
sezgi Jul 8, 2020
62223ab
docs: improve getting started flow (close #5279) (#5280)
sezgi Jul 9, 2020
8022bf3
docs: make exporting graphql schema export command work with windows …
ooxaam Jul 9, 2020
0387369
docs: update links in docs (#5331)
marionschleifer Jul 9, 2020
51174ce
console: display line number that error originated from in GraphQL ed…
tanvibhakta Jul 9, 2020
cefe06e
console: fix clone row in data browser (close #5336) (#5337)
Jul 9, 2020
0ef5229
server: call the webhook asynchronously in event triggers (#5352)
codingkarthik Jul 10, 2020
773a29d
console: don't set payload for data trigger (#5370)
Jul 13, 2020
17269fe
Merge branch 'master' into integration/icon-component
Jul 13, 2020
10db671
Merge branch 'integration/icon-component' of github.com:lastnamearya/…
Jul 13, 2020
505ac06
Expose all modules in Cabal file (#5371)
paf31 Jul 14, 2020
637c4d0
Merge branch 'master' into integration/icon-component
Jul 14, 2020
66551ac
Replace idle GC with a custom GC thread
jberryman Jul 9, 2020
2898450
docs: add page on created_at / updated_at timestamps (close #2880) (#…
marionschleifer Jul 14, 2020
c962253
docs: prettify github count (close #5356) (#5357)
sezgi Jul 14, 2020
7f0ba7c
docs: update "supported from" notes (#5318)
marionschleifer Jul 14, 2020
72df5e9
docs: update links from Core getting started page to Cloud (close #53…
sezgi Jul 14, 2020
24592a5
Pass environment variables around as a data structure, via @sordina (…
sordina Jul 14, 2020
a96e248
docs: change "Step 0" to "Before you begin" (close #5335) (#5348)
sezgi Jul 14, 2020
dbdf81b
docs: note libkrb5-dev dep on Debian, update GHC version (#5377)
evertedsphere Jul 15, 2020
0dddbe9
Add MonadTrace and MonadExecuteQuery abstractions (#5383)
paf31 Jul 15, 2020
d8055a7
console: add tooltips to certain headers on API Explorer (#5286)
Jul 15, 2020
d6dab9d
docs: update newsletter api (#5369)
praveenweb Jul 15, 2020
1eb36bb
server: refactor 'pollQuery' to have a hook to process 'PollDetails' …
ecthiender Jul 16, 2020
286ea31
docs: fix indexing problem (#5395)
marionschleifer Jul 17, 2020
e649dce
docs: remove recommendation for action handler security (#5355)
marionschleifer Jul 17, 2020
f33138f
docs: change newsletter copy (#5402)
sezgi Jul 17, 2020
74b1107
docs: open Intercom on feedback & add buttons (close #5264) (#5265)
sezgi Jul 17, 2020
709460b
update pg-client (#5421)
tirumaraiselvan Jul 20, 2020
e832632
Merge branch 'master' into integration/icon-component
soorajshankar Jul 20, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .circleci/console-builder.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:8
FROM node:12

ARG gcloud_version="207.0.0"

Expand Down
3 changes: 3 additions & 0 deletions .circleci/server-builder.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ FROM phadej/ghc:8.10.1-stretch

ARG docker_ver="17.09.0-ce"
ARG postgres_ver="12"
ARG node_ver="12.x"

# Install GNU make, curl, git and docker client. Required to build the server
RUN apt-get -y update \
Expand All @@ -14,6 +15,8 @@ RUN apt-get -y update \
&& curl -s https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
&& apt-get -y update \
&& apt-get install -y g++ gcc libc6-dev libpq-dev libffi-dev libgmp-dev make xz-utils zlib1g-dev git gnupg upx netcat python3 python3-pip postgresql-client-${postgres_ver} postgresql-client-common \
&& curl -sL https://deb.nodesource.com/setup_${node_ver} | bash - \
&& apt-get install -y nodejs \
&& curl -Lo /tmp/docker-${docker_ver}.tgz https://download.docker.com/linux/static/stable/x86_64/docker-${docker_ver}.tgz \
&& tar -xz -C /tmp -f /tmp/docker-${docker_ver}.tgz \
&& mv /tmp/docker/* /usr/bin \
Expand Down
4 changes: 2 additions & 2 deletions .circleci/test-cli-with-last-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ PID=$!
wait_for_port 8080

# test cli
HASURA_GRAPHQL_TEST_ENDPOINT="http://localhost:8080" make test
HASURA_GRAPHQL_TEST_ENDPOINT="http://localhost:8080" HASURA_GRAPHQL_TEST_CLI_EXT_MANIFEST_FILE_PATH="/build/_cli_ext_output/manifest-dev.yaml" make test

# kill the running server
kill -s INT $PID
Expand All @@ -47,5 +47,5 @@ PID=$!
wait_for_port 8080

# test cli
HASURA_GRAPHQL_TEST_ENDPOINT="http://localhost:8080" HASURA_GRAPHQL_TEST_ADMIN_SECRET="abcd" make test
HASURA_GRAPHQL_TEST_ENDPOINT="http://localhost:8080" HASURA_GRAPHQL_TEST_ADMIN_SECRET="abcd" HASURA_GRAPHQL_TEST_CLI_EXT_MANIFEST_FILE_PATH="/build/_cli_ext_output/manifest-dev.yaml" make test
kill -s INT $PID
4 changes: 2 additions & 2 deletions .circleci/test-cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ PID=$!
wait_for_port 8080

# test cli
HASURA_GRAPHQL_TEST_ENDPOINT="http://localhost:8080" make test
HASURA_GRAPHQL_TEST_ENDPOINT="http://localhost:8080" HASURA_GRAPHQL_TEST_CLI_EXT_MANIFEST_FILE_PATH="/build/_cli_ext_output/manifest-dev.yaml" make test
kill -s INT $PID

# start graphql-engine with admin secret
Expand All @@ -41,5 +41,5 @@ PID=$!
wait_for_port 8080

# test cli
HASURA_GRAPHQL_TEST_ENDPOINT="http://localhost:8080" HASURA_GRAPHQL_TEST_ADMIN_SECRET="abcd" make test
HASURA_GRAPHQL_TEST_ENDPOINT="http://localhost:8080" HASURA_GRAPHQL_TEST_CLI_EXT_MANIFEST_FILE_PATH="/build/_cli_ext_output/manifest-dev.yaml" HASURA_GRAPHQL_TEST_ADMIN_SECRET="abcd" make test
kill -s INT $PID
13 changes: 13 additions & 0 deletions .circleci/test-server-flags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,19 @@ OUTPUT_FOLDER=${OUTPUT_FOLDER:-"$CIRCLECI_FOLDER/test-server-flags-output"}
mkdir -p "$OUTPUT_FOLDER"


########## Test that we didn't compile with +developer by accident
echoInfo "Test we didn't compile in the deveoper-only APIs"

run_hge_with_flags

code=$(curl -s -o /dev/null -w "%{http_code}" http://localhost:8080/dev/plan_cache)
if [ "$code" != "404" ]; then
echo "Expected a dev endpoint to return 404, but got: $code"
exit 1
fi

kill_hge

########## Test --use-prepared-statements=false and flag --admin-secret

key="HGE$RANDOM$RANDOM"
Expand Down
25 changes: 25 additions & 0 deletions .circleci/test-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,13 @@ echo -e "INFO: Logs Folder : $OUTPUT_FOLDER\n"

pip3 install -r requirements.txt

# node js deps
curl -sL https://deb.nodesource.com/setup_8.x | bash -
apt-get install -y nodejs
npm_config_loglevel=error npm install $PYTEST_ROOT/remote_schemas/nodejs/

npm install apollo-server graphql

mkdir -p "$OUTPUT_FOLDER/hpc"

export EVENT_WEBHOOK_HEADER="MyEnvValue"
Expand Down Expand Up @@ -246,6 +253,24 @@ run_pytest_parallel --hge-key="$HASURA_GRAPHQL_ADMIN_SECRET"

kill_hge_servers

##########
echo -e "\n$(time_elapsed): <########## TEST GRAPHQL-ENGINE WITH ADMIN SECRET AND UNAUTHORIZED ROLE #####################################>\n"
TEST_TYPE="admin-secret-unauthorized-role"

export HASURA_GRAPHQL_ADMIN_SECRET="HGE$RANDOM$RANDOM"
export HASURA_GRAPHQL_UNAUTHORIZED_ROLE="anonymous"

run_hge_with_args serve

wait_for_port 8080

pytest -n 1 -vv --hge-urls "$HGE_URL" --pg-urls "$HASURA_GRAPHQL_DATABASE_URL" --hge-key="$HASURA_GRAPHQL_ADMIN_SECRET" --test-unauthorized-role test_graphql_queries.py::TestUnauthorizedRolePermission

kill_hge_servers

unset HASURA_GRAPHQL_UNAUTHORIZED_ROLE


##########
echo -e "\n$(time_elapsed): <########## TEST GRAPHQL-ENGINE WITH ADMIN SECRET AND JWT #####################################>\n"
TEST_TYPE="jwt"
Expand Down
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

### Changelog

- [ ] `CHANGELOG.md` is updated with user-facing content relevant to this PR.
- [ ] `CHANGELOG.md` is updated with user-facing content relevant to this PR. If no changelog is required, then add the `no-changelog-required` label.

### Affected components
<!-- Remove non-affected components from the list -->
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: console lint
on:
pull_request:
paths:
- 'console/**'

jobs:
lint:
runs-on: ubuntu-latest
env:
working-directory: ./console

steps:
- uses: actions/checkout@v2

- name: Use Node.js 12
uses: actions/setup-node@v1
with:
node-version: 12.x

- name: Install
working-directory: ${{env.working-directory}}
run: npm ci

- name: Lint
working-directory: ${{env.working-directory}}
run: npm run lint:quiet

- name: Format
working-directory: ${{env.working-directory}}
run: npm run format:check
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ test-server-output
test-server-flags-output
.vscode
.idea
.now

# Standardize on 'venv' as the name for python venv directories
venv
Expand Down
150 changes: 144 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,111 @@

## Next release

### Bug fixes and improvements

(Add entries here in the order of: server, console, cli, docs, others)

- server: adjustments to idle GC to try to free memory more eagerly (related to #3388)
- server: process events generated by the event triggers asynchronously (close #5189) (#5352)
- console: display line number that error originated from in GraphQL editor (close #4849) (#4942)
- docs: add page on created_at / updated_at timestamps (close #2880) (#5223)

## `v1.3.0-beta.4`

### Bug fixes and improvements

(Add entries here in the order of: server, console, cli, docs, others)

- server: change relay endpoint to `/v1beta1/relay` (#5257)
- server: relay connection fields are exposed regardless of allow aggregation permission (fix #5218) (#5257)
- server: add new `--conn-lifetime` and `HASURA_GRAPHQL_PG_CONN_LIFETIME` options for expiring connections after some amount of active time (#5087)
- server: shrink libpq connection request/response buffers back to 1MB if they grow beyond 2MB, fixing leak-like behavior on active servers (#5087)
- server: have haskell runtime release blocks of memory back to the OS eagerly (related to #3388)
- server: unlock locked scheduled events on graceful shutdown (#4928)
- server: disable prepared statements for mutations as we end up with single-use objects which result in excessive memory consumption for mutation heavy workloads (#5255)
- server: include scheduled event metadata (`created_at`,`scheduled_time`,`id`, etc) along with the configured payload in the request body to the webhook.
**WARNING:** This is breaking for beta versions as the payload is now inside a key called `payload`.
- console: allow configuring statement timeout on console RawSQL page (close #4998) (#5045)
- console: support tracking partitioned tables (close #5071) (#5258)
- console: add button to cancel one-off scheduled events and cron-trigger events (close #5161) (#5236)
- console: handle generated and identity columns in console data section (close #4552, #4863) (#4761)
- cli: fix plugins install failing due to permission issues on windows (close #5111)
- docs: add note for managed databases in postgres requirements (close #1677, #3783) (#5228)
- docs: add 1-click deployment to Nhost page to the deployment guides (#5180)
- docs: add hasura cloud to getting started section (close #5206) (#5208)


## `v1.3.0-beta.3`


### Bug fixes and improvements

(Add entries here in the order of: server, console, cli, docs, others)

- server: fix introspection when multiple actions defined with Postgres scalar types (fix #5166) (#5173)
- console: allow manual edit of column types and handle array data types (close #2544, #3335, #2583) (#4546)
- console: add the ability to delete a role in permissions summary page (close #3353) (#4987)
- console: fix styling of table row contents on tables on relationship page (#4974)
- cli: handle missing files during metadata apply (close #5163) (#5170)
- docs: add pages on remote joins (close #4911) (#5132)
- docs: add page on scheduled triggers (close #4913) (#5141)
- docs: add page on Relay schema (close #4912) (#5150)

## `v1.3.0-beta.2`

### Bug fixes and improvements

(Add entries here in the order of: server, console, cli, docs, others)

- server: add `--pg-connection-options` command-line flag for passing parameters to PostgreSQL (close #5092) (#5187)
- server: improve memory usage of idle websockets connections (#5190)
- server: few relay fixes (fix #5020, #5037, #5046) (#5013)
- server: raise error on startup when `--unauthorized-role` is ignored (#4736)
- server: fix bug which arises when renaming/dropping a column on a remote relationship (#5005, #5119)
- console: provide option to cascade metadata on dependency conflicts on console (fix #1593)
- console: fix enum tables reload data button UI (#4647)
- console: fix "Cannot read property 'foldable'" runtime error in Browse Rows page (fix #4907) (#5016)
- console: respect read-only mode in actions pages (fix #4656) (#4764)
- console: allow configuring session_argument for custom functions (close #4499) (#4922)
- console: fix listen update column config selection for event trigger (close #5042) (#5043)
- cli: add new flags up-sql and down-sql to generate sql based migrations from the CLI (#5026)
- docs: add instructions on fixing loss of data when using floats (close #5092)
- docs: add page on setting up v2 migrations (close #4746) (#4898)

## `v1.3.0-beta.1`

### Relay

The Hasura GraphQL Engine serves [Relay](https://relay.dev/en/) schema for Postgres tables which has a primary key defined.

The Relay schema can be accessed through `/v1beta1/relay` endpoint.

[Add docs links][add console screenshot for relay toggle]

### Remote Joins

Remote Joins extend the concept of joining data across tables, to being able to join data across tables and remote schemas.

It works similar to table relationships. Head to the `Relationship` tab in your table page and define a remote relationship:

1. give a name for the relationship
2. select the remote schema
3. give the join configuration from table columns to remote schema fields.

[Add docs links][add console screenshot]

### Scheduled Triggers

A scheduled trigger can be used to execute custom business logic based on time. There are two types of timing events: cron based or timestamp based.

A cron trigger will be useful when something needs to be done periodically. For example, you can create a cron trigger to generate an end-of-day sales report every weekday at 9pm.
A cron trigger will be useful when something needs to be done periodically. For example, you can create a cron trigger to generate an end-of-day sales report every weekday at 9pm.

You can also schedule one-off events based on a timestamp. For example, a new scheduled event can be created for 2 weeks from when a user signs up to send them an email about their experience.
You can also schedule one-off events based on a timestamp. For example, a new scheduled event can be created for 2 weeks from when a user signs up to send them an email about their experience.

<Add docs links>
[Add docs links][add console screenshot]

(close #1914)


### Allow access to session variables by computed fields (fix #3846)

Sometimes it is useful for computed fields to have access to the Hasura session variables directly. For example, suppose you want to fetch some articles but also get related user info, say `likedByMe`. Now, you can define a function like:
Expand Down Expand Up @@ -46,29 +138,73 @@ Support for this is now added through the `add_computed_field` API.

Read more about the session argument for computed fields in the [docs](https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/computed-field.html).

### Manage seed migrations as SQL files
A new `seeds` command is introduced in CLI, this will allow managing seed migrations as SQL files

#### Creating seed
```
# create a new seed file and use editor to add SQL content
hasura seed create new_table_seed

# create a new seed by exporting data from tables already present in the database
hasura seed create table1_seed --from-table table1

# create from data in multiple tables:
hasura seed create tables_seed --from-table table1 --from-table table2
```
#### Applying seed
```
# apply all seeds on the database:
hasura seed apply

# apply only a particular seed
hasura seed apply --file 1234_add_some_seed_data.sql
```

### Bug fixes and improvements

(Add entries here in the order of: server, console, cli, docs, others)
- server: compile with GHC 8.10.1, closing a space leak with subscriptions. (close #4517) (#3388)

- server: fix explain queries with role permissions (fix #4816)
- server: compile with GHC 8.10.1, closing a space leak with subscriptions. (close #4517) (#3388)
- server: fixes an issue where introspection queries with variables would fail because of caching (fix #4547)
- server: avoid loss of precision when passing values in scientific notation (fix #4733)
- server: fix mishandling of GeoJSON inputs in subscriptions (fix #3239)
- server: fix importing of allow list query from metadata (fix #4687)
- server: flush log buffer during shutdown (#4800)
- server: fix edge case with printing logs on startup failure (fix #4772)
- console: allow entering big int values in the console (close #3667) (#4775)
- console: add support for subscriptions analyze in API explorer (close #2541) (#2541)
- console: avoid count queries for large tables (#4692)
- console: add read replica support section to pro popup (#4118)
- console: fix regression in editing permissions manually (fix #4683) (#4826)
- console: allow modifying default value for PK (fix #4075) (#4679)
- console: fix checkbox for forwarding client headers in actions (#4595)
- console: re-enable foreign tables to be listed as views (fix #4714) (#4742)
- console: display rows limit in permissions editor if set to zero (fix #4559)
- console: fix inconsistency between selected rows state and displayed rows (fix #4654) (#4673)
- console: fix displaying boolean values in `Edit Row` tab (#4682)
- console: fix underscores not being displayed on raw sql page (close #4754) (#4799)
- cli: list all available commands in root command help (fix #4623)
- console: fix visiting view modify page overwriting raw sql content (fix #4798) (#4810)
- console: add help button and move about page to settings (#4848)
- console: add new sidebar icon that separates enums from tables (fix #4984) (#4992)
- cli: list all available commands in root command help (fix #4623) (#4628)
- cli: fix bug with squashing event triggers (close #4883)
- cli: add support for skipping execution while generating migrations through the migrate REST API
- cli: add dry run flag in hasura migrate apply command (fix #3128) (#3499)
- cli: load assets from server when HASURA_GRAPHQL_CONSOLE_ASSETS_DIR is set (close #3382)
- docs: add section on actions vs. remote schemas to actions documentation (#4284)
- docs: fix wrong info about excluding scheme in CORS config (#4685)
- docs: add single object mutations docs (close #4622) (#4625)
- docs: add docs page on query performance (close #2316) (#3693)
- docs: add a sample Caddyfile for Caddy 2 in enable-https section (#4710)
- docs: add disabling dev mode to production checklist (#4715)
- docs: add integration guide for AWS Cognito (#4822, #4843)
- docs: update troubleshooting section with reference on debugging errors (close #4052) (#4825)
- docs: add page for procuring custom docker images and binaries (#4828)
- docs: add content on how to secure action handlers and other actions docs improvements (#4743)
- docs: make header common with other hasura.io/ pages (#4957)
- install manifests: update all install manifests to enable dev mode by default (close #4599) (#4716)

## `v1.2.0`

Expand Down Expand Up @@ -263,6 +399,7 @@ For example, see [here](https://hasura.io/docs/1.0/graphql/manual/api-reference/
- console: prevent trailing spaces while creating new role (close #3871) (#4497)
- docs: add API docs for using environment variables as webhook urls in event triggers
- server: fix recreating action's permissions (close #4377)
- server: make the graceful shutdown logic customizable (graceful shutdown on the SIGTERM signal continues to be the default)
- docs: add reference docs for CLI (clsoe #4327) (#4408)

## `v1.2.0-beta.4`
Expand Down Expand Up @@ -362,6 +499,7 @@ See [upgrade docs](https://hasura.io/docs/1.0/graphql/manual/migrations/upgrade-
- console: fix parsing of wrapped types in SDL (close #4099) (#4167)
- console: misc actions fixes (#4059)
- console: action relationship page improvements (fix #4062, #4130) (#4133)
- console: add code exporter to graphiql (close #4531) #4652
- cli: fix init command to generate correct config (fix #4036) (#4038)
- cli: fix parse error returned on console api (close #4126) (#4152)
- cli: fix typo in cli example for squash (fix #4047) (#4049)
Expand Down
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ The README of the CLI repository can be found [here](https://github.com/hasura/g

### Working on an issue

- We use the [fork-and-branch git workflow](https://blog.scottlowe.org/2015/01/27/using-fork-branch-git-workflow/).

- Please make sure there is an issue associated with the work that you're doing.

- If you're working on an issue, please comment that you are doing so to prevent duplicate work by others also.
Expand Down
Loading