github tommcd/mdtk v0.2.0

one day ago

Highlights

The bookmarks converter is now robust against real-world Chrome exports, the
package metadata is complete, and releases are published via PyPI trusted
publishing.

Fixed

  • A folder without a bookmark list of its own now raises an error instead of
    silently exporting the next folder's bookmarks
  • Titles containing inline markup are preserved instead of collapsing to
    "Untitled"
  • Titles and URLs are escaped so generated markdown links stay valid
    (brackets, parentheses, spaces; IPv6 hosts are left intact)
  • Clearer errors: unknown folders list the folders the export does contain,
    and non-export input (e.g. Chrome's JSON bookmarks file) is detected

Added

  • mdtk-bookmarks --version, and a summary of how many bookmarks were written
  • Public API: from mdtk import convert_bookmarks, BookmarkError, __version__;
    convert_bookmarks returns the bookmark count
  • MIT LICENSE file and complete PyPI metadata (authors, classifiers,
    keywords, project URLs)
  • Test suite expanded from 2 to 17 tests

Changed

  • Requires Python 3.10+; CI tests 3.10–3.14
  • README rewritten with real usage docs; the docs site is generated from it,
    so the two can no longer drift
  • Publishing switched from a stored API token to PyPI trusted publishing,
    gated on lint and tests

Full diff: v0.1.0...v0.2.0

Don't miss a new mdtk release

NewReleases is sending notifications on new releases.