2.0.0-M4

This is a further milestone release, consolidating the "re-platforming" of Apache Isis on top of Spring Boot.

Much of the emphasis in this release has been on stabilisation and regression testing. That said, there are some new features. The release includes support for a new (additional) programming model for action parameters, allowing for more sophisticated management of parameters that interact with each other. On the flip side, support for contributed actions from domain services has been removed; use Mixinsinstead.

This release also has a reworking/simplification of the command service and background commands. This includes new extension modules to persist commands (Command Log and Command Replay, to assist regression testing.

Also in this release, the Kroviz client has been brought into the incubator. This is a single-page app that runs within the browser to provide a UI similar to that of the Web UI (Wicket viewer), but interacting with the domain application exclusively through the REST API provided by the REST API (Restful Objects viewer).

The release also includes some preliminary work preparing the way for support for JPA (as an alternative to JDO/DataNucleus. This support is expected to be in the next milestone release.

Other work done in this release includes an experimental porting of the build system from Maven to gradle (though Maven is for now still the official build system of the framework).

The example demo app has also been fleshed out considerably as both a regression tests and to provide living documentation; the docker image can be downloaded from docker hub.

New Feature

  • ISIS-2422 - Treat schema DTOs (InteractionDto, ChangesDto, CommandDto) as value types.

  • ISIS-2416 - Allow action domain event handlers to change argument in the executing phase.

  • ISIS-2400 - Allow sections within menubars.layout.xml to have a name …​ then appear in the menu

  • ISIS-2397 - Add removeAll to RepositoryService API

  • ISIS-2367 - Promote @Model support from 'incubator' to 'extension'

  • ISIS-2362 - New Programming Model for Action Parameters

  • ISIS-2340 - New common UI Model Module

  • ISIS-2333 - Add Object Mixin for graphical Metamodel Inspection

  • ISIS-2312 - Add Jdo Metamodel Download Menu (Zip)

  • ISIS-2278 - Reinstate background commands for entities, incorporate fix ISIS-2277 from v1

  • ISIS-2276 - BackgroundCommandExecution - should use a different persistent session for each command

  • ISIS-2232 - Remove support for domain services contributing properties, collections or actions. (Use mixins instead).

  • ISIS-1536 - BackgroundService should fail-fast if there is no BackgroundCommandService implementation available to persist the command.

  • ISIS-1281 - Provide a programming API (probably via domain events) to allow object visibility to be vetoed.

Incubating: Kroviz

Incubating: JPA

  • ISIS-2332 - Add new JPA module to provide a JpaEntityFacet

Improvement

  • ISIS-2447 - Add Regression Tests for Isis' Cucubmber Integration

  • ISIS-2446 - Move JaxbService implementation applib → runtimeservices

  • ISIS-2438 - SecMan: rename entity schema 'isissecurity' → 'isisExtensionsSecman'

  • ISIS-2435 - Commons: Polishing

  • ISIS-2428 - Cleanup inconsistent Artifact Names

  • ISIS-2419 - Less verbose Action Dialog Validation Feedback, if its (just) a Constraint Violation (suppress Category)

  • ISIS-2394 - TenantedFacetFactory should be automatically registered into the programming model

  • ISIS-2392 - Add CSS classes and identifiers for cypress regression test suite.

  • ISIS-2379 - Fire UserCreatedEvent when a new User Entity gets persisted

  • ISIS-2375 - IsisIntegrationTestAbstractWithFixtures should also run module fixtures automatically.

  • ISIS-2372 - Wicket No-arg Confirm Dialog: render below instead of right of button

  • ISIS-2331 - Decouple from PersistenceSession (move to persistence module)

  • ISIS-2330 - Extend ObjectManager with ObjectBulkLoader (handle Queries)

  • ISIS-2327 - Use new Popover Label for Object Reference Tooltips

  • ISIS-2323 - Allow for IsisInteractions to store User Data (InteractionScoped)

  • ISIS-2320 - Rename IsisSessionScope → IsisInteractionScope

  • ISIS-2270 - Rethink, who shall manage Lifecycles of DomainObjects, ViewModels and Mixins

  • ISIS-2231 - Bring in incode-platform stuff

  • ISIS-2177 - Provide an ObjectManager API to decouple from JDO

  • ISIS-2093 - Dialog OK Button: when ARE_YOU_SURE semantics then render style 'DANGER'

Documentation Improvements

  • ISIS-2368 - Add lightbox support (=enlarge image on click) for Antora template

  • ISIS-2359 - Doc: List of Maven Artifacts

  • ISIS-2336 - Ongoing improvements for Antora website

  • ISIS-2334 - Schema Update: document field Facet#id

Demo App Improvements

  • ISIS-2321 - Demo: Showcase advanced Mixin (rendering as ViewModel)

  • ISIS-2222 - Flesh out demo app with extra examples.

CI/Tooling Improvements

  • ISIS-2433 - Gradle Build: automate 'folder' to 'build artifact name' mapping (settings.gradle)

  • ISIS-2426 - Add Tooling Infrastructure (Project Introspection, Code Mining/Analysis, Reporting)

Bug

  • ISIS-2440 - AsciiDoc: value facets not registered properly

  • ISIS-2439 - JDO Create Schema fails on MariaDB/MySql: SQL Syntax Error

  • ISIS-2432 - SecMan Entities don’t render a meaningful Title (eg. User: name not shown)

  • ISIS-2430 - Cannot assume Action Param Spec to be correct when eagerly loaded, eg. SecMan Menu Action (create user) causes Exception

  • ISIS-2429 - Demo: ThereCanBeOnlyOne shutdown is hardwired to port 8080

  • ISIS-2423 - Persisted callback and PublisherService#changedObjects are not called, instead appear as updates.

  • ISIS-2421 - Demo fat jar fails to launch - could not find asciidoctor jruby file

  • ISIS-2418 - deselecting checkboxes for collection per @Action(associateWith) doesn’t work.

  • ISIS-2407 - CORS Extension breaks Wicket Viewer (bulk select issues)

  • ISIS-2406 - Header should be sticky (but currently scrolls up)

  • ISIS-2405 - @Property mixin on a view model cannot be defined, fails to render with ClassCastException

  • ISIS-2404 - Param Negotiation clears already filled out Param when non-scalar

  • ISIS-2403 - 'Rebuild metamodel' seems to deadlock, at least in the demo app.

  • ISIS-2401 - Memento creation/recreation roundtrip might get confused when processing Value Types

  • ISIS-2399 - Spring bean resolution issues when configuring TenantedAuthorizationFacet

  • ISIS-2398 - Rendering a StandaloneCollectionPage in Wicket throws Optional not serializable exception

  • ISIS-2395 - JDO mapping required for AsciiDoc and Markdown. (Also, Markup should be abstract)

  • ISIS-2393 - Editing a property on a view model does not stick

  • ISIS-2388 - Regression: value choice mementos are broken

  • ISIS-2387 - Regression: boolean parameters not handled properly

  • ISIS-2386 - Regression: null parameters not handled properly (invalid method signatures)

  • ISIS-2385 - Jaxb PersistentEntityAdapter fails when asked to marshal detached entities

  • ISIS-2384 - Action that takes a List of view models fails to gather them when object has been viewed already

  • ISIS-2383 - Regression: cannot create mementos from detached choice pojos

  • ISIS-2380 - Regression "Inline as if edit" prompt style is broken in Wicket viewer

  • ISIS-2378 - Internal _Strings.readAllLines does not honor selected Charset

  • ISIS-2376 - Regression: switching Translation Mode fails (Prototyping Menu)

  • ISIS-2371 - Regression: inline editing of entities fails (entity not attached)

  • ISIS-2370 - Regression: collection result may display negative time amounts (timing info when prototyping)

  • ISIS-2369 - Regression: object references within parented tables render just as text

  • ISIS-2365 - Action Dialog: Incompatible Parameter Memento if non-scalar

  • ISIS-2364 - Bulk selection (first param in action dialog) is also propagated to other params if of same type.

  • ISIS-2361 - Bulk selection (first param in action dialog) gets cleared when validation fails.

  • ISIS-2358 - A background command referencing a parent command can cause DN exception

  • ISIS-2343 - Integration tests w/ Datanucleus might fail when run in a batch

  • ISIS-2339 - Dropdownlist requires 2 clicks in order to show (dialog not initialized properly)

  • ISIS-2338 - Regression: all Confirmation Dialogs are broken

  • ISIS-2335 - Mixins declared using type-level @Action should not contribute as Association

  • ISIS-2328 - Missing publisher facet for @Action declared on mixin.

  • ISIS-2326 - No-arg Action w/ Confirmation suppresses Tooltips.

  • ISIS-2319 - defaults/disable/hide not honored when pending args are preset with defaults

  • ISIS-2317 - ManagedObject instances need a side-effect free toString() method

  • ISIS-2316 - New type level @Property (Mixins) get picked up as both association and action

  • ISIS-2315 - Bad PageParameter: oidString=images (as seen with SimpleApp)

  • ISIS-2314 - ComponentHintKey fails to restore field 'hintStore' on de-serialization

  • ISIS-2313 - Do not depend on 2 versions of javax.jdo simultaneously

  • ISIS-2311 - Bulk Toggle (Multiselect): UI can get out of sync with underlying model

  • ISIS-2309 - @EmbeddedOnly types are broken

  • ISIS-2304 - Vaadin Viewer: fix menubar rendering

  • ISIS-1919 - Collective UI Improvements

    • ISIS-2098 - Buttons (action-links) with confirmation don’t show their associated tooltip

    • ISIS-1990 - Buttons (action-links) don’t honor disabled state if providing a confirmation dialog

    • ISIS-1989 - Disabled buttons (action-links) won’t show the styled tooltip

    • ISIS-1921 - Confirmation-Popups sometimes render outside window bounds

Task

  • ISIS-2374 - Support Gradle Builds

  • ISIS-2341 - Ongoing: CI Maintenance

    • ISIS-2425 - Gradle Build (CI) does not fail when Metamodel Tests fail

  • ISIS-2322 - Isis 2.0.0-M4 release activities

Dependency Upgrades

  • ISIS-2434 - Bump Spring Boot 2.3.2.RELEASE to 2.3.4.RELEASE

  • ISIS-2391 - Upgrade DataNucleus 5.2.2→5.2.3

  • ISIS-2366 - Bump to latest Spring Releases

  • ISIS-2357 - Upgrade FontAwesome 4 → 5

Won’t Fix

  • ISIS-2402 - [WON’T FIX] Demo Launch takes >25s until Spring Boot Banner even appears (investigate)

  • ISIS-2436 - [NOT AN ISSUE] Secman: Update name(s) for ApplicationUser causes error

  • ISIS-2337 - [WON’T FIX] FacetFactories to be managed by Spring

  • ISIS-2318 - [CANNOT REPRODUCE] Regression on Mixins: @Action at method level no longer honor association

  • ISIS-2135 - [WON’T FIX] Testing: Mockito to replace JMock

  • ISIS-1924 - [WON’T FIX] Indicator for Long Running Actions

  • ISIS-996 - [WON’T FIX] Define component factories as Spring @Components

Duplicates

These were not implemented in this release …​ this is just backlog grooming.

  • ISIS-1219 - [DUPLICATE?] Extend events to allow subscribers to provide defaults, choices, autoComplete on action parameters.

  • ISIS-510 - [DUPLICATE] Help page overlay (a la ? in gmail)