github lukeed/worktop v0.7.0

latest releases: v0.8.0-next.18, v0.8.0-next.16, v0.8.0-next.17...
2 years ago

Breaking

  • (utils) Move uid to alphanum alphabet (#54, #57): ce3cd09
    Before this version, the uid export inside worktop/utils was using a hexadecimal alphabet (abcdef1234567890), which it shared with the uuid export.

    As of this version, the uid utility is not using a full alphanumeric dictionary instead: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_

    This change allows for more combinations given the same output length. For example, to produce a 6-character string:

    // hexadecimal (before)
    6 ** 16; // 2.8211099e+12 possibilities
    
    // alphanumeric (after)
    6 ** 64; // 6.3340287e+49 possibilities

    Creating a 1280-length character string using the current hexadecimal format has 5.1922969e+49 combinations, which is still fewer than a 6-length alphanumeric (full) alphabet.

    This is a breaking change because changing the dictionary changes the possible contents of the uid output.

  • (router) Remove find public method (#58): eacefc9
    This method should never have been used in the first place. Removing it now to pave the way for a future feature release, which requires that find does not exist.

Features

  • Allow the reply utilities to accept custom request parameter: ca7ae9a
    See #53 for a possible use case.

Chores

Don't miss a new worktop release

NewReleases is sending notifications on new releases.