Skip to content

Latest commit

 

History

History
995 lines (543 loc) · 11.2 KB

changelog.md

File metadata and controls

995 lines (543 loc) · 11.2 KB

Changelog

All notable changes to this project will be documented in this file.

[v0.5.3]- 2024-05-06

Added

  • none

Fixed

  • none

Changed

  • 优化EncryptHelper::authcode

Removed

  • none

[v0.5.2]- 2023-06-25

Added

  • none

Fixed

  • 修复UrlHelper::getUrl

Changed

  • none

Removed

  • none

[v0.5.1]- 2023-06-20

Added

  • none

Fixed

  • 修复UrlHelper::getUrl
  • 修复ValidateHelper::isUrl

Changed

  • none

Removed

  • none

[v0.5.0]- 2023-06-16

Added

  • none

Fixed

  • none

Changed

  • 修改BaseService::getResult,取消类型限制

Removed

  • none

[v0.4.9]- 2023-06-15

Added

  • none

Fixed

  • none

Changed

  • 修改BaseService::$result类型为mixed

Removed

  • none

[v0.4.8]- 2023-06-06

Added

  • none

Fixed

  • 修复StrictObject::isset

Changed

  • 优化DateHelper::timestamp
  • 优化DateHelper::isBetween
  • 优化StringHelper::passwdSafeGrade

Removed

  • 移除DateHelper::dateTime
  • 移除DateHelper::yearMonth
  • 移除DateHelper::monthDay

[v0.4.7]- 2023-05-04

Added

  • 新增ArrayHelper::xmlToArray
  • 新增ArrayHelper::arrayToXml
  • 新增DateHelper::timestamp
  • 新增DateHelper::year
  • 新增DateHelper::month
  • 新增DateHelper::day
  • 新增DateHelper::hour
  • 新增DateHelper::minute
  • 新增DateHelper::second
  • 新增DateHelper::yearMonth
  • 新增DateHelper::monthDay
  • 新增DateHelper::format
  • 新增DateHelper::dateTime
  • 新增DateHelper::isBetween

Fixed

  • none

Changed

  • none

Removed

  • none

[v0.4.6]- 2023-02-28

Added

  • 新增BaseService::setResult
  • 新增BaseService::getResult

Fixed

  • none

Changed

  • none

Removed

  • none

[v0.4.5]- 2022-04-01

Added

  • none

Fixed

  • 优化EncryptHelper::authcode

Changed

  • none

Removed

  • none

[v0.4.4]- 2022-01-14

Added

  • 新增UrlHelper::getSiteUrl,根据网址获取站点URL

Fixed

  • none

Changed

  • OsHelper::getDomain移动到UrlHelper::getDomain
  • OsHelper::getUrl移动到UrlHelper::getUrl
  • OsHelper::getUri移动到UrlHelper::getUri

Removed

  • none

[v0.4.3]- 2022-01-13

Added

  • none

Fixed

  • none

Changed

  • 兼容php 8.0

Removed

  • none

[v0.4.2]- 2021-12-09

Added

  • none

Fixed

  • none

Changed

  • 修改常量DELIMITER

Removed

  • none

[v0.4.1]- 2021-10-24

Added

  • 增加StringHelper::toBytes
  • 增加StringHelper::bytes2Str

Fixed

  • none

Changed

  • none

Removed

  • none

[v0.4.0]- 2021-04-13

Added

  • 增加ValidateHelper::startsWiths
  • 增加ValidateHelper::endsWiths

Fixed

  • none

Changed

  • none

Removed

  • none

[v0.3.9]- 2021-02-23

Added

  • 增加OsHelper::remoteFileExists

Fixed

  • none

Changed

  • none

Removed

  • none

[v0.3.8]- 2021-01-11

Added

  • 增加OsHelper::isSsl

Fixed

  • none

Changed

  • none

Removed

  • none

[v0.3.7]- 2021-01-05

Added

  • 增加OsHelper::isAjax

Fixed

  • none

Changed

  • none

Removed

  • none

[v0.3.6]- 2020-12-19

Added

  • none

Fixed

  • none

Changed

  • 修改ArrayHelper::searchItem支持可迭代的对象
  • 修改ArrayHelper::searchMutil支持可迭代的对象

Removed

  • none

[v0.3.5]- 2020-12-18

Added

  • none

Fixed

  • none

Changed

  • 修改ArrayHelper::searchItem支持数组元素是对象
  • 修改ArrayHelper::searchMutil支持数组元素是对象

Removed

  • none

[v0.3.4]- 2020-12-10

Added

  • 添加OsHelper::runCommand
  • 添加ValidateHelper::isMacAddress
  • 添加Kph\Util\MacAddress

Fixed

  • none

Changed

  • 修改DebugHelper::errorLogHandler临时目录
  • 修改DirectoryHelper::formatDir,兼容windows路径
  • 修改OsHelper::getPhpPath,兼容windows

Removed

  • none

[v0.3.3]- 2020-12-8

Added

  • none

Fixed

  • none

Changed

  • 规范BaseService错误信息类型

Removed

  • none

[v0.3.2]- 2020-12-2

Added

  • 方法EncryptHelper::opensslEncrypt
  • 方法EncryptHelper::opensslDecrypt

Fixed

  • none

Changed

  • none

Removed

  • none

[v0.3.1]- 2020-11-25

Added

  • 方法ConvertHelper::hex2Str
  • 方法ConvertHelper::str2hex

Fixed

  • none

Changed

  • move ArrayHelper::array2Object to ConvertHelper::array2Object
  • move ArrayHelper::object2Array to ConvertHelper::object2Array

Removed

  • none

[v0.3.0]- 2020-11-21

Added

  • 方法NumberHelper::money2Yuan
  • 方法NumberHelper::nearLogarithm
  • 方法NumberHelper::splitNaturalNum
  • 方法OsHelper::getOS
  • 方法OsHelper::isMac
  • 方法StringHelper::grabBrackets
  • 方法StringHelper::stripBrackets
  • 方法StringHelper::toArray

Fixed

  • 修改BaseService::getError为null时类型错误

Changed

  • 修改FileHelper::img2Base64,增加图片类型
  • 修改StringHelper::dstrpos,使用mb_strpos

Removed

  • none

[v0.2.9]- 2020-11-16

Added

  • 方法FileHelper::formatPath
  • 方法FileHelper::getAbsPath
  • 方法FileHelper::getRelativePath
  • 方法ValidateHelper::isNaturalRange

Fixed

  • none

Changed

  • 修改DirectoryHelper::formatDir,允许特殊字符

Removed

  • none

[v0.2.8]- 2020-10-31

Added

  • 方法DateHelper::startOfHour
  • 方法DateHelper::endOfHour

Fixed

  • none

Changed

  • none

Removed

  • none

[v0.2.7]- 2020-10-31

Added

  • none

Fixed

  • 修复ArrayHelper::object2Array当对象内嵌对象时不转换问题

Changed

  • none

Removed

  • none

[v0.2.6]- 2020-10-19

Added

  • 新增NumberHelper::numberSub数值截取方法

Fixed

  • none

Changed

  • 修改NumberHelper::numberFormat,去掉参数$decPoint$thousandssep

Removed

  • none

[v0.2.5]- 2020-10-15

Added

  • none

Fixed

  • none

Changed

  • 修改DirectoryHelper::getFileTree,弃用glob函数

Removed

  • none

[v0.2.4]- 2020-09-25

Added

  • none

Fixed

  • none

Changed

  • 修改ArrayHelper::regularSort,增加参数$recursive是否递归

Removed

  • none

[v0.2.2]- 2020-09-22

Added

  • none

Fixed

  • none

Changed

  • 修改ArrayHelper::cutItems,增加参数$keepKey是否保留键名

Removed

  • none

[v0.2.1]- 2020-09-17

Added

  • none

Fixed

  • 修复Kph\Concurrent\makeClosureFun

Changed

  • none

Removed

  • none

[v0.2.0]- 2020-06-20

Added

  • none

Fixed

  • none

Changed

  • 优化EncryptHelper::authcode

Removed

  • none

[v0.1.9]- 2020-05-20

Added

  • none

Fixed

  • 修复StringHelper::toCamelCase当输入首字母大写的驼峰字符串失败问题

Changed

  • none

Removed

  • none

[v0.1.8]- 2020-05-19

Added

  • none

Fixed

  • none

Changed

  • 方法ValidateHelper::isIndexArray参数不限制类型
  • 方法ValidateHelper::isAssocArray参数不限制类型
  • 方法ValidateHelper::isOneDimensionalArray参数不限制类型

Removed

  • none

[v0.1.7]- 2020-05-18

Added

  • 方法ValidateHelper::isOneDimensionalArray

Fixed

  • none

Changed

  • none

Removed

  • none

[v0.1.6]- 2020-05-18

Added

  • none

Fixed

  • 修复BaseObject::getClassMethods当$filter为null时,在php7.2下失败的问题

Changed

  • none

Removed

  • none

[v0.1.5]- 2020-05-18

Added

  • 方法ArrayHelper::regularSort
  • 方法BaseObject::formatNamespace
  • 方法BaseObject::getClass
  • 方法BaseObject::getClassMethods
  • 方法ValidateHelper::isEqualArray

Fixed

  • 修复ValidateHelper::isIndexArray存在负数索引时的问题

Changed

  • none

Removed

  • none

[v0.1.4]- 2020-05-17

Added

  • 方法NumberHelper::randFloat

Fixed

  • none

Changed

  • none

Removed

  • none

[v0.1.3]- 2020-05-16

Added

  • 方法ValidateHelper::isAssocArray
  • 方法ValidateHelper::isIndexArray
  • 方法ArrayHelper::compareSchema

Fixed

  • none

Changed

  • none

Removed

  • none

[v0.1.2]- 2020-05-08

Added

  • 方法DateHelper::startOfDay
  • 方法DateHelper::endOfDay
  • 方法DateHelper::startOfMonth
  • 方法DateHelper::endOfMonth
  • 方法DateHelper::startOfYear
  • 方法DateHelper::endOfYear
  • 方法DateHelper::startOfWeek
  • 方法DateHelper::endOfWeek

Fixed

  • none

Changed

  • none

Removed

  • none

[v0.1.1]- 2020-04-28

Added

  • none

Fixed

  • 修复ValidateHelper::isNaturalNum为0时错误

Changed

  • none

Removed

  • none

[v0.1.0]- 2020-04-09

Added

  • 方法NumberHelper::numberForma
  • 方法OsHelper::isCliMode
  • 方法StringHelper::contains
  • 方法StringHelper::middle
  • 方法StringHelper::uuidV4
  • 方法ValidateHelper::isAlpha
  • 方法ValidateHelper::isAlphaChinese
  • 方法ValidateHelper::isAlphaNum
  • 方法ValidateHelper::isAlphaNumChinese
  • 方法ValidateHelper::isAlphaNumDash
  • 方法ValidateHelper::isAlphaNumDashChinese

Fixed

  • none

Changed

  • none

Removed

  • none

[v0.0.8]- 2020-03-12

Added

  • 方法ArrayHelper::setDotKey
  • 方法ArrayHelper::getDotKey
  • 方法ArrayHelper::hasDotKey

Fixed

  • none

Changed

  • none

Removed

  • none

[v0.0.7]- 2020-03-11

Added

  • 方法ValidateHelper::isQQ
  • 方法ValidateHelper::isNaturalNum
  • 方法StringHelper::passwdSafeGrade

Fixed

  • none

Changed

  • none

Removed

  • none

[v0.0.6]- 2020-03-10

Added

  • 方法BaseObject::parseNamespacePath
  • 方法BaseObject::getShortName
  • 方法BaseObject::getNamespaceName

Fixed

  • none

Changed

  • none

Removed

  • 方法BaseObject::getClassShortName

[v0.0.5]- 2020-03-10

Added

  • 常量Consts::DELIMITER
  • 常量Consts::PAAMAYIM_NEKUDOTAYIM

Fixed

  • none

Changed

  • none

Removed

  • none

[v0.0.4]- 2020-03-09

Added

  • 方法ValidateHelper::isMultibyte
  • Kph\Exceptions\BaseException
  • Kph\Exceptions\UncatchableException

Fixed

  • 修复StringHelper::fixHtmlBUG,使用DOMDocument替代正则
  • 修复Concurrent\co错误捕获

Changed

  • rename DirectoryHelper::emptyDir to DirectoryHelper::clearDir
  • 修改Future::resolve,支持处理value是is_callable的情况

Removed

  • Kph\Concurrent\Exception\UncatchableException

[v0.0.3]- 2020-03-06

Added

  • 方法StringHelper::trim
  • 方法StringHelper::toCamelCase
  • 方法StringHelper::toSnakeCase
  • 方法StringHelper::toKebabCase
  • 方法StringHelper::removeBefore
  • 方法StringHelper::removeAfter
  • 方法ValidateHelper::isSpace
  • 方法ValidateHelper::isWhitespace

Fixed

  • none

Changed

  • ArrayHelper::dstrpos 改为StringHelper::dstrpos
  • StringHelper::removeSpace 增加参数$all
  • ValidateHelper::startsWith 增加参数$ignoreCase
  • ValidateHelper::endsWith 增加参数$ignoreCase

Removed

  • none

[v0.0.2]- 2020-03-03

Added

  • 方法NumberHelper::geoDistance
  • 方法StringHelper::removeEmoji

Fixed

  • none

Changed

  • none

Removed

  • none