Skip to content

Releases: camertron/rux

v1.4.0

06 Dec 05:45

Choose a tag to compare

  • Implement React-style contexts for passing arguments across arbitrary levels of component nesting.
    • Define a new context via Rux.create_context.
    • Read that context later via Rux.use_context.

v1.3.0

26 Oct 20:49

Choose a tag to compare

1.3.0

  • Automatically add generated files to an ignore file, eg. .gitignore.
    • Pass the --ignore-path=PATH flag to ruxc to indicate the file to update.
  • Add the ruxlex executable that prints parser tokens for debugging purposes.
  • Preserve Ruby comments in generated files.
  • Fix the as: argument, which was being improperly generated in earlier versions.
  • General parser improvements.
    • Allows fragments to be nested within other tags.
    • Allows tags after ruby code in branch structures like if..else.
  • Allows HTML attributes to start with @.