Releases: MohammadYounes/rtlcss
Releases · MohammadYounes/rtlcss
Version 4.0
Version 3.0
- Upgrade to POSTCSS 8.
- Dropped Node.js 6.x, 8.x, 11.x, and 13.x versions.
Version 2.0
- Support for control directive blocks, e.g.
/*rtl:begin:ignore*/ ... /*rtl:end:ignore*/. - Suppor for strict auto renaming, Which ensures
autoRenameis applied only when a pair exists. - New directives:
configoptionsrawremove
- Support for Plugins.
Upgrading from version 1.0
Options and config settings have changed. However, you need not to worry about your CSS files as all directives are backward-compatible. This is a summary of what's changed:
- New Options:
autoRenameStrict(default:false) to apply auto rename only when a pair exists.blacklistto prevent execution of certian directives.clean(default:true), to remove directives from output CSS.processUrls(default:false) to control URL updates. You can also target specific node types using an object literal. e.g.{'atrule': true, 'decl': false}.
- Updated Options:
autoRenamenew default isfalse.stringMap:priorityattribute to control maps execution order.exclusiveattributes, which determines if a map execution should stop iterating over other maps.- dropped 'west-east' map from the default map collection.
- Removed Options:
enableLogging, still warnings and errors are reported directly to postcss.minify, it wasn't actual minification after all!swapLeftRightInUrl,swapLtrRtlInUrlandswapWestEastInUrlin favor ofprocessUrlsoption.preserveComments, comments inside declaration values will always be preserved.preserveDirectives, in favor ofcleanoption.
- Constructor arguments
rules,declarationsandpropertiesare now replaced withplugins.
