Plone-reload

Latest version: v3.0.1

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

Scan your dependencies

Page 2 of 4

1.4

----------------

- Fixed some tests that relied on a specific directory layout.
[hannosch]

- Fixed a bug in dealing with class descriptors, like Five's BoundTemplateFile.
We replaced the descriptor with the descriptor result, leading to strange
problems. We check for those by looking directly into the ``__dict__`` and
comparing it to the result of a normal ``getattr`` call.
[hannosch, optilude]

1.3

----------------

- Use a different hook for providing the initial setup of tracked code files.
In Zope 2.12+ there's a proper event published right before the process has
started. If this is available we use it, instead of our no longer working
approach to hook ``setupFinalLogging``.
[hannosch]

1.2

----------------

- Moved the template reloading support into an extra.
[hannosch]

- Added test_suite functions to the test modules.
[hannosch]

1.1

----------------

- Added CMF specific functionality: We support explicitly reloading all file
system based objects from skins folders while running in production mode.
[hannosch]

1.0

----------------

- Avoid the `ENABLED` config flag and check against Globals.DevelopmentMode in
the browser view.
[hannosch]

- Make sure the import of the Globals module happens after the variable has
been set. This should make it compatible with Zope 2.10.9+.
[hannosch]

1.0b1

------------------

- Got the test coverage for the code reloading part up to 100%.
[hannosch]

- Fixed reloading of the module scope. The func_globals of functions is now
updated with new names introduced into the module scope, so adding new
import statements will work.
[hannosch]

- Specified package dependencies, added development buildout and added
extensive test coverage.
[hannosch]

- Figured out a way to support reloading code that uses decorators.
[hannosch]

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.