| 1 |
crudini NEWS -*- outline -*- |
| 2 |
|
| 3 |
* Noteworthy changes in release 0.9.6 (2025-04-16) |
| 4 |
|
| 5 |
Support BOM correctly. Previously we would have stripped any |
| 6 |
Byte Order Mark, and incorrectly matched items on the first line. |
| 7 |
|
| 8 |
Extraneous blank lines are avoided when deleting a section. |
| 9 |
Previously blank lines preceeding a [section] were not removed. |
| 10 |
Note this will collapse multiple empty lines preceding all sections. |
| 11 |
|
| 12 |
Support creating a section called "default". Previously this |
| 13 |
would have been disallowed, with an invalid section name error. |
| 14 |
|
| 15 |
Support ensuring a single space in all 'name = value' entries in the file |
| 16 |
with --ini-options=space. This is symmetric and opposite to the existing |
| 17 |
--ini-options=nospace option. |
| 18 |
|
| 19 |
Support ensuring a single blank line between sections, and no blank lines |
| 20 |
at the start or end of the file, with --ini-options=sectionspace. |
| 21 |
|
| 22 |
|
| 23 |
* Noteworthy changes in release 0.9.5 (2023-10-04) |
| 24 |
|
| 25 |
** Improvements |
| 26 |
|
| 27 |
Support for multiple --set and --del, or --get operations, |
| 28 |
allowing for more efficient and atomic updates to multiple parameters. |
| 29 |
|
| 30 |
Support indented ini files with --ini-options=ignoreindent. |
| 31 |
Indentation is ignored (and maintained) in the ini file. |
| 32 |
|
| 33 |
--format=sh will now attempt to output a whole ini file in sh format. |
| 34 |
Previously it would have only printed the section names. |
| 35 |
|
| 36 |
|
| 37 |
* Noteworthy changes in release 0.9.4 (2022-12-23) |
| 38 |
|
| 39 |
** Bug fixes |
| 40 |
|
| 41 |
Fix updating of flag only parameters so they |
| 42 |
don't have '=' or '=crudini_no_arg' added added on update. |
| 43 |
|
| 44 |
Handle closed stdin/stdout gracefully, without giving errors. |
| 45 |
|
| 46 |
** Improvements |
| 47 |
|
| 48 |
Windows support. |
| 49 |
|
| 50 |
Windows line endings are maintained. |
| 51 |
|
| 52 |
Lists can be delimited with arbitrary whitespace with `--list-sep=`. |
| 53 |
|
| 54 |
Support for unspaced "name=val" format with `--ini-options=nospace`. |
| 55 |
|
| 56 |
|
| 57 |
* Noteworthy changes in release 0.9.3 (2019-08-30) |
| 58 |
|
| 59 |
** Bug fixes |
| 60 |
|
| 61 |
Reading ini files with windows line endings is again supported. |
| 62 |
Regression added in v0.9. |
| 63 |
|
| 64 |
** Improvements |
| 65 |
|
| 66 |
python 3 support. |
| 67 |
|
| 68 |
|
| 69 |
* Noteworthy changes in release 0.9 (2016-12-13) |
| 70 |
|
| 71 |
** Bug fixes |
| 72 |
|
| 73 |
Write errors to stdout are diagnosed correctly and consistently. |
| 74 |
|
| 75 |
Replacing symlinks now replaces the target rather than the symlink itself. |
| 76 |
|
| 77 |
** Changes in behavior |
| 78 |
|
| 79 |
The case of parameters is maintained with --get. |
| 80 |
|
| 81 |
** Improvements |
| 82 |
|
| 83 |
Single token parameters (without equals) are now supported, |
| 84 |
which are used in mysql config for example. |
| 85 |
|
| 86 |
|
| 87 |
* Noteworthy changes in release 0.8 (2016-11-23) |
| 88 |
|
| 89 |
** Bug fixes |
| 90 |
|
| 91 |
crudini now handles parameters starting with "rem". |
| 92 |
Previously an entry such as "remote = 1" would be ignored. |
| 93 |
|
| 94 |
** New features |
| 95 |
|
| 96 |
Support mercurial config files by treating lines starting |
| 97 |
with '%' as comments, thus ignoring mercurial '%include' |
| 98 |
and '%unset' directives. |
| 99 |
|
| 100 |
|
| 101 |
* Noteworthy changes in release 0.7 (2015-06-14) |
| 102 |
|
| 103 |
** Bug fixes |
| 104 |
|
| 105 |
crudini no longer removes a blank line from the start of a file |
| 106 |
which has no sections, or options outside a section. |
| 107 |
[bug introduced in version 0.5] |
| 108 |
|
| 109 |
Files are now synced after writing for better Durability. |
| 110 |
|
| 111 |
Separate locking files are no longer used which avoids |
| 112 |
deadlock in cases where the system is stopped in the |
| 113 |
small window where these files exist. |
| 114 |
|
| 115 |
|
| 116 |
* Noteworthy changes in release 0.5 (2015-01-28) |
| 117 |
|
| 118 |
** Bug fixes |
| 119 |
|
| 120 |
Lock files are cleaned up robustly. Previously there was a race condition |
| 121 |
resulting in blocked subsequent edits, due to a lingering lock file. |
| 122 |
|
| 123 |
--del will ignore requests to delete a parameter in a non-existing section |
| 124 |
(unless --existing is used). Previously it failed citing the missing section. |
| 125 |
|
| 126 |
** New features |
| 127 |
|
| 128 |
The --existing option takes parameters to give more control over what needs |
| 129 |
to pre-exist. So you can specify for example that a file needs to exist, |
| 130 |
but any items within it are created as needed. |
| 131 |
|
| 132 |
A new --verbose option was added to indicate on stderr wether the |
| 133 |
request resulted in a config change or not. This can be used to |
| 134 |
determine whether to restart programs etc. |
| 135 |
|
| 136 |
** Changes in behavior |
| 137 |
|
| 138 |
Files are created by default if missing, unless --existing is specified. |
| 139 |
|
| 140 |
** Improvements |
| 141 |
|
| 142 |
Protections against creating unparseable ini files were added. |
| 143 |
|
| 144 |
stdin can be parsed just as with normal files. |
| 145 |
|
| 146 |
File writes are avoided if there are no changes to the config. |