Skip to content

Commit ec32bd0

Browse files
committed
Drop deprecated diff routes from server
Now is a good time to do this, as we switch to an entirely new package.
1 parent 088ad72 commit ec32bd0

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

web_monitoring_diff/server/server.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,30 +48,19 @@
4848
# applying diff-match-patch (dmp) to strings (no tokenization)
4949
"html_text_dmp": basic_diffs.html_text_diff,
5050
"html_source_dmp": basic_diffs.html_source_diff,
51-
# three different approaches to the same goal:
5251
"html_token": html_render_diff.html_diff_render,
53-
54-
# deprecated synonyms
55-
"links_diff": html_links_diff.links_diff,
56-
"html_text_diff": basic_diffs.html_text_diff,
57-
"html_source_diff": basic_diffs.html_source_diff,
58-
"html_visual_diff": html_render_diff.html_diff_render,
5952
}
6053

6154
# Optional, experimental diffs.
6255
try:
6356
from ..experimental import htmltreediff
6457
DIFF_ROUTES["html_tree"] = htmltreediff.diff
65-
# Deprecated synonym
66-
DIFF_ROUTES["html_tree_diff"] = htmltreediff.diff
6758
except ModuleNotFoundError:
6859
...
6960

7061
try:
7162
from ..experimental import htmldiffer
7263
DIFF_ROUTES["html_perma_cc"] = htmldiffer.diff
73-
# Deprecated synonym
74-
DIFF_ROUTES["html_differ"] = htmldiffer.diff
7564
except ModuleNotFoundError:
7665
...
7766

0 commit comments

Comments
 (0)