Skip to content

Releases: iTXTech/SimpleFramework

SimpleFramework 2.3.0

27 Dec 02:50
Compare
Choose a tag to compare

SimpleFramework 2.2.1

10 May 03:55
Compare
Choose a tag to compare

API_LEVEL: 8

Changes:

  • Bug fixes
  • Update Swoole Logger (coroutine)
  • Windows API integrations (requirePHP 7.4 and FFI)
  • The Last Version supports PHP 7.2

SimpleFramework 2.2.0

01 Jan 03:49
Compare
Choose a tag to compare

API_LEVEL: 7

Changes:

  • Redesign autoload.php, introducing iTXTech\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 load SimpleFramework
    • SF_HOME env var points to SimpleFramework source dir
    • SF_ARCHIVE env var points to SimpleFramework PHAR
  • Improve Curl, support multi network interface through InterfaceSelector, 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 (use sf.json "stub": "stub.php")
  • Add sfloader.php when packing module (use sf.json "sfloader": true)
  • Support dependency auto calculation, remove order in sf.json
  • Support both sf.json and info.json
  • Support composer in modules

SimpleFramework 2.2.0-beta.2 (buggy without pthreads)

01 Nov 07:22
Compare
Choose a tag to compare

Changes:

  • Add support for using composer in Module
  • Fix download error in WraithSpireMDR

SimpleFramework 2.2.0-beta.1

14 Oct 00:35
Compare
Choose a tag to compare
Pre-release

Changes:

  • Redesign autoload.php, introducing iTXTech\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 load SimpleFramework
    • SF_HOME env var points to SimpleFramework source dir
    • SF_ARCHIVE env var points to SimpleFramework PHAR
  • Improve Curl, support multi network interface through InterfaceSelector, 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 (use sf.json "stub": "stub.php")
  • Add sfloader.php when packing module (use sf.json "sfloader": true)
  • Support dependency auto calculation, remove order in sf.json
  • Support both sf.json and info.json

More Features (Not available for now)

  • Support composer in modules

v2.1.0

29 Jan 12:53
Compare
Choose a tag to compare

API_LEVEL: 6

Changes:

  1. Minor bug fixes

v2.1.0-beta.2

01 Jan 03:14
Compare
Choose a tag to compare
v2.1.0-beta.2 Pre-release
Pre-release

Changes:

  • Bug fixes for Curl and StringUtil
  • Added Module::getResourceAsText
  • Improved autoload.php - by iPocket

v2.1.0-beta.1

09 Dec 04:37
Compare
Choose a tag to compare
v2.1.0-beta.1 Pre-release
Pre-release

Changes:

  • Added examples
  • Added autoload.php for single script that using SimpleFramework
  • Added StringUtil for String processing
  • Added Extensible Command Options
  • Improved Log Level and add config entry in config.json
  • Improved Curl APIs (Added Response Cookie)
  • Improved ConsoleReader
  • Improved Module related APIs
  • Minor bug fixes

Version Info

  • Codename: Navi
  • API Version: 6

Requirements

v2.0.0

01 Jan 02:14
Compare
Choose a tag to compare

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

11 Mar 13:23
Compare
Choose a tag to compare
v2.0.0-beta.1 Pre-release
Pre-release

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)