Skip to content

Releases: paranim/pararules

1.4.0

18 Jan 02:10
Compare
Choose a tag to compare

This release reverts the last one due to a memory leak. This is temporary until we find a fix for it.

1.3.0

04 Jan 00:13
Compare
Choose a tag to compare

This release adds a performance optimization that can dramatically reduce internal copying. Thanks to @ul for the PR!

1.2.0

22 Dec 12:10
Compare
Choose a tag to compare

This release adds a fix for Nim 2.0 compatibility.

1.1.0

16 May 09:31
Compare
Choose a tag to compare

This release adds support for using aliased types, such as common.People, in the schema macro. Previously it was strict and allowed only simple names, so you had to do an unqualified import of the type so it could be defined as People. It still does not allow names with type params, such as HashSet[int], so you still need to make a type alias for them.

The schema macro also still does not allow providing an identical type with different names, such as string and system.string, but i made it give a much friendlier error message now:

Error: unhandled exception: system.string is the same type as string, but they have different names. This is currently not allowed in the schema macro. Please use only one of these names. [Exception]

1.0.0

05 Jan 02:47
Compare
Choose a tag to compare

This release is the first major version bump of pararules, coming almost two years after the first release, 0.1.0. It adds staticRuleset, which is a more flexible alternative to the earlier initSessionWithRules macro. The latter remains available for compatibility but is not recommended for use anymore.