Skip to content

Releases: sayyid5416/generalpy

v1.17.0 - have breaking changes

15 Jun 11:15
1fa2b43
Compare
Choose a tag to compare

v1.16.2

14 Feb 19:41
efdfdc8
Compare
Choose a tag to compare

What's changed

  • Improvements in Signal class

Full Changelog: v1.16.1...v1.16.2

v1.16.1

13 Feb 17:50
c765843
Compare
Choose a tag to compare

Minor Improvements

Full Changelog: v1.16.0...v1.16.1

v1.16.0

02 Feb 15:53
413336b
Compare
Choose a tag to compare

Async support in decoratos

  • conditional now Supports both sync and async methods

  • run_threaded for async now using create_task instead of await

v1.15.0

02 Feb 14:53
8015726
Compare
Choose a tag to compare

Added emit_async method in Signal class

  • Runs the connected function using async and await

Full Changelog: v1.14.0...v1.15.0

v1.14.0

02 Feb 13:04
f6bf87d
Compare
Choose a tag to compare

What's changed

  • run_threaded decorator can now handle both sync and async methods, but it only runs as await in main thread and not in a different thread when async
  • retry_support decorator can now handle both sync and async methods

v1.13.2

12 Jan 22:08
67fcbc5
Compare
Choose a tag to compare

What's new

  • Bug fix in decorator module

v1.13.1

12 Jan 22:04
da19ea7
Compare
Choose a tag to compare

What's new

  • Improvements in decorator module

v1.13.0

10 Jan 17:23
464d778
Compare
Choose a tag to compare

Added

  • sanitised_filename: Sanitize filename by replacing unsupported or non-printable characters (for windows).

v1.12.0

10 Jan 00:45
68106f9
Compare
Choose a tag to compare

New

  • format_bytes: Returns human readable formats from bytes.
  • class Calender_Class: Class Containing functions related to Calendar.
  • get_unsupported_file_path_chars: Returns A list of characters which can't use in file names (windows only)
  • __wrapped__ attribute can be used with run_threaded decorator to run the main function without running a thread.

Bug Fixes

  • Bug fixes in retry_support