Releases: openstyles/stylus
v2.0.7
- fix dark mode detection, #1854
- minor performance improvements
- disambiguate the master switch and increase padding to prevent misclicks


This is arguably the last MV2 release for the Chrome web store. In the future an MV2 zip will be attached to each release, which can be installed as an unpacked extension (you can subscribe to receive notifications for new releases in the Watch button on our main project page).
v2.0.6
To allow conditional compilation into either MV2 or MV3, the source code was fully refactored with many parts written from scratch, which is why the major version is changed. Conditional compilation is certainly a nuisance and I'll probably have to come up with a more modular architecture to make it less spaghetti-like, but it necessitated a rewrite that in turn made new development features possible: modern syntax, UI frameworks, and tooling. The final compiled code is even more efficient due to tree-shaking (dead code elimination), bundling dozens of small scripts into one, and partial minification (function names are kept intact to enable meaningful stack traces). Some old bugs were fixed along the way, some new bugs caused by the rewrite were reported as well and fixed (except #1851) since the new code was published in the beta channel.
Full Changelog: v1.5.51...v2.0.6
P.S. Not publishing it for Firefox yet because I want to finish polishing the MV3 version for Chrome web store and there are no major bug fixes for Firefox anyway. To help us release sooner, use this zip as a temporary extension in about:debugging page and report the bugs here. Don't forget to export a backup of your styles first.
v1.5.51
- editor: add config for delay in
[x] Live preview - manager: auto-import options from backup
- ignore unknown stylelint rules
- use match_origin_as_fallback for iframes
- fix popup config height
- don't add a date to new style name
- fix icons for text replace in compact mode
- Alt-Home, Alt-End hotkeys to scroll current line to top/bottom of the view
v1.5.49
- fix sign-in to sync and userstyles.world in Vivaldi
- editor: right-click a β΅collapsed section in the sidebar/header to temporarily open it
- improve popup search category heuristics
- update stylelint to 16.5.0
- update csslint
- various bug fixes
Full changelog: v1.5.46...v1.5.49
v1.5.46
v1.5.43
- retain scroll position and bookmarks per each edited style until the entire browser is closed
- use 1/10 keyboard increment for fractional numbers
v1.5.42
Beta for Firefox
styl_us-1.5.42.xpi is attached to the release. It's not auto-updatable yet, i.e. you'll need to install a newer version manually from our github releases. Make sure to click Export in the style manager before installation, just in case.
Highlights:
- [Chrome/ium 86+] allow the user to install/watch local files by drag'n'dropping the file into an open Stylus page (or into the popup if you use a hotkey to open it while dragging the file), i.e. now you don't have to enable file access in chrome://extensions for Stylus
improve popup layout for mobile and a wide min width option, e.g. arrange style finder results in 2-3 columns- add UI in
Publishpanel for sectioned styles to customize name/description/license/author/homepage - add
Show targets before codeoption in sectioned editor, enabled by default as the list of targets is essentially an identifier of the section and it matches the layout for UserCSS
- increase editor font for CSS code by 1 point
- fix the install button in userstyles.org by requesting the code from uso-archive internally instead
- fix import from a backup file picked via Google Drive app in Android
- fix adoptedStyleSheets option
Full Changelog: v1.5.41...v1.5.42
v1.5.41
v1.5.40
- Bump Firefox
strict_min_versionto 57 to ensure compatibility with Android - [installer] Allow adding custom sites and fix theme option
- [Editor] Fix active editor tab on Chrome startup
- [Editor] Fix live preview with
adoptedStyleSheets - [Editor] Increase
undoDepthfrom 200 to 1000 - [CSSLint] New
style-rule-nestingrule to warn about new CSS nesting syntax - [Manager] Show descriptive age & full year in the tooltip for the age column
- [Options] New option for popup's max width to enable autofit-to-content
Full Changelog: v1.5.39...v1.5.40
v1.5.39
- Circumvent CSP on AMO and other https sites in Firefox
- Add a global
Testbutton for all regexps of the style. Clicking a regexp focuses its element. - Show progress in popup when downloading style search index
- Fix csslint for tag selectors in nested CSS per the newest spec
- Fix csslint for
:has()with multiple relative selectors - Fix csslint slowdowns due to broken strings produced by a bugged
@preprocessor