Skip to content

Commit

Permalink
release: 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
CanadaHonk committed Jan 3, 2023
1 parent 419050b commit 7fcb537
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -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';
Expand Down

0 comments on commit 7fcb537

Please sign in to comment.