CHANGELOG (2972B)
1 # Changelog 2 3 - 5.0.1 (2020-06-26) 4 * Fixes a bug where some functions (namely, 'patp') could enter an 5 infinite loop when supplied with a null value. 6 7 - 5.0.0 (2020-03-24) 8 * The isValidPat{p, q} functions now perform stricter validations on their 9 inputs. 10 * Adds an 'isValidPat' function that implements the old behaviour of 11 isValidPatp/isValidPatq for faster, but weaker, string validation. 12 13 - 4.1.4 (2019-09-09) 14 * Further fixes to the 'browser' specification [1]. Drops the single-line 15 "simple" spec in favour of the object version. In this case we give a 16 hint to downstream bundlers to replace instances of "urbit-ob" with the 17 browser bundle we distribute. 18 19 - 4.1.3 (2019-09-09) 20 * Further fixes to the 'browser' specification. Uses the single-line 21 spec outlined in [1] that simply provides an entry point hint for 22 builders. 23 24 [1]: https://github.com/defunctzombie/package-browser-field-spec 25 26 - 4.1.2 (2019-09-05) 27 * Reverts change that likely caused the 'browser' specification in 28 package.json to break. 29 30 - 4.1.1 (2019-08-07) 31 * Reverts change that messed up the library's namespacing downstream. 32 33 - 4.1.0 (2019-08-07) 34 * Adds a browser build. The library should now "just work" when imported 35 in a browser app, instead of requiring building downstream. (#24) 36 37 - 4.0.1 (2019-06-17) 38 * Fixes a bug in isValidPat{p, q} that caused it to return 'true' for '~'. 39 (#23) 40 41 - 4.0.0 (2019-03-18) 42 * Fixes the @p collision bug described in urbit/arvo#1105. 43 44 An error in the Hoon implementation of a permutation cipher used to 45 encipher planet-sized atoms resulted in the cipher not being bijective, 46 occasionally causing different inputs to produce the same output. 47 48 This version updates the 'patp' family of functions to support the 49 corrected cipher. 50 51 - 3.2.0 (2019-02-08) 52 * Improvements to error reporting. E.g., instead of 'clan("~nidso")' 53 throwing an error labelled 'patp2hex', it will now throw one labelled 54 'clan'. 55 56 - 3.1.1 (2018-12-01) 57 * Short-circuit on isValidPatp and isValidPatq when there is no leading 58 tilde. 59 60 - 3.1.0 (2018-11-16) 61 * Exports 'isValidPatp' and 'isValidPatq' functions for checking the 62 validity of @p and @q strings. 63 64 - 3.0.0 (2018-11-02) 65 * Major library cleanup and API simplification. Eliminates old, dead, 66 or redundant code that had accrued over time. Exposes patp, patp2dec, 67 patp2hex, and hex2patp functions as the API core (and similarly for @q). 68 * Adds proper in-library documentation, and beefs up the README. 69 * Adds property tests for both internals and exposed functions. 70 * Standardises output, e.g. by always including a leading tilde in @p 71 values. 72 73 - 2.0.0 (2018-10-22) 74 * Bundle/distribute as CommonJS. 75 76 - 1.4.0 (2018-10-10) 77 * Add 'eqPatq' function for comparing @q values for equality (i.e., modulo 78 leading zero bytes).