@@ -10,6 +10,57 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
11
11
12
12
13
+ ## [ 0.4.0] — 2022-12-14
14
+
15
+ ### Added
16
+
17
+ * Added support for app discovery on Linux ([ #28 ] )
18
+
19
+ This address issue [ #27 ] .
20
+
21
+ [ ` discover() ` ] ( https://docs.rs/wolfram-app-discovery/0.4.0/wolfram_app_discovery/fn.discover.html )
22
+ will now return all Wolfram apps found in the default installation location
23
+ on Linux (currently just ` /usr/local/Wolfram/ ` ).
24
+
25
+ [ ` WolframApp::from_app_directory() ` ] ( https://docs.rs/wolfram-app-discovery/0.4.0/wolfram_app_discovery/struct.WolframApp.html#method.from_app_directory )
26
+ can now be used to get information on a Wolfram app installed in a non-standard
27
+ location.
28
+
29
+ The following ` WolframApp ` methods are now supported on Linux:
30
+
31
+ - [ ` WolframApp::installation_directory() ` ] ( https://docs.rs/wolfram-app-discovery/0.4.0/wolfram_app_discovery/struct.WolframApp.html#method.installation_directory )
32
+ - [ ` WolframApp::kernel_executable_path() ` ] ( https://docs.rs/wolfram-app-discovery/0.4.0/wolfram_app_discovery/struct.WolframApp.html#method.kernel_executable_path )
33
+ - [ ` WolframApp::wolframscript_executable_path() ` ] ( https://docs.rs/wolfram-app-discovery/0.4.0/wolfram_app_discovery/struct.WolframApp.html#method.wolframscript_executable_path )
34
+ - [ ` WolframApp::wstp_static_library_path() ` ] ( https://docs.rs/wolfram-app-discovery/0.4.0/wolfram_app_discovery/struct.WolframApp.html#method.wstp_static_library_path )
35
+
36
+ * Added custom logic for determining app metadata, in the absence of an
37
+ available standard OS-provided format or API. At the moment, this consists
38
+ of parsing LICENSE.txt and the WolframKernel script for the application type
39
+ and version number, respectively.
40
+
41
+ This is likely more fragile than the implementation methods used on macOS and
42
+ Windows, but necessary and sufficient for the time being to get discovery
43
+ working for the most common use-cases. Future improvements are expected.
44
+
45
+ ### Changed
46
+
47
+ #### Backwards Incompatible
48
+
49
+ - Changed the [ ` AppVersion::build_code() ` ] method to return ` Option<u32> `
50
+ (was ` u32 ` ). ([ #28 ] )
51
+
52
+ ### Fixed
53
+
54
+ - Fixed an issue with platform unsupported error generated by
55
+ ` WolframApp::installation_directory() ` incorrectly reporting that the error
56
+ was in ` WolframApp::from_app_directory() ` . ([ #28 ] )
57
+
58
+ - Filled in an erroneously incomplete ` todo!() ` in the ` Display ` impl for
59
+ ` Error ` . ([ #28 ] )
60
+
61
+
62
+
63
+
13
64
## [ 0.3.0] – 2022-09-19
14
65
15
66
### Added
@@ -172,10 +223,14 @@ Initial release of `wolfram-app-discovery`.
172
223
[ #24 ] : https://github.com/WolframResearch/wolfram-app-discovery-rs/pull/24
173
224
[ #25 ] : https://github.com/WolframResearch/wolfram-app-discovery-rs/pull/25
174
225
226
+ <!-- v0.4.0 -->
227
+ [ #27 ] : https://github.com/WolframResearch/wolfram-app-discovery-rs/issues/27
228
+ [ #28 ] : https://github.com/WolframResearch/wolfram-app-discovery-rs/pull/28
175
229
176
230
<!-- This needs to be updated for each tagged release. -->
177
- [ Unreleased ] : https://github.com/WolframResearch/wolfram-app-discovery-rs/compare/v0.3 .0...HEAD
231
+ [ Unreleased ] : https://github.com/WolframResearch/wolfram-app-discovery-rs/compare/v0.4 .0...HEAD
178
232
233
+ [ 0.4.0 ] : https://github.com/WolframResearch/wolfram-app-discovery-rs/compare/v0.3.0...v0.4.0
179
234
[ 0.3.0 ] : https://github.com/WolframResearch/wolfram-app-discovery-rs/compare/v0.2.2...v0.3.0
180
235
[ 0.2.2 ] : https://github.com/WolframResearch/wolfram-app-discovery-rs/compare/v0.2.1...v0.2.2
181
236
[ 0.2.1 ] : https://github.com/WolframResearch/wolfram-app-discovery-rs/compare/v0.2.0...v0.2.1
0 commit comments