Skip to content

Latest commit

 

History

History
62 lines (40 loc) · 1.38 KB

File metadata and controls

62 lines (40 loc) · 1.38 KB

Release Notes - v2.0.1

Release Date: January 2025

Critical Bug Fix

This is a patch release that fixes a critical Go module compatibility issue in v2.0.0.

Fixed

  • Go Module Path: Added required /v2 suffix to module declaration in go.mod
    • Previous: module github.com/mmonterroca/docxgo
    • Fixed: module github.com/mmonterroca/docxgo/v2
    • This is required by Go's semantic versioning for v2+ major versions

Impact

Version v2.0.0 could not be imported correctly due to the missing /v2 suffix. Users attempting to run:

go get github.com/mmonterroca/docxgo/v2@v2.0.0

Would encounter module path mismatch errors. This release resolves that issue.

Installation

go get github.com/mmonterroca/docxgo/v2@v2.0.1

Usage

All imports now use the /v2 path:

import (
    docx "github.com/mmonterroca/docxgo/v2"
    "github.com/mmonterroca/docxgo/v2/domain"
)

Notes

  • This release contains the same features as v2.0.0
  • Only the module path declaration has been fixed
  • All tests passing
  • No API changes

Upgrading from v2.0.0

If you were using v2.0.0 (which was broken), simply update your dependencies:

go get github.com/mmonterroca/docxgo/v2@v2.0.1

No code changes required - just update the version in your go.mod.


Full Changelog: See CHANGELOG.md for complete version history.