Marco Ricci commited on 2025-01-07 15:43:35
Zeige 10 geänderte Dateien mit 81 Einfügungen und 92 Löschungen.
... | ... |
@@ -1,25 +0,0 @@ |
1 |
-### Added |
|
2 |
- |
|
3 |
- - Both `derivepassphrase vault` and `derivepassphrase export vault` now |
|
4 |
- support changing the amount of diagnostic output they emit via new |
|
5 |
- command-line options `--debug`, `-v`/`--verbose` and `-q`/`--quiet`. |
|
6 |
- Internally, this uses Python's standard [logging][] and [warnings][] |
|
7 |
- systems. |
|
8 |
- |
|
9 |
-### Changed |
|
10 |
- |
|
11 |
- - Calling [`derivepassphrase_export`] |
|
12 |
- [derivepassphrase.cli.derivepassphrase_export], |
|
13 |
- [`derivepassphrase_export_vault`] |
|
14 |
- [derivepassphrase.cli.derivepassphrase_export_vault] or |
|
15 |
- [`derivepassphrase_vault`] |
|
16 |
- [derivepassphrase.cli.derivepassphrase_vault], or calling |
|
17 |
- [`derivepassphrase`] [derivepassphrase.cli.derivepassphrase] via its |
|
18 |
- [`.main`][click.BaseCommand.main] method, causes those functions to use |
|
19 |
- the standard Python [logging][] and [warnings][] facilities to issue |
|
20 |
- diagnostic messages, without output to standard error. (This includes |
|
21 |
- using [`click.testing.CliRunner`][], which uses `.main` calls under the |
|
22 |
- hood.) Calling [`derivepassphrase`] |
|
23 |
- [derivepassphrase.cli.derivepassphrase] directly as a function diverts |
|
24 |
- diagnostic messages to standard error. |
|
25 |
- |
... | ... |
@@ -1,19 +0,0 @@ |
1 |
-### Added |
|
2 |
- |
|
3 |
- - `derivepassphrase` now uses a central configuration file, and additional |
|
4 |
- data files, some of which are service-specific. (The `vault.json` |
|
5 |
- configuration file is now rebranded as a data file.) The configuration |
|
6 |
- files are user-editable, the data files are `derivepassphrase`-editable. |
|
7 |
- |
|
8 |
- The configuration files are in TOML format, so installing |
|
9 |
- `derivepassphrase` on Python 3.10 and older requires the |
|
10 |
- [`tomli`][tomli] package. |
|
11 |
- |
|
12 |
-[tomli]: https://pypi.org/project/tomli/ |
|
13 |
- |
|
14 |
-### Changed |
|
15 |
- |
|
16 |
- - Unicode normalization settings for `vault` service names and stored |
|
17 |
- passphrases are now stored in the central configuration file, instead of |
|
18 |
- the `vault` data file. |
|
19 |
- |
... | ... |
@@ -1,9 +0,0 @@ |
1 |
-### Added |
|
2 |
- |
|
3 |
- - `derivepassphrase` now includes basic support for localization: if the |
|
4 |
- necessary translations are installed, then the diagnostics and help |
|
5 |
- texts can be emitted in different languages. Internally, this uses |
|
6 |
- Python's standard [`gettext`][] system. |
|
7 |
- |
|
8 |
- (As of this version, no translations have actually been prepared yet.) |
|
9 |
- |
... | ... |
@@ -1,11 +0,0 @@ |
1 |
-### Added |
|
2 |
- |
|
3 |
- - `derivepassphrase` now explicitly supports shell completion, in |
|
4 |
- particular filename and service name completion in the `export vault` |
|
5 |
- and `vault` subcommands. |
|
6 |
- |
|
7 |
- However, because of restrictions regarding the exchange of data between |
|
8 |
- `derivepassphrase` and the shell, `derivepassphrase` will not offer any |
|
9 |
- service names containing ASCII control characters for completion, and |
|
10 |
- a warning will be issued when importing or configuring such a service. |
|
11 |
- They may still otherwise be used normally. |
... | ... |
@@ -1,10 +0,0 @@ |
1 |
-### Changed |
|
2 |
- |
|
3 |
- - `derivepassphrase` changed its license from [MIT][] to [zlib/libpng][]. |
|
4 |
- This should only make a difference to people redistributing altered |
|
5 |
- versions of `derivepassphrase`; the basic freedoms, and the |
|
6 |
- combinability of `derivepassphrase` with other software should be |
|
7 |
- unaffected. |
|
8 |
- |
|
9 |
-[MIT]: https://spdx.org/licenses/MIT.html |
|
10 |
-[zlib/libpng]: https://spdx.org/licenses/Zlib.html |
... | ... |
@@ -30,6 +30,86 @@ effectively constitute a new <q>major</q> release.) |
30 | 30 |
|
31 | 31 |
<!-- scriv changelog start --> |
32 | 32 |
|
33 |
+## 0.4.0 (2025-01-07) |
|
34 |
+ |
|
35 |
+### Added |
|
36 |
+ |
|
37 |
+ - Both `derivepassphrase vault` and `derivepassphrase export vault` now |
|
38 |
+ support changing the amount of diagnostic output they emit via new |
|
39 |
+ command-line options `--debug`, `-v`/`--verbose` and `-q`/`--quiet`. |
|
40 |
+ Internally, this uses Python's standard [logging][] and [warnings][] |
|
41 |
+ systems. |
|
42 |
+ |
|
43 |
+ - `derivepassphrase` now uses a central configuration file, and additional |
|
44 |
+ data files, some of which are service-specific. (The `vault.json` |
|
45 |
+ configuration file is now rebranded as a data file.) The configuration |
|
46 |
+ files are user-editable, the data files are `derivepassphrase`-editable. |
|
47 |
+ |
|
48 |
+ The configuration files are in TOML format, so installing |
|
49 |
+ `derivepassphrase` on Python 3.10 and older requires the |
|
50 |
+ [`tomli`][tomli] package. |
|
51 |
+ |
|
52 |
+ - `derivepassphrase vault --config` now supports an `--unset` option which |
|
53 |
+ unsets any given named setting prior to applying any other configuration |
|
54 |
+ changes. |
|
55 |
+ |
|
56 |
+ - `derivepassphrase vault --export` can now also export the current |
|
57 |
+ configuration as a POSIX `sh` script, using the `--export-as=sh` option. |
|
58 |
+ The default (and previous behavior) is `--export-as=json`. |
|
59 |
+ |
|
60 |
+ - `derivepassphrase` now includes basic support for localization: if the |
|
61 |
+ necessary translations are installed, then the diagnostics and help |
|
62 |
+ texts can be emitted in different languages. Internally, this uses |
|
63 |
+ Python's standard [`gettext`][] system. |
|
64 |
+ |
|
65 |
+ (As of this version, no translations have actually been prepared yet.) |
|
66 |
+ |
|
67 |
+ - `derivepassphrase` now explicitly supports shell completion, in |
|
68 |
+ particular filename and service name completion in the `export vault` |
|
69 |
+ and `vault` subcommands. |
|
70 |
+ |
|
71 |
+ However, because of restrictions regarding the exchange of data between |
|
72 |
+ `derivepassphrase` and the shell, `derivepassphrase` will not offer any |
|
73 |
+ service names containing ASCII control characters for completion, and |
|
74 |
+ a warning will be issued when importing or configuring such a service. |
|
75 |
+ They may still otherwise be used normally. |
|
76 |
+ |
|
77 |
+ - Support the semi-standard `NO_COLOR` and the `FORCE_COLOR` environment |
|
78 |
+ variables to suppress or force color output from `derivepassphrase`. |
|
79 |
+ (`FORCE_COLOR` overrides `NO_COLOR` if both are set.) |
|
80 |
+ |
|
81 |
+[tomli]: https://pypi.org/project/tomli/ |
|
82 |
+ |
|
83 |
+### Changed |
|
84 |
+ |
|
85 |
+ - Calling [`derivepassphrase_export`] |
|
86 |
+ [derivepassphrase.cli.derivepassphrase_export], |
|
87 |
+ [`derivepassphrase_export_vault`] |
|
88 |
+ [derivepassphrase.cli.derivepassphrase_export_vault] or |
|
89 |
+ [`derivepassphrase_vault`] |
|
90 |
+ [derivepassphrase.cli.derivepassphrase_vault], or calling |
|
91 |
+ [`derivepassphrase`] [derivepassphrase.cli.derivepassphrase] via its |
|
92 |
+ [`.main`][click.BaseCommand.main] method, causes those functions to use |
|
93 |
+ the standard Python [logging][] and [warnings][] facilities to issue |
|
94 |
+ diagnostic messages, without output to standard error. (This includes |
|
95 |
+ using [`click.testing.CliRunner`][], which uses `.main` calls under the |
|
96 |
+ hood.) Calling [`derivepassphrase`] |
|
97 |
+ [derivepassphrase.cli.derivepassphrase] directly as a function diverts |
|
98 |
+ diagnostic messages to standard error. |
|
99 |
+ |
|
100 |
+ - Unicode normalization settings for `vault` service names and stored |
|
101 |
+ passphrases are now stored in the central configuration file, instead of |
|
102 |
+ the `vault` data file. |
|
103 |
+ |
|
104 |
+ - `derivepassphrase` changed its license from [MIT][] to [zlib/libpng][]. |
|
105 |
+ This should only make a difference to people redistributing altered |
|
106 |
+ versions of `derivepassphrase`; the basic freedoms, and the |
|
107 |
+ combinability of `derivepassphrase` with other software should be |
|
108 |
+ unaffected. |
|
109 |
+ |
|
110 |
+[MIT]: https://spdx.org/licenses/MIT.html |
|
111 |
+[zlib/libpng]: https://spdx.org/licenses/Zlib.html |
|
112 |
+ |
|
33 | 113 |
## 0.3.3 (2024-11-28) |
34 | 114 |
|
35 | 115 |
### Added |