You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/news.rst
+3-2
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,6 @@ Web UI
42
42
API
43
43
^^^
44
44
45
-
- The ``Access-Control-Allow-Methods`` response header contains only the HTTP methods to which webservices respond.
46
45
- Clarify error messages, for example:
47
46
48
47
- ``'project' parameter is required``, instead of ``'project'`` (KeyError)
@@ -79,6 +78,7 @@ Library
79
78
- ``sorted_versions`` to ``scrapyd.eggstorage``
80
79
- ``get_crawl_args`` to ``scrapyd.launcher``
81
80
81
+
- :ref:`jobstorage` uses the ``ScrapyProcessProtocol`` class, by default. If :ref:`jobstorage` is set to ``scrapyd.jobstorage.SqliteJobStorage``, Scrapyd 1.3.0 uses a ``Job`` class, instead.
82
82
- Move the ``activate_egg`` function from the ``scrapyd.eggutils`` module to its caller, the ``scrapyd.runner`` module.
83
83
- Move the ``job_items_url`` and ``job_log_url`` functions from the ``scrapyd.jobstorage`` module to the ``scrapyd.utils`` module. :ref:`jobstorage` is not responsible for URLs.
84
84
- Change the ``get_crawl_args`` function to no longer convert ``bytes`` to ``str``, as already done by its caller.
@@ -100,7 +100,8 @@ Fixed
100
100
API
101
101
^^^
102
102
103
-
- The Content-Length header counts the number of bytes, instead of the number of characters.
103
+
- The ``Content-Length`` header counts the number of bytes, instead of the number of characters.
104
+
- The ``Access-Control-Allow-Methods`` response header contains only the HTTP methods to which webservices respond.
104
105
- The :ref:`schedule.json` webservice sets the ``node_name`` field in error responses.
105
106
- The next pending job for all but one project was unreported by the :ref:`daemonstatus.json` and :ref:`listjobs.json` webservices, and was not cancellable by the :ref:`cancel.json` webservice.
0 commit comments