# Glance v0.8.3
- Product: Glance (https://whatsnew.fyi/product/glanceapp)
- Vendor: Glance
- Date: 2025-05-19
- Version: v0.8.3
- Original notes: https://github.com/glanceapp/glance/releases/tag/v0.8.3
- Permalink: https://whatsnew.fyi/product/glanceapp/releases/v0.8.3
What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog.
Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'.
---
- **added** — Added the ability to disable the theme picker via `disable-picker: true` under `theme`
- **added** — Added `mod` function (modulo) to the custom API widget
- **added** — Added `safeHTML` function to the custom API widget which prevents HTML from being escaped
- **added** — Added `.Options.JSON` to the custom API widget which takes any nested option value and turns it into a JSON string
- **added** — Added the theme key to the document root so that you can apply styles based on the selected theme
- **fixed** — Fixed `HTTP_PROXY` and `HTTPS_PROXY` environment variables not getting used
- **fixed** — Fixed truncated links' hover text having unnecessary whitespace
##### New
* Added the ability to disable the theme picker via `disable-picker: true` under `theme` (thanks @NeoNyaa)
* Added `mod` function (modulo) to the custom API widget (thanks @anant-j)
* Added `safeHTML` function to the custom API widget which prevents HTML from being escaped (thanks @sudoexec)
* Added `.Options.JSON` to the custom API widget which takes any nested option value and turns it into a JSON string (thanks @ralphocdol)
View example
```yaml
- type: custom-api
options:
request-body:
service: Session
method: login
params:
username: ${USERNAME}
password: ${PASSWORD}
# useful if you need to send JSON in a request body
template: |
...
| withStringBody (.Options.JSON "request-body")
...
```
* Added the theme key to the document root so that you can apply styles based on the selected theme (thanks @EricKotato)
View example
```css
:root[data-theme="default-dark"] {
.color-primary-if-not-visited {
color: #ff0000;
}
}
:root[data-theme="default-light"] {
.color-primary-if-not-visited {
color: #00ff00;
}
}
:root[data-theme="your-theme-name"] {
.color-primary-if-not-visited {
color: #0000ff;
}
}
```
##### Fixes
* Fixed `HTTP_PROXY` and `HTTPS_PROXY` environment variables not getting used (thanks @mazzz1y)
* Fixed truncated links' hover text having unnecessary whitespace (thanks @ralphocdol)
[Visit the release notes for v0.8.0 to learn about all new features](https://github.com/glanceapp/glance/releases/tag/v0.8.0)