Releases: ossuminc/riddl
Releases · ossuminc/riddl
0.7.1
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
- Remove Hugo Dependencies by @reid-spencer in #125
- Hugo improvements by @reid-spencer in #126
- Full Changelog: 0.7.0...0.7.1
Bug Fixes & New Features
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 usefrom {entityRef}
instead ofto {entityRef}
to specify the origin of the messages for that inlet - The
outlet
definition was changed to useto {entityRef}
instead offrom {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
- Omnibus Fixes by @reid-spencer in #120
- Bug fixes by @reid-spencer in #121
- Add "info" command by @reid-spencer in #122
- Type & Expression Updates by @reid-spencer in #123
- Allow PlantDefinitions in Contexts by @reid-spencer in #124
Full Changelog: 0.6.0...0.7.0
0.6.0
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