# Changelog

> Release history of Markdown Content for Magento 2

Current version: **1.0.0**

## [1.0.0] - 2026-11-27

### Added

- Markdown responses on the same URL for requests that send `Accept: text/markdown`; browsers keep receiving HTML.
- `Content-Type: text/markdown; charset=utf-8` and an `x-markdown-tokens` estimate. With the built-in page cache both representations carry `Vary: Accept`.
- Conversion of home, CMS, category, product, search result and advanced search result pages that are publicly cacheable; every other page stays HTML.
- `etc/markdown_content.xml`: any module declares its own pages, by full action name, to make them available in Markdown. Merchants can exclude page types per store view.
- `Accept` negotiation that honours quality values and the `charset` parameter: HTML when the client prefers it, Markdown on a tie when it is named, UTF-8 only.
- Anonymous visitors only by default: a signed-in customer keeps receiving HTML unless the store turns on "Serve Signed-in Customers".
- `HEAD` requests are answered with the headers of the Markdown the same `GET` returns.
- Works with the built-in page cache: the cache stores one HTML copy of a page and Markdown is produced from it, so Magento's cache tags keep both formats current.
- A cache type of its own, "Markdown Content" (`qoliber_markdown_content`): converted Markdown is kept there, one entry per page and kind of visitor, under the page's own cache tags. A saved product, category, CMS page or block drops the Markdown of the pages that show it, and refreshing the Page Cache empties it too.
- Behind Varnish, a Markdown request is answered from kept Markdown without rendering the page.
- Prices shown with and without tax keep their labels ("Incl. Tax", "Excl. Tax").
- The metadata header carries the page language (`lang`).
- In developer mode, `X-Qoliber-Markdown-Cache` says whether the Markdown was read from the cache.
- Store view settings for excluded page types, signed-in customers, the content to convert (main content or whole document), images, additional elements to remove, the size limit, the metadata header, structured data and the token header.
- Cleanup rules for Luma and Hyvä markup: form controls, skip links, list toolbars, hidden elements, duplicate gallery images, and tab titles turned into headings.
- Extension points for removal rules, heading rules, content processors, the conversion library and the token estimator.
- Markdown is always sent `private, no-store`, so Varnish and CDNs never store it.
- A storefront guard for Magento 2.4.7, where a request for `Accept: text/markdown` can end in HTTP 500 on its own (on the cart, and on every page of a store that runs Magewire).
- Unit, integration and Playwright test suites, a Varnish test script, an HTTP check script and a script that runs them against other Magento versions.
