Skip to content

Commit c185c7a

Browse files
committed
feat: ✨ Prepare release v0.3.2 , improve Hλ terminal, and add autoconnect to Hasura instance if env is set
1 parent 03b1b94 commit c185c7a

File tree

17 files changed

+35
-29
lines changed

17 files changed

+35
-29
lines changed

.env.example

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,10 @@ HLAMBDA_GIT_SYNC_BRANCH="master"
146146
# When sync is enabled, system will automatically try to sync with the current branch, it will work only if there is no conflicts, to not destroy live work. (Default: 240 (4m). If set to 0, disables pooling)
147147
HLAMBDA_GIT_SYNC_INTERVAL_SECONDS="240"
148148

149+
# Constant reference in code: ENV_HLAMBDA_GIT_SYNC_COMMAND | Default value: git pull
150+
# This command will run when sync is executed. (Default: git pull)
151+
HLAMBDA_GIT_SYNC_COMMAND="git pull"
152+
149153
# Constant reference in code: ENV_HLAMBDA_CONFIGURATION_LOADER_PREFIX | Default value: hlambda-config.yaml
150154
# Sets the value for the name of the configuration file that will be loaded.
151155
HLAMBDA_CONFIGURATION_LOADER_PREFIX="hlambda-config.yaml"

CHANGELOG.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
# Release 0.3.2
22

3-
- Fixes the version bump issue.
4-
- Updated README.md
5-
- GitOps, remote repository sync.
6-
- Tab complete in Hlambda Pseudo Terminal
3+
- Fixed the version bump issue.
4+
- Updated `README.md`.
5+
- Added GitOps functionality, remote repository sync.
6+
- Added tab complete in Hlambda Pseudo Terminal. (With basic contextual suggestions)
7+
- Added option to reload server via vscode status bar.
8+
- If set, auto connect to Hasura instance from Hlambda environment variables. (Retreive GraphQL schema introspection, and list of custom actions.) System will look for `HASURA_GRAPHQL_API_ENDPOINT_EXTERNAL` to have access from the browser. (This can be tunnel url if Hasura instance is not available from the browser)
9+
- Bugfixes.
710

811
# Release 0.3.1
912

metadata/apps/example-demo-app/hlambda-config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ env:
1414
# Custom environment variables override for our app
1515
envForce:
1616
HASURA_GRAPHQL_API_ENDPOINT: 'http://graphql-engine:8099/v1/graphql'
17-
HASURA_GRAPHQL_ADMIN_SECRET: 'real-password'
17+
HASURA_GRAPHQL_ADMIN_SECRET: 'demo'
1818
SPECIAL_PASSWORD: 'value-from-env'
1919
HLAMBDA_DISABLE_CONSOLE: 'false'
20+
HASURA_GRAPHQL_API_ENDPOINT_EXTERNAL: 'http://localhost:18080/v1/graphql'
2021

2122
# Consider that cwd for the script is ./metadata/ , also we suggest that you do not deploy ts as metadata, only js and do transpilation before metadata apply.
2223
# But if you want you can slow down the reload time and await for scripts to run after every reload.

public/console/asset-manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"files": {
33
"main.css": "/console/static/css/main.00555d9b.css",
4-
"main.js": "/console/static/js/main.efaa3242.js",
4+
"main.js": "/console/static/js/main.039a0e3a.js",
55
"static/js/787.0bbff5f9.chunk.js": "/console/static/js/787.0bbff5f9.chunk.js",
66
"index.html": "/console/index.html",
77
"main.00555d9b.css.map": "/console/static/css/main.00555d9b.css.map",
8-
"main.efaa3242.js.map": "/console/static/js/main.efaa3242.js.map",
8+
"main.039a0e3a.js.map": "/console/static/js/main.039a0e3a.js.map",
99
"787.0bbff5f9.chunk.js.map": "/console/static/js/787.0bbff5f9.chunk.js.map"
1010
},
1111
"entrypoints": [
1212
"static/css/main.00555d9b.css",
13-
"static/js/main.efaa3242.js"
13+
"static/js/main.039a0e3a.js"
1414
]
1515
}

public/console/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/console/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/console/logo192.png"/><link rel="manifest" href="/console/manifest.json"/><title>Console</title><script defer="defer" src="/console/static/js/main.efaa3242.js"></script><link href="/console/static/css/main.00555d9b.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
1+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/console/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/console/logo192.png"/><link rel="manifest" href="/console/manifest.json"/><title>Console</title><script defer="defer" src="/console/static/js/main.039a0e3a.js"></script><link href="/console/static/css/main.00555d9b.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

public/console/static/js/main.efaa3242.js renamed to public/console/static/js/main.039a0e3a.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/console/static/js/main.039a0e3a.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/console/static/js/main.efaa3242.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

public/console/vscode-payload/static/config/initialize.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,7 @@
3838
controlUrl: 'https://az764295.vo.msecnd.net/extensions/marketplace.json',
3939
recommendationsUrl: 'https://az764295.vo.msecnd.net/extensions/workspaceRecommendations.json.gz',
4040
},
41-
linkProtectionTrustedDomains: [
42-
window.location.origin,
43-
'*',
44-
'*.hyperlambda.com',
45-
'*.github.com',
46-
'*.npmjs.com',
47-
'*.npmjs1s.com',
48-
'*.microsoft.com',
49-
],
41+
linkProtectionTrustedDomains: [window.location.origin, '*', '*.github.com', '*.microsoft.com'],
5042
extensionEnabledApiProposals: { 'ms-vscode.anycode': ['extensionsAny'] },
5143
};
5244
/*** end config block ***/

0 commit comments

Comments
 (0)