From 48689bbfe6840b7c6037ea5652b0d3589dbcfec2 Mon Sep 17 00:00:00 2001 From: Nikita Tikhonov Date: Sat, 8 Oct 2022 21:33:48 +0300 Subject: [PATCH] Prepare the next release. --- CHANGELOG.md | 9 +++++++++ README.md | 2 +- iters/__init__.py | 9 +++++++-- pyproject.toml | 4 ++-- 4 files changed, 19 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3df2b72..7cf6d96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,15 @@ +## 0.4.0 (2022-10-08) + +### Changes + +- The following functions have been changed: + - `async_iter` is now an alias of `AsyncIter`; + - `iter` is now an alias of `Iter`; + - `reversed` is now an alias of `iter.reversed`. + ## 0.3.0 (2022-08-17) ### Changes diff --git a/README.md b/README.md index 2931a84..f6bfe15 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ Or by directly specifying it in the configuration like so: ```toml [tool.poetry.dependencies] -iters = "^0.3.0" +iters = "^0.4.0" ``` Alternatively, you can add it directly from the source: diff --git a/iters/__init__.py b/iters/__init__.py index cce8bdd..32c8ea2 100644 --- a/iters/__init__.py +++ b/iters/__init__.py @@ -1,4 +1,9 @@ -"""Composable external iteration.""" +"""Composable external iteration. + +If you have found yourself with a *collection* of some kind, and needed to perform +an operation on the elements of said collection, you will quickly run into *iterators*. +Iterators are heavily used in idiomatic Python code, so becoming familiar with them is essential. +""" __description__ = "Composable external iteration." __url__ = "https://github.com/nekitdev/iters" @@ -6,7 +11,7 @@ __title__ = "iters" __author__ = "nekitdev" __license__ = "MIT" -__version__ = "0.3.0" +__version__ = "0.4.0" from iters.async_iters import ( AsyncIter, diff --git a/pyproject.toml b/pyproject.toml index 7645778..5b1ef00 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "iters" -version = "0.3.0" +version = "0.4.0" description = "Composable external iteration." authors = ["nekitdev"] license = "MIT" @@ -131,7 +131,7 @@ warn_unused_ignores = false # compatibility [tool.changelogging] name = "iters" -version = "0.3.0" +version = "0.4.0" url = "https://github.com/nekitdev/iters" directory = "changes" output = "CHANGELOG.md"