Releases: thecodingmachine/safe
Releases · thecodingmachine/safe
v0.1.14
Bugfix:
- #93 Fixed openssl_encrypt with 5th argument
- #95 Added parse_url method
Improvements:
Thanks a lot to @jderusse for most of the issues of this release!
v0.1.13
Bugfix:
- #91 #86 Making parameters that are passed by reference and used only for output nullable.
v0.1.12
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:
v0.1.11
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
New feature:
- #72 #71 Added preg_replace to the list of wrapped functions (preg_replace returns null on error).
v0.1.9
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
Improvements:
- #59 Adding
array_combine
to the list of wrapped functions
v0.1.7
Bugfixes:
- #56 preg_split $limit argument was not nullable
- #57
func_get_arg
cannot be wrapped because it is context-aware
v0.1.6
Improvements:
- #52 #54 Added
filesize
to Safe functions.
v0.1.5
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: