~cjwatson/lazr.restful/py3-html-escape

« back to all changes in this revision

Viewing changes to NEWS.rst

  • Committer: Colin Watson
  • Date: 2020-09-07 12:17:43 UTC
  • mfrom: (265.1.1 remove-safe_js_escape)
  • Revision ID: cjwatson@canonical.com-20200907121743-6dto4jdsuj2i314p
[r=ilasc] Remove lazr.restful.utils.safe_js_escape.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
Stop ``lazr.restful.utils.make_identifier_safe`` having locale-dependent
15
15
behaviour.
16
16
 
 
17
Remove ``lazr.restful.utils.safe_js_escape``.  Launchpad hasn't used it
 
18
since 2012, and it was a confusing interface in that it combined JavaScript
 
19
and HTML escaping.  If any code is still using this, it should use
 
20
``cgi.escape``/``html.escape`` (if necessary) and ``json.dumps`` directly
 
21
instead.
 
22
 
17
23
0.22.2 (2020-09-02)
18
24
===================
19
25