Releases: hhvm/hsl
v4.108.1: fix autoloader issue in dependents
Don't specify tests as a non-dev-root as it's not in the package
v4.108.0: move to built-in; support and require HHVM 4.108
The HSL is built-in to HHVM 4.108; prior releases of the HSL package are unusable, as they lead to duplicate definitions.
This release:
- removes all definitions of the HSL
- supports and requires HHVM 4.108 or above
- continues to include all unit tests for the HSL
If your project requires HHVM 4.108 or above, we recommend removing the HSL dependency.
If your project does not require HHVM 4.108 or above, this release should be used by composer to satisfy the dependency.
v4.94.0: support HHVM 4.98, new functions
- compatibility fixes for HHVM 4.98
- now requires HHVM 4.94 (HHVM 4.93 is no longer supported)
- new functions:
C\pop_front
C\pop_frontx
v4.93.1: support HHVM 4.97, new functions
- Removes all
<<__Rx>>
and related attributes, which are no longer supported as of HHVM 4.97 (they have been replaced by contexts/capabilities). - New functions:
v4.93.0: support HHVM 4.93, new functions, deprecations
- New functions:
- Breaking changes:
C\first_async
was deprecated. Instead ofawait C\first_async(some_async_function())
, useC\first(await some_async_function())
.C\firstx_async
was deprecated (as above).PseudoRandom\float
andSecureRandom\float
now return values from the half-open interval[0.0, 1.0)
(previously[0.0, 1.0]
, i.e. the value1.0
could have been returned but no longer can)
- HHVM compatibility fixes:
- Uses the new function reference syntax instead of
fun(...)
. - Regex functions are now pure (they no longer have the side-effect of setting the global error code).
- Lists of contexts/capabilities were added to most function headers, so they can be called from other code that uses contexts/capabilities.
- Uses the new function reference syntax instead of
v4.41: Support HHVM 4.56, add Vec\zip, C\findx
This release:
- requires HHVM 4.41 or above
- supports HHVM 4.56
- adds
C\findx()
- adds
Vec\zip()
3.30.1: Backport HH\Lib\Ref<T>
This release backports the HH\Lib\Ref<T>
class from later versions.
1.4.2 backport: add \HH\Lib\Ref
This release backports the \HH\Lib\Ref class from later releases of the HSL.
Like v1.4.1, v1.4.2 is licensed under BSD+PATENTS to avoid including a license change in a .z
release.
Active development of the HSL continues under the MIT license, as indicated by
the LICENSE file in the master branch. The 1.4.x series was the last release
under the old license; the use of BSD+PATENTS in this release is only due to
backporting.
3.29.2: Backport HH\Lib\Ref<T>
This release backports the HH\Lib\Ref<T>
class from later versions.
3.28.1: backport HH\Lib\Ref<T>
This release backports the HH\Lib\Ref<T>
class from later versions.