From aa06f704af4babedcfed2da6722f6ba311860f2c Mon Sep 17 00:00:00 2001 From: CanadaHonk Date: Sat, 28 Jan 2023 00:42:57 +0000 Subject: [PATCH] release: 0.12.0 --- changelog.md | 4 +--- gluon.d.ts | 8 +++++++- package.json | 2 +- src/index.js | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/changelog.md b/changelog.md index 7ef0a2f..417bb6f 100644 --- a/changelog.md +++ b/changelog.md @@ -1,8 +1,6 @@ # Gluon Changelog -## v0.12.0 (in development) -- Added Linux/Mac support to Idle Hibernation (alpha.0) - +## [v0.12.0 - 2023-01-28](https://gluonjs.org/blog/gluon-v0.12/) ## [v0.11.0 - 2023-01-08](https://gluonjs.org/blog/gluon-v0.11/) diff --git a/gluon.d.ts b/gluon.d.ts index ce0316a..260ae62 100644 --- a/gluon.d.ts +++ b/gluon.d.ts @@ -201,7 +201,13 @@ type CDPApi = { method: string, /** Callback to run when the given method is emitted. */ - callback: (message: any) => void + callback: (message: any) => void, + + /** + * Unhook once the callback is called the first time. + * @default false + */ + once: Boolean ): (() => void) }; diff --git a/package.json b/package.json index a1e1384..2c197f9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gluon-framework/gluon", - "version": "0.12.0-alpha.2", + "version": "0.12.0", "description": "Make websites into desktop apps with system installed browsers and NodeJS.", "main": "src/index.js", "types": "gluon.d.ts", diff --git a/src/index.js b/src/index.js index 7c175f1..dc66fbd 100644 --- a/src/index.js +++ b/src/index.js @@ -8,7 +8,7 @@ import Firefox from './browser/firefox.js'; import LocalServer from './lib/local/server.js'; -process.versions.gluon = '0.12.0-alpha.2'; +process.versions.gluon = '0.12.0'; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename);