File: upgrading.md

package info (click to toggle)
php-league-commonmark 2.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,260 kB
  • sloc: php: 20,378; xml: 1,988; ruby: 45; makefile: 21; javascript: 15
file content (12 lines) | stat: -rw-r--r-- 446 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
---
layout: default
title: Upgrading from 2.1 to 2.2
description: Guide to upgrading to newer versions of this library
---

# Upgrading from 2.1 to 2.2

## Deprecation of `MarkdownConverterInterface`

The `MarkdownConverterInterface` and its `convertToHtml()` method were deprecated in 2.2.0 and will be removed in 3.0.0.
You should switch your implementations to use `ConverterInterface` and `convert()` instead which provide the same behavior.