Skip to content

Commit

Permalink
Release 1.3.0 (unstable) (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anilm3 authored Apr 4, 2022
1 parent 770b312 commit 627d895
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# libddwaf release

### v1.3.0 (unstable) - 2022/04/04
- WAF event obfuscator.
- Add obfuscator configuration to `ddwaf_config`.
- Changes to limits in `ddwaf_config`:
- Rename `maxArrayLength` to `limits.max_container_size`.
- Rename `maxMapDepth` to `limits.max_container_depth`.
- Add `limits.max_string_length`, currently unused.
- All limits are now `uint32`.
- Relevant macros renamed accordingly.

### v1.2.1 (unstable) - 2022/03/17
- Fix issue on ruleset error map reallocation causing cached pointer invalidation.
- Add check for empty input map on parser.
Expand Down
2 changes: 1 addition & 1 deletion src/PowerWAF.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class PowerWAF
static PowerWAF* fromConfig(const ddwaf_object rules,
const ddwaf_config* config, ddwaf::ruleset_info& info);

static constexpr ddwaf_version waf_version { 1, 2, 1 };
static constexpr ddwaf_version waf_version { 1, 3, 0 };

PWManifest manifest;
ddwaf::rule_vector rules;
Expand Down
4 changes: 2 additions & 2 deletions tests/TestInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,8 @@ TEST(FunctionalTests, ddwaf_get_version)
ddwaf_get_version(&version);

EXPECT_EQ(version.major, 1);
EXPECT_EQ(version.minor, 2);
EXPECT_EQ(version.patch, 1);
EXPECT_EQ(version.minor, 3);
EXPECT_EQ(version.patch, 0);
}

TEST(FunctionalTests, ddwaf_runNull)
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.1
1.3.0

0 comments on commit 627d895

Please sign in to comment.