Skip to content

Releases: Deric-W/PyHP

PyHP 3.1

05 Oct 15:37
64c9262
Compare
Choose a tag to compare

Features added:

  • pyhp-backend command
  • backends.main submodule
  • debian maintainer script to clear the cache on uninstall
  • PHP opcache functions
  • TimestampedCodeSource methods to FileCacheSource and MemoryCacheSource
  • support for Python 3.10

Changes:

  • move code from wsgi.utils to [Compiler|RegexParser].from_config
  • move load_config from main to separate config 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

02 Jul 08:44
fcb51df
Compare
Choose a tag to compare

Features added:

  • WSGI submodule
  • CGI and CLI mode for CLI commands

Fixes:

  • fix error in file cache with multiple python versions
  • fix error message in Dedenter
  • fix FileCache.gc raising KeyError
  • fix filename in tracebacks of syntax errors
  • fix debian package

PyHP 2.2

14 Mar 18:31
2cc3e2f
Compare
Choose a tag to compare

Features added:

  • backends for zipfiles and memory
  • unbounded memory cache

Changes:

  • replaced cache handlers with backends
  • change config format to TOML

Fixes:

  • fix race condition in file cache

PyHP 2.1

27 Jan 18:37
fa5275f
Compare
Choose a tag to compare

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

01 Feb 00:05
7047a97
Compare
Choose a tag to compare

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

13 Aug 17:10
f2292cc
Compare
Choose a tag to compare

Changes:

  • add support for ~ as home directory in cache_path

Now with Debian package!

PyHP Interpreter v1.1

03 Aug 16:02
8d85753
Compare
Choose a tag to compare

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

29 Jun 17:14
5b50350
Compare
Choose a tag to compare

This is the first release of the PyHP Interpreter.
If you find Bugs or have Suggestions, feel free to write an Issue.