Releases: ITzTravelInTime/Command
Version 2.1.3
- Now using the
SwiftPackagesBase
library to replace the array extensions implementation. - Removed the implementation of the array extensions (might break code for programs using them).
- Updated README, added info in the source code and updated copyright dates.
2.1.2
- Fixed a crash occurring when the
run
functions should return nil.
From version 2.1.1
- Fixed a problem with the playground not compiling properly when the library is used by other projects.
- Fixed Printer class ambiguity.
- Updated supported platforms.
From version 2.1.0:
- Added a
Printer
class to enable or disable debug prints. - Updated Tests to use supported methods instead of the deprecated
getOut
function. - Added a Demo playground to try the library.
- Updated the README.
- Updated System requirements, now this library will work on any OS X and macOS versions supported by Swift.
2.0.5
- Added more debug prints.
- Added
stringLine
as an extension to string arrays, this returns the string array as single line string made of the elements of the array separated by spaces. - Updated descriptions for functions.
- Bugifxes.
- Release worthy.
From last deleted releases:
-
Divided the source code into multiple files for better organisation
-
Added an extension to
[String]
to avoid having to make code to convert[String]
intoString
inside the Command-related functions and better avoid it's repetitions into projects using this library. -
The
CommandExecutor
protocol now includes a default implementation for therun
function so subclasses now can avoid usingCommand.genericRun
which has been deprecated and removed. -
Removed
Command.result
which has been replaced byCommand.Handle.result
-
Improved the implementation of the functions
-
Fixed errors with the documentation
-
Added deprecation messages
-
Divided the source code into multiple files for better organisation
-
Added an extension to
[String]
to avoid having to make code to convert[String]
intoString
inside the Command-related functions and better avoid it's repetitions into projects using this library. -
The
CommandExecutor
protocol now includes a default implementation for therun
function so subclasses now can avoid usingCommand.genericRun
which has been deprecated and removed. -
Removed
Command.result
which has been replaced byCommand.Handle.result
-
Improved the implementation of the functions
-
Fixed errors with the documentation
1.1.2
- Fixed bugs for extension libraries
1.1.1
Dropped the thread assertion check, it was too unreliable.
1.1.0
-Added a protocol called CommandExecutor
to manage Extensions of the Command
class
-Added generic implementation for the Command.run
function, called Command.genericRun
, so it can be used by extensions of Command
for compliance with CommandExecutor
-Made the Command
class compliant with the CommandExecutor
protocol
1.0.0
First release of this Library, check out the README and the source code to learn more about it.