Skip to content

Latest commit

 

History

History
92 lines (60 loc) · 3.14 KB

CHANGELOG.md

File metadata and controls

92 lines (60 loc) · 3.14 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project attempts to adhere to Semantic Versioning.

Unreleased

0.2.2

Fixed

  • Fixed a bug where the icons were registered incorrectly and thus not able to be rendered by Django's render_to_string function. Reported by @seb-b in #58.

0.2.1

Fixed

  • Fixed a bug where the icons being registered by the wagtail hook were not being found.

0.2.0

Added

  • Now using django-twc-package as as package template.

Changed

  • Now using nox for testing.
  • Build script has been moved from inside the package to the root of the repository.
  • Added link to MIT license in all SVG files and split the license and Refactoring UI Inc. copyright information into separate lines.
  • Icon registration has been simplified to just getting a list of the icon files under the heroicons template directory.
  • Application template directory containing icons has been renamed to match the package name.

Removed

  • Dropped support for Python 3.7.
  • Removed all build scripts and related methods from package.
  • Removed icons.py and associated tests.
  • Fixed a TypeError when attempting to use the package; the Heroicon dataclass was adding a Path object to the list of icons in the register_icons Wagtail hook instead of a string. Reported by @ReijerTheCoder in #40 and fixed in #41.

Changed

  • Add the MIT license and Refactoring UI Inc. copyright information to all SVG files.

Changed

  • Refactored the internals of the package to use a Heroicon dataclass instead of a list of icon names.

Fixed

  • Add try/except block for hooks import from wagtail.core to wagtail to fix a deprecation warning.

Initial release!

Added

  • Build script:
    • Download Heroicons from NPM and copy to templates folder
    • Edit SVG files to add correct id attribute
    • Edit and build the icon registry in icons.py
  • Initial documentation