Changelog

Version 0.8.3 - 2023/08/18

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

Version 0.8.2 - 2021/09/12

  • 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);

Version 0.8.1 - 2021/09/12

Just a minor release to fix package Readme which was different from documentation.

Version 0.8.0 - 2021/09/12

  • Add a Django view mixin StyleguideMixin to include in a view to use a manifest;
  • Add a basic Django view StyleguideViewMixin based on TemplateView and StyleguideMixin;
  • Add a very basic Django project needed for testing;
  • Add Django as a development environment requirement but the package is still not dependent from Django in default environment;
  • Updated documentation;

Version 0.7.0 - 2021/09/09

  • Rename some model methods:

    • set_rule to _set_rule;
    • remove_rule to _remove_rule;
  • Implement model method from_dict to enable loading manifest directly from a dictionnary in the same format than to_dict so it can be used from a JSON dump made by to_json (after have been deserialized).

  • Add more manifest reference validations;

  • Add exceptions module for application exceptions;

Version 0.6.0 - 2021/08/19

  • Fix documentation typo issue, close #13;
  • Add Manifest.to_dict() and make Manifest.to_json() using it, close #14;
  • Add property option --excludes in meta reference rule to ignore some explicitely defined reference names in automatic mode, close #10;
  • Update Package structure to use more modern configurations;
  • Drop support for Python 3.5;
  • Add support for Python from 3.6 to 3.8;

Version 0.5.1 - 2019/07/16

  • Added some Sass functions to escape a value from quotes;
  • Enabled quote escape on get-props-to-json and get-values-to-json functions to avoid invalid JSON, close #9;

Version 0.5.0 - 2019/05/05

  • Pinned tinycss2 version to >=1.0.2
  • Updated parser so double dashes for CSS variable are correctly supported now, close #8;
  • Rewrite package to use setup.cfg and virtualenv (instead of Python-venv);

Version 0.4.0 - 2018/05/09

  • Enforce order on flat structure, close #6;
  • Added splitter property for flat, nested and list structure to be able to use either white space separator or JSON list on values, close #7;
  • Added JSON structure;
  • Added new Sass helpers to build JSON list from Sass lists, map key names, values and properties;
  • Removed unused method ManifestSerializer.format_value;

Version 0.3.0 - 2018/04/19

  • Added automatic enable references mode, close #1;
  • Fixed Sass helper function to-string for empty list, close #2;
  • Changed list and string structures so they can be empty, close #3;
  • Internally use collection.OrderedDict instead of simple dictionnary in parser and serializer, close #4;
  • Fixed code quality issues with Flake8, close #5;

Version 0.2.0 - 2018/04/08

  • Added Sass function floor-number-items();
  • Removed flat property in favor of structure to allow other structure modes;
  • Added new structure mode list;
  • Added new structure mode string;

Version 0.1.0 - 2018/04/07

  • Added documentation with Sphinx;
  • Changed Manifest.load() so it also accepts a file-like object;
  • Added test for Sass mixin helper using Boussole;

Version 0.0.2 - 2018/04/04

  • Added to_json method to Manifest model;
  • Fixed some code quality issues;

Version 0.0.1 - 2018/04/02

First commit with a basic working version.