|
| 1 | +## Version 2.4.0 (2020-05-16) |
| 2 | + |
| 3 | +This release drops special Web browser requirements to access dasht-server(1), |
| 4 | +improves error messages in dasht-docset-install(1), ensures clean up of stale |
| 5 | +files that contain whitespace in their names, and resolves a few other issues. |
| 6 | + |
| 7 | +### Minor: |
| 8 | + |
| 9 | + * dasht-server-http(1): serve local `file://` URLs through `http://` URLs. |
| 10 | + |
| 11 | + Users no longer have to use special browsers or special configurations |
| 12 | + that allow the loading of `file://` links from `http://127.0.0.1` URLs. |
| 13 | + All browsers can now natively access the dasht-server(1) search engine. |
| 14 | + |
| 15 | + See https://github.com/sunaku/dasht/issues/45 |
| 16 | + |
| 17 | +### Patch: |
| 18 | + |
| 19 | + * dasht-docsets-update(1): remove stale files with whitespace in names. |
| 20 | + |
| 21 | + Thanks to @frodeaa for reporting this issue and contributing a patch: |
| 22 | + |
| 23 | + > Replace `xargs` with `while read` and avoid globbing. The same could be |
| 24 | + > achived by using `xargs -0` (GNU/BSD) if newline is replaced with `\0`. |
| 25 | + > |
| 26 | + > tr '\n' '\0' | xargs -0 sh -e -u -c ' |
| 27 | +
|
| 28 | + See https://github.com/sunaku/dasht/issues/35 |
| 29 | + |
| 30 | + * dasht-server-http(1): escape "C++" docset name as `^C\+\+$` regex. |
| 31 | + |
| 32 | + When the "C++" docset was selected from the "in docsets" dropdown menu in |
| 33 | + dasht-server(1), the plus signs weren't properly escaped per regex syntax. |
| 34 | + |
| 35 | + See https://github.com/sunaku/dasht/issues/49 |
| 36 | + |
| 37 | + * dasht-docsets-install(1): validate gzip(1) integrity before extraction. |
| 38 | + |
| 39 | + This avoids cryptic errors from tarball extraction: |
| 40 | + |
| 41 | + gzip: stdin: unexpected end of file |
| 42 | + tar: Child returned status 1 |
| 43 | + tar: Error is not recoverable: exiting now |
| 44 | + |
| 45 | + By pointing out the cause of the error to the user: |
| 46 | + |
| 47 | + gzip: Apple_Guides_and_Sample_Code.tgz: unexpected end of file |
| 48 | + |
| 49 | + * dasht-docsets-install(1): restore support for older wget(1) versions. |
| 50 | + |
| 51 | + Older wget versions don't support the `--show-progress` option: |
| 52 | + |
| 53 | + wget: unrecognized option '--show-progress' |
| 54 | + Usage: wget [OPTION]... [URL]... |
| 55 | + |
| 56 | + Try ‘wget --help’ for more options. |
| 57 | + |
| 58 | + * dasht-query-line(1): update URI fragments for HTML and CSS docsets. |
| 59 | + |
1 | 60 | ## Version 2.3.0 (2018-10-09)
|
2 | 61 |
|
3 | 62 | This release provides better error messaging for first-time users who try to
|
|
0 commit comments