Releases: paranim/pararules
1.4.0
1.3.0
1.2.0
1.1.0
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
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.