| 1 |
<!--
|
| 2 |
* Licensed to the Apache Software Foundation (ASF) under one or more
|
| 3 |
* contributor license agreements. See the NOTICE file distributed with
|
| 4 |
* this work for additional information regarding copyright ownership.
|
| 5 |
* The ASF licenses this file to You under the Apache License, Version 2.0
|
| 6 |
* (the "License"); you may not use this file except in compliance with
|
| 7 |
* the License. You may obtain a copy of the License at
|
| 8 |
*
|
| 9 |
* http://www.apache.org/licenses/LICENSE-2.0
|
| 10 |
*
|
| 11 |
* Unless required by applicable law or agreed to in writing, software
|
| 12 |
* distributed under the License is distributed on an "AS IS" BASIS,
|
| 13 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 14 |
* See the License for the specific language governing permissions and
|
| 15 |
* limitations under the License.
|
| 16 |
-->
|
| 17 |
$Id$
|
| 18 |
|
| 19 |
Commons SCXML Package
|
| 20 |
Version 0.7
|
| 21 |
Release Notes
|
| 22 |
|
| 23 |
INTRODUCTION:
|
| 24 |
|
| 25 |
Commons SCXML 0.7 primarily contains new features, along with a
|
| 26 |
handful of bug fixes. See about section at the end for general information
|
| 27 |
on Commons SCXML.
|
| 28 |
|
| 29 |
IMPORTANT NOTES:
|
| 30 |
|
| 31 |
o State IDs can no longer contain whitespace. Any IDs that contain spaces
|
| 32 |
must be changed to conform before switching to v0.7.
|
| 33 |
|
| 34 |
o Behavior related to wild card event name handling for transitions has
|
| 35 |
changed (now aligns with latest Working Draft).
|
| 36 |
|
| 37 |
o org.apache.commons.scxml.io.SCXMLDigester has been deprecated in favor
|
| 38 |
of SCXMLParser in same package. See Javadocs for changes before switching.
|
| 39 |
|
| 40 |
NEW FEATURES:
|
| 41 |
|
| 42 |
o Conflicts between transitions are now resolved based on document order
|
| 43 |
of the transitions.
|
| 44 |
|
| 45 |
o Transition targets can now be specified as a space separated list of
|
| 46 |
state IDs. When more than one targets are specified, they must belong
|
| 47 |
to regions of the same parallel.
|
| 48 |
|
| 49 |
o <final> is supported (by org.apache.commons.scxml.io.SCXMLParser).
|
| 50 |
|
| 51 |
o <event> is supported (by org.apache.commons.scxml.io.SCXMLParser).
|
| 52 |
|
| 53 |
DEPRECATIONS:
|
| 54 |
|
| 55 |
See Javadocs of each item for details. All deprecated items are scheduled for
|
| 56 |
removal in v1.0.
|
| 57 |
|
| 58 |
o org.apache.commons.scxml.env.AbstractStateMachine#getStateMachine()
|
| 59 |
|
| 60 |
o org.apache.commons.scxml.io.SCXMLDigester
|
| 61 |
|
| 62 |
o org.apache.commons.scxml.io.SCXMLSerializer#serializeTarget(StringBuffer,
|
| 63 |
Transition,String)
|
| 64 |
|
| 65 |
o org.apache.commons.scxml.model.Parallel#addState(State)
|
| 66 |
org.apache.commons.scxml.model.Parallel#getStates()
|
| 67 |
|
| 68 |
o org.apache.commons.scxml.model.SCXML#addState(State)
|
| 69 |
org.apache.commons.scxml.model.SCXML#getInitialState()
|
| 70 |
org.apache.commons.scxml.model.SCXML#getStates()
|
| 71 |
org.apache.commons.scxml.model.SCXML#setInitialState(State)
|
| 72 |
|
| 73 |
o org.apache.commons.scxml.model.State#addChild(State)
|
| 74 |
org.apache.commons.scxml.model.State#getIsFinal()
|
| 75 |
org.apache.commons.scxml.model.State#getParallel()
|
| 76 |
org.apache.commons.scxml.model.State#getTransitions()
|
| 77 |
org.apache.commons.scxml.model.State#isDone()
|
| 78 |
org.apache.commons.scxml.model.State#isOrthogonal()
|
| 79 |
org.apache.commons.scxml.model.State#setDone(boolean)
|
| 80 |
org.apache.commons.scxml.model.State#setIsFinal(boolean)
|
| 81 |
org.apache.commons.scxml.model.State#setParallel(Parallel)
|
| 82 |
|
| 83 |
o org.apache.commons.scxml.model.Transition#getPath()
|
| 84 |
org.apache.commons.scxml.model.Transition#getRuntimeTarget()
|
| 85 |
org.apache.commons.scxml.model.Transition#getTarget()
|
| 86 |
org.apache.commons.scxml.model.Transition#setTarget(TransitionTarget)
|
| 87 |
|
| 88 |
o org.apache.commons.scxml.semantics.ErrorConstants#NON_DETERMINISTIC
|
| 89 |
|
| 90 |
BUG FIXES:
|
| 91 |
|
| 92 |
o [SCXML-45] - Payload of events sent to current scxml session using <send>
|
| 93 |
tag not injected into engine
|
| 94 |
o [SCXML-48] - Cannot create more than one subclass of AbstractStateMachine
|
| 95 |
o [SCXML-49] - SimpleSCXMLInvoker may miss transition to final state
|
| 96 |
o [SCXML-51] - <assign> with location and expr both containing datamodel
|
| 97 |
expressions concatenates old and new values
|
| 98 |
o [SCXML-52] - Error on resolving conflicting transitions for compound states
|
| 99 |
o [SCXML-53] - Wild card event name handling on transitions is not in line
|
| 100 |
with W3C WD
|
| 101 |
o [SCXML-54] - Events from custom actions missing payload
|
| 102 |
o [SCXML-56] - onentry and onexit child elements of parallel do not have
|
| 103 |
parent
|
| 104 |
o [SCXML-58] - SCXML not stateless because of State class
|
| 105 |
o [SCXML-60] - Possible race condition in AsyncTrigger
|
| 106 |
o [SCXML-61] - Clarify interaction patterns for Invoker implementations with
|
| 107 |
parent state machine executor
|
| 108 |
|
| 109 |
IMPROVEMENTS:
|
| 110 |
|
| 111 |
o [SCXML-41] - Adding information about original expression to evaluation
|
| 112 |
error messages
|
| 113 |
o [SCXML-46] - Provide a SCXMLListener abstract adapter class
|
| 114 |
o [SCXML-55] - Add support for <event> tag
|
| 115 |
|
| 116 |
OTHER CHANGES:
|
| 117 |
|
| 118 |
o SCXMLExecutor logs state at a lower severity (changed from log level
|
| 119 |
'info' to log level 'debug')
|
| 120 |
|
| 121 |
o The LCA of two states belonging to sibling regions is now the enclosing
|
| 122 |
Parallel, rather than the orthogonal State.
|
| 123 |
|
| 124 |
o The regions of a parallel are entered in document order. This is
|
| 125 |
implementation-specific behavior and users should not rely on it.
|
| 126 |
|
| 127 |
o AbstractStateMachine and SimpleSCXMLListener classes, as well as the two
|
| 128 |
standalone testing classes in the test package, have switched to the new
|
| 129 |
SCXMLParser class.
|
| 130 |
|
| 131 |
o Recommended version of Commons Logging has been upgraded to v1.1.1.
|
| 132 |
|
| 133 |
o Recommended version of JUnit has been upgraded to v3.8.2.
|
| 134 |
|
| 135 |
o An experimental Maven2 build has been added in v0.7.
|
| 136 |
|
| 137 |
ABOUT COMMONS SCXML:
|
| 138 |
|
| 139 |
The Commons SCXML (State Chart XML) project provides a generic
|
| 140 |
state-machine based execution environment. It borrows most semantics
|
| 141 |
from its namesake Working Draft at the W3C. Anything that can be
|
| 142 |
represented as a UML state chart -- business process flows, view
|
| 143 |
navigation bits, interaction or dialog management, and many more -- can
|
| 144 |
leverage the Commons SCXML library. The library abstracts out the
|
| 145 |
environment interfaces, and can be used in numerous server-side and
|
| 146 |
client-side runtimes.
|
| 147 |
|
| 148 |
Please visit the website for project information and documentation:
|
| 149 |
|
| 150 |
http://commons.apache.org/scxml/
|
| 151 |
|