Skip to content

Commit f373b9b

Browse files
committed
Merge branch 'v4.2.0-ci' into main
* v4.2.0-ci: NOJIRA: Commiting for 4.2.0 release
2 parents 680b31f + c923813 commit f373b9b

File tree

5 files changed

+24
-12
lines changed

5 files changed

+24
-12
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@ Infusion from v2.0.0 onwards adheres to [Semantic Versioning](https://semver.org
2121

2222
### More Info
2323

24+
## [4.2.0] - 2022-07-05
25+
26+
### Fixed
27+
28+
* [FLUID-6741](https://issues.fluidproject.org/browse/FLUID-6741) Workflow failure when constructed lensed component
29+
from asynchronous resource
30+
* [FLUID-6742](https://issues.fluidproject.org/browse/FLUID-6742) Race condition in IoC Testing Framework tests
31+
exposed by upgrade to Chrome 103
32+
2433
## [4.1.0] - 2022-05-12
2534

2635
### Fixed
@@ -937,6 +946,7 @@ A pre-release of [0.3.0].
937946
* [Changes in 0.1.0](https://github.com/fluid-project/infusion/commits/v0.1.0)
938947

939948
[Unreleased]: https://github.com/fluid-project/infusion/compare/v4.0.0...HEAD
949+
[4.1.0]: https://github.com/fluid-project/infusion/releases/tag/v4.2.0
940950
[4.1.0]: https://github.com/fluid-project/infusion/releases/tag/v4.1.0
941951
[4.0.0]: https://github.com/fluid-project/infusion/releases/tag/v4.0.0
942952
[3.0.1]: https://github.com/fluid-project/infusion/releases/tag/v3.0.1

ReleaseNotes.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
1-
# Release Notes for Fluid Infusion 4.1.0
1+
# Release Notes for Fluid Infusion 4.2.0
22

33
[Fluid Project](https://fluidproject.org)
44

55
[Infusion Documentation](https://github.com/fluid-project/infusion-docs)
66

7+
## What's New in 4.2.0
8+
9+
* Maintenance release which resolves
10+
* [FLUID-6741](https://issues.fluidproject.org/browse/FLUID-6741) Workflow failure when constructed lensed component
11+
from asynchronous resource
12+
* [FLUID-6742](https://issues.fluidproject.org/browse/FLUID-6742) Race condition in IoC Testing Framework tests
13+
exposed by upgrade to Chrome 103
14+
715
## What's New in 4.1.0
816

917
* Maintenance release which resolves

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "infusion",
33
"description": "Infusion is an application framework for developing flexible stuff with JavaScript",
4-
"version": "4.1.0",
4+
"version": "4.2.0",
55
"author": "Fluid Project",
66
"bugs": "http://issues.fluidproject.org/browse/FLUID",
77
"homepage": "http://www.fluidproject.org/",

src/framework/core/js/Fluid.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Fluid Infusion v4.1.0
2+
* Fluid Infusion v4.2.0
33
*
44
* Infusion is distributed under the Educational Community License 2.0 and new BSD licenses:
55
* http://wiki.fluidproject.org/display/fluid/Fluid+Licensing
@@ -30,7 +30,7 @@ Underscore may be freely distributed under the MIT license.
3030

3131
var fluid = fluid || {}; // eslint-disable-line no-redeclare
3232

33-
fluid.version = "Infusion 4.1.0";
33+
fluid.version = "Infusion 4.2.0";
3434

3535
// Export this for use in environments like node.js, where it is useful for
3636
// configuring stack trace behaviour

src/framework/core/js/FluidIoC.js

+2-8
Original file line numberDiff line numberDiff line change
@@ -2158,17 +2158,10 @@ fluid.findWorkflowShadows = function (shadows, blockStart, blockEnd, workflowRec
21582158
};
21592159

21602160
fluid.waitPendingIOTask = function (transRec) {
2161-
var instantiator = fluid.globalInstantiator;
2162-
var resumeCurrentTransaction = function () {
2163-
instantiator.currentTreeTransactionId = transRec.transactionId;
2164-
};
2165-
var bracketIO = function (sequence) {
2166-
return sequence.concat([resumeCurrentTransaction]);
2167-
};
21682161
var sequence;
21692162
var waitIOTask = function () {
21702163
// TODO: Think about clearing out old resolved I/O from this list
2171-
return transRec.pendingIO.length ? (sequence = fluid.promise.sequence(bracketIO(transRec.pendingIO))) : null;
2164+
return transRec.pendingIO.length ? (sequence = fluid.promise.sequence(transRec.pendingIO)) : null;
21722165
};
21732166
waitIOTask.taskName = "waitIO";
21742167
waitIOTask.sequence = sequence;
@@ -2209,6 +2202,7 @@ fluid.enqueueWorkflowBlock = function (transRec, shadows, workflowStart, workflo
22092202
sequence.push(globalWorkflowTask);
22102203
} else {
22112204
var localWorkflowTask = function () {
2205+
resumeCurrentTransaction();
22122206
if (workflowRecord.namespace === "concludeComponentInit") {
22132207
sequencer.hasStartedConcludeInit = true;
22142208
}

0 commit comments

Comments
 (0)