Skip to content

Releases: virtualtam/netscape-go

v2.2.0

26 Oct 20:56
v2.2.0
Compare
Choose a tag to compare

Changed

  • Require Go 1.21
  • Update CI workflows
  • Marshal / encoder: HTML-escape bookmark description
  • Unmarshal / decoder: HTML-unescape bookmark description

v2.1.0

03 Jun 11:21
v2.1.0
Compare
Choose a tag to compare

Changed

  • Do not use time.Time pointers to represent nullable dates
  • Introduce JSON marshaling methods with intermediary structs to handle nullable
    dates (via time.Time.IsZero())

Fixed

  • Initialize Decoder for proper UNIX timestamp format detection

v2.0.0

30 Apr 10:15
v2.0.0
Compare
Choose a tag to compare

Added

  • Add a method to flatten a Document by returning a version with all bookmarks
    attached to the root folder

Changed

  • Bump Go module to v2
  • Flatten and cleanup package structure to ease importing and using as a library

v1.1.0

25 Mar 20:06
v1.1.0
Compare
Choose a tag to compare

Added

  • Add Make targets to run benchmarks and save CPU/Memory profiles

Changed

  • decoder: refactor date/time operations
  • Use Markdown for the README

Fixed

  • encoder: sort folder and bookmark attributes by key for deterministic output

v1.0.0

06 Mar 18:54
v1.0.0
Compare
Choose a tag to compare

Initial release

Added

  • Unmarshal data using the Netscape Bookmark file format
  • Marshal documents containing bookmarks and folders using the Netscape Bookmark
    file format
  • Add support for nested folders
  • Add support for folder metadata:
    • creation and update dates
    • arbitrary attributes
    • text description, with multi-line and inner markup support
  • Add support for bookmark metadata:
    • creation and update dates
    • visibility
    • comma-separated tags
    • arbitrary attributes
    • text description, with multi-line and inner markup support