Skip to content

Commit b54d4b4

Browse files
committed
Release v0.6.0
1 parent ecf55d2 commit b54d4b4

File tree

4 files changed

+175
-2
lines changed

4 files changed

+175
-2
lines changed

CHANGES.md

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,90 @@
11
# Changelog
22

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

590
### Fixes

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "obsidian-export"
3-
version = "0.5.1"
3+
version = "0.6.0"
44
authors = ["Nick Groenen <[email protected]>"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"

book/book-src/CHANGES.md

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,93 @@
11
# Changelog
22

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+
391
## v0.5.1 (2021-01-10)
492

593
### Fixes

0 commit comments

Comments
 (0)