1 /++ 2 Scriptlike_Changelog: 3 4 The latest version of this changelog is always available at:$(BR) 5 $(LINK http://semitwist.com/scriptlike/changelog.html ) 6 7 (Dates below are YYYY/MM/DD) 8 9 $(H2 v0.9.2 - 2015/07/10) 10 11 $(UL 12 $(FIXED 13 Properly flush all command echoing output 14 (ie, in $(API_CORE yap) and $(API_CORE yapFunc)). 15 ) 16 $(ENHANCE 17 Add a "no-build" configuration for projects that need to import/depend 18 on Scriptlike through DUB, but use their own buildsystem. 19 ) 20 ) 21 22 $(H2 v0.9.1 - 2015/06/28) 23 24 $(UL 25 $(FIXED Fails to compile unless the `makedocs` script has been run.) 26 ) 27 28 $(H2 v0.9.0 - 2015/06/27) 29 30 $(UL 31 $(CHANGE Split $(MODULE_FILE) and $(MODULE_PATH) into the following:$(BR) 32 $(UL 33 $(LI $(MODULE_CORE) ) 34 $(LI $(MODULE_FILE_EXTR) ) 35 $(LI $(MODULE_FILE_WRAP) ) 36 $(LI $(MODULE_PATH_EXTR) ) 37 $(LI $(MODULE_PATH_WRAP) ) 38 ) 39 Utilizes `package.d` to retain ability to import $(MODULE_FILE) and $(MODULE_PATH). 40 ) 41 $(CHANGE Convert changelog from markdown to $(DDOX) so links are more readable. ) 42 $(ENHANCE Add (opt-in) command echoing to most functions in $(MODULE_FILE). ) 43 $(ENHANCE 44 Add $(API_CORE yap) and $(API_CORE yapFunc) as improved versions 45 of to-be-deprecated $(API_CORE echoCommand). 46 ) 47 $(FIXED Make $(API_PATH_EXTR escapeShellArg) const-correct. ) 48 $(FIXED 49 Make $(API_PATH_EXTR Path.toRawString) and $(API_PATH_EXTR Ext.toRawString) 50 both be `pure @safe nothrow`. 51 ) 52 ) 53 54 $(H2 v0.8.1 - 2015/06/22) 55 56 $(UL 57 $(ENHANCE 58 New overload for $(API_INTERACT userInput) to allow type inference:$(BR) 59 `void userInput(T=string)(string question, ref T result);` 60 (suggestion from 61 $(LINK2 http://forum.dlang.org/post/povoxkcogcmbvhwlxqbc@forum.dlang.org, Per Nordlöw)). 62 ) 63 ) 64 65 $(H2 v0.8.0 - 2015/06/13) 66 67 $(UL 68 $(CHANGE 69 Minimum officially supported $(DMD) increased from v2.064.2 to v2.066.0. 70 Versions below v2.066.0 may still work, but there will now be certain 71 problems when dealing with paths that contain spaces, particularly 72 on Windows. 73 ) 74 $(CHANGE 75 Removed unnecessary non-$(API_PATH_EXTR Path) wrappers around $(MODULE_STD_FILE)/$(MODULE_STD_PATH). 76 Things not wrapped (like $(STD_PATH dirSeparator) and $(STD_FILE SpanMode)) 77 are now selective public imports instead of aliases. These changes should 78 reduce issues with symbol conflicts. 79 ) 80 $(CHANGE 81 $(LINK2 http://semitwist.com/scriptlike/, API reference) now built 82 using $(DDOX) and uses much improved styling (actually uses a stylesheet now). 83 ) 84 $(CHANGE 85 Eliminate remnants of the "planned but never enabled" wstring/dstring 86 versions of $(API_PATH_EXTR Path)/$(API_PATH_EXTR Ext)/$(API_PROCESS Args). There 87 turned out not to be much need for them, and even $(MODULE_STD_FILE) 88 doesn't support wstring/dstring either. 89 ) 90 $(CHANGE Put output binaries in "bin" subdirectory, instead of Scriptlike's root. ) 91 $(ENHANCE 92 Add module scriptlike.only to import all of scriptlike, but omit the 93 helper Phobos imports in scriptlike.std. 94 ) 95 $(ENHANCE 96 $(API_FAIL fail) now accepts an arbitrary list of args of any type, 97 just like $(STD_STDIO writeln), 98 ) 99 $(ENHANCE 100 Added $(API_FAIL failEnforce), like Phobos's $(STD_EXCEPTION enforce), 101 but for $(API_FAIL fail). 102 ) 103 $(ENHANCE 104 Added $(API_PROCESS runCollect) and $(API_PROCESS tryRunCollect), to 105 capture a command's output instead of displaying it. 106 ) 107 $(ENHANCE Added $(API_INTERACT pause) to pause and prompt the user to press Enter. ) 108 $(ENHANCE $(API_CORE echoCommand) is no longer private. ) 109 $(ENHANCE 110 Added $(API_PATH_EXTR Path)-based wrappers for $(MODULE_STD_FILE)'s 111 $(STD_FILE getcwd), $(STD_FILE thisExePath) and $(STD_FILE tempDir). 112 ) 113 $(FIXED No longer uses Phobos's deprecated $(STD_PROCESS system) function.) 114 ) 115 116 $(H2 v0.7.0 - 2015/04/02) 117 118 $(UL 119 $(ENHANCE 120 $(ISSUE 14): Added scriptlike.interact module for easy user-input prompts. 121 (Thanks to $(LINK2 https://github.com/JesseKPhillips, Jesse Phillips)) 122 ) 123 $(FIXED Unittest compile failure on $(DMD) v2.067.0. ) 124 ) 125 126 $(H2 v0.6.0 - 2014/02/16) 127 128 $(UL 129 $(CHANGE 130 $(API_PATH_EXTR Path) and $(API_PATH_EXTR Ext) are now aliases for the UTF-8 131 instantiations, and the template structs are now named `PathT` and `ExtT`. 132 ) 133 $(CHANGE 134 Removed `path()` and `ext()` helper functions to free up useful names 135 from the namespace, since they are no longer needed. Use `Path()` and 136 `Ext()` instead. 137 ) 138 $(CHANGE 139 Internally split into separate modules, but uses `package.d` to 140 preserve `import scriptlike;`. 141 ) 142 $(CHANGE Rename `escapeShellPath` -> $(API_PATH_EXTR escapeShellArg). ) 143 $(CHANGE 144 Rename $(API_PROCESS runShell) -> $(API_PROCESS tryRun). Temporarily keep 145 $(API_PROCESS runShell) as an alias. 146 ) 147 $(CHANGE 148 Rename $(API_CORE scriptlikeTraceCommands) -> $(API_CORE scriptlikeEcho). 149 Temporarily keep $(API_CORE scriptlikeTraceCommands) as an alias. 150 ) 151 $(ENHANCE Added scripts to run unittests and build API docs. ) 152 $(ENHANCE 153 Added $(API_PATH_EXTR Path.opCast) and $(API_PATH_EXTR Ext.opCast) for 154 converting to bool. 155 ) 156 $(ENHANCE 157 $(API_FAIL fail) no longer requires any boilerplate in `main()`. 158 ($(LINK2 http://forum.dlang.org/thread/ldc6qt$(DOLLAR)22tv$(DOLLAR)1@digitalmars.com, Newsgroup link)) 159 ) 160 $(ENHANCE 161 Added $(API_PROCESS run) to run a shell command like $(API_PROCESS tryRun), 162 but automatically throw if the process returns a non-zero error level. 163 ) 164 $(ENHANCE $(ISSUE 2): Optional callback sink for command echoing: $(API_CORE scriptlikeCustomEcho). ) 165 $(ENHANCE $(ISSUE 8): Dry run support via bool $(API_CORE scriptlikeDryRun). ) 166 $(ENHANCE 167 $(ISSUE 13): Added `ArgsT` (and $(API_PROCESS Args) helper alias) 168 to safely build command strings from parts. 169 ) 170 $(ENHANCE Added this changelog. ) 171 $(FIXED 172 $(API_PATH_EXTR Path)(null) and $(API_PATH_EXTR Ext)(null) were automatically 173 changed to empty string. 174 ) 175 $(FIXED $(ISSUE 10): Docs should include all OS-specific functions. ) 176 ) 177 178 $(H2 v0.5.0 - 2014/02/11) 179 180 $(UL 181 $(LI Initial release. ) 182 ) 183 184 Copyright: 185 Copyright (C) 2014-2015 Nick Sabalausky. 186 Portions Copyright (C) 2010 Jesse Phillips. 187 188 License: zlib/libpng 189 Authors: Nick Sabalausky, Jesse Phillips 190 +/ 191 module changelog;