From a7a76ea8c5bcf2e89f10a5b500475a11a105187c Mon Sep 17 00:00:00 2001 From: ines Date: Wed, 1 Nov 2017 16:31:57 +0100 Subject: [PATCH] Update backwards incompatibilities Also add separate section for deprecated --- website/usage/_v2/_incompat.jade | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/website/usage/_v2/_incompat.jade b/website/usage/_v2/_incompat.jade index e7546e73c..daaa6141b 100644 --- a/website/usage/_v2/_incompat.jade +++ b/website/usage/_v2/_incompat.jade @@ -1,6 +1,14 @@ //- 💫 DOCS > USAGE > WHAT'S NEW IN V2.0 > BACKWARDS INCOMPATIBILITIES +p + | The following modules, classes and methods have changed between v1.x + | and v2.0. + +table(["Old", "New"]) + +row + +cell #[code spacy.download.en], #[code spacy.download.de] + +cell #[+api("cli#download") #[code cli.download]] + +row +cell | #[code spacy.en] etc. @@ -136,6 +144,17 @@ +cell #[code Token.is_ancestor_of] +cell #[+api("token#is_ancestor") #[code Token.is_ancestor]] ++h(3, "deprecated") Deprecated + +p + | The following methods are deprecated. They can still be used, + | but should be replaced. + ++table(["Old", "New"]) + +row + +cell #[code Tokenizer.tokens_from_list] + +cell #[+api("doc") #[code Doc]] + +row +cell #[code Span.sent_start] +cell #[+api("span#is_sent_start") #[code Span.is_sent_start]]