Skip to content

Commit

Permalink
poetry version: 3.9.6 -> 3.9.7
Browse files Browse the repository at this point in the history
  • Loading branch information
shengchenyang committed Mar 8, 2024
1 parent 5261e86 commit 213e1dd
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ayugespidertools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
"__version__",
]

__version__ = "3.9.6"
__version__ = "3.9.7"
2 changes: 2 additions & 0 deletions ayugespidertools/templates/project/module/VIT/.conf
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@
; 参数 doc 为需要操作的文件夹目录,比如 file/img,为可选参数。
; 参数 upload_fields_suffix 为需要上传的字段规则,如果此字段包含此后缀则会上传此网络流至 oss,默认为 _file_url;
; 参数 oss_fields_prefix 为上传至 oss 的字段对应的新 AyuItem 字段名规则,新字段会在原字段加上此前缀,默认为 _。
; 参数 full_link_enable 为是否保存完整的 oss 文件链接,默认 false。

;[oss:ali]
;access_key=
Expand All @@ -160,3 +161,4 @@
;doc=
;upload_fields_suffix=_file_url
;oss_fields_prefix=_
;full_link_enable=false
24 changes: 24 additions & 0 deletions docs/additional/news.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# Release notes

## AyugeSpiderTools 3.9.7 (2024-03-08)

### Deprecations

- 无。

### New features

- `oss` 场景添加是否保存完整链接的配置 `full_link_enable`,默认 `false`,不影响旧项目。([009ac20](https://github.com/shengchenyang/AyugeSpiderTools/commit/009ac20a4db55069c4b0cee5822834e42e21ba00))
- `oss` 场景不再需要手动添加上传的字段是否为空的判断。([009ac20](https://github.com/shengchenyang/AyugeSpiderTools/commit/009ac20a4db55069c4b0cee5822834e42e21ba00))

### Bug fixes

- 修复 `aiohttp` 场景下由于目标网站未遵守编码时可能会出现的编码问题。([d2772b5](https://github.com/shengchenyang/AyugeSpiderTools/commit/d2772b5960c972c4cc6ee6e6ce541fa00e34a7fb))

### Code optimizations

- 添加 `aiohttp` 可支持的请求方式。([c7c247e](https://github.com/shengchenyang/AyugeSpiderTools/commit/c7c247e1badf411a149d9d6e1430230ec81e99a8))
- 优化 `oss`, `file download` 场景的 `pipeline` 示例,减少复杂逻辑。([b0929d8](https://github.com/shengchenyang/AyugeSpiderTools/commit/b0929d8adba7c4d3ce2c7064a56656825d8802b7), [f0f1b2f](https://github.com/shengchenyang/AyugeSpiderTools/commit/f0f1b2f61e449e30812d7410e55652d4fcb42169))
- 测试场景增加剔除无关代码块的规则。([3e0ce94](https://github.com/shengchenyang/AyugeSpiderTools/commit/3e0ce949340b8d27f95d86ecbcbd8bf04e85cccd))
- 代码风格统一,补充缺失的 `type hint`,提升开发体验。

<hr>

## AyugeSpiderTools 3.9.6 (2024-02-18)

### Deprecations
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "AyugeSpiderTools"
version = "3.9.6"
version = "3.9.7"
description = "scrapy 扩展库:用于扩展 Scrapy 功能来解放双手。"
authors = ["ayuge <ayugesheng@gmail.com>"]
maintainers = ["ayuge <ayugesheng@gmail.com>"]
Expand Down

0 comments on commit 213e1dd

Please sign in to comment.