Skip to content

Releases: discord-net/ComponentDesigner

v1.0.0-rc-2

31 Dec 20:53

Choose a tag to compare

v1.0.0-rc-2 Pre-release
Pre-release

Additions

  • Added per-function call overloads for generator options AutoRows and AutoTextDisplays.
  • Added XML documentation to the public APIs.
  • Added HTML/XML escape codes (<, etc).
  • Added timestamp text control element.
  • Added mention text control element.

Fixes

  • Fixed diagnostics being produced for auto text control element when they encounter a non-text element.
  • Fixed constant values not being used correctly in text displays and text control elements.
  • Fixed incorrect diagnostics about requiring constant values when passing cx function call as a parameter to another function.
  • Fixed index out of bounds exception when modifying CX.
  • Fixed zero-width diagnostics not outlining the source with a squiggly.
  • Fixed calls to cx with an empty string not generating an interceptor.

Changes

  • Changed the runtime exception for un-intercepted cx to UnreachableException.
  • Improved the diagnostics reported for disabled features.
  • Improved rendering/generating values from attributes.
  • Improved coverage of built-in types in functional components.
  • Improved syntax related diagnostics.

v1.0.0-rc-1

23 Dec 19:37

Choose a tag to compare

v1.0.0-rc-1 Pre-release
Pre-release

The first release candidate of the component builder! 🎉

Notable features

  • Compile-time validation
  • html/jsx like syntax for writing/designing Discord components v2
  • No runtime performance hit- emits interceptors
  • Custom functional components

Check out the README.md for how to install and for documentation!