Skip to content

Commit

Permalink
Upgraded to v5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
imolorhe committed Sep 23, 2022
1 parent 3f49d60 commit 458bbd5
Show file tree
Hide file tree
Showing 22 changed files with 40 additions and 34 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.6.4
5.0.0
4 changes: 2 additions & 2 deletions bin/update_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ sed -i '' "s|$XML_OLD_BASE|$XML_NEW_BASE|g" ./chocolatey/altair-graphql.nuspec
# Update version in altair-graphql.nuspec
sed -i '' "s|$PS1_OLD_BASE|$PS1_NEW_BASE|g" ./chocolatey/tools/chocolateyInstall.ps1

if (lerna --version); then
if (yarn lerna --version); then
# Set the lerna packages versions as well
lerna version $NEW_VERSION --force-publish=* --no-git-tag-version --no-push --yes;
yarn lerna version $NEW_VERSION --force-publish=* --no-git-tag-version --no-push --yes;
fi
2 changes: 1 addition & 1 deletion chocolatey/altair-graphql.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This is a nuspec. It mostly adheres to https://docs.nuget.org/create/Nuspec-Refe
<!-- version should MATCH as closely as possible with the underlying software -->
<!-- Is the version a prerelease of a version? https://docs.nuget.org/create/versioning#creating-prerelease-packages -->
<!-- Note that unstable versions like 0.0.1 can be considered a released version, but it's possible that one can release a 0.0.1-beta before you release a 0.0.1 version. If the version number is final, that is considered a released version and not a prerelease. -->
<version>4.6.4</version>
<version>5.0.0</version>
<packageSourceUrl>https://github.com/altair-graphql/altair</packageSourceUrl>
<!-- owners is a poor name for maintainers of the package. It sticks around by this name for compatibility reasons. It basically means you. -->
<owners>Daniel Richter&lt;[email protected]&gt;, Samuel Imolorhe</owners>
Expand Down
2 changes: 1 addition & 1 deletion chocolatey/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$ErrorActionPreference = 'Stop'; # stop on all errors

$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$fileLocation = Join-Path $toolsDir '..\bins\altair_4.6.4_x64_win.exe'
$fileLocation = Join-Path $toolsDir '..\bins\altair_5.0.0_x64_win.exe'
$fileHash = Get-FileHash $fileLocation

$packageArgs = @{
Expand Down
2 changes: 1 addition & 1 deletion chrome-ext-files/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Altair GraphQL Client",
"short_name": "Altair",
"description": "The only graphQL client you'll ever need.",
"version": "4.6.4",
"version": "5.0.0",
"icons": {
"16": "assets/img/altair_logo_128.png",
"48": "assets/img/altair_logo_128.png",
Expand Down
2 changes: 1 addition & 1 deletion cwex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ manifestOptions:
name: Altair GraphQL Client
short_name: Altair
description: A beautiful feature-rich GraphQL client for all platforms
version: 4.6.4
version: 5.0.0
icons:
16: assets/img/altair_logo_128.png
48: assets/img/altair_logo_128.png
Expand Down
2 changes: 1 addition & 1 deletion functions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "functions",
"version": "4.6.4",
"version": "5.0.0",
"scripts": {
"lint": "eslint --ext .js,.ts .",
"build": "tsc",
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"packages": [
"packages/*"
],
"version": "4.6.4",
"version": "5.0.0",
"registry": "https://registry.npmjs.org/",
"npmClient": "yarn",
"stream": true,
Expand Down
2 changes: 1 addition & 1 deletion libs/prettier-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "prettier-config-altair",
"version": "1.0.0",
"version": "5.0.0",
"main": "index.js",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "altair",
"version": "4.6.4",
"version": "5.0.0",
"license": "MIT",
"author": "Samuel Imolorhe <[email protected]> (https://sirmuel.design/)",
"description": "The best graphQL client you will ever need",
Expand Down
8 changes: 4 additions & 4 deletions packages/altair-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "altair-app",
"version": "4.6.4",
"version": "5.0.0",
"description": "Contains the altair app",
"main": "dist/main.js",
"license": "MIT",
Expand Down Expand Up @@ -62,8 +62,8 @@
"@webcomponents/custom-elements": "1.4.1",
"abab": "2.0.6",
"actioncable": "5.2.8",
"altair-codemirror-graphql": "^4.6.4",
"altair-graphql-core": "^4.6.4",
"altair-codemirror-graphql": "^5.0.0",
"altair-graphql-core": "^5.0.0",
"angular-feather": "6.0.10",
"angular-resizable-element": "^6.0.0",
"apollo-cache-inmemory": "1.6.6",
Expand Down Expand Up @@ -177,7 +177,7 @@
"ncp": "2.0.0",
"ng-mocks": "14.0.1",
"ngrx-store-freeze": "0.2.4",
"prettier-config-altair": "*",
"prettier-config-altair": "^5.0.0",
"protractor": "7.0.0",
"react": "17.0.1",
"rxjs-tslint-rules": "4.32.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
</div>
</a>
<a
*ngIf="(settings$ | async)?.enableExperimental && serverReady"
*ngIf="(settings$ | async)?.enableExperimental && serverReady && authEnabled"
class="side-menu-item"
(click)="setShowAccountDialog(true)"
attr.aria-label="{{ 'ACCOUNT_TITLE' | translate }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,12 @@ import { RootState } from 'altair-graphql-core/build/types/state/state.interface
import { AltairConfig } from 'altair-graphql-core/build/config';
import { WindowState } from 'altair-graphql-core/build/types/state/window.interfaces';
import { AltairPanel } from 'altair-graphql-core/build/plugin/panel';
import { externalLink, mapToKeyValueList, openFile } from '../../utils';
import {
externalLink,
isExtension,
mapToKeyValueList,
openFile,
} from '../../utils';
import { AccountState } from 'altair-graphql-core/build/types/state/account.interfaces';
import { catchUselessObservableError } from '../../utils/errors';
import { PerWindowState } from 'altair-graphql-core/build/types/state/per-window.interfaces';
Expand Down Expand Up @@ -98,6 +103,7 @@ export class AltairComponent {
isElectron = isElectron;
isWebApp: boolean;
serverReady = environment.serverReady;
authEnabled = !isExtension;
isReady = false; // determines if the app is fully loaded. Assets, translations, etc.
showDonationAlert = false;

Expand Down
2 changes: 1 addition & 1 deletion packages/altair-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "altair-graphql-core",
"version": "4.6.4",
"version": "5.0.0",
"description": "Several of the core logic for altair graphql client",
"main": "./build/index.js",
"types": "./build/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions packages/altair-electron/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "altair",
"productName": "Altair GraphQL Client",
"version": "4.6.4",
"version": "5.0.0",
"description": "Electron wrapper for Altair",
"main": "dist/index.js",
"author": "Samuel Imolorhe <[email protected]> (https://sirmuel.design/)",
Expand All @@ -18,7 +18,7 @@
"prepare": "yarn compile && yarn --cwd static/auth install"
},
"dependencies": {
"altair-static": "^4.6.4",
"altair-static": "^5.0.0",
"body-parser": "^1.20.0",
"csp-header": "^5.1.0",
"electron-debug": "^3.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/altair-express-middleware/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "altair-express-middleware",
"version": "4.6.4",
"version": "5.0.0",
"description": "Express middleware for altair graphql client",
"main": "./build/index.js",
"types": "./build/index.d.ts",
Expand Down Expand Up @@ -31,7 +31,7 @@
},
"homepage": "https://github.com/altair-graphql/altair#readme",
"dependencies": {
"altair-static": "^4.6.4",
"altair-static": "^5.0.0",
"express": "^4.16.2"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/altair-fastify-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "altair-fastify-plugin",
"version": "4.6.4",
"version": "5.0.0",
"description": "Fastify Plugin of Altair GraphQL Client",
"keywords": [
"graphql",
Expand Down Expand Up @@ -32,7 +32,7 @@
},
"dependencies": {
"@fastify/static": "^6.4.0",
"altair-static": "^4.6.4",
"altair-static": "^5.0.0",
"fastify-plugin": "^2.3.4"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/altair-koa-middleware/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "altair-koa-middleware",
"version": "4.6.4",
"version": "5.0.0",
"description": "Koa middleware for altair graphql client",
"main": "./build/src/index.js",
"types": "./build/src/index.d.ts",
Expand Down Expand Up @@ -31,7 +31,7 @@
"homepage": "https://github.com/altair-graphql/altair#readme",
"dependencies": {
"@koa/router": "^10.1.1",
"altair-static": "^4.6.4",
"altair-static": "^5.0.0",
"koa-send": "^5.0.1"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/altair-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "altair-graphql-plugin",
"version": "4.6.4",
"version": "5.0.0",
"description": "Plugin helper for altair graphql client",
"main": "./build/index.js",
"types": "./build/index.d.ts",
Expand All @@ -27,7 +27,7 @@
},
"homepage": "https://github.com/altair-graphql/altair#readme",
"dependencies": {
"altair-graphql-core": "^4.6.4"
"altair-graphql-core": "^5.0.0"
},
"devDependencies": {
"@types/node": "^14.14.41",
Expand Down
6 changes: 3 additions & 3 deletions packages/altair-static/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "altair-static",
"version": "4.6.4",
"version": "5.0.0",
"description": "Static package for altair graphql client",
"main": "./build/index.js",
"types": "./build/index.d.ts",
Expand Down Expand Up @@ -31,8 +31,8 @@
"homepage": "https://github.com/altair-graphql/altair#readme",
"devDependencies": {
"@types/jest": "^24.0.23",
"altair-app": "^4.6.4",
"altair-graphql-core": "^4.6.4",
"altair-app": "^5.0.0",
"altair-graphql-core": "^5.0.0",
"dts-bundle-generator": "^6.11.0",
"esbuild": "^0.14.43",
"jest": "28.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-altair-graphql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gatsby-plugin-altair-graphql",
"version": "4.6.4",
"version": "5.0.0",
"description": "A gatsby plugin for using Altair GraphQL client",
"main": "gatsby-node.js",
"scripts": {
Expand Down Expand Up @@ -28,7 +28,7 @@
"typescript": "4.7.4"
},
"dependencies": {
"altair-express-middleware": "^4.6.4"
"altair-express-middleware": "^5.0.0"
},
"funding": {
"type": "opencollective",
Expand Down
2 changes: 1 addition & 1 deletion packages/lang-graphql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "altair-codemirror-graphql",
"version": "4.6.4",
"version": "5.0.0",
"description": "GraphQL language support for CodeMirror",
"scripts": {
"test": "mocha test/test.js",
Expand Down

0 comments on commit 458bbd5

Please sign in to comment.