Skip to content

Releases: kovetskiy/mark

v16.4.0

18 May 11:54

Choose a tag to compare

What's Changed

  • build(deps): bump golang.org/x/text from 0.35.0 to 0.36.0 by @dependabot[bot] in #772
  • feat: add "default" as valid Content-Appearance value by @moia-sven-ole in #773
  • fix: preserve source-based checksum for mermaid/d2 attachments by @Mamut3D in #774
  • build(deps): bump github.com/rs/zerolog from 1.35.0 to 1.35.1 by @dependabot[bot] in #776
  • build(deps): bump golang from 1.26.2 to 1.26.3 by @dependabot[bot] in #780
  • build(deps): bump golang.org/x/text from 0.36.0 to 0.37.0 by @dependabot[bot] in #781
  • build(deps): bump github.com/urfave/cli/v3 from 3.8.0 to 3.9.0 by @dependabot[bot] in #783
  • build(deps): bump github.com/dreampuf/mermaid.go from 0.2.0 to 0.2.1 by @dependabot[bot] in #784

New Contributors

Full Changelog: v16.3.0...v16.4.0

v16.3.0

08 Apr 14:23

Choose a tag to compare

Changelog

  • ac26421 Feature/robust comment preservation (#768)
  • a29694f build(deps): bump github.com/dreampuf/mermaid.go from 0.1.0 to 0.2.0
  • 4a5f379 build(deps): bump golang from 1.26.1 to 1.26.2
  • a43f5fe refactor: modernize Go primitives

v16.2.0

31 Mar 18:57

Choose a tag to compare

Changelog

  • b1de69c build(deps): bump golang.org/x/image from 0.20.0 to 0.38.0
  • 1c1eeb8 feat: add GitHub Alerts transformer and renderers

v16.1.0

30 Mar 10:34

Choose a tag to compare

Changelog

  • 5f01ad5 build(deps): bump DavidAnson/markdownlint-cli2-action from 22 to 23
  • 74c4a30 build(deps): bump github.com/urfave/cli/v3 from 3.7.0 to 3.8.0
  • e160121 feat: replace logging with zerolog
  • 97fa025 fix: update mermaid.go to match NewRenderEngine signature and ensure cancellation
  • 0859bf4 refactor: replace karma-go with standard error handling
  • 7240669 refactor: replace regexputil-go with standard library SubexpIndex

v16.0.2

25 Mar 23:56

Choose a tag to compare

Changelog

  • 7be2325 fix: restore fallback in GetUserByName for older Confluence APIs

v16.0.1

25 Mar 21:55

Choose a tag to compare

Changelog

  • 3752db4 build(deps): bump github.com/chromedp/chromedp from 0.14.2 to 0.15.1
  • e3cb9af build(deps): bump github.com/dreampuf/mermaid.go from 0.0.39 to 0.0.40
  • cad33f5 build(deps): bump github.com/yuin/goldmark from 1.7.17 to 1.8.1
  • d6403f3 build(deps): bump github.com/yuin/goldmark from 1.8.1 to 1.8.2
  • 5c59e47 feat: integrate goldmark Pos() for better error reporting

v16.0.0

20 Mar 22:49

Choose a tag to compare

Changelog

  • 2fdcab2 chore: bump module path to v16

v15.5.0

20 Mar 21:31

Choose a tag to compare

Changelog

  • 9e4c4bd Add root library package with Config, Run and ProcessFile
  • 61510ff Fix go install/get commands to use correct cmd/mark path
  • 9a26f65 Fix goreleaser config to point builds to ./cmd/mark
  • e68a9f6 Refactor CLI to be a thin adapter over the library
  • 8205794 Update Makefile
  • 98c9c94 build(deps): bump github.com/yuin/goldmark from 1.7.16 to 1.7.17
  • 2b62ffd confluence: fix NewAPI double-slash and DeletePageLabel missing status check
  • b7c9229 fix: RestrictPageUpdatesCloud now resolves allowedUser by name
  • ed6ae15 fix: add HTTP status checks to GetUserByName; remove redundant FindHomePage check
  • aa16e7a fix: check error return from fmt.Fprintln
  • 9e7f2cf fix: check os.ReadFile error before using file contents
  • 0d7caab fix: close response body on all paths in newErrorStatusNotOK
  • 9184e91 fix: defer body.Close() before ReadAll to ensure it runs on read error
  • 594c1e4 fix: guard FirstChild() nil in paragraph renderer
  • 66120b9 fix: handle nil meta in dry-run mode when PageID is set
  • d714bc9 fix: move scanner.Err() check after loop and fix matches bounds check
  • 7d4d045 fix: narrow vfs.Opener interface from ReadWriteCloser to ReadCloser
  • 2a505a2 fix: parseLinks regex misses links at position 0 of string
  • fef39dc fix: preserve include directive in output on error in ProcessIncludes
  • cf0699c fix: remove dead level-map infrastructure in mkDocsAdmonitionRenderer
  • 5e1d40d fix: remove no-op log.GetLevel() call in SetLogLevel
  • 3e71d65 fix: remove unused newLabels parameter from UpdatePage
  • 14219ae fix: return error from Run() when ContinueOnError files fail
  • a481424 fix: return error instead of panic from CompileMarkdown
  • 32577c9 fix: return error instead of panic in ResolveAttachments; fix wrong slice index in log
  • 4c81c81 fix: return original match on error in macro Apply()
  • 4e3b90c fix: route result output through Config.Output, not os.Stdout
  • 06c3afe fix: skip label sync when metadata is absent
  • 0d73520 fix: trim whitespace from ParseTitle result
  • a4ef890 fix: trim whitespace from stdin password
  • 5b87945 fix: use ancestry slice for warning log, not meta.Parents
  • d68f8c3 fix: use api.BaseURL instead of config.BaseURL for page URL output
  • d6b37af fix: use index-based loop in ResolveLocalAttachments to persist checksums
  • 566fd74 fix: validate emoji rune from utf8.DecodeRuneInString
  • 17436ef renderer: HTML-escape admonition title and guard against empty attachments
  • 807d057 stdlib: remove duplicate err check in New() and add XML escaping to user-controlled template values
  • 1fc553f style: fix indentation in Test_setLogLevel

v15.4.0

11 Mar 18:41

Choose a tag to compare

Changelog

  • d2717f0 Add Confluence task list renderer for GFM task lists
  • 76c4dfa Bump to go 1.26.1
  • e294a73 Move mention macro into a goldmark-parser/renderer
  • dcd2806 Update README.md
  • 2498b83 build(deps): bump docker/build-push-action from 6 to 7
  • 541e743 build(deps): bump docker/login-action from 3 to 4
  • 529aa63 build(deps): bump docker/setup-buildx-action from 3 to 4
  • 3337dfd build(deps): bump docker/setup-qemu-action from 3 to 4
  • d2f1848 build(deps): bump github.com/bmatcuk/doublestar/v4 from 4.9.2 to 4.10.0
  • 945cb9b build(deps): bump github.com/urfave/cli/v3 from 3.6.2 to 3.7.0
  • ca96113 build(deps): bump golang from 1.25.6 to 1.25.7
  • 816add2 build(deps): bump golang from 1.25.7 to 1.26.0
  • fbb0302 build(deps): bump golang from 1.26.0 to 1.26.1
  • 597854f build(deps): bump golang.org/x/text from 0.33.0 to 0.34.0
  • 2ae4601 build(deps): bump golang.org/x/text from 0.34.0 to 0.35.0
  • 8118314 build(deps): bump goreleaser/goreleaser-action from 6 to 7
  • 8d83ec0 chore: Switch to maintained yaml
  • 99dbcd9 chore: clean up README changes a little bit
  • a0e9594 chore: clean up over-explanations slightly
  • ab2c456 chore: fix comment referring to wrong class
  • c32cd79 feat: add support for '--image-align'
  • 9516939 feat: add support for --content-appearance
  • 4d887bd feat: add support for image dimensions
  • cbc7400 feat: align image rendering with Confluence default
  • 6f18a47 feat: don't add redundant 'height' to images
  • 9795f74 feat: only attempt to parse image attachments
  • ec6a718 feat: throw errors instead of passing unknown aligns through
  • 9c58c36 feat: use 'center' for image widths 760<x<1800
  • de71225 fix d2 test
  • b8decd9 fix mermaid test
  • 875723d fix: trim whitespace when parsing 'content-appearance' flag
  • 8e613c5 style: run gofmt on image_test.go

v15.3.0

19 Jan 10:09

Choose a tag to compare

What's Changed

  • Bump DavidAnson/markdownlint-cli2-action from 21 to 22 by @dependabot[bot] in #698
  • feat: generate Confluence tiny links for relative markdown links by @devantler in #700
  • build(deps): bump github.com/yuin/goldmark from 1.7.13 to 1.7.16 by @dependabot[bot] in #705
  • fix: use canonical base URL from API response for Confluence tiny links by @devantler in #704
  • build(deps): bump github.com/bmatcuk/doublestar/v4 from 4.9.1 to 4.9.2 by @dependabot[bot] in #708
  • build(deps): bump golang.org/x/text from 0.32.0 to 0.33.0 by @dependabot[bot] in #707
  • add view-file template by @hypengw in #709
  • Parse "linenumbers" in code block by @hypengw in #706
  • build(deps): bump github.com/urfave/cli/v3 from 3.6.1 to 3.6.2 by @dependabot[bot] in #712

New Contributors

Full Changelog: v15.2.0...v15.3.0

What's Changed

  • Bump DavidAnson/markdownlint-cli2-action from 21 to 22 by @dependabot[bot] in #698
  • feat: generate Confluence tiny links for relative markdown links by @devantler in #700
  • build(deps): bump github.com/yuin/goldmark from 1.7.13 to 1.7.16 by @dependabot[bot] in #705
  • fix: use canonical base URL from API response for Confluence tiny links by @devantler in #704
  • build(deps): bump github.com/bmatcuk/doublestar/v4 from 4.9.1 to 4.9.2 by @dependabot[bot] in #708
  • build(deps): bump golang.org/x/text from 0.32.0 to 0.33.0 by @dependabot[bot] in #707
  • add view-file template by @hypengw in #709
  • Parse "linenumbers" in code block by @hypengw in #706
  • build(deps): bump github.com/urfave/cli/v3 from 3.6.1 to 3.6.2 by @dependabot[bot] in #712

New Contributors

Full Changelog: v15.2.0...v15.3.0