Releases: openstyles/stylus
v2.3.9
v2.3.8
Notable fixes:
- Random failures after toggling/editing a style
- Autocomplete inside functions
Known bugs:
- Toggling/deleting a style in the popup when the current tab is a Stylus page e.g. editor.
The workaround is to reload the tab after each such change.
Fixed in nightly via 549c0c6.
Full Changelog: v2.3.7...v2.3.8
v2.3.7
Notable changes:
-
Fix #1891: styles for an old URL of the tab were applied on navigation with
instant inject
option enabled. -
Stylus now automatically makes a backup of the styles database into another storage to increase the chance it survives bugs in Stylus or browsers like Vivaldi that carelessly offer an option to shoot oneself in the foot by clearing extension storage in the
Delete browsing data
UI. The copy is compressed usinggzip
in modern browsers, so it's just ~10% of the original.Currently Stylus will restore the data automatically on the next start of the extension if the main database is empty, i.e. it won't happen if you updated some style after the database was cleared while the extension was still running (because the main storage won't be empty anymore). Eventually I'll add a UI to do it explicitly. Until then the workaround is pretty straightforward: click
Export
in the style manager, delete the new style(s) to make the database empty, disable and enable the extension or reload it, import the exported backup.
Full Changelog: v2.3.6...v2.3.7
Known bugs:
- Styles targeting specific parts (i.e. not the entire site) of a SPA site like fb/x/youtube may be applied incorrectly while navigating the site. Fixed in a543970.
P.S. The attached MV2 build includes a post-release fix for very old browsers without gzip compression API.
v2.3.6
v2.3.5
This release supersedes 2.3.3 which we rolled back in CWS to 2.3.2 (shown as 2.3.4 to ensure it auto-updates) as it randomly didn't show any styles at all due to an incorrect implementation of database caching that was added to compensate for the reduced performance in ManifestV3. This cache is removed for now, I'll come up with a better implementation later. Meanwhile, if you see a flash of white or unstyled content when navigating to a page, you can set Style cache duration
in the options to -1
to keep the extension's background script in memory and enable Instant inject mode
option.
Notable changes:
- Fixed something in WebDAV sync.
- Fixed #1861 for real this time (styles weren't applied randomly) judging by the reporter's confirmation.
- Editor: when pressing Alt-, Alt-Shift-, Ctrl-Alt-Shift- with Up and Down arrow keys, it'll increment numbers in all selections (carets).
- Reduced fingerprint: the installed style's id won't be added to the applied style elements by default unless
Expose style name
option is enabled. To reduce it even more you can enableCircumvent CSP 'style-src' via adoptedStyleSheets
in the options. - Faster import of the backup files.
Known bugs in MV2 build that are fixed in the nightly builds:
- [Firefox] styling of specific URLs (i.e. not the entire site) in sites with "soft" navigation like youtube, fb, x
- [Firefox] styling of embedded same-origin iframes without src
Full Changelog: v2.3.2...v2.3.5
v2.3.2
v2.3.1
Fixes the bug in 2.3.0:
- Toggling or changing a style may not propagate to other tabs until you reload them.
Known bugs:
@preprocessor less
and@preprocessor stylus
are [partly] broken.
Doesn't fix:
- The previously reported
idx
error in #1861. The workaround is to increase cache duration in the options or use a nightly build as an unpacked extension.
Full Changelog: v2.3.0...v2.3.1
v2.3.0
Notable changes:
- fix #1838 v2: ensure the popup is fully visible in Firefox
- fix #1869: autocomplete with numeric properties like
padding
- fix #1871: configuring the style after installing it while staying in the same UI
- fix #1873: live reload
- fix opening of options in Chrome pre-79
- more efficient broadcast of changed style data when there are many tabs
Known bugs:
- Toggling or changing a style may not propagate to other tabs until you reload them.
Full Changelog: v2.2.0...v2.3.0
v2.2.0
Notable changes since 2.1.0:
- autocomplete in the editor now looks in any part of a name and value similarly to Chrome devtools (no fuzzy search yet)
- update csslint: handle an unfinished property name while typing
Full Changelog: v2.1.0...v2.2.0
v2.1.0
Notable fixes in the style manager page:
- fix import/export
- show actions as icons or flat labels (by default) or buttons after clicking the triangular expander icon on the left
- reorder buttons as Sync, Import, Export and show the status underneath the Sync button
Known bugs (fixed in the test build):