Breaking changes
- DelegatingWorkingCopyBuffer's constructor important contract change - bug 476444
Please migrate your code and release the delegate buffer properly
- XtextWorkingCopyBuffer - same as above
- Several API methods take IProgressMonitor now:
- Handle#buildStructure
- SourceFile#buildStructure
- SourceFile#createStructuralAst
- SourceFile.ReconcilingOperation#reconcile
- IBodyCache#putAll (new method) - bug 477157
- IHandleDelta#getFlags() : int -> long
- HandleDelta: mutliple breaking changes - bug 480945
- public API remained largely the same
- protected API significantly reduced (i.e. many previously protected members are now private)
- ISourceElement#getElementAt may throw CoreException now. Use SourceElements#getElementAt if you need original semantics
- ISourceFile#getFile() may return null now - bug 480766
Deprecated API
-
IElementForEditorInputFactory superseded by IInputElementProvider for all intents and purposes.
Please bind IInputElementProvider instead of IElementForEditorInputFactory in your Xtext UI modules
- ISourceFile#
openBuffer. Use #getBuffer instead
-
IDocumentBuffer. Use IBuffer#getDocument() instead
- IBuffer#
dispose(). Use #release() instead
New API
- IHandle#toString(ToStringStyle) - bug 475446
- Working copy
- SourceFile#reconcile(boolean, Object, IProgressMonitor) - bug 473417
- SourceFile#becomeWorkingCopy(IWorkingCopyBuffer, IWorkingCopyInfoFactory, ...) - bug 475862
- IWorkingCopyInfoFactory
- WorkingCopyInfo
- Buffers
- IBuffer#addRef()/release() (multiple independent ownership of the buffer) - bug 476444
- ChildBuffer - bug 476031
- SimpleBuffer
- Model adaptation facility (o.e.handly.model.adapter) - bug 472841
Other
- StructureHelper can now be used as it stands, i.e. without subclassing
- Xtext 2.9 is supported now (along with 2.8)
Full list of issues addressed in this release
0.4 - https://projects.eclipse.org/projects/technology.handly/releases/0.4/bugs