Py-css-styleguide

Latest version: v1.2.0

Safety actively analyzes 701507 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

1.2.0

**************************

Minor version for new features and improvements.

* Fixed error message from ``ManifestSerializer.serialize_to_flat()`` that was missing
reference name;
* Added support for Python 3.11 and 3.12;
* Added Django support from 5.0 to 5.1 for included optional Django mixins;
* Added minimal version for all requirements;
* Added new option ``--cleaner`` for splitters. When its value is ``whitespaces`` it
will remove empty whitespaces that could happen with Sass mixin functions. When this
property is not defined, the legacy behavior (keep whitespaces) is still used;
* Updated script to freeze local dependencies;
* Removed 'colorama' from requirements since it is automatically installed on Windows
from 'colorlog';
* Sass mixin library does not include compatibility for both compiler Libsass and
Dartsass. Now each compiler has its own mixin library;
* Updated documentation;

1.1.1

**************************

Another minor release to change the readthedocs configuration to install this package
and dependencies.

Now we use section ``python.install`` in readthedocs configuration to ask to install
local package from commit with extra requirements for doc building.

1.1.0

**************************

A minor release to fix documentation, add number structure and add a CLI.

* Added a new Python script to automatically build documentation requirements file
from package setup;
* Changed documentation requirements files to only include the minimal requirements
without to install package from Pypi;
* Added serialization structure ``number``;
* Added ``ParserErrors`` exception to raise when there is error from parsing CSS
manifest with ``TinycssSourceParser``;
* Added commandline with ``click`` with ``version`` and ``parse`` commands;

1.0.0

**************************

A major release with breaking changes, see
`Migrations <https://pycssstyleguide.readthedocs.io/en/latest/migrations.html>`_ to
know about migrating your project.

* Dropped Python<3.8 support;
* Added Python support from 3.8 to 3.10;
* Added official Django support from 2.2 to 4.2 for included optional Django mixins;
* Improved Makefile;
* Modernized package configuration;
* Improved documentation:

* Added Sphinx theme Furo usage;
* Fixed typo;
* Reworded some sentences;
* Upgraded details to fit to last changes;
* Restructured contents;
* Added more details;

* Implemented Dart sass compile behaviors support, libsass compiler behaviors is still
the default one:

* Added new meta rule ``styleguide-metas-compiler``;
* Serializer now emit some warnings in some situations;
* Renamed ``json-list`` to ``object-list``, the first name is still working but
deprecated with a clear warning about it;
* Renamed ``json`` to ``object-complex``, the first name is still working but
deprecated with a clear warning about it;
* For now the only difference in Dart sass support is about string quotes from
``object-list`` and ``object-complex``, it expect strings to be quoted with
single quotes;

* Changed reference structure validation so the variable ``--structure`` is required;
* Fixed Python code from usage example;
* Removed useless `` -*- coding: utf-8 -*-`` lines;
* Moved from usage of ``os`` + ``io`` modules in favor of ``pathlib.Path``;
* Added Github issue templates;

0.8.3

**************************

A minor version only to update ``.readthedocs.yml`` file to follow service deprecations
changes.

0.8.2

**************************

* Fix a critical error with CSS manifest relative path to static directory;
* Add "created" item in manifest metas to include datetime of serialization;
* Fix Makefile for correct order of ``freeze-dependencies`` in ``quality`` action
(freezing requirement must be done before check-release to ensure local package have
been updated, else the frozen requirements may have a version delay);

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.