v1.1.0
Summary of New Features
- Activity directives can now be anchored to one another!
- You can now choose the parameter of a "to be scheduled activity" based on a resource in the scheduling EDSL.
- You can now do relative parameter querying in the scheduling EDSL.
- You can now create windows, spans, or profiles at absolute times in the scheduling and constraints EDSL.
- A new operation called
accumulatedDuration
has been added to the constraints EDSL that counts the accumulated time in windows and spans objects, as a real profile.
Breaking Changes
Please see our latest upgrade guide for complete instructions for upgrading from 1.0.2
to 1.1.0
.
- Tests that directly called
SimulationDriver.simulate(...)
will need to be updated as that function has a new signature. Additionally some type names have changed to better reflect the actual names used in our data model. See the following new signature:SimulationResults simulate( final MissionModel<Model> missionModel, final Map<ActivityDirectiveId, ActivityDirective> schedule, final Instant startTime, final Duration planDuration, final Duration simulationDuration ) { ... }
- You need an additional
planDuration
parameter of typeDuration
. - The type of the schedule parameter has changed from
final Map<ActivityInstanceId, Pair<Duration, SerializedActivity>>
tofinal Map<ActivityDirectiveId, ActivityDirective>
. ActivityInstanceId
has been renamed toActivityDirectiveId
.
- You need an additional
What's Changed
New Features
- ForEach activity template parameter from anchor by @adrienmaillard in #546
- Creation of windows/spans/profiles at absolute times by @JoelCourtney in #591
- Accumulated duration for windows/spans by @JoelCourtney in #602
- Anchors by @Mythicaeda in #570
- Anchors in Scheduling by @Mythicaeda in #663
- Anchors in Simulation by @Mythicaeda in #645
Bug Fixes
- Cardinality goal does not respect applywhen by @adrienmaillard in #623
- Cannot read field "durationInMicroseconds" because "right" is null by @adrienmaillard in #650
- Fix
SchedulingActivityDirective.instantiateArguments()
by @Mythicaeda in #671
Refactoring
- Merge Sequence eDSL API with SeqJson interface by @goetzrrGit in #638
- Remove obsolete docs by @camargo in #648
Testing
- Enable jacocoTestReport task for all java subprojects by @mattdailis in #598
Continuous Integration
- Increase Trivy timeout by @camargo in #626
- Remove obsolete doc workflows by @camargo in #634
- Add new deploy to GH pages workflow by @camargo in #639
- Add Java docs to GitHub pages by @camargo in #647
- Order deploy GH pages steps properly by @camargo in #649
Documentation
- Add back Aerie logo for README.md by @camargo in #656
- Move contributing, move governance, update readme, update developer by @camargo in #658
- Update developer doc by @camargo in #660
Build System and Dependencies
Full Changelog: v1.0.2...v1.1.0