Skip to content

v0.1.0-alpha

Pre-release
Pre-release
Compare
Choose a tag to compare
@Lambels Lambels released this 09 Dec 18:34
· 27 commits to main since this release

This is the first official pre release, although throughout the code base there were several unoficial major changes, this is the first official version.

What is new?

Messsage Packets:

  • Changes field: Monitors the number of changes applied on the message throughout the pipeline. This value will be used in the near future to add a max number of changes applied to a message.
  • Skip field: Skip field indicates a countdown for how many layers the packet should skip.
  • Value field: This value holds a copy of the message.

Max Bytes:

  • Changed MaxLen to MaxBytes making the name more appropiate to the function.
  • MaxBytes indicates the max number of UTF-8 bytes in a message.
  • To not be confused with the max number of characters (coming soon).

Strip Numbers:

  • The strip numbers function is now a configurable field in the config.
  • Default strip numbers function now only splits on ascii numbers whilst there is a provided alternative which splits on unicode numbers.

Better Tokenize Implementation:

  • Now the tokenize default implementation is more intelligent and splits on pascal case also rather then just the symbols.
  • The tokenize function is now a configurable field in the config.

Code Refactoring + Optimisations:

  • Added a packet broadcaster to abstract most of the logic in the layers. (not stable)
  • Synced out buffer clean implementation for writing synced values out in the uniform layer. (not stable)
  • A pool of randomised indexes is now used to determine what affix is used by affix shuffle transformer.

Transformers:

  • All transformers now take in and give out message packets now.
  • For all the transformers you can check the individual documentation in the file of the transformer.

Abreviation (new):

  • Prefix, suffix, circumfix options.
  • Makes an abreviation out of the word.
  • Docs

Affix Shuffle (new):

  • Adds random affixes to the message from a word bank.
  • Can also take values from context via the StringFromContext function.
  • Docs

Camel Case (new):

  • Creates a camel case variation from the message tokens.
  • Docs

Kebab Case (new):

  • Creates a kebab case variation from the message tokens.
  • Docs

Pascal Case (new):

  • Creates a pascal case variation from the message tokens.
  • Docs

Snake Case (new):

  • Creates a snake case variation from the message tokens.
  • Docs

Symbol (new):

  • Adds a symbol inrementally throughout the message.
  • Docs

Random Order (new):

  • Randomises the order of tokens in a message.
  • Docs

Plural (new):

  • Adds an 's' at the end of the message.
  • Docs

Numbers (new):

  • Prefix, suffix and circumfix variations.
  • Adds stripped numbers from the message to the message.
  • Can also take in a number from NumberFromContext.
  • Docs

Noop (new):

  • Passes the message packet to the next layer without touching it.

Incremental (new):

  • Prefix, suffix and circumfix variations.
  • Adds an incrementally large number to the message.
  • Docs

Homoglyph (new):

  • Replaces letters with homoglyphs provided via confidence maps.
  • Docs