Skip to content

Releases: thecodingmachine/safe

v1.0.3

21 Jan 09:15
6662d0b
Compare
Choose a tag to compare

Changelog:

v1.0.2

09 Jan 16:38
eb13cdb
Compare
Choose a tag to compare

Changelog:

v1.0.1

08 Jan 09:14
9acc5ae
Compare
Choose a tag to compare

Changelog:

  • cleaned README (#173)
  • fixed a bug with safe/datetimeimmutable (#180)
  • functions names in functionList (#177)
  • added support for rector 0.6 (#176)

Thanks to @localheinz and @bdsl for the help!

v1.0.0

19 Dec 15:09
25c3969
Compare
Choose a tag to compare

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

18 Dec 15:14
641198c
Compare
Choose a tag to compare

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

16 Dec 10:28
4ef3bb2
Compare
Choose a tag to compare

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

13 Dec 09:20
4ef3bb2
Compare
Choose a tag to compare
Pre-release

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

21 Oct 12:20
b8848b0
Compare
Choose a tag to compare
Pre-release

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

25 Jun 09:31
4e8f840
Compare
Choose a tag to compare

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

v0.1.15

17 Apr 16:16
9a4dbc5
Compare
Choose a tag to compare

Improvements:

  • #112 Added file and ssh2_sftp functions to the list of Safe functions // @j6s