Skip to content

Commit

Permalink
version 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jadbin committed Oct 24, 2017
1 parent 036675d commit 9c26c5a
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 9 deletions.
36 changes: 28 additions & 8 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,26 @@
Change log
==========

0.7.0 (2017-10-24)
------------------

New features
~~~~~~~~~~~~

- 使用继承Dupefilter的去重过滤器来实现去重功能,系统配置新增``dupefilter_cls``项,用于替换默认的去重过滤器
- ``xpaw.utils.run``模块中新增``run_crawler``函数,便于在python代码中控制开启爬虫
Update
~~~~~~
- 使用config.py替代config.yaml作为配置文件,移除对pyyaml的依赖
- ForwardedForMiddleware移动到``xpaw.downloadermws.headers``模块下
- 修改aiohttp的版本限制到>=2.2.0
- 更新了中间件的错误处理机制
- 不再采用中间件的形式实现请求的去重功能,并移除相关的中间件
- ProxyAgentMiddleware的``proxy_agnet``配置下面``addr``字段更名为``agent_addr``


0.6.5 (2017-05-09)
------------------

Expand All @@ -16,8 +36,8 @@ Bug fixes

- ResponseMatchMiddleware的配置修改为列表

Incompatible changes
~~~~~~~~~~~~~~~~~~~~
Update
~~~~~~

- middleware的顺序修改为依次向downloader/spider靠近,层层包裹
- 移除任务配置中随机生成的 ``task_id``
Expand All @@ -31,17 +51,17 @@ Bug fixes

- HttpResponse中的 ``url`` 字段源于aiohttp返回的ClientResponse中的 ``url`` 字段,实际应为 ``URL`` 对象

Incompatible changes
~~~~~~~~~~~~~~~~~~~~
Update
~~~~~~

- LocalCluster启动时不再新建一个线程


0.6.3 (2017-05-01)
------------------

Incompatible changes
~~~~~~~~~~~~~~~~~~~~
Update
~~~~~~

- 优化日志工具中设置日志的接口

Expand Down Expand Up @@ -70,8 +90,8 @@ New features
- 新增SpeedLimitMiddleware,用于爬虫限速
- 新增ProxyMiddleware,用于为请求添加指定代理

Incompatible changes
~~~~~~~~~~~~~~~~~~~~
Update
~~~~~~

- 移除MongoDedupeMiddleware及对pymongo的依赖
- 修改ProxyAgentMiddleware、RetryMiddleware在配置文件中的参数格式
Expand Down
2 changes: 1 addition & 1 deletion xpaw/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# coding=utf-8

__version__ = "0.7.0a1"
__version__ = "0.7.0"

0 comments on commit 9c26c5a

Please sign in to comment.