Releases: jphp-group/jphp
Releases · jphp-group/jphp
jppm 0.1.8
JPHP Package Manager v0.1.8
Downloads
- For Windows: JPPM Windows Installer
- For Linux: JPPM Linux Distributive
How To Install
- For Windows: Run jppm-setup-0.1.8.exe and that's is all!
- For Linux:
wget -O - https://github.com/jphp-compiler/jphp/releases/download/jppm-0.1.8/jppm-setup-0.1.8.sh | bash
jppm-0.1.8.json
{ "size": 6591081, "sha256": "75a903c1be5bc0cc921714d76aaf78ec10869b23c4bd6e98e9f9b7b6d6c9e621", "name": "jppm", "version": "0.1.8" }
0.9.2
<!-- Add the JCenter Repository -->
<repository>
<id>jitpack</id>
<name>jitpack</name>
<url>https://jitpack.io</url>
</repository>
<dependency>
<groupId>org.develnext.jphp</groupId>
<artifactId>jphp-core</artifactId>
<version>0.9.2</version>
</dependency>
- Implement Closure::fromCallable().
- Implement is_iterable() function.
- Implement NativeMemory.
- Fix String Builder Memory not() operator.
- Fix ArrayAccess + magic getter bug.
- Fix bug in compiler, memory operator methods with int argument don't exist.
- Upgrade ASM library to 5.2
0.9.1
<!-- Add the JCenter Repository -->
<repository>
<id>jitpack</id>
<name>jitpack</name>
<url>https://jitpack.io</url>
</repository>
<dependency>
<groupId>org.develnext.jphp</groupId>
<artifactId>jphp-core</artifactId>
<version>0.9.1</version>
</dependency>
Add support PHP 7.0 and 7.1 features
- Fix list() behavior inconsistency.
- Throwable Interface.
- Group Use Declarations.
- Scalar and Optional Type Hinting.
- Return Type Hinting.
- Void and Iterable Type Hinting.
- Uniform Variable Syntax (partly).
- Null Coalesce Operator
??
. - Multiple catch syntax.
- Short list syntax.
- List Keys.
- Class constant visibility modifiers.
- Spaceship Operator <=>.
- Generator Delegation yield from.
- Generator Return Expressions.
- intdiv() function.
Other
- Implement standalone launcher and compiler for android support
- Add Http Server extension.
- Add Git extension.
- Add Timer class for stdlib.
- Implement NetAddress class for stdlib.
- Implement
$argv[0]
variable. - Add support locale for Time library.
- Add new methods in
arr
stdlib class -last()
,lastKey()
,values()
, etc. - Implement own class loading system based on packages.
- Upgrade jsoup extension, add proxy support.
- Add URL::encode() and URL::decode() methods.
- Add Stream::eachLine() method.
- Add progress callback in file hash methods.
- Add startIndex and endIndex for token in tokenizer.
- Implement str::lines(), System new methods.
- Add new method Regex::getInput().
- Add fs::move() and fs::rename() methods.
- Add jsoup Element::outerHtml() method.
- Implement strnatcmp() and strnatcasecmp() functions.
- Implement php_uname() and php_sapi_name().
- Implement time(), time_sleep_until(), time_nanosleep() functions.
- Implement time_nanosleep() function.
- Implement usleep() and setLocale() functions.
- Implement rawurlencode() and rawurldecode() functions.
- Implement sort(), asort(), rsort(), arsort() and other sort functions.
- Add fileowner(), filegroup(), fileatime(), filectime(), fileperms(), etc.
- Improve implementation of array_keys() function.
- Implement array_diff(), array_diff_assoc() and other array diff functions.
- Implement array_slice() function.
- Implement array_replace() zend function.
- Add $argc variable.
- Implement getenv(), putenv() and $_ENV.
- Impelement getcwd() function.
- Implement f*() zend file functions.
- Implement str_replace(), str_ireplace(), fix str::split().
- Implement array_unique().
- Add group by name for regex class.
- Add dynamic loading jar for std class loader.
- Improve using default charset as UTF-8.
- Add bufferSize in fs::copy().
Fixes
- Fix Process.detroy() missing method, add force option.
- Fix tokenizer: start and end indexes.
- Fix bug of hex string in fs::hash() and File::hash().
- Fix bug of concurrent auto loading classes in threads.
- Fix using self as type hinting in class methods and functions.
- Fix usage constants in namespace.
- Fix NPE in BaseObject.getProperties().
- Fix get_defined_constants for user constants in environment.
- Fix bug in function bytecode dumper.
- Fix npe toArray() bug in object memory class.
- Fix SqlDriverManager::install() for full class names.
- Fix bug in file_get_contents().
- Fix precession in round() function.
- Fix behaviour of str::split() for empty strings.
- Fix NPE bug in net streams.
- Fix usage default jphp class loader.
- Fix bugs of mysql jdbc driver wrapper.
- Fix array_combine function.
- Fix foreach parser NPE.
- Fix sql statement iterator bug in sql-ext.
- Fix print_r & var_dump for getters and setters.
- Fix list() for strings. ArithmeticError.
0.8.0
- Implement loading extensions via Service Loader.
- Add NotImplementedException class to stdlib.
- Implement $argv global var.
- Implement source map feature.
- Improve zend extension (add new array and string functions).
- Add support for java anonymous classes in wrappers.
- Implement str::hash() and File::hash() methods.
- Implement
php\lib\fs
util class for File System. - Rename stdlib classes: String to str, Items to arr, Mirror to reflect, Number to num.
- Add compress extension.
- Add orientdb extension.
- Many improvements in stdlib.
- Fix behaviour of protected methods in constructor.
- Fix CLASS value in closures.
- Fix access to protected and private members of class in closures.
- Fix incorrect value of unused closure variable in some cases.
- Fix parsing '-' for numbers (NumberFormatException).
- Fix NPE in file_get_contents function.
- Fix bugs in Flow class.
- Fix Null, False and True comparing with values.
- Fix native property setter in core.
- Fix late call static binding in some cases.
- Fix stackoverflow exception in Environment.
- Fix stackoverflow bug in StringMemory.equal with booleans.
- Fix property defination in classes.
- Fix incorrect optimizing variable values in some cases.
- Fix bug in json extenison, deserialization arrays.
- Fix many bugs of bytecode dumper.
- Optimize generating trait bytecode.
- Fix NPE exception in items class.
- Fix jsoup ext bugs.
- Fix passing undeclared args to methods and functions.
- Fix Time::today() method.
0.7.1
- Improve xml extension: add process instruction structures.
- Improve json extension for catching parse errors.
- Fix property accessing in traits.
- Fix Invoker.callAny for nulls in the internal api.
- Fix Stream.getInputStream for binary data in the internal api.
- Rename String to Str in stdlib
- Fix classloading in concurrent environments.
- Improve and fix small bugs in stdlib.
0.7.0
- Implement php7 rfc: Context Sensitive Lexer.
- Improve & refactor thread standard library.
- Improve stdlib: add configuration class, improve streams and string functions.
- Fix
static
in closures. - Fix property access in cuncurrent environments.
- Refactor typehinting system in core.
- Fix __debugInfo with private fields.
- Optimize method calls.
0.6.11
- Implemented a debugger compatible with XDebug.
- Added official benchmark tests.
- Fixed include sources from
res://
. - Improved performance ~20% for getting class constants, for property access.
- Added an option to specify the path of an external config for Launcher.
- Fixed small bugs in compiler.
0.6.10
- Remove jre6 support.
- Fix Regex class.
- Rename gen-docs task to genApi.
- Improve sql extension, replace c0p3 to hikari cp, fixes.
- Replace tomcat on jetty in webserver extension.
- Improvements for web-server.
- Improve language modes
- Fixes in compiler.
- Implement tick handlers, debugger stub.
- Add support fatal error exceptions like in the php 7 rfc.
Downloads
0.6.9
- Improve and fix core (call stack, reflection, class wrapper, class loader)
- Fix resolving module names in core
- [StdLib] Add Environment::importAutoLoaders()
- [StdLib] Add WebServer::setEnvironmentCreator(), webserver small fixes
- [StdLib] Add cookie support for WebServer
- [StdLib] Add support of SqlConnectionPool for the sql extension