- Nothing changed yet.
- Accept additional keyword arguments in resources. They get rendered as additional attributes on resource tag. [rnix, aormazabal]
- Remove relative directory resolving. [rnix]
- Add
remove
function toResourceMixin
. [rnix] - Add
copy
function toResourceMixin
. [rnix] - Add
scripts
,styles
, andlinks
properties toResourceGroup
. [rnix] - Introduce
parent
attribute onResourceMixin
. Gets set inResourceGroup.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
andStyleResource
have common superclassLinkMixin
now.StyleResource
no longer derives fromLinkResource
. This way, link and style resources respective subclasses of it can be differentiated withisinstance
. [rnix]- Remove
sizes
keyword argument fromStyleResource
constructor. [rnix] ResourceGroup
can define a directory for contained resources. [rnix]Resource.directory
no longer gets set to package path by default but remainsNone
. [rnix]- Resources can define multiple dependencies. [rnix]
- Add Tox, Github actions and make it run on Windows. Modernize setup.[py|cfg]. [jensens]
- Added
GracefulResourceRenderer
. Fixes #1. [jensens]
- Rename
hash_
keyword argument of resources tounique
. - 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.
- Add auto integrity hash calculation on
ScriptResource
. - Add
hash_
andhash_algorithm
keyword arguments toResource
,ScriptResource
,LinkResource
andFileResource
. - Add
Resource.file_hash
property. - Add
Resource.file_data
property.
- Raise explicit
ResourceError
instead of genericValueError
.
- Make
Resource.directory
a R/W property.
- Change
path
cascading behavior. Path set onResourceGroup
always takes precedence over its members paths. include
property ofResource
andResourceGroup
can be set from outside.
- Add remaining missing rst files to release.
- Add missing
docs/source/overview.rst
to release.
- Initial release.