|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## v0.6.0 (2021-02-15) |
| 4 | + |
| 5 | +### New |
| 6 | + |
| 7 | +* Add `--version` flag. \[Nick Groenen] |
| 8 | + |
| 9 | +### Changes |
| 10 | + |
| 11 | +* Don't Box FilterFn in WalkOptions. \[Nick Groenen] |
| 12 | + |
| 13 | + Previously, `filter_fn` on the `WalkOptions` struct looked like: |
| 14 | + |
| 15 | + ```` |
| 16 | + pub filter_fn: Option<Box<&'static FilterFn>>, |
| 17 | + ```` |
| 18 | + |
| 19 | + This boxing was unneccesary and has been changed to: |
| 20 | + |
| 21 | + ```` |
| 22 | + pub filter_fn: Option<&'static FilterFn>, |
| 23 | + ```` |
| 24 | + |
| 25 | + This will only affect people who use obsidian-export as a library in |
| 26 | + other Rust programs, not users of the CLI. |
| 27 | + |
| 28 | + For those library users, they no longer need to supply `FilterFn` |
| 29 | + wrapped in a Box. |
| 30 | + |
| 31 | +### Fixes |
| 32 | + |
| 33 | +* Recognize notes beginning with underscores. \[Nick Groenen] |
| 34 | + |
| 35 | + Notes with an underscore would fail to be recognized within Obsidian |
| 36 | + `[[_WikiLinks]]` due to the assumption that the underlying Markdown |
| 37 | + parser (pulldown_cmark) would emit the text between `[[` and `]]` as |
| 38 | + a single event. |
| 39 | + |
| 40 | + The note parser has now been rewritten to use a more reliable state |
| 41 | + machine which correctly recognizes this corner-case (and likely some |
| 42 | + others). |
| 43 | + |
| 44 | +* Support self-references. \[Joshua Coles] |
| 45 | + |
| 46 | + This ensures links to headings within the same note (`[[#Heading]]`) |
| 47 | + resolve correctly. |
| 48 | + |
| 49 | +### Other |
| 50 | + |
| 51 | +* Avoid redundant "Release" in GitHub release titles. \[Nick Groenen] |
| 52 | + |
| 53 | +* Add failing testcase for files with underscores. \[Nick Groenen] |
| 54 | + |
| 55 | +* Add unit tests for display of ObsidianNoteReference. \[Nick Groenen] |
| 56 | + |
| 57 | +* Add some unit tests for ObsidianNoteReference::from_str. \[Nick Groenen] |
| 58 | + |
| 59 | +* Also run tests on pull requests. \[Nick Groenen] |
| 60 | + |
| 61 | +* Apply clippy suggestions following rust 1.50.0. \[Nick Groenen] |
| 62 | + |
| 63 | +* Fix infinite recursion bug with references to current file. \[Joshua Coles] |
| 64 | + |
| 65 | +* Add tests for self-references. \[Joshua Coles] |
| 66 | + |
| 67 | + Note as there is no support for block references at the moment, the generated link goes nowhere, however it is to a reasonable ID |
| 68 | + |
| 69 | +* Bump tempfile from 3.1.0 to 3.2.0. \[dependabot\[bot]] |
| 70 | + |
| 71 | + Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.1.0 to 3.2.0. |
| 72 | + |
| 73 | + * [Release notes](https://github.com/Stebalien/tempfile/releases) |
| 74 | + * [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS) |
| 75 | + * [Commits](https://github.com/Stebalien/tempfile/commits) |
| 76 | +* Bump eyre from 0.6.3 to 0.6.5. \[dependabot\[bot]] |
| 77 | + |
| 78 | + Bumps [eyre](https://github.com/yaahc/eyre) from 0.6.3 to 0.6.5. |
| 79 | + |
| 80 | + * [Release notes](https://github.com/yaahc/eyre/releases) |
| 81 | + * [Changelog](https://github.com/yaahc/eyre/blob/v0.6.5/CHANGELOG.md) |
| 82 | + * [Commits](https://github.com/yaahc/eyre/compare/v0.6.3...v0.6.5) |
| 83 | +* Bump regex from 1.4.2 to 1.4.3. \[dependabot\[bot]] |
| 84 | + |
| 85 | + Bumps [regex](https://github.com/rust-lang/regex) from 1.4.2 to 1.4.3. |
| 86 | + |
| 87 | + * [Release notes](https://github.com/rust-lang/regex/releases) |
| 88 | + * [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) |
| 89 | + * [Commits](https://github.com/rust-lang/regex/compare/1.4.2...1.4.3) |
| 90 | + |
3 | 91 | ## v0.5.1 (2021-01-10)
|
4 | 92 |
|
5 | 93 | ### Fixes
|
|
0 commit comments