Skip to content

Releases: fujaba/fulibScenarios

fulibScenarios v1.7.1

22 Feb 11:24
Compare
Choose a tag to compare

General

  • Updated external dependencies.

Improvements

  • The .txt diagram format now uses ObjectDiagrams.dumpToString from fulibTools v1.6.

Removals

  • Removed builtin support for fulibMockups diagram formats (.html, .mockup.html, .tables.html, .html.png).

fulibScenarios v1.7.0

24 Feb 14:01
df7a83a
Compare
Choose a tag to compare

General

  • Updated to fulib v1.5.1. #221
  • Updated to fulibTools v1.5.1. #221

New Features

  • Added the boolean literals true and false. #219 #224

Improvements

  • String literals with exactly one character can now be converted to char and Character. #223 #225
  • Integer literals can now be converted to byte, short, char and their wrappers. #225
  • Integer literals can no longer be converted to the Long, Float and Double wrappers. #225

Bugfixes

  • Automatic Stringchar conversions now generate a call to <expr>.charAt(0) instead of charAt(1). #222 #225
  • Properties in external classes where the getter starts with is are now correctly recognized as such. #224

fulibScenarios v1.6.2

27 Nov 12:18
bf3486a
Compare
Choose a tag to compare

General

  • Updated to fulibTools v1.4.1.

Improvements

  • a/an is now optional in placeholders. #220

    This makes it possible to write Every student has credits of type int. instead of a credits.

fulibScenarios v1.6.1

24 Nov 12:46
cec35c8
Compare
Choose a tag to compare

Bugfixes

  • Fixed a compiler exception when a variable name clashes with a declaration without a position. #217
  • Class resolution from directories on the classpath is now case-sensitive. #218

fulibScenarios v1.6.0

17 Nov 16:11
710cb3f
Compare
Choose a tag to compare

General

  • Updated to fulib v1.4.1.
  • Updated to fulibTools v1.4.0.

New Features

  • Added inheritance. #162 #164 #184
  • Add Sentences can now concatenate strings. #201
  • Names can now contain numbers separated by spaces. #203
  • Added fenced code blocks as multiline string literals. #204
  • Blockquotes in scenarios now become comments in the Java code. #207
  • Added support for the new .html.png diagram format for fulibMockups v0.3. #210
  • Added the --diagram-handlers option for defining custom diagram file name extensions. #213

Improvements

  • Attributes in external classes are now detected only via getters, without requiring PROPERTY_* constants. #205
  • Disabled false negative syntax ambiguity warnings. #214
  • Unidirectional to-many associations now use List/ArrayList as the collection type. #209
  • Unidirectional associations are now translated as such to the fulib class model. #216

    This has no impact on generated Java code, but is visible in class diagrams.

Bugfixes

  • The compiler now produces a diagnostic error instead of an exception when the it literal is used. #208 #215
  • Fixed a compiler exception caused by conflicts with externally declared associations. #211
  • Fixed an exception when attempting to generate a diagram with an unsupported extension. #212 #213

fulibScenarios v1.5.1

17 Nov 16:11
34e430f
Compare
Choose a tag to compare

Bugfixes

  • Fixed the --object-diagram and --object-diagram-svg options not doing anything. #200

fulibScenarios v1.5.0

30 Sep 15:52
4802ec4
Compare
Choose a tag to compare

General

  • Updated to fulib v1.3.0.
  • Updated to fulibTools v1.3.0.
  • Updated to fulibTables v1.4.0.

New Features

  • Added placeholders, new syntax that allows defining attributes and associations without using concrete objects. #182
  • Multiple scenarios with the same name are now merged into one test method. #192 #194

Improvements

  • Improved the wording, formatting and placement of many diagnostic messages. #172 #197
  • Primitive type names in scenario code are now case-sensitive. #199

    This means long in a scenario now becomes long instead of Long in the generated Java code. The old resolution is still in place, so integer, character, object, number and string are still valid ways to refer to the respective class.

Bugfixes

  • Fixed an exception caused by primitive object creation with There sentences. #188 #189
  • The compiler now produces a diagnostic error instead of an exception when attempting to create a primitive object with attributes. #190 #191
  • Test method names are now sanitized by prepending an underscore if necessary. #187 #193
  • Fixed an exception when attempting to define associations for external classes. #195 #196
  • Note markers now respect the --marker-end-column option. #198
  • The lexer now correctly handles \r and \r\n as line terminators. #198

fulibScenarios v1.4.2

04 Sep 13:11
cb73480
Compare
Choose a tag to compare

General

  • Updated to fulib v1.2.3.

fulibScenarios v1.4.1

15 Aug 09:04
f01db62
Compare
Choose a tag to compare

General

  • Updated to fulib v1.2.1.
  • Updated to fulibTools v1.2.1.

Bugfixes

  • Fixed a backward compatibility issue introduced by new keywords in v1.1. #183 #186

fulibScenarios v1.4.0

20 Jul 18:04
23b77fe
Compare
Choose a tag to compare

General

  • Updated to fulib v1.2.0 and fulibTools v1.2.0. #177
  • Changed generated calls to with* and without* methods to be compatible with the fulib v1.2 overloads. #177
  • Updated to JUnit v4.13. #176
  • The assertThat method used by Expect Sentences is now imported from MatcherAssert instead of Assert, where it is deprecated in JUnit v4.13. #176
  • Updated to ASM v8.0.1, which allows importing class files compiled with up to Java 14. #181

Bugfixes

  • Fixed incorrect line separators in marker output on Windows. #178