0.3.0
New Features
#88 Support for JDK 7 was removed. We are now only supporting Java 8.
#82 We now have a fluent API to load views with the FluentViewLoader
. The old ViewLoader
was marked as deprecated and will be removed in version 0.4.0. because it would be to much work to provide overloaded methods for every combination of parameters.
#78 The viewModel is now available in the ViewTuple
. In conjunction with this we are now creating a viewModel instance every time a view is loaded even if there is no viewModel referenced in the view itself (#109).
#81 It is now possible to (re-)use an existing ViewModel instance when loading a View.
API breaking changes
#65 Package structure was changed to archive a clean and simple API.
All classes, interfaces and annotations that are used to load views are now located in the package de.saxsys.mvvmfx
. Utilities like the ListenerManager or SizeBindingsBuilder are located in subpackages under de.saxsys.mvvmfx.utils
.
#73 Instead of only logging errors now Exceptions are thrown in many cases. (#83, #97)
#80 in the ViewLoader
the method setController
was renamed to setCodeBehind
to better reflect the meaning of the parameter. Additionally the type of the param is now the generic ViewType instead of Object
.
#88 Java7 support was removed.
Minor changes
#85 Dependency to Google Guava was removed.
#99 HostServices
is now injectable in CDI/Guice based applications.