-
-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[meta] version 2.0 #237
Comments
@veewee are you aware of any other places where we can make use of enums instead of scalar arguments? 🤔 |
Scrolled to the source - but havent found much of those. |
What is the recommended way to install that?
|
oh shout! i completely missed that! there has been a new release for revolt ( https://github.com/revoltphp/event-loop/releases/tag/v0.2.4 ), so PSL should use that instead of dev-main. @simPod can you send a PR for this? otherwise, i can do this tomorrow evening. |
Here #348 |
released 2.0.1 with the fix, thank you :) |
new components:
Awaitable
handle + async helpers based onrevolt
( feat(async): add async I/O support #244 )Network
component ( feat(network): introduce network, tcp, and unix components #257 )Network
component ( feat(network): introduce network, tcp, and unix components #257 )features:
backward compatibility breaking changes:
IO
component to make use ofAsync
component ( non-blocking ) ( feat(io): refactor IO component to use Async component #249 )write_file
) to useFile
component ( non-blocking ) ( feat(filesystem): refactorPsl\Filesystem\write_file
,Psl\Filesystem\append_file
, andPsl\Filesystem\read_file
to usePsl\File
component. #251 )?string $encoding = null
argument withEncoding $encoding = Encoding::UTF_8
whereEncoding
is an enum with all possible encodings ( feat(str): use enum for encoding #259 )Type\object
toType\instance_of
,Type\object
will be reintroduced in 2.1, where it would behave as a generic type for all objects, with signature offunction object(): TypeInterface<object>
. ( done in feat(type): add instance_of() function #248 )other:
The text was updated successfully, but these errors were encountered: