Releases: hershel-theodore-layton/sgml-stream-interfaces
Argon
Neon - patch 1
This is the first release of sgml-stream-interfaces with non-experimental support for hhvm 25+.
Neon
This release loosens the hhvm requirement from ^4.102 to >=4.102.
Custom implementations of Element must declare:
-getChildren
-getDataAndAriaAttributes
-getDeclaredAttributes
as public. This was already the case at runtime, but the typechecker now also errors on this.
Helium
This release of sgml-stream-interfaces adds context lists to all methods.
Gold
This release changes the Flow game by increasing the amount of flows threefold.
For the upgrading guide, see upgrading-from-v0-to-v1. There are a couple of breaking changes, but almost all code written before today is compatible with v1.0.x. Upgrading should be a breeze.
In short, this release adds two brand new flow kinds:
Successor<Flow>Init<Flow>
The original / classic flow has been dubbed Descendant<Flow>. All three can still be passed to method expecting a Flow. They share the same familiar Flow methods, but they solve problems that previously required workarounds or global / static variables.
The Init<Flow> is meant to solve the following issue, how do I make decisions based on Flow in a DissolvableElement? The Init<Flow> is available everywhere.
The Successor<Flow> is meant to create order in an asynchronous world. Writes happen in source order. Reads are guaranteed to observe all writes from ancestors and none of the successors. Adding event handlers or otherwise dynamic <script> tags was the motivating use case.
A couple of components have been superseded. Those components have a @deprecated tag in their doc comments. You are still able to use them, but use of the new components is encouraged. There are no plans to remove the deprecated components in the near future.
Hardystonite
This release is byte identical to Diopside - v0.6.0, Sillmanite - v0.5.0, Magnetite - v0.4.0, and Ozone - v0.3.0.
The version number is receiving a bump to be in sync with sgml-stream. See the Hardystonite release over there for more information.
Diopside
This release of sgml-stream-interfaces drops support for hhvm < 4.102.
This release is byte identical to Sillimanite - v0.5.0, Magnetite - v0.4.0, and Ozone - v0.3.0.
Sillimanite
This release is byte identical to Magnetite - v0.4.0 and Ozone - v0.3.0.
The version number is receiving a bump to be in sync with sgml-stream. See the Ozone release over there for more information.
Magnetite
This release is byte identical to Ozone - v0.3.0.
The version number is receiving a bump to be in sync with sgml-stream. See the Ozone release over there for more information.
Ozone
This release makes Streamable imply \XHPChild.
You previously couldn't embed a Streamable in an XHP expression.
This was an oversight, since <p>{$streamable}</p> is handled correctly at runtime.
If you previously used <p>{vec[$streamable]}</p>, you can now remove this workaround.