Releases: iTXTech/SimpleFramework
Releases · iTXTech/SimpleFramework
SimpleFramework 2.3.0
SimpleFramework 2.2.1
API_LEVEL: 8
Changes:
- Bug fixes
- Update Swoole Logger (coroutine)
- Windows API integrations (require
PHP 7.4
andFFI
) - The Last Version supports PHP 7.2
SimpleFramework 2.2.0
API_LEVEL: 7
Changes:
- Redesign
autoload.php
, introducingiTXTech\SimpleFramework\Initializer
- Support manual load
SimpleFramework
<?php
define("SF_LOADER_AUTO_INIT", false); // Disable loadSimpleFramework
require_once "autoload.php";
use iTXTech\SimpleFramework\Initializer;
Initializer::loadSimpleFramework("sf.phar");
Initializer::initTerminal(true);
Initializer::setSingleThread(false);
//...
- Module HotPatch, based on
PECL Runkit7
extension - Add
sfloader.php
to loadSimpleFramework
SF_HOME
env var points toSimpleFramework
source dirSF_ARCHIVE
env var points toSimpleFramework
PHAR
- Improve
Curl
, support multi network interface throughInterfaceSelector
, support global proxy - Add preload feature
./sf p=preload.php p=phar://a.phar/preload.php ....
- Add
Packer
, support customize packing behavior - Add customized
stub
support (usesf.json
"stub": "stub.php"
) - Add
sfloader.php
when packing module (usesf.json
"sfloader": true
) - Support dependency auto calculation, remove
order
insf.json
- Support both
sf.json
andinfo.json
- Support composer in modules
SimpleFramework 2.2.0-beta.2 (buggy without pthreads)
Changes:
- Add support for using composer in Module
- Fix download error in WraithSpireMDR
SimpleFramework 2.2.0-beta.1
Changes:
- Redesign
autoload.php
, introducingiTXTech\SimpleFramework\Initializer
- Support manual load
SimpleFramework
<?php
define("SF_LOADER_AUTO_INIT", false);//禁用自动 loadSimpleFramework
require_once "autoload.php";
use iTXTech\SimpleFramework\Initializer;
Initializer::loadSimpleFramework("sf.phar");
Initializer::initTerminal(true);
Initializer::setSingleThread(false);
//...
- Module HotPatch, based on
PECL Runkit7
extension - Add
sfloader.php
to loadSimpleFramework
SF_HOME
env var points toSimpleFramework
source dirSF_ARCHIVE
env var points toSimpleFramework
PHAR
- Improve
Curl
, support multi network interface throughInterfaceSelector
, support global proxy - Add preload feature
./sf p=preload.php p=phar://a.phar/preload.php ....
- Add
Packer
, support customize packing behavior - Add customized
stub
support (usesf.json
"stub": "stub.php"
) - Add
sfloader.php
when packing module (usesf.json
"sfloader": true
) - Support dependency auto calculation, remove
order
insf.json
- Support both
sf.json
andinfo.json
More Features (Not available for now)
- Support composer in modules
v2.1.0
v2.1.0-beta.2
Changes:
- Bug fixes for
Curl
andStringUtil
- Added
Module::getResourceAsText
- Improved
autoload.php
- by iPocket
v2.1.0-beta.1
Changes:
- Added
examples
- Added
autoload.php
for single script that usingSimpleFramework
- Added
StringUtil
for String processing - Added Extensible Command Options
- Improved Log Level and add config entry in
config.json
- Improved
Curl
APIs (AddedResponse
Cookie
) - Improved
ConsoleReader
- Improved
Module
related APIs - Minor bug fixes
Version Info
- Codename: Navi
- API Version: 6
Requirements
- PHP 7.2 and above
- pthreads 3.1.7 - Highly recommended
v2.0.0
Changes:
- Implemented Single Thread mode (Compatible with NTS PHP)
- Improved HTTP(S) access APIs (iTXTech/SimpleFramework/Util/Curl)
- Improved Tick System (Change it dynamically is supported)
- Improved Exception Trace (Added backtrace to it)
- Minor bug fixes
Requirements:
- Minium PHP version = PHP 7.2.0
- Highly recommend: pthreads 3.1.7
v2.0.0-beta.1
New features:
- Added build-in Module Dependency Resolver
- Added Module::getFile method
- Added startup auto module download in config.json
- Added remote SimpleFramework Module database
Changes:
- API Level: 4 Codename: [RYZEN]
- New namespaces
- Improved command structure
- Improved module dependency version compare
Incoming:
- Full php 7.1 return type and constant visibility support (no declare strict type)