Skip to content

Commit

Permalink
Merge branch 'v4.2.0-ci' into main
Browse files Browse the repository at this point in the history
* v4.2.0-ci:
  NOJIRA: Commiting for 4.2.0 release
  • Loading branch information
amb26 committed Jul 5, 2022
2 parents 680b31f + c923813 commit f373b9b
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 12 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@ Infusion from v2.0.0 onwards adheres to [Semantic Versioning](https://semver.org

### More Info

## [4.2.0] - 2022-07-05

### Fixed

* [FLUID-6741](https://issues.fluidproject.org/browse/FLUID-6741) Workflow failure when constructed lensed component
from asynchronous resource
* [FLUID-6742](https://issues.fluidproject.org/browse/FLUID-6742) Race condition in IoC Testing Framework tests
exposed by upgrade to Chrome 103

## [4.1.0] - 2022-05-12

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

[Unreleased]: https://github.com/fluid-project/infusion/compare/v4.0.0...HEAD
[4.1.0]: https://github.com/fluid-project/infusion/releases/tag/v4.2.0
[4.1.0]: https://github.com/fluid-project/infusion/releases/tag/v4.1.0
[4.0.0]: https://github.com/fluid-project/infusion/releases/tag/v4.0.0
[3.0.1]: https://github.com/fluid-project/infusion/releases/tag/v3.0.1
Expand Down
10 changes: 9 additions & 1 deletion ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
# Release Notes for Fluid Infusion 4.1.0
# Release Notes for Fluid Infusion 4.2.0

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

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

## What's New in 4.2.0

* Maintenance release which resolves
* [FLUID-6741](https://issues.fluidproject.org/browse/FLUID-6741) Workflow failure when constructed lensed component
from asynchronous resource
* [FLUID-6742](https://issues.fluidproject.org/browse/FLUID-6742) Race condition in IoC Testing Framework tests
exposed by upgrade to Chrome 103

## What's New in 4.1.0

* Maintenance release which resolves
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "infusion",
"description": "Infusion is an application framework for developing flexible stuff with JavaScript",
"version": "4.1.0",
"version": "4.2.0",
"author": "Fluid Project",
"bugs": "http://issues.fluidproject.org/browse/FLUID",
"homepage": "http://www.fluidproject.org/",
Expand Down
4 changes: 2 additions & 2 deletions src/framework/core/js/Fluid.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Fluid Infusion v4.1.0
* Fluid Infusion v4.2.0
*
* Infusion is distributed under the Educational Community License 2.0 and new BSD licenses:
* http://wiki.fluidproject.org/display/fluid/Fluid+Licensing
Expand Down Expand Up @@ -30,7 +30,7 @@ Underscore may be freely distributed under the MIT license.

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

fluid.version = "Infusion 4.1.0";
fluid.version = "Infusion 4.2.0";

// Export this for use in environments like node.js, where it is useful for
// configuring stack trace behaviour
Expand Down
10 changes: 2 additions & 8 deletions src/framework/core/js/FluidIoC.js
Original file line number Diff line number Diff line change
Expand Up @@ -2158,17 +2158,10 @@ fluid.findWorkflowShadows = function (shadows, blockStart, blockEnd, workflowRec
};

fluid.waitPendingIOTask = function (transRec) {
var instantiator = fluid.globalInstantiator;
var resumeCurrentTransaction = function () {
instantiator.currentTreeTransactionId = transRec.transactionId;
};
var bracketIO = function (sequence) {
return sequence.concat([resumeCurrentTransaction]);
};
var sequence;
var waitIOTask = function () {
// TODO: Think about clearing out old resolved I/O from this list
return transRec.pendingIO.length ? (sequence = fluid.promise.sequence(bracketIO(transRec.pendingIO))) : null;
return transRec.pendingIO.length ? (sequence = fluid.promise.sequence(transRec.pendingIO)) : null;
};
waitIOTask.taskName = "waitIO";
waitIOTask.sequence = sequence;
Expand Down Expand Up @@ -2209,6 +2202,7 @@ fluid.enqueueWorkflowBlock = function (transRec, shadows, workflowStart, workflo
sequence.push(globalWorkflowTask);
} else {
var localWorkflowTask = function () {
resumeCurrentTransaction();
if (workflowRecord.namespace === "concludeComponentInit") {
sequencer.hasStartedConcludeInit = true;
}
Expand Down

0 comments on commit f373b9b

Please sign in to comment.