Skip to content

Releases: fujaba/fulibScenarios

fulibScenarios v1.3.0

11 Jul 21:27
5acc24e
Compare
Choose a tag to compare

New Features

  • Added support for Decorators with the --decorator-classes option. #161

Enhancements

  • Take Sentences now allow an oxford comma before and.

fulibScenarios v1.2.0

11 Jul 21:27
b9f211b
Compare
Choose a tag to compare

New Features

  • Added the matches/match conditional operators for testing strings against regular expressions. #169
  • Added Match Sentences for advanced pattern matching. #170

Bugfixes

  • Fixed the is and is not operators with operands of boxed primitive type generating == instead of equals. #171

fulibScenarios v1.1.0

11 Jul 21:27
e99a8eb
Compare
Choose a tag to compare

New Features

  • Added fix suggestions to many error messages. #165
  • Added the --dry-run command-line option for skipping code generation. #166
  • Added the --tables option for generating table classes. #167

Bugfixes

  • Fixed parameters not being assigned a position, which can cause a compiler exception. #168
  • Fixed some deprecation translation keys incorrectly declaring removal in v0.9.0.
  • Fixed typo in output if >1 warnings and 0 errors are generated.

fulibScenarios v1.0.0

11 Jul 21:26
d220c47
Compare
Choose a tag to compare

Breaking Changes

  • Added a diagnostic error for writes to multi-valued attributes or associations. #157
  • Is Sentences can no longer be used to reassign variables. #158
  • It now counts as a redeclaration error if a variable name shadows a method name. #159
  • The artifact no longer includes Fulib, FulibYaml and FulibTools classes, but declares a Maven dependency instead.

Enhancements

  • Added a diagnostic error for calls with primitive receivers. #160
  • The java.lang and org.fulib.mockups packages are now imported by default.
  • The jar file containing java.lang classes is now automatically included on the classpath.

Bugfixes

  • Fixed an exception caused by unresolved call receivers. #160
  • Fixed an exception when adding to a parameter name. #153
  • Fixed an issue that caused method decompilation to fail in some cases.
  • Fixed creation of a duplicate variable when writing to a parameter name. #154
  • Has Sentences with erroneous receivers no longer produce a second error marker.

fulibScenarios v0.9.1

11 Jul 21:26
dc1745b
Compare
Choose a tag to compare
  • Fixed an exception caused by unresolved list attribute access. #149
  • Fixed invalid code being generated when using the contains and does not contain conditional operators. #150

fulibScenarios v0.9.0

11 Jul 21:26
d15f8b1
Compare
Choose a tag to compare
  • Add Sentences can now add numbers. #134
  • Remove Sentences can now subtract numbers. #148
  • Add Sentences can no longer define new attributes or associations.
  • Improved diagnostics for Add Sentences.
  • Improved diagnostics for Remove Sentences.
  • Fixed Remove Sentences not always removing all occurrences. #140
  • Fixed Remove Sentences removing by index. #141

fulibScenarios v0.8.2

11 Jul 21:25
6bffb13
Compare
Choose a tag to compare
  • Added a diagnostic error for mismatching range element types. #136
  • Added a diagnostic error for unsupported range element types. #136
  • Added a diagnostic error for variable redeclarations with There, Create and Are Sentences. #132
  • Added a diagnostic error for Answer Sentences with actor "we". #146
  • Improved argument/parameter matching.
  • Fixed an exception caused by misplaced Answer Sentences. #142
  • Fixed an exception when a call has more arguments than parameters. #144

fulibScenarios v0.8.1

11 Jul 21:25
76cbf58
Compare
Choose a tag to compare
  • Added a diagnostic error for attribute check expressions with missing receiver. #130
  • Added a diagnostic error for grouper failure / invalid actors. #129
  • Added a diagnostic error for mismatching parameter and argument types. #131
  • Added support for separating simple sentences with ,, and and , and. #127
  • The compiler now outputs a tally of warnings and errors.
  • Attribute redeclarations with sub-types are now allowed. #110

Fulib Scenarios v0.8.0

14 Aug 19:27
bdd96f2
Compare
Choose a tag to compare
Pre-release

General

  • Added proper diagnostic messages for all sorts of compilation errors. #111 #121
  • Fixed error on valid redeclaration of multi-attribute. #125
  • Fixed the tool exit code being always 0. #123

Sentences

  • Added Are Sentences. #122
  • The descriptor syntax used by There and Is Sentences now uses a definite and indefinite form and disallows mixed forms. #120
  • Improved the syntax and error diagnostics of Take Sentences. #118
  • Improved the syntax of There, Is and Create Sentences. #120
  • Call Sentences no longer create a duplicate variable declaration if one already exists.
  • The result of non-void Call Sentences is now placed in an auto-numbered result variable if no better name can be inferred.

Expressions

  • Added the answer literal. #119
  • Fixed non-literal Strings including comments retaining the comment. #126

Fulib Scenarios v0.7.0

09 Aug 11:48
60de0ee
Compare
Choose a tag to compare
Pre-release
  • Parenthesized text is now treated as comment. #106
  • // comments are now retained in the generated Java code. #109
  • Writing into an existing variable name now no longer creates a new variable. #105
  • Fixed unresolved references to the name of the take example value. #117
  • User-defined (non-temporary) variables are no longer auto-numbered.