Releases: thecodingmachine/safe
v1.0.3
v1.0.2
v1.0.1
v1.0.0
Changelog:
- Remove array_multisort (#167)
- Fixs several phpstan errors (#168)
- Dropped support for php 7.1
- Updated both phpstan dependancies to version 12 (#164)
- Added an optional pipeline for version 7.4. (it failed for now because of travis isn't stable with 7.4 yet)
- Removed Apcu_delete from the library (#149)
- Removed filter_has_var from the library (#162)
- Widen the type of in password_hash to string|int|null (#161)
- Update rector-migrate.yml to support Rector 0.5 (#154)
- Code cleanup
- Updated the internal php doc and phpstan package used to generate our functions
- Updated the way parameter types and return types (both doc-block and typehints) are extracted and parsed. We now use the phpstan functionMap.php as our source of reference before falling back to the php doc (it was the oposite before). We also have a file to overwrite phpstan doc when it contains errors.
- As a result a lot of functions have their typehints changed, hopefully for the best. (#134 #171)
- Added array_replace and array_replace_recursive. (#145 )
- OpensslException now use openssl_error_string to print its error message. (#148)
- Added Imagick functions (#132 )
- Added ini_get (#131)
- Created safe equivalents for the class DateTime and DateTimeImmutable. Theses will overload all functions in order to throw exception on errors if needed. (#138 )
- Remove forward_static_call and forward_static_call_array from supported functions (#129)
- Add .gitattributes (#127)
Fourth and last (for real this time) beta for version 1.0.0
Changelog:
- Remove array_multisort
- Fixs several phpstan errors
- Fixs an error in the exception generation introduced in beta2
Third (and hopefully last) beta for version 1.0.0
Changelog:
- dropped support for php 7.1
- updated both phpstan dependancies to version 12
- added an optional pipeline for version 7.4. (it failed for now because of travis isn't stable with 7.4 yet)
Second beta for version 1.0.0
Changelog:
- Deleted apcu_delete from the library
- Deleted filter_has_var from the library
- widen the type of in password_hash to string|int|null
- Update rector-migrate.yml to support Rector 0.5
- code cleanup
first beta for the version 1.0.0
Changelog:
-
Updated the internal php doc and phpstan package used to generate our functions
-
Rewrote the way parameter types and return types (both doc-block and typehints) are extracted and parsed. We now use the phpstan functionMap.php as our source of reference before falling back to the php doc (it was the oposite before). We also have a file to overwrite phpstan doc when it contains errors.
As a result a lot of functions have their typehints changed, hopefully for the best. (#134 #147) -
Added array_replace and array_replace_recursive. (#145 )
-
OpensslException now use openssl_error_string to print its error message. (#148)
-
Added Imagick functions (#132 )
-
Added ini_get (#131)
-
Created safe equivalents for the class DateTime and DateTimeImmutable. Theses will overload all functions in order to throw exception on errors if needed. (#138 )
-
Remove forward_static_call and forward_static_call_array from supported functions (#129)
-
Add .gitattributes (#127)
v0.1.16
Improvements:
- #114 Migrating from Rector 0.3 to Rector 0.4 file format
New safe functions added:
- #121 Added support for
readfile
,fbird_blob_cancel
,ibase_backup
,ibase_backup
,ibase_service_attach
,socket_wsaprotocol_info_export
,socket_wsaprotocol_info_import
,socket_wsaprotocol_info_release
,readgzfile
- #122 Added support for functions that return "null" on error (thanks @Kharhamel !):
array_flip
,sapi_windows_cp_conv
,socket_addrinfo_bind
,socket_addrinfo_connect
,socket_import_stream
- #123 Added support for
gethostname
,getimagesize