Releases: fujaba/fulibScenarios
Releases · fujaba/fulibScenarios
fulibScenarios v1.7.1
General
- Updated external dependencies.
Improvements
- The
.txt
diagram format now usesObjectDiagrams.dumpToString
from fulibTools v1.6.
Removals
- Removed builtin support for fulibMockups diagram formats (
.html
,.mockup.html
,.tables.html
,.html.png
).
fulibScenarios v1.7.0
General
New Features
Improvements
- String literals with exactly one character can now be converted to
char
andCharacter
. #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
andDouble
wrappers. #225
Bugfixes
fulibScenarios v1.6.2
General
- Updated to fulibTools v1.4.1.
Improvements
a
/an
is now optional in placeholders. #220This makes it possible to write
Every student has credits of type int.
instead ofa credits
.
fulibScenarios v1.6.1
fulibScenarios v1.6.0
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
fulibScenarios v1.5.1
Bugfixes
- Fixed the --object-diagram and --object-diagram-svg options not doing anything. #200
fulibScenarios v1.5.0
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 becomeslong
instead ofLong
in the generated Java code. The old resolution is still in place, sointeger
,character
,object
,number
andstring
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
General
- Updated to fulib v1.2.3.
fulibScenarios v1.4.1
fulibScenarios v1.4.0
General
- Updated to fulib v1.2.0 and fulibTools v1.2.0. #177
- Changed generated calls to
with*
andwithout*
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 fromMatcherAssert
instead ofAssert
, 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