release: 0.9.0

This commit is contained in:
CanadaHonk 2023-01-03 18:23:44 +00:00
parent 419050bf6b
commit 7fcb537194
3 changed files with 11 additions and 2 deletions

View File

@ -1,5 +1,14 @@
# Gluon Changelog
## v0.9.0 [2023-01-03]
- New `Window.versions` API with browser version info
- New `Window.controls` API to manage window state (minimize/maximize/etc)
- New additions and improvements to `Window.idle`:
- `Window.idle.sleep()` now performs a light version of hibernation
- Now uses CDP commands instead of native to detect processes
- Added new `useSessionId` option to `Window.cdp.send()`, allowing to send browser-level CDP commands instead of just to target
- Added initial Mac support
## v0.8.0 [2022-12-30]
- Rewrote browser detection to support more setups
- Added `Window.close()` API to close Gluon windows gracefully

View File

@ -1,6 +1,6 @@
{
"name": "@gluon-framework/gluon",
"version": "0.8.0",
"version": "0.9.0",
"description": "Make websites into desktop apps with system installed browsers and NodeJS.",
"main": "src/index.js",
"types": "gluon.d.ts",

View File

@ -1,7 +1,7 @@
const rgb = (r, g, b, msg) => `\x1b[38;2;${r};${g};${b}m${msg}\x1b[0m`;
global.log = (...args) => console.log(`[${rgb(88, 101, 242, 'Gluon')}]`, ...args);
process.versions.gluon = '0.9.0-alpha.2';
process.versions.gluon = '0.9.0';
import { join, dirname, delimiter, sep } from 'path';
import { access, readdir } from 'fs/promises';