my_utility 1.3.5
my_utility: ^1.3.5 copied to clipboard
This package contains various utility classes and extension methods.
1.3.5 #
-
Added library lib/json_converters/semver.dart
-
Now exporting package
version
from library lib/semver.dart
1.3.4 #
-
Changes to
JsonEnumConverter
in library lib/json_converters/json_enum_converter.dart:-
Removed the getters
enumJsonMap
andjsonEnumMap
-
Added the getter
enumValues
-
Removed override of the method
toJson
-
1.3.3 #
-
Changes to
JsonEnumConverter
in library lib/json_converters/json_enum_converter.dart:- Made the class abstract and changed the member
enumJsonMap
to an abstract getter
- Made the class abstract and changed the member
1.3.2 #
-
Added library lib/json_converters/json_enum_converter.dart
-
Changes for
MapMyUtilityExtension
in library lib/extensions/map.dart:-
Added method
inverted
toMapMyUtilityExtension
-
Improved method
toPrettyString
toMapMyUtilityExtension
-
-
Added library lib/dartx.dart, which just exports the dartx package.
1.3.1 #
- Bumped minimum Dart SDK up to
>=3.1.5
, because the Flutter SDK 3.13.9 uses Dart3.1.5
.
1.3.0 #
- Updated dependencies for Flutter SDK compatability packages. Now the minimum supported Flutter SDK is 3.13.9
1.2.2 #
-
Removed git dependency of package
dotenv
-
Added test for class
MariaDbDumpCliTool
-
Changed version constraints for dependency
xml
from6.3.0
to>=5.0.0 <=6.3.0
1.2.1 #
-
Added libraries
lib/reflection.dart
,lib/reflection/program_info.dart
,lib/errors.dart
,lib/errors/implementation_error.dart
,lib/errors/result_error.dart
andlib/errors/unreachable_code_error.dart
-
Added tests
test/async/call_once_test.dart
andtest/reflection/program_info_test.dart
1.2.0 #
-
Removed dependency
test_api
-
Constrained dependency
test
to^1.23.1
-
Removed
lib/test/bootstrap
,lib/test/fake.dart
andlib/test/scaffolding.dart
1.1.5 #
- Made member
encoder
of classFFProbeFormatTagsModel
nullable.
1.1.4 #
- Bugfix in
FFMpegCliTool.modifyAudioFile
1.1.3 #
- Bugfix in
FFMpegCliTool.modifyAudioFile
1.1.2 #
-
Modified
lib/cli/ffprobe.dart
-
Added methods
FFProbeCliTool.getModel
andMediaFormat.fromStreamModel
-
Deprecated methods
FFProbeCliTool.getStreamModels
andFFProbeCliTool.getMediaFormats
-
-
Removed dependency
archive
-
Bumped dependency
json_annotation
to^4.9.0
1.1.1 #
-
Modified lib
lib/test.dart
-
Added libs
lib/test/test.dart
,lib/test/scaffolding.dart
,lib/test/fake.dart
,lib/test/bootstrap/browser.dart
,lib/test/bootstrap/node.dart
andlib/test/bootstrap/vm.dart
-
Modified lib
lib/test/expect.dart
. Added export forpackage:test/expect.dart
-
1.1.0 #
-
Added lib
lib/async.dart
-
Moved lib
lib/call_once.dart
tolib/async/call_once.dart
-
Added lib
lib/async/completable_future.dart
-
Removed dependency
ansicolor
-
Added dependencies
test_api: ^0.4.18
,test: any
andcollection: ^1.17.1
to the normal package dependencies
1.0.2 #
-
Modified lib
lib/cli/ffmpeg.dart
- Added member
outputFilepath
to classAudioFileModificationProgressEvent
- Added member
1.0.1 #
-
Now exporting package
version
fromlib/cli/cli_tool.dart
-
Modified library
printers.dart
- Changed implementation of
setPrintersColorUsage
. This change does not affect any users.
- Changed implementation of
1.0.0 #
-
Added dependency
intl: ^0.18.0
-
Added library
call_once.dart
-
Added library
semver.dart
-
Added library
exceptions.dart
-
Modified library
json_converters.dart
:-
Added library
json_converters/duration.dart
with classesDurationNumberJsonConverter
DurationStringJsonConverter
-
Added library
json_converters/json_list_converter.dart
with the classJsonListConverter
-
-
Added library
typedefs.dart
-
Modified library
printers.dart
- Renamed functions
setColorUsage
tosetPrintersColorUsage
- Renamed functions
-
Replaced imports of
dart:io
with packageuniversal_io
-
Modified library
extensions.dart
-
Added methods
subdir
,containsSync
,contains
,file
anddirectory
toDirectoryMyUtilityExtension
. These methods were copied from package dartx 1.2.0. -
Added methods
appendBytes
,appendString
andforEachBlock
toFileMyUtilityExtension
. These methods were copied from package dartx 1.2.0. -
Added methods and getters
name
,nameWithoutExtension
,dirName
,isWithin
,withName
andextension
toFileSystemEntityMyUtilityExtension
. These methods were copied from package dartx 1.2.0. -
Added method
toHumanReadableTimestamp
toDateTimeMyUtilityExtension
-
-
Added cli tool
FFMpegCliTool
andFFProbeCliTool
0.0.40 #
-
Added extension
RandomMyUtilityExtension
-
Added extension
DoubleMyUtilityExtension
and classDoubleWithTolerance
-
Added library
date.dart
which containes the classesMyDateUtility
andMyDateTimeRange
-
Added tests for the new functionality
0.0.39 #
- Added method
FlutterCliTool.clean
0.0.38 #
- Allowing unrecognized keys when parsing flutter version
0.0.37 #
- Added
DumpOption.skipTriggers
0.0.36 #
- Added parameter
binLinks
to methodNpmCliTool.getPackages
0.0.35 #
- Added the
port
parameter to all methods of theMariaDbCliTool
andMariaDbDumpCliTool
0.0.34 #
- Bugfix in
PowershellCliTool.runScriptAsync
method
0.0.33 #
- Changed return value of
CliTool._consumeProcess
method toint
0.0.32 #
- Bugfix in
CliTool._consumeProcess
method
0.0.31 #
- Bugfix in
PowershellCliTool.runScriptAsync
method
0.0.30 #
- Added
PowershellCliTool.runScriptAsync
method
0.0.29 #
- Bugfix in
DartCliTool
: The constructor default initialized the executable withio.Platform.resolvedExecutable
, which works fine as long as no script is compiled, because the value ofio.Platform.resolvedExecutable
is the dart executable if a dart script is run, but if a dart script gets compiled, then the value of the resolved executable is the path to the compiled dart script.
0.0.28 #
- Added function
printProgessAnimation
toprinters.dart
0.0.27 #
- Bugfix in
MariaDbDatabase.write
where columns that needed an enclosure in single quotes did not get one, now this is properly managed.
0.0.26 #
-
Added sublibrary
printers.dart
-
Added sublibrary
string.dart
0.0.25 #
-
Improved mariadb schemas api
-
Added
encoding: io.systemEncoding
parameter tobatchFile.writeAsStringSync
in the constructor of aCliTool
0.0.24 #
-
Added method
FlutterVersion.toJsone
-
Added extension
MapMyUtilityExtension
0.0.23 #
- Added parameter
entrypoint
to methodFlutterCliTool.build
0.0.22 #
- Bugfix in they way some cli tools retrieve their version
0.0.21 #
-
Added the suffix
CliTool
to all subclasses of theCliTool
class -
Added
PowershellCliTool
0.0.20 #
- Renamed
MariaDbTable.hasRows
toMariaDbTable.hasColumnsWithRows
and fixed a bug in the getter that caused a crash if the table has no rows.
0.0.19 #
- Bugfix in
promptYesNo
0.0.18 #
- Bugfix in
MariaDbTable.checkColumns
, the program would crash if the table had no columns
0.0.17 #
-
Bugfix in
StringMyUtilityExtension.splitLines
-
Added
produceXml
parameter to methodMariaDbCliTool.execute
-
Added
produceXml
parameter to methodMariaDbDumpCliTool.dump
-
Added dart doc to the
DumpOption
enum -
Added
MariaDbDumpCliTool.dumpAndParse
method which returns an instance of the classMariaDbDatabase
that can be used to access the data of the dump result from a dart object.
0.0.16 #
- Now properly utilizing
windowsCodePage
.
0.0.15 #
- Added property
windowsCodePage
toCliTool
, also set the default value ofwindowsCodePage
toWindowsCodePage.utf8
.
0.0.14 #
-
Added
FileStatMyUtilityExtension
-
Added
NodeCli
0.0.13 #
- Fixed
FileSystemEntityMyUtilityExtension.absolutePosixPath
for windows
0.0.12 #
- Reverted changes from
0.0.11
and addedFileSystemEntityMyUtilityExtension.absolutePosixPath
extension getter
0.0.11 #
- Added
windows
parameter toDirectoryMyUtilityExtension.resolveUri
,DirectoryMyUtilityExtension.resolveUriSync
,FileMyUtilityExtension.resolveUri
andFileMyUtilityExtension.resolveUriSync
extension methods.
0.0.10 #
- Added
host
parameter to allMariaDbCliTool
andMariaDbDumpCliTool
methods.
0.0.9 #
- Added method
execute
toMariaDbCliTool
and fixed implementation ofrunSqlScript
andrestore
.
0.0.8 #
- Changed the default encoding for all cli methods to
UTF-8
.