summarylogtreecommitdiffstats
path: root/RELEASENOTES.md
blob: 5c8b432cd77b7cdd343c3e46cf5bfc93c276e929 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
### 5.0.3

* fix installer for (gasp) solaris

### 5.0.2

* Various small improvements

# 5.0.0

* BREAKING change `_parallel` functions to `__parallel`
* `very_short_sleep` can take a microsecond parameter now
* `log_entry` now truncates argument output for readability
* `dir_list_files` can be set to list symlinks only
* mulle-bashfunctions are started now with `'! /usr/bin/env/mulle-bash`
* removed unused functions like concat `(r_concat` stays)
* added self-documenting functionality to mulle-bashfunctions


### 4.1.1

* add `r_de_camel_case_upcase_identifier` back for backwards compatibility
* fix `_remove_file_if_present` ignoring `MULLE_FLAG_EXEKUTOR_DRY_RUN`

## 4.1.0

* renamed `r_de_camel_case_upcase_identifier` to `r_smart_upcase_identifier` because it does something slightly different now


# 4.0.0

* option -T is -lT now
* mulle-bashfunctions-env is now mulle-bashfunctions, which makes the `include_library` code much simpler
* `include_library` is now just include
* changed include guards to be more C like, enabling double inclusion of mulle-bashfunctions in various forms
* added mulle-boot so the startup code for zsh/bash detection can be more compact
* added .foreachline et.al aliases. This neccessitates moving the mulle-bashfunctions init to the top of file file **HUGE CHANGE**
* ``expand_aliases`` is now defined by default, to enable .foreachline loops
* use new macros .foreachline .do .done statement
* new function `include_mulle_tool_library`
* add `r_extensionless_filename`
* added mulle-bashfunctions-embed so an embedded mulle-bashfunctions-embed.sh file can be easily updated
* add username command to mulle-bashfunctions-env
* add a file to make mulle-bashfunctions embeddable in another script with the cost of adding 80k of script code
* provide `MULLE_USERNAME` to shell scripts
* `MULLE_EXEKUTOR_STRACKTRACE_RVAL` to trigger stacktrace on return value changed from 2 to 18
* `r_semicolon_concat` does not remove trailing stray ';' anymore for CSV benefit
* moved ``log_grep_warning_error`` back to tools
* fix ``shell_disable_pipefail``
* fix parallel for MacOS monterey
* avoid error if etc folder is missing
* avoid duplicate output of commandline in tee-logger routines
* rename `assert_sane_name` to `r_assert_sane_name`
* new functions `r_get_last_line` and `r_remove_last_line`
* now uses "almagamated" files for faster startup
* changed the way the `-t` flag is handled, you now need to query either ``options_setup_trace`` or ``_options_mini_main``
* mulle-bashfunctions is now **compatible with zsh**
* **BREAKING** removed a lot of unused functions, specifically those with a `r_` counterpart. maybe the only ones left are ``r_physicalpath/physicalpath`.`
* added `mulle-compatiblity.sh` as bash/zsh glue for shell differences
* **BREAKING** extglob is not set/unset on demand anymore. All shell scripts are expected to run with **extglob enabled**
* mulle-bashfunctions now has precompiled headers, that improve startup time

## 3.4.0

* make remaining static log strings configurable
* fix accidental clobber in `inplace_sed` if sed failed
* new function `dirs_contain_same_files`
* new debug flags -lX -lS -lD, you can specify the debug depth now with -lDDD (3) for example, which means the flag affects the current command and those called nested twice
* added logging tee exekutor functions from mulle-make for use in build scripts
* Avoid prompt in `remove_file_if_present`
* Added `r_remove_line_once` function
* Added `r_url_remove_file_compression_extension` function
* `r_expanded_string` is now a proper interpreter and not just an eval for safety
* added `r_unescaped_doublequotes` and `r_lines_in_range`
* New URL parser "mulle-url.sh".

## 3.3.0

* r_resolve_all_path_symlinks added


### 3.2.1

* use sysctl for loadavg on freebsd/darwin

## 3.2.0

* added `remove_duplicate_lines` functions
* changed/fixed parameter order in `merge_line_into_file` now line,file
* keep `exekutor_print` output down to 240 characters
* added `logging_tee_eval_exekutor` from mulle-make
* upped cmake requirement ot 3.13


### 3.1.1

* no color if TERM is dumb + one obvious bug fix in `merge_line_into_file`

## 3.1.0

* added `r_expanded_string` to do eval printf -v a bit more safely


### 3.0.1

* remove unused `add_cmake_path` and `add_cmake_path_if_exists`
* added `file_is_binary` to file functions
* the `logging_tee_eval_exekutor` has moved to mulle-make as it is only used there
* lost the init command, this is now handled by `mulle-sde add`, consequently had to up the version to 3
* `_init` now should call main via `call_with_flags "main"` to enable insertion of FLAGS via environment
* use ``NO_COLOR`` instead of ``MULLE_NO_COLOR`` since its a standardization attempt i can deal with

# 3.0.0

* added `file_is_binary` to file functions
* the `logging_tee_eval_exekutor` has moved to mulle-make as it is only used there
* lost the init command, this is now handled by `mulle-sde add`, consequently had to up the version to 3
* `_init` now should call main via `call_with_flags "main"` to enable insertion of FLAGS via environment
* use `NO_COLOR` instead of `MULLE_NO_COLOR` since its a standardization attempt i can deal with


### 2.0.2

* symlink resolver fix

### 2.0.1

* fix wrong caseconversion

# 2.0.0

* version 2
* remove `r_prepend_path_if_relative`
* remove some old unused functions for version 2
* standardize on `r_dirname` and `r_basename` and remove all the other variations
* redo mulle-init to use RVAL functions
* fix some bugs found by shellcheck


## 1.12.0

* mulle-bashfunctions gains an init command for quick script setup


## 1.11.0

* `find_item` added
* `r_basename` and `r_dirname` supplant `r_basename` and `r_dirname`
* improved the old array code with less backticks
* improved quoting code
* added `r_available_core_count` with heuristics
* added `make::common::log_grep_warning_error` for mulle-make
* exekutor routines now set `MULLE_EXEKUTOR_RVAL` for status
* fix escaping but in `de_camel_case`
* add `r_remove_lin,`  `r_add_unique_line` , `r_reverse_lines`
* change `filepath_concat` to respect trailing / if part of filename
* use $'\n' instead of literal linefeed
* removed unused function `write_protect_directory`


### 1.10.4

* `path_extension` returns empty on no path extension now

### 1.10.3

* add some missing files

### 1.10.2

* improved exekutor output with nicer quoting
* `MULLE_HOSTNAME` is prefixed with `'_'` if the first character is '.'
* add -t- and -l- option to negate debug flags
* renamed `reval_exekutor` to `eval_rexekutor`

### 1.10.1

* `MULLE_HOSTNAME` is prefixed with `'_'` if the first character is '.'
* add -t- and -l- option to negate debug flags
* renamed `reval_exekutor` to `eval_rexekutor`

## 1.10.0

* add -t- and -l- option to negate debug flags
* renamed `reval_exekutor` to `eval_rexekutor`


### 1.9.1

* fix installer

## 1.9.0

* support for parallel execution of commands
* moved some unused code to mulle-legacy.sh
* tmpfile support with RVAL interface
* version support with RVAL interface


## 1.8.0

* Various small improvements


## 1.7.0

* add `redirect_eval_exekutor`
* `inplace_sed` moved to mulle-file.sh to fix problems on freebsd

### 1.6.3

* fixes for mingw
* fix hostname for mingw

### 1.6.2

* fix hostname for mingw

### 1.6.1

* small cleanups

## 1.6.0

* add `MULLE_USER_PWD` and mulle-case.sh


### 1.5.7

* fix installer rename in brew formula

### 1.5.6

* add bash and uuidgen dependencies for debian

### 1.5.5

* fix README.md

### 1.5.4

* rename install to installer, because of name conflict

### 1.5.3

* fix README.md some more

### 1.5.2

* fix README.md

### 1.5.1

* improve README, rename install.sh to install

## 1.5.0

* add `escaped_singlequotes,` add `MULLE_HOSTNAME`


## 1.4.0

* add escaping function and `sed_inplace` replace
* fix display bugs


### 1.3.2

* less confusing pid logging in exekutors
* don't use gratuitous subshell in eval exekutors if they can be avoided

### 1.3.1

* use MULLE_UNAME instead of UNAME in the future

## 1.3.0

* improve startup time greatly
* avoid globbing problems in for loops
* fast_dirname and basename -- added


### 1.2.3

* make minimal loading possible, useful for many scripts
* fix bugs in versioning checks

### 1.2.2

* fix bad and superflous mktemp use

### 1.2.1

* fix for filepath concat

## 1.1.0

* improved concat
* remove snip, which is too specialized and was buggy
* add path_extension


# 1.0.0

* Initial spin-off from mulle-bootstrap. Heavily under-documented