Skip to content

Releases: thecodingmachine/safe

v0.1.14

07 Mar 13:58
67b654c
Compare
Choose a tag to compare

Bugfix:

  • #93 Fixed openssl_encrypt with 5th argument
  • #95 Added parse_url method

Improvements:

  • #96 #98 Improve documentation

Thanks a lot to @jderusse for most of the issues of this release!

v0.1.13

30 Jan 21:13
4a8c8e5
Compare
Choose a tag to compare

Bugfix:

  • #91 #86 Making parameters that are passed by reference and used only for output nullable.

v0.1.12

30 Jan 15:09
a18b1fe
Compare
Choose a tag to compare

Breaking changes:

  • #90 Removing array_search and mb_check_encoding from supported functions

Added functions:

  • #84 fsockopen
  • #85 pspell_new_config

Bugfixes:

  • #85 Functions with "weird" default parameters were not correctly handled

Minor:

  • #79 Fixing PHPDoc

v0.1.11

11 Jan 09:06
5687cf3
Compare
Choose a tag to compare

Breaking changes:

  • #74 Dropped call_user_func_array from the list of Safe methods

Note: I exceptionally include a breaking change in this minor release. The issue is too big not to be noticed so if users are already using \Safe\call_user_func_array, they should stop at once.

v0.1.10

10 Jan 13:47
3980192
Compare
Choose a tag to compare

New feature:

  • #72 #71 Added preg_replace to the list of wrapped functions (preg_replace returns null on error).

v0.1.9

04 Jan 17:25
ea27765
Compare
Choose a tag to compare

Bug fixes:

  • Fixed mktime signature
  • Added array_search, filter_input_array, ldap_add_ext, ldap_bind_ext, ldap_delete_ext, ldap_mod_add_ext, ldap_mod_del_ext, ldap_mod_replace_ext, ldap_rename_ext, libxml_get_last_error, mysqli_get_cache_stats, mysqli_get_client_stats, oci_set_call_timeout, oci_set_db_operation, sqlsrv_client_info, sqlsrv_get_field, sqlsrv_num_fields, ssdeep_fuzzy_compare, ssdeep_fuzzy_hash_filename, ssdeep_fuzzy_hash, md5_file, sha1_file.

v0.1.8

13 Nov 09:02
Compare
Choose a tag to compare

Improvements:

  • #59 Adding array_combine to the list of wrapped functions

v0.1.7

08 Nov 14:47
Compare
Choose a tag to compare

Bugfixes:

  • #56 preg_split $limit argument was not nullable
  • #57 func_get_arg cannot be wrapped because it is context-aware

v0.1.6

30 Oct 16:51
Compare
Choose a tag to compare

Improvements:

  • #52 #54 Added filesize to Safe functions.

v0.1.5

24 Sep 20:29
56fcae8
Compare
Choose a tag to compare

Breaking changes:

  • base64_encode was removed (because doc has been changed: it can no longer return false!)
  • 3 functions removed because alternative functions have been added.

Note: this package is relatively new and the bugfix is very important so I'm willfully breaking semver here, shipping breaking changes in a minor release.

Bugfix:

  • #46 #47 Fixing the namespace of all objects used in generated code

Improvements:

  • #45 improved README