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