Skip to content

Releases: getreu/tp-note

v1.24.3

20 Jun 16:42
Compare
Choose a tag to compare
Enhance the HTML clipboard configuration options

This release extends the `html_to_markup` filter by adding a `default=`
parameter in case the filter fails, its result is the empty string, or if
the filter is disabled for a certain markup language with the configuration
variable `extensions.1`.

The `clipboard` variable is replaced by the variables `txt_clipboard` and
`html_clipbaord`. They both represent the clipboard's text content. The
difference is, that the `html_clipboard` carries HTML formatting along the
text, while `txt_clipboard` holds the plain text only.

v1.24.2

12 Apr 10:09
Compare
Choose a tag to compare
Regression fix: repair broken Windows installer

This updates the tool chain that produces the Windows installer. The `.msi`
installer was broken in version 1.24.1.

Minor bug fix:

* Windows: do not insert double `\r\r` when input comes from both: stdin and
  the clipboard.

v1.24.1

11 Apr 15:56
Compare
Choose a tag to compare
Regression bug fix: no HTML in X11 clipboard, fallback to text

This release fixes a regression (commit dc9fd8d) introduced with the
migration to the `clipboard-rs` crate (commit b532b71) under Linux/X11:
When the clipboard contains no HTML, now the plain text content is
correctly used (again).

Minor internal improvements:

* Refactor clipboard related templates

v1.24.0

08 Apr 12:06
Compare
Choose a tag to compare
Add clipboard HTML to Markdown converter

This release of adds internal clipboard HTML detection and conversion to
Markdown.

In earlier versions the conversion of clipboard HTML content into Markdown was
performed in the Browser by the plugins _Copy Selection as Markdown_ and _Copy
as Markdown_ only. Now, this conversion can be done by Tp-Note also without
browser plugin.

For best results browser plugins are still preferred, because in addition to the
selected content, the plugins insert also a link to the displayed page. Without
plugin this information must be completed by hand. Nevertheless, the internal
converter does a good job with quickly copying hyperlinks into Tp-Note files.

v1.23.10

21 Mar 12:38
Compare
Choose a tag to compare
Security release for RUSTSEC-2024-0019, no new features

The vulnerability RUSTSEC-2024-0019 was found in one of Tp-Note's
dependencies. For those who compile Tp-Note, this is fixed by a simple
`cargo update`. Nevertheless, some distributions (e.g. NixOS), refer to
the exact versions in `Cargo.lock`, which motivates this new release.

Internal changes and refactoring:

* Build chain: migrate from Docker to Podman
* Encapsulation of the clipboard related code.

v1.23.9

28 Feb 18:39
Compare
Choose a tag to compare
Correct the last git release tag. No source code change.

This corrects the last git release tag (without `v`) which caused downstream
build scripts to fail.

1.23.8

27 Feb 20:23
Compare
Choose a tag to compare
Add page numbers for PDF rendition with WeasyPrint

Highlights in this release:

* Allow PDF rendition with WeasyPrint

      tpnote --export=- mydoc.md | weasyprint - mydoc.pdf

* Refactor `tmpl_html` templates
* Disable library logging when invoking with `--debug <LEVEL>`
* Remove some workaround for early versions of the `notify` crate.
* Bug fix: source also `tmpl_html` section when given in a configuration file

v1.23.7

17 Feb 10:36
Compare
Choose a tag to compare
Fix regression: viewer: render error page again

This regression was introduced with Tp-Note version 1.23.6, commit `37ef6ea`
and fixed with commit `bf19d70`.

Minor change:
* Give `--force-lang` precedence over `TPNOTE_LANG_DETECTION

v1.23.5

11 Feb 18:14
Compare
Choose a tag to compare
Minor breaking change: format string syntax

See chapter: 6.2.3. Local links with format strings

<https://blog.getreu.net/projects/tp-note/tpnote--manpage.html#links-to-resources-and-other-documents>

Format strings

v1.23.4

14 Jan 19:58
Compare
Choose a tag to compare
Maintenance release: update documentation