commit fbcf2e76e86a1e8caf68176a8ef7c1ec0e3e9880
parent 5bf1308c6515d401e4ee0814074c56808535fb00
Author: Jared Tobin <jared@jtobin.io>
Date: Tue, 24 Mar 2020 16:54:01 +0400
release: v5.0.0
Diffstat:
3 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG b/CHANGELOG
@@ -1,5 +1,11 @@
# Changelog
+- 5.0.0 (2020-03-24)
+ * The isValidPat{p, q} functions now perform stricter validations on their
+ inputs.
+ * Adds an 'isValidPat' function that implements the old behaviour of
+ isValidPatp/isValidPatq for faster, but weaker, string validation.
+
- 4.1.4 (2019-09-09)
* Further fixes to the 'browser' specification [1]. Drops the single-line
"simple" spec in favour of the object version. In this case we give a
diff --git a/README.md b/README.md
@@ -61,6 +61,8 @@ There are a few other noteworthy functions exposed as well:
* `clan`, for determining the ship class of a `@p` value
* `sein`, for determining the parent of a `@p` value
* `eqPatq`, for comparing `@q` values for equality
+* `isValidPat`, for a faster/weaker check of `@p` or `@q`-ness that only
+ validates syllables (and not proper dash formatting)
For example, you can check that `~marzod` is a star with parent `~zod`:
diff --git a/package.json b/package.json
@@ -1,6 +1,6 @@
{
"name": "urbit-ob",
- "version": "4.1.4",
+ "version": "4.1.5",
"license": "MIT",
"description": "Utilities for Hoon-style atom printing and conversion",
"main": "src/index.js",