Skip to content

Latest commit

 

History

History
137 lines (85 loc) · 3.03 KB

CHANGES.rst

File metadata and controls

137 lines (85 loc) · 3.03 KB

Changelog

1.3 (unreleased)

  • Nothing changed yet.

1.2 (2022-12-21)

  • Accept additional keyword arguments in resources. They get rendered as additional attributes on resource tag. [rnix, aormazabal]

1.1 (2022-07-01)

  • Remove relative directory resolving. [rnix]
  • Add remove function to ResourceMixin. [rnix]
  • Add copy function to ResourceMixin. [rnix]
  • Add scripts, styles, and links properties to ResourceGroup. [rnix]
  • Introduce parent attribute on ResourceMixin. Gets set in ResourceGroup.add method to provide hierarchy information. [rnix]
  • Remove magic path resolving behavior for resources. Path no longer gets overwritten in resolver. It gets now aquired from parent if not set on resource or resource group. [rnix]
  • LinkResource and StyleResource have common superclass LinkMixin now. StyleResource no longer derives from LinkResource. This way, link and style resources respective subclasses of it can be differentiated with isinstance. [rnix]
  • Remove sizes keyword argument from StyleResource constructor. [rnix]
  • ResourceGroup can define a directory for contained resources. [rnix]
  • Resource.directory no longer gets set to package path by default but remains None. [rnix]
  • Resources can define multiple dependencies. [rnix]

1.0 (2022-03-24)

  • Add Tox, Github actions and make it run on Windows. Modernize setup.[py|cfg]. [jensens]
  • Added GracefulResourceRenderer. Fixes #1. [jensens]

1.0b8 (2021-09-23)

  • Rename hash_ keyword argument of resources to unique.
  • Introduce unique_prefix keyword argument on resources.
  • Change behavior of unique URL generation. Unique key now gets rendered itermediate between URL path and file name. This way we play nice with caching servers, but this also implies the need of custom URL dispatching/rewriting/traversal when working with unique resource URLs.

1.0b7 (2021-08-16)

  • Add auto integrity hash calculation on ScriptResource.
  • Add hash_ and hash_algorithm keyword arguments to Resource, ScriptResource, LinkResource and FileResource.
  • Add Resource.file_hash property.
  • Add Resource.file_data property.

1.0b6 (2021-08-10)

  • Raise explicit ResourceError instead of generic ValueError.

1.0b5 (2021-08-09)

  • Make Resource.directory a R/W property.

1.0b4 (2021-08-08)

  • Change path cascading behavior. Path set on ResourceGroup always takes precedence over its members paths.
  • include property of Resource and ResourceGroup can be set from outside.

1.0b3 (2021-08-06)

  • Add remaining missing rst files to release.

1.0b2 (2021-08-06)

  • Add missing docs/source/overview.rst to release.

1.0b1 (2021-08-06)

  • Initial release.