From 8fa55cde4c0cde8a1ba4ced1c131827eb4005f0d Mon Sep 17 00:00:00 2001 From: "Victor M. Alvarez" Date: Tue, 13 Feb 2024 12:33:22 +0100 Subject: [PATCH] Bump version number to 4.5.0 --- configure.ac | 2 +- docs/conf.py | 4 ++-- docs/gettingstarted.rst | 4 ++-- docs/writingrules.rst | 8 ++++---- libyara/include/yara/libyara.h | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/configure.ac b/configure.ac index 08c6a8cb5d..bc23ee9fba 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([yara], [4.4.0], [vmalvarez@virustotal.com]) +AC_INIT([yara], [4.5.0], [vmalvarez@virustotal.com]) AM_SILENT_RULES([yes]) AC_CONFIG_SRCDIR([cli/yara.c]) diff --git a/docs/conf.py b/docs/conf.py index 5b144d5291..25d263ca64 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -51,9 +51,9 @@ # built documents. # # The short X.Y version. -version = '4.4' +version = '4.5' # The full version, including alpha/beta/rc tags. -release = '4.4.0' +release = '4.5.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/gettingstarted.rst b/docs/gettingstarted.rst index b52063157b..0639f36fb7 100644 --- a/docs/gettingstarted.rst +++ b/docs/gettingstarted.rst @@ -12,8 +12,8 @@ Compiling and installing YARA Download the source tarball and get prepared for compiling it:: - tar -zxf yara-4.4.0.tar.gz - cd yara-4.4.0 + tar -zxf yara-4.5.0.tar.gz + cd yara-4.5.0 ./bootstrap.sh Make sure you have ``automake``, ``libtool``, ``make`` and ``gcc`` and ``pkg-config`` installed in your system. Ubuntu and Debian users can use:: diff --git a/docs/writingrules.rst b/docs/writingrules.rst index f43b591b2f..6547508560 100644 --- a/docs/writingrules.rst +++ b/docs/writingrules.rst @@ -741,7 +741,7 @@ the C API. Unreferenced strings -------------------- -YARA 4.4.0 allows for unreferenced strings in the condition. If a string +YARA 4.5.0 allows for unreferenced strings in the condition. If a string identifier starts with an ``_`` then it does not have to be referenced in the condition. Any other string must be referenced in the condition. This is useful if you want to search for particular strings and handle them in a custom @@ -1340,7 +1340,7 @@ using the syntax: @a[i], where i is an index indicating which occurrence of the string $a you are referring to. (@a[1], @a[2],...). Sometimes you will need to iterate over some of these offsets and guarantee -they satisfy a given condition. In such cases you can use the ``for..in`` syntax, +they satisfy a given condition. In such cases you can use the ``for..in`` syntax, for example: .. code-block:: yara @@ -1387,8 +1387,8 @@ applies here: for 2 i in (1..#a) : ( @a[i] < 100 ) The ``for..in`` operator is similar to ``for..of``, but the latter iterates over -a set of strings, while the former iterates over ranges, enumerations, arrays and -dictionaries. +a set of strings, while the former iterates over ranges, enumerations, arrays and +dictionaries. Iterators diff --git a/libyara/include/yara/libyara.h b/libyara/include/yara/libyara.h index 9b378d0622..addc627a95 100644 --- a/libyara/include/yara/libyara.h +++ b/libyara/include/yara/libyara.h @@ -33,7 +33,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include #define YR_MAJOR_VERSION 4 -#define YR_MINOR_VERSION 4 +#define YR_MINOR_VERSION 5 #define YR_MICRO_VERSION 0 #define version_str(s) _version_str(s)