chore: bump module path to v16

Update Go module path from github.com/kovetskiy/mark to
github.com/kovetskiy/mark/v16 across all packages and imports,
following Go module versioning conventions for major versions >= 2.

Also update README installation instructions and version string.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Manuel Rüger 2026-03-20 23:35:27 +01:00
parent 9a26f657c7
commit 2fdcab25cc
22 changed files with 50 additions and 50 deletions

View File

@ -778,13 +778,13 @@ brew install mark
### Go Install / Go Get
```bash
go install github.com/kovetskiy/mark/cmd/mark@latest
go install github.com/kovetskiy/mark/v16/cmd/mark@latest
```
For older versions
```bash
go get -v github.com/kovetskiy/mark/cmd/mark
go get -v github.com/kovetskiy/mark/v16/cmd/mark
```
### Releases
@ -818,7 +818,7 @@ USAGE:
mark [global options]
VERSION:
v15.2.0@1c82927c11a2999a39e5052aae6d2c65a201260c
v15.5.0@9a26f657c7f2d708ae53722cad03b048c72c9db2
DESCRIPTION:
Mark is a tool to update Atlassian Confluence pages from markdown. Documentation is available here: https://github.com/kovetskiy/mark

View File

@ -16,8 +16,8 @@ import (
"strconv"
"strings"
"github.com/kovetskiy/mark/confluence"
"github.com/kovetskiy/mark/vfs"
"github.com/kovetskiy/mark/v16/confluence"
"github.com/kovetskiy/mark/v16/vfs"
"github.com/reconquest/karma-go"
"github.com/reconquest/pkg/log"
)

View File

@ -5,7 +5,7 @@ import (
"fmt"
"os"
"github.com/kovetskiy/mark/util"
"github.com/kovetskiy/mark/v16/util"
"github.com/reconquest/pkg/log"
"github.com/urfave/cli/v3"
)

View File

@ -13,7 +13,7 @@ import (
"github.com/chromedp/cdproto/dom"
"github.com/chromedp/chromedp"
"github.com/kovetskiy/mark/attachment"
"github.com/kovetskiy/mark/v16/attachment"
"github.com/reconquest/pkg/log"
"oss.terrastruct.com/d2/d2graph"

View File

@ -5,7 +5,7 @@ import (
"strconv"
"testing"
"github.com/kovetskiy/mark/attachment"
"github.com/kovetskiy/mark/v16/attachment"
"github.com/stretchr/testify/assert"
)

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/kovetskiy/mark
module github.com/kovetskiy/mark/v16
go 1.25.0

View File

@ -7,7 +7,7 @@ import (
"strings"
"text/template"
"github.com/kovetskiy/mark/includes"
"github.com/kovetskiy/mark/v16/includes"
"github.com/reconquest/karma-go"
"github.com/reconquest/pkg/log"
"github.com/reconquest/regexputil-go"

20
mark.go
View File

@ -14,16 +14,16 @@ import (
"time"
"github.com/bmatcuk/doublestar/v4"
"github.com/kovetskiy/mark/attachment"
"github.com/kovetskiy/mark/confluence"
"github.com/kovetskiy/mark/includes"
"github.com/kovetskiy/mark/macro"
markmd "github.com/kovetskiy/mark/markdown"
"github.com/kovetskiy/mark/metadata"
"github.com/kovetskiy/mark/page"
"github.com/kovetskiy/mark/stdlib"
"github.com/kovetskiy/mark/types"
"github.com/kovetskiy/mark/vfs"
"github.com/kovetskiy/mark/v16/attachment"
"github.com/kovetskiy/mark/v16/confluence"
"github.com/kovetskiy/mark/v16/includes"
"github.com/kovetskiy/mark/v16/macro"
markmd "github.com/kovetskiy/mark/v16/markdown"
"github.com/kovetskiy/mark/v16/metadata"
"github.com/kovetskiy/mark/v16/page"
"github.com/kovetskiy/mark/v16/stdlib"
"github.com/kovetskiy/mark/v16/types"
"github.com/kovetskiy/mark/v16/vfs"
"github.com/reconquest/karma-go"
"github.com/reconquest/pkg/log"
)

View File

@ -4,11 +4,11 @@ import (
"bytes"
"slices"
"github.com/kovetskiy/mark/attachment"
cparser "github.com/kovetskiy/mark/parser"
crenderer "github.com/kovetskiy/mark/renderer"
"github.com/kovetskiy/mark/stdlib"
"github.com/kovetskiy/mark/types"
"github.com/kovetskiy/mark/v16/attachment"
cparser "github.com/kovetskiy/mark/v16/parser"
crenderer "github.com/kovetskiy/mark/v16/renderer"
"github.com/kovetskiy/mark/v16/stdlib"
"github.com/kovetskiy/mark/v16/types"
"github.com/reconquest/pkg/log"
mkDocsParser "github.com/stefanfritsch/goldmark-admonitions"
"github.com/yuin/goldmark"

View File

@ -10,10 +10,10 @@ import (
"strings"
"testing"
mark "github.com/kovetskiy/mark/markdown"
"github.com/kovetskiy/mark/stdlib"
"github.com/kovetskiy/mark/types"
"github.com/kovetskiy/mark/util"
mark "github.com/kovetskiy/mark/v16/markdown"
"github.com/kovetskiy/mark/v16/stdlib"
"github.com/kovetskiy/mark/v16/types"
"github.com/kovetskiy/mark/v16/util"
"github.com/stretchr/testify/assert"
"github.com/urfave/cli/v3"
)

View File

@ -9,7 +9,7 @@ import (
"time"
mermaid "github.com/dreampuf/mermaid.go"
"github.com/kovetskiy/mark/attachment"
"github.com/kovetskiy/mark/v16/attachment"
"github.com/reconquest/pkg/log"
)

View File

@ -5,7 +5,7 @@ import (
"strconv"
"testing"
"github.com/kovetskiy/mark/attachment"
"github.com/kovetskiy/mark/v16/attachment"
"github.com/stretchr/testify/assert"
)

View File

@ -4,7 +4,7 @@ import (
"fmt"
"strings"
"github.com/kovetskiy/mark/confluence"
"github.com/kovetskiy/mark/v16/confluence"
"github.com/reconquest/karma-go"
"github.com/reconquest/pkg/log"
)

View File

@ -12,8 +12,8 @@ import (
"strconv"
"strings"
"github.com/kovetskiy/mark/confluence"
"github.com/kovetskiy/mark/metadata"
"github.com/kovetskiy/mark/v16/confluence"
"github.com/kovetskiy/mark/v16/metadata"
"github.com/reconquest/karma-go"
"github.com/reconquest/pkg/log"
)

View File

@ -3,8 +3,8 @@ package page
import (
"strings"
"github.com/kovetskiy/mark/confluence"
"github.com/kovetskiy/mark/metadata"
"github.com/kovetskiy/mark/v16/confluence"
"github.com/kovetskiy/mark/v16/metadata"
"github.com/reconquest/karma-go"
"github.com/reconquest/pkg/log"
)

View File

@ -3,7 +3,7 @@ package renderer
import (
"strings"
"github.com/kovetskiy/mark/stdlib"
"github.com/kovetskiy/mark/v16/stdlib"
"github.com/yuin/goldmark/ast"
"github.com/yuin/goldmark/renderer"

View File

@ -6,11 +6,11 @@ import (
"slices"
"strings"
"github.com/kovetskiy/mark/attachment"
"github.com/kovetskiy/mark/d2"
"github.com/kovetskiy/mark/mermaid"
"github.com/kovetskiy/mark/stdlib"
"github.com/kovetskiy/mark/types"
"github.com/kovetskiy/mark/v16/attachment"
"github.com/kovetskiy/mark/v16/d2"
"github.com/kovetskiy/mark/v16/mermaid"
"github.com/kovetskiy/mark/v16/stdlib"
"github.com/kovetskiy/mark/v16/types"
"github.com/reconquest/pkg/log"
"github.com/yuin/goldmark/ast"

View File

@ -3,7 +3,7 @@ package renderer
import (
"strings"
"github.com/kovetskiy/mark/stdlib"
"github.com/kovetskiy/mark/v16/stdlib"
"github.com/yuin/goldmark/ast"
"github.com/yuin/goldmark/renderer"

View File

@ -7,9 +7,9 @@ import (
"strconv"
"strings"
"github.com/kovetskiy/mark/attachment"
"github.com/kovetskiy/mark/stdlib"
"github.com/kovetskiy/mark/vfs"
"github.com/kovetskiy/mark/v16/attachment"
"github.com/kovetskiy/mark/v16/stdlib"
"github.com/kovetskiy/mark/v16/vfs"
"github.com/yuin/goldmark/ast"
"github.com/yuin/goldmark/renderer"

View File

@ -1,8 +1,8 @@
package renderer
import (
"github.com/kovetskiy/mark/parser"
"github.com/kovetskiy/mark/stdlib"
"github.com/kovetskiy/mark/v16/parser"
"github.com/kovetskiy/mark/v16/stdlib"
"github.com/yuin/goldmark/ast"
"github.com/yuin/goldmark/renderer"
"github.com/yuin/goldmark/util"

View File

@ -5,7 +5,7 @@ import (
"strings"
"text/template"
"github.com/kovetskiy/mark/confluence"
"github.com/kovetskiy/mark/v16/confluence"
"github.com/reconquest/pkg/log"
"github.com/reconquest/karma-go"

View File

@ -8,7 +8,7 @@ import (
"strings"
"github.com/kovetskiy/lorg"
mark "github.com/kovetskiy/mark"
mark "github.com/kovetskiy/mark/v16"
"github.com/reconquest/pkg/log"
"github.com/urfave/cli/v3"
)