v0.2.0

glanceapp/glancev0.2.0Apr 29, 2024by svilenmarkov

AI Summary

A smaller release focusing on user preferences and server compatibility, adding temperature unit selection and a custom CSS file option.

Key Highlights

  • Added support for switching between Celsius and Fahrenheit in the Weather widget.
  • Introduced a custom CSS file option for theming.
  • Updated Monitor widget to use GET requests instead of HEAD requests for better server compatibility.

New Features

  • Weather units property (metric/imperial).
  • Custom CSS file property.

Full Release Notes

## New

### Weather widget temperature units
You can now switch between Celsius and Fahrenheit using the new `units` property which accepts either `metric` or `imperial`:

```yaml
- type: weather
  units: imperial
```

### Custom CSS

You can add your own CSS file via the new `custom-css-file` property under `theme`:

```yaml
theme:
  custom-css-file: /assets/path/style.css
```

## Changed

### Monitor widget

Previously the widget would try to make a `HEAD` request in order to determine the status of a site, however some servers don't support this method which lead to client errors. It will instead make a `GET` request now which should resolve the issues caused by this behavior.