Zc-resourcelibrary

Latest version: v2.0.0

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

Scan your dependencies

Page 1 of 4

2.0.1

==================

- Nothing changed yet.

2.0.0

==================


- Add support for Python 3.4, 3.5, 3.6 and PyPy.
- Drop test dependency on ``zope.app.testing`` and
``zope.app.zcmlfiles``, among others.
- Make zope.app.publication dependency optional.

1.3.4

==================

- Register adapters with getSiteManager rather than getGlobalSiteManager. This
allows registering resource libraries in non-global sites. For detais see:

- https://mail.zope.org/pipermail/zope-dev/2010-March/039657.html
- http://docs.pylonsproject.org/projects/pyramid_zcml/en/latest/narr.htmlusing-broken-zcml-directives

- Raise NotImplementedError if we find that a second ZCML declaration would
change the global library_info dict in a way that may (depending on ZCML
ordering) break applications at runtime. These errors were pretty hard to
debug.

- Remove unneeded test dependencies on ``zope.app.authentication`` and
``zope.app.securitypolicy``.

- Remove dependency on ``zope.app.pagetemplate``.

1.3.2

==================

- Response._addDependencies will only include a ResourceLibrary in the
list of dependencies if the ResourceLibrary actually has included
resources.

This makes directives that simply declare dependencies on other
libraries work again.

- Add missing depedency on ``zope.app.pagetemplate``, clean up unused
imports and whitespace.

1.3.1

==================

- Resource libraries that are required during a retried request are now
correctly registered and injected to the HTML.

- Import hooks functionality from zope.component after it was moved there from
zope.site. This lifts the dependency on zope.site.

- Removed an unused ISite import and thereby, the undeclared dependency on
zope.location.

1.3.0

==================

- Use ``zope.browserresource`` instead of ``zope.app.publisher``, removing
a dependency on latter.

- Look up the "resources view" via queryMultiAdapter instead of looking into
the adapter registry.

- Moved the dependency on zope.site to the test dependencies.

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.