Skip to content

Releases: ossuminc/riddl

0.7.1

15 Aug 00:04
741bcbf
Compare
Choose a tag to compare
0.7.1 Pre-release
Pre-release

Language Changes

Allow multiple authors:

  • Domains can now have multiple named author definitions, and they don't have to come first in the domain.

New Features

Remove external dependencies (hugo & tar) from hugo subcommand:

  • Implemented a new Tar utility with commons-compress to unpack tar.gz files
  • Used utils/Tar.untar to unpack the hugo-geekdoc.tar.gz file.
  • Always construct hugo sites manually without forking a hugo new site command
  • Remove the -H option as hugo path is no longer needed

Improve Hugo Site Generation:

  • Added options to specify the site, title, and description
  • Removed the siteLogo option since it can just be put in the static directory instead of loaded from a URL
  • Made riddlc read the previously unsupported "withXXX" options
  • Always create the hugo output dir if it doesn't exist
  • Handle the siteLogoPath option properly

Bugs Fixed

  • Fix a bug with resource loading from system class loader

Refactoring & Cleanup

  • Move copyURLToDir to a utils function
  • Simplify the function that generates the config.toml from a template

Documentation Changes

Update README:

  • Add missing path element in Getting Started section of README
  • Add instructions for using sbt-riddl plugin

Related Pull Requests

Bug Fixes & New Features

13 Aug 21:04
a0c4542
Compare
Choose a tag to compare
Pre-release

Language Changes

  • Defining messages got simpler. Instead of this:
    type AMessage is event { field: AType } you can now just write: event AMessage is { field: AType }
  • You can now put stream processing definitions (source, sink, flow, merge, split) in context definitions; previously, they were only permitted in plant definitions. Plants, however, still must be defined in domains.
  • The inlet definition was changed to use from {entityRef} instead of to {entityRef} to specify the origin of the messages for that inlet
  • The outlet definition was changed to use to {entityRef} instead of from {entityRef} to specify the origin of the messages for that inlet
  • You can now use the creation operator, !, to represent expressions that create aggregate type or message values. Each field of the aggregate or message is prefixed by its name and then assigned a value, like !MyAggregateType(field = @SomeValue)
  • A new kind of "on clause" is supported with on other syntax as a catch-all in a handler
  • There is now a new "error" action to generate errors in the intended application. Use like error "message"

Other New Functionality

  • The new "info" command on riddlc will print out detailed build information, including the version number
  • Thrown exceptions that turn into errors now come with full stack traces on output

Bug Fixes

  • When references or identifiers were empty, the validator made a lot of noise. This is now fixed.
  • Don't allow on clause bodies to be empty unless they have ???
  • Fixed a bug where != conditional expression symbol was being interpreted as greather-than-or-equal

Documentation Updates

  • Update README.md to provide simple usage instructions for active development of riddl models
  • Provide a releasing guide in the Developer's Guide

Version Changes

  • Upgrade to buildinfo 0.11.0
  • Upgrade to scalac 2.13.8

Involved Pull Requests

Full Changelog: 0.6.0...0.7.0

0.6.0

11 Aug 23:54
Compare
Choose a tag to compare
0.6.0 Pre-release
Pre-release

This release adds:

  • support for handlers in contexts, for specifying stateless APIs
  • support for "on any" clauses in handlers as a catch-all for any kind of message
  • support for "yield" action to yield an event from a command

Full Changelog: 0.5.9...0.6.0