Releases: Deric-W/PyHP
Releases · Deric-W/PyHP
PyHP 3.1
Features added:
pyhp-backend
commandbackends.main
submodule- debian maintainer script to clear the cache on uninstall
- PHP opcache functions
TimestampedCodeSource
methods toFileCacheSource
andMemoryCacheSource
- support for Python 3.10
Changes:
- move code from
wsgi.utils
to[Compiler|RegexParser].from_config
- move
load_config
from main to separateconfig
submodule - move
FileSource
constructor logic to.from_path
and.with_inferred_spec
Fixes:
- fix
CacheSourceContainer.gc
and.clear
not closing sources - fix warnings on debian uninstall
- fix errors in
ConcurrentWSGIApp.commit_removals
if requesting a code source fails
PyHP 3.0
PyHP 2.2
PyHP 2.1
Features added:
- bytecode code object implementation
- abstract base classes for the compiler subsystem
Changes:
- replaced pyhp.embed with pyhp.compiler
- change CacheHandlers to support the context manager protocol
- change CacheHandlers to work with code objects directly
Fixes:
- fix errors during compilation and execution having wrong line numbers
- fix code objects lacking proper module constants
PyHP 2.0
Features added:
- --config and --version cli argument
- max_size and ttl caching options
- more customizable request handling
- automatic response code setting for header()
Changes:
- structural changes
- php functions now useable outside .pyhp files
- renamed pyhp class to PyHP
- replace print wrapper with PyHP.make_header_wrapper
- cache handler interface
- register_shutdown_function now uses atexit
- improved IndentationError message
Fixes:
- wrong directory size calculation in files_mtime
- crash of files_mtime.py if os not in namespace
PyHP-Interpreter v1.2
Changes:
- add support for ~ as home directory in cache_path
Now with Debian package!
PyHP Interpreter v1.1
Features added:
- register_shutdown_function
- header_register_callback
- config
Changes:
- reworked caching to use handlers (old code as files_mtime handler)
- optimized parser
- rework prepare file
- now using argparse
- changed directory structure (see pyhp.conf)
This release is currently lacking of more cache handlers, like memcached or redis.
If you wrote a cache handler, feel free to submit it.
PyHP-Interpreter v1.0
This is the first release of the PyHP Interpreter.
If you find Bugs or have Suggestions, feel free to write an Issue.