From 2b0983c4420daff151c7eb583f6cae88e845eeef Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Mon, 12 Sep 2022 01:23:58 +0200 Subject: Moved changes summary to bottom of README.md --- README.md | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index dacc5a3e..86b773ca 100644 --- a/README.md +++ b/README.md @@ -3,18 +3,8 @@ STC - Smart Template Containers for C ===================================== -News: Version 4.0 Release Candidate (Aug 2022) ---------------------------------------- -API changes summary V3.8 - V4.0: -- Added **cregex** with documentation - powerful regular expressions. -- Updated **cstr**, now always takes self as pointer, like all containers except csview. -- Updated **cvec**, **cdeq**, changed `*_range*` function names. -- `c_with`: macro renamed from `c_autovar`, which is deprecated. Like Python's **with** statement. -- `c_scope`: macro renamed from `c_autoscope`, which is deprecated. -- `c_defer`: macro renamed from `c_autodefer`, which is deprecated. Like Go's and Zig's **defer**. -- `c_forrange` with 3 to 5 args: swapped 1st <-> 2nd arg. -- New `c_forarray` macro to replace usages of `c_apply`, which is removed. -- Added back **coption** - command line argument parsing. +News: Version 4.0 Release Candidate 2 (Sep 2022) +------------------------------------------------ - [See detailed changes for version 3](#version-3). Introduction @@ -475,6 +465,18 @@ Memory efficiency # Version 3 +## API changes summary V3.8 - V4.0 +- Added **cregex** with documentation - powerful regular expressions. +- Updated **cstr**, now always takes self as pointer, like all containers except csview. +- Updated **cvec**, **cdeq**, changed `*_range*` function names. +- `c_with`: macro renamed from `c_autovar`, which is deprecated. Like Python's **with** statement. +- `c_scope`: macro renamed from `c_autoscope`, which is deprecated. +- `c_defer`: macro renamed from `c_autodefer`, which is deprecated. Like Go's and Zig's **defer**. +- `c_forrange` with 3 to 5 args: swapped 1st <-> 2nd arg. +- New `c_forarray` macro to replace usages of `c_apply`, which is removed. +- Added back **coption** - command line argument parsing. +- [See detailed changes for version 3](#version-3). + ## Changes version 3.8 - Overhauled some **cstr** and **csview** API: - Changed cstr_replace*() => `cstr_replace_at*(self, pos, len, repl)`: Replace at specific position. -- cgit v1.2.3