ffee25004de84db0bd97122e290595a247961628
Marco Ricci Add a changelog and support...

Marco Ricci authored 3 months ago

1) # Changelog for `derivepassphrase`
2) 
3) [![Keeping a changelog][CHANGELOG_BADGE]][KEEP_A_CHANGELOG]
4) [![Using Semantic Versioning][SEMVER_BADGE]][SEMANTIC_VERSIONING]
5) 
6)   [CHANGELOG_BADGE]: Keep_a_changelog-E05735.svg
7)   [SEMVER_BADGE]: SemVer-3F4551.svg
8)   [KEEP_A_CHANGELOG]: https://keepachangelog.com/en/1.1.0/ 'Keeping a changelog'
9)   [SEMANTIC_VERSIONING]: https://semver.org/ 'Using Semantic Versioning'
10) 
11) <aside markdown><small>
12) (All entries are from the perspective of a user, not a developer.
13) The <q>public API</q>, as defined by Semantic Versioning, is outlined in the
14) [Reference section][REFERENCE]: the set of documented modules, classes,
15) methods and functions, and the documented behavior, options and arguments of
16) the command-line tools.
17) As per the Semantic Versioning and the Keep a Changelog terminology,
18) <q>Fixed</q> entries justify a <q>patch</q> release,
19) <q>Added</q> and <q>Deprecated</q> entries a <q>minor</q> release,
20) and <q>Changed</q> and <q>Removed</q> entries a <q>major</q> release.
21) <q>Security</q> can justify any type of release;
22) if <q>major</q> or <q>minor</q>, these are accompanied by corresponding
23) entries of the respective types above.
24) Again as per Semantic Versioning, at major version zero, the above
25) justification is not yet binding, and <em>any</em> new release may
26) effectively constitute a new <q>major</q> release.)
27) </small></aside>
28) 
Marco Ricci Streamline documentation fi...

Marco Ricci authored 2 months ago

29)   [REFERENCE]: reference/index.md
Marco Ricci Add a changelog and support...

Marco Ricci authored 3 months ago

30) 
Marco Ricci Switch from towncrier to sc...

Marco Ricci authored 1 month ago

31) <!-- scriv changelog start -->
Marco Ricci Add a changelog and support...

Marco Ricci authored 3 months ago

32) 
Marco Ricci Release 0.3.1

Marco Ricci authored 3 weeks ago

33) ## 0.3.1 (2024-10-21)
34) 
35) ### Fixed
36) 
37)   - Improve the [basic setup (passphrase)][TUTORIAL_BASIC_PASSPHRASE]
38)     tutorial.  Also incorporate feedback.
39)   - Fix PyPI classification: Python 3.9 is supported.
40)   - *Actually* remove the `derivepassphrase_export` program, which was
41)     turned into a subcommand in v0.2.0.
42) 
43) [TUTORIAL_BASIC_PASSPHRASE]: tutorials/basic-setup-passphrase.md
44) 
Marco Ricci Release 0.3.0

Marco Ricci authored 4 weeks ago

45) ## 0.3.0 (2024-10-15)
46) 
47) ### Added
48) 
49)   - Convert changelog management from towncrier to [scriv][].
50)   - Add SSH agent spawning support to the test suite.  Use this support to
51)     test the agent functionality on all known major SSH agent
52)     implementations automatically. ([#12])
53)   - Add [hypothesis][]-based tests to the test suite.
54)   - Update README to add explanations for virtual environments and package
55)     extras.
56)   - Update README to demonstrate configuration storing and SSH agent use.
57)     Include comments on Windows support for SSH agents.
58)   - Use cross-references in the documentation of function signatures.
59)   - Add proper support for Buffer types in the SSH agent client.  Any
60)     Python object supporting the buffer protocol can be used as input to
61)     a function of the client, and any output from the client is returned
62)     as bytes objects.  Because of the zero-copy semantics of the
63)     underlying data/memory block, this should stay relatively time- and
64)     space-efficient.
65)   - Add [hypothesis][]-based tests for serialization to and
66)     deserialization from the SSH agent wire format.
67)   - Support Python 3.9 and 3.13.
68) 
69) [#12]: https://github.com/the-13th-letter/derivepassphrase/issues/12
70) [hypothesis]: https://pypi.org/project/hypothesis/
71) [scriv]: https://pypi.org/project/scriv
72) 
73) ### Changed
74) 
75)   - Change links to point to public project repositories, if possible.  For
76)     legal reasons.
77) 
78)   - Use the same filename/URL convention for API reference as the Python
79)     standard library does.
80) 
81)   - Rewrite functionality for checking for valid vault(1) configurations:
82)     include an actual validation function which throws errors upon
83)     encountering format violations, and which allows specifying which types
84)     of extensions (unknown settings, `derivepassphrase`-only settings) to
85)     tolerate during validation.
86) 
87)     This is a **breaking API change** because the function return annotation
88)     changed, from [`typing.TypeGuard`][] to [`typing_extensions.TypeIs`][].
89)     These were the originally intended semantics, but when
90)     `derivepassphrase` was first designed, the Python type system did not
91)     support this kind of partial type narrowing.
92) 
93)   - Fail earlier, and more gracefully/specifically, when we cannot talk to
94)     the SSH agent because Python does not support UNIX domain sockets on
95)     this system.  In particular, this is the current situation on Windows.
96) 
97)     This adds another failure case to the `SSHAgentClient` constructor, and
98)     therefore constitutes a **breaking API change**.
99) 
100)   - In `derivepassphrase vault`, accept `key` and `phrase` entries just like
101)     vault(1) does: `key` always overrides `phrase` in the configuration, no
102)     matter the level.
103) 
104)     This is a command-line only change.
105) 
106)   - In `derivepassphrase vault`, when importing settings, accept falsy values
107)     everywhere `vault` does, with a warning.  Depending on the setting, they
108)     are equivalent to zero, the empty string, or "not set".  ([#17])
109) 
110)     This is a command-line only change, and only affects importing.  The API
111)     provides a new function to normalize falsy settings, but still otherwise
112)     requires settings to be of the correct type.  Storing a malformed
113)     configuration with such falsy values will still generate errors when
114)     `derivepassphrase vault` loads the settings from disk.
115) 
116)   - In `derivepassphrase vault`, when importing configurations,
117)     correctly merge them with the existing one, same as vault(1): keep
118)     all named services and their settings (and the global settings if
119)     applicable) that are not mentioned in the imported configuration.
120)     The import procedure is thus more akin to a section-wise import of
121)     the configurations, instead of a "full" import, and the resulting
122)     configuration generally is a merge of both inputs.  ([#16])
123) 
124)   - The following operations or configuration settings now raise
125)     warnings:
126) 
127)       * in imported configurations: using falsy values of the wrong type
128)       * in imported configurations: using falsy values with no practical
129)         effect
130)       * setting a passphrase in the configuration if a key is already
131)         set
132)       * using an empty service name on the command-line or in an
133)         imported configuration
134) 
135) [#16]: https://github.com/the-13th-letter/derivepassphrase/issues/16
136) [#17]: https://github.com/the-13th-letter/derivepassphrase/issues/17
137) 
138) ### Fixed
139) 
140)   - Fixed the textual description of the return value for
141)     [`SSHAgentClient.request`][derivepassphrase.ssh_agent.SSHAgentClient.request],
142)     which didn't match the declared type annotation.
143) 
Marco Ricci Release 0.2.0

Marco Ricci authored 2 months ago

144) ## 0.2.0 (2024-09-12)
145) 
Marco Ricci Switch from towncrier to sc...

Marco Ricci authored 1 month ago

146) ### Added
Marco Ricci Release 0.2.0

Marco Ricci authored 2 months ago

147) 
Marco Ricci Switch from towncrier to sc...

Marco Ricci authored 1 month ago

148)   - Support configuration data export from `vault` in v0.2, v0.3 and
149)     storeroom formats.
Marco Ricci Release 0.2.0

Marco Ricci authored 2 months ago

150) 
151)     This feature requires the `cryptography` Python module, but is available
Marco Ricci Switch from towncrier to sc...

Marco Ricci authored 1 month ago

152)     even if `vault` is not installed. ([#1])
Marco Ricci Release 0.2.0

Marco Ricci authored 2 months ago

153) 
154) [#1]: https://github.com/the-13th-letter/derivepassphrase/1
155) 
Marco Ricci Switch from towncrier to sc...

Marco Ricci authored 1 month ago

156) ### Fixed
157) 
158)   - Deploy versioned documentation with [mike][].  Set up a "latest" tag and
159)     the "0.<var>x</var>" version of the documentation with the contents so
160)     far.
161) 
162) [mike]: https://pypi.org/project/mike
163) 
164) ### Changed
165) 
166)   - Changed `sequin` and `ssh_agent_client` to be submodules of
167)     `derivepassphrase`.  Further moved `derivepassphrase.Vault` and
168)     `derivepassphrase.AmbiguousByteRepresentation` into a new submodule
169)     `vault`, and renamed submodule `ssh_agent_client` to `ssh_agent`. ([#3])
170)   - Changed internal error handling and error messages, to better work in
171)     the context of a command-line tool. ([#4])
172)   - Combine and consolidate `derivepassphrase.types` and
173)     `derivepassphrase.ssh_agent.types` into a new submodule
174)     `derivepassphrase._types`.  Despite the name, the module is public.
175)     ([#7])
176)   - Warn the user when entering (directly, or via configuration
177)     editing/importing) a passphrase that is not in the configured Unicode
178)     normalization form. (But don't otherwise reject any textual master
179)     passphrases.) ([#9])
180)   - Move all existing functionality into a subcommand, in anticipation of
181)     other passphrase derivation schemes, with different settings.
182)     Automatically forward calls without a subcommand to the "vault"
183)     subcommand.
Marco Ricci Release 0.2.0

Marco Ricci authored 2 months ago

184) 
185)     Also store the settings in a file specific to the respective subsystem,
Marco Ricci Switch from towncrier to sc...

Marco Ricci authored 1 month ago

186)     instead of globally.  Automatically fall back to, and migrate, the old
187)     global settings file if no subsystem-specific configuration was found.
188)     ([#10])
Marco Ricci Release 0.2.0

Marco Ricci authored 2 months ago

189) 
Marco Ricci Switch from towncrier to sc...

Marco Ricci authored 1 month ago

190)   - Make `derivepassphrase_export` a subcommand: `derivepassphrase export`.
191)     ([#11])
Marco Ricci Release 0.2.0

Marco Ricci authored 2 months ago

192) 
193) [#3]: https://github.com/the-13th-letter/derivepassphrase/3
194) [#4]: https://github.com/the-13th-letter/derivepassphrase/4
195) [#7]: https://github.com/the-13th-letter/derivepassphrase/7
196) [#9]: https://github.com/the-13th-letter/derivepassphrase/9
197) [#10]: https://github.com/the-13th-letter/derivepassphrase/10
198) [#11]: https://github.com/the-13th-letter/derivepassphrase/11
199) 
Marco Ricci Switch from towncrier to sc...

Marco Ricci authored 1 month ago

200) ### Deprecated
Marco Ricci Release 0.2.0

Marco Ricci authored 2 months ago

201) 
Marco Ricci Switch from towncrier to sc...

Marco Ricci authored 1 month ago

202)   - Using the implied subcommand or the implied global configuration file is
203)     deprecated, and will be removed in v1.0.
Marco Ricci Release 0.2.0

Marco Ricci authored 2 months ago

204) 
205) 
Marco Ricci Release 0.1.3

Marco Ricci authored 3 months ago

206) ## 0.1.3 (2024-07-28)
207) 
Marco Ricci Switch from towncrier to sc...

Marco Ricci authored 1 month ago

208) ### Fixed
Marco Ricci Release 0.1.3

Marco Ricci authored 3 months ago

209) 
Marco Ricci Switch from towncrier to sc...

Marco Ricci authored 1 month ago

210)   - Do not crash upon selecting a key on the command-line if there already
211)     is a key stored in the configuration. ([#5])
212)   - Create the configuration directory upon saving, if it does not yet
213)     exist.  ([#6])
214)   - Isolate the tests properly and consistently from the user's
215)     configuration, so that user configuration problems do not cause
216)     unrelated test failures. ([#8])
217)   - Add an alternate MkDocs configuration for building the documentation in
218)     offline mode.
219)   - Fix typing issues according to `mypy`'s strict mode.
Marco Ricci Release 0.1.3

Marco Ricci authored 3 months ago

220) 
221) [#5]: https://github.com/the-13th-letter/derivepassphrase/5
222) [#6]: https://github.com/the-13th-letter/derivepassphrase/6
223) [#8]: https://github.com/the-13th-letter/derivepassphrase/8
224) 
225) 
Marco Ricci Release 0.1.2

Marco Ricci authored 3 months ago

226) ## 0.1.2 (2024-07-22)
227) 
Marco Ricci Switch from towncrier to sc...

Marco Ricci authored 1 month ago

228) ### Fixed
Marco Ricci Release 0.1.2

Marco Ricci authored 3 months ago

229) 
Marco Ricci Switch from towncrier to sc...

Marco Ricci authored 1 month ago

230)   - Include and exclude the correct files in the `sdist` and `wheel`
231)     distributions.  (Previously, `sdist` contained VCS artifacts, and
232)     `wheel` was missing some paths.)
Marco Ricci Reintegrate branch 'master'...

Marco Ricci authored 1 month ago

233)   - Lint and reformat all code using [ruff](https://pypi.org/package/ruff/).
234)   - Mention
235)     [`mkdocstrings-python`](https://pypi.org/package/mkdocstrings-python/)
Marco Ricci Switch from towncrier to sc...

Marco Ricci authored 1 month ago

236)     in the documentation's page footer.
237)   - Remove JavaScript and external font loading from documentation website,
238)     so that the site works even in restricted browser settings.
239)   - Set up a changelog, using
240)     [towncrier](https://pypi.org/package/towncrier).
Marco Ricci Release 0.1.2

Marco Ricci authored 3 months ago

241) 
242) 
Marco Ricci Add a changelog and support...

Marco Ricci authored 3 months ago

243) ## 0.1.1 (2024-07-14)
244) 
Marco Ricci Switch from towncrier to sc...

Marco Ricci authored 1 month ago

245) ### Fixed
Marco Ricci Add a changelog and support...

Marco Ricci authored 3 months ago

246) 
Marco Ricci Switch from towncrier to sc...

Marco Ricci authored 1 month ago

247)   - Restore the `__version__` attribute in all top-level packages.
248)   - Declare compatibility with Python 3.10 in project metadata, and include
249)     necessary version-specific dependencies.
250)   - Publish the documentation online, and link to it in the repository
251)     metadata and the Python package metadata.
Marco Ricci Add a changelog and support...

Marco Ricci authored 3 months ago

252) 
253) 
254) ## 0.1.0 (2024-07-14)
255) 
Marco Ricci Switch from towncrier to sc...

Marco Ricci authored 1 month ago

256) ### Added
Marco Ricci Add a changelog and support...

Marco Ricci authored 3 months ago

257)