Skip to content

Latest commit

 

History

History
162 lines (87 loc) · 10.4 KB

CHANGELOG.md

File metadata and controls

162 lines (87 loc) · 10.4 KB

0.16.0 (2024-02-24)

Bug Fixes

  • utils: fix the return type of isWeakSet and isWeakMap (326fa91)

Features

  • utils: add concurrent and serial modes to preload images (115f7dd)
  • utils: add ensurePrefix and ensureSuffix (3355b0b)
  • utils: add hasOwnProperty alias to hasKey (bd1fa23)
  • utils: add isMath to determine whether the data is Math (4fa9596)
  • utils: add isOdd and isEven, and add some wrapper funtions named isInteger and isSafeInteger (ad346f8)
  • utils: add isPromise to determine whether the data is Promise (5e387d9)
  • utils: add removeHtmlTags and html2text (911c99b)
  • utils: add some wrapper funtions named isFinite, isArray, isNaN (ed7884d)
  • utils: add toArray to make sure the data you get is an array (c8b2887)
  • utils: adjust the judgment of isFunction to typeof, and add isAsyncFunction (82d9f45)
  • utils: cancel lowercase conversion of data types (a807f97)
  • utils: split UA to desktop and mobile categories, and support get a random UA on the specified device type (e5fe3be)

0.15.0 (2024-02-16)

Bug Fixes

  • typescript overwrite warning (ced9c2c)

Features

  • utils: add dev and prod into RuntimeEnv types (7252e6d)
  • utils: add inRange to checks if a number is between minimum and maximum (8031f98)
  • utils: add isAppleDevice to checks if the code is being executed on an apple device (cd1e355)
  • utils: add isTablet to checks if the code is being executed on a tablet device (86f1dc4)
  • utils: add isXX methods to check whether the data is of the specified type (03e3dee)
  • utils: add noop and pnoop for no operation function (8e5d006)
  • utils: clipboard add fallback mechanism (39cc4b2)

0.14.0 (2023-10-16)

Features

  • utils: add comments (b9808e9)
  • utils: add getBytes to convert string to byte stream (796f18d)
  • utils: add jsonp to get cross-domain data (dcfd111)
  • utils: add orientation media query and judgment (fc8ec6d)
  • utils: add preloadImages to preload large images in advance (3aa676d)

0.13.0 (2023-09-23)

Features

  • utils: add comments (b9808e9)
  • utils: add jsonp to get cross-domain data (3b51036)

0.12.0 (2023-07-09)

Bug Fixes

Features

  • utils: add debounce, when an event is triggered frequently, only execute the event processing function once (3a5e4df)
  • utils: add formatDuration to generally used to format the display of two time gaps, such as countdown (6e31c4d)
  • utils: add formatTime to format the time as yyyy-MM-dd HH:mm:ss (70e0989)
  • utils: add throttle, can control how often a function is called within a specified time interval (6b82378)

0.11.2 (2023-03-19)

Bug Fixes

  • utils: the loadRes method should only load resources with the same ID once (ad1d6ed)

0.11.1 (2023-03-17)

Bug Fixes

  • utils: loadRes missing ID binding when loading script (e2869c5)

0.11.0 (2023-02-19)

Features

0.10.0 (2023-02-05)

Bug Fixes

  • utils: cancel the capitalize method to convert letters to lowercase (de2ae4d)

Features

  • utils: add camelCase format (8c49b61)
  • utils: add kebabCase format (54a1da5)
  • utils: add pascalCase format (51d2b30)

0.9.0 (2023-01-26)

Bug Fixes

Features

  • utils: add a function to load resoures (629983d)
  • utils: add appearance (47cbcaf)
  • utils: add capitalize (93f0d79)
  • utils: add clipboard (55ce95b)
  • utils: add device resize watcher (f01291f)
  • utils: add device resize watcher options (071812d)
  • utils: add env and runtime (8176cd6)
  • utils: add escapeRegExp (70e023a)
  • utils: add format methods (183a1dd)
  • utils: add functions to handle url query (1853cfb)
  • utils: add methods of file (f6a379e)
  • utils: add random functions (0193693)
  • utils: add regexp into data type (f7e6f37)
  • utils: add regexp utils (71de147)
  • utils: add sleep (be93612)
  • utils: add sortKeys (d5bff02)
  • utils: add storage with browser and other platform (bffcc4b)
  • utils: add unique (8d3a0b3)