Skip to content

Latest commit

Β 

History

History
460 lines (254 loc) Β· 13.1 KB

File metadata and controls

460 lines (254 loc) Β· 13.1 KB

Change Log

5.1.5

Patch Changes

  • 5583e1f: Fix File class override in jsdom tests

    • What? Fix File class override in jsdom tests
    • Why? Use correct global File class in jsdom
    • How? Nothing.

5.1.4

Patch Changes

  • 97b056b: Fix support for Node 19+, which encounters TypeError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'.. As a hotfix, we are now replacing global.CustomEvent (which comes with Node 19) with jsdom version of CustomEvent to keep the same behavior as in Node 18.

5.1.3

Patch Changes

  • 8f5d01a: Fixed build issues with client server config

5.1.2

Patch Changes

  • 245018b: Adds support for deep merging of locale files which was recently introduced in @ima/cli

5.1.1

Patch Changes

  • 2a3564d: Fix error in IMA.js boot methods, when they return an object with circular dependency. This led to an infinite loop and fatal crash of integraiton test.

5.1.0

Minor Changes

  • d5911e5: Add applicationFolder overide feature for createImaServer by config

5.0.1

Patch Changes

  • 815a18f: Force re-release

5.0.0

Major Changes

  • 7532677: @ima/helpers moved to peer dependencies

4.1.1

Patch Changes

  • 110c2af: Removed invalid RC version ranges in package.json files

4.1.0

Minor Changes

  • 0490a80: use overrides for createIMAServer, set test environment defaults, allow service to process currently resolved environment
  • 6f950a1: Add configuration features object with default popupWindow flag Add window.opener setup after DOM init

Patch Changes

  • 8261ccd: Override node fetch on window, node assert on console
  • e00897a: Fixed named exports for plugin integration testing
  • 37c3f2f: Udpated dependencies to support RC ima versions
  • 6514f0b: Remove added configuration features object with default popupWindow flag Remove added window.opener setup after DOM init
  • 2e61a48: Built using new version of @ima/plugin-cli, js sources now include source maps
  • d08218b: Added type declarations generated from JSdoc
  • 6d47aaa: Side effects notation from package.json
  • 201225d: revert testing integration features
  • 5717869: Added $dependencies typing comments for TS apps
  • 5c7dba5: bump version with changes from master

4.1.0-rc.9

Patch Changes

  • 201225d: revert testing integration features

4.1.0-rc.8

Patch Changes

  • 5c7dba5: bump version with changes from master

4.1.0-rc.7

Patch Changes

  • 6514f0b: Remove added configuration features object with default popupWindow flag Remove added window.opener setup after DOM init

4.1.0-rc.6

Minor Changes

  • 6f950a1: Add configuration features object with default popupWindow flag Add window.opener setup after DOM init

4.1.0-rc.5

Patch Changes

  • 8261ccd: Override node fetch on window, node assert on console

4.1.0-rc.4

Patch Changes

  • e00897a: Fixed named exports for plugin integration testing

4.1.0-rc.3

Minor Changes

  • 0490a80: use overrides for createIMAServer, set test environment defaults, allow service to process currently resolved environment

4.0.2-rc.2

Patch Changes

  • 5717869: Added $dependencies typing comments for TS apps

4.0.2-rc.1

Patch Changes

  • 6d47aaa: Side effects notation from package.json

4.0.2-rc.0

Patch Changes

  • d08218b: Added type declarations generated from JSdoc

4.0.1

Patch Changes

  • 35fc043: Fix: peer to ima/cli min version increaced to 18.1.0

4.0.0

Major Changes

  • 076eddc: JSDOM is now using real spa content generated from ejs template Enabled JSDOM page scripts evaluation (configured by setup function) Requires @ima/[email protected] and later

3.1.0

Minor Changes

  • 7aae66d: Add support to multidimensional app dictionary to integration tests

3.0.2-rc.1

Patch Changes

  • 2e61a48: Built using new version of @ima/plugin-cli, js sources now include source maps

3.0.2-rc.0

Patch Changes

  • 37c3f2f: Udpated dependencies to support RC ima versions

3.0.1

Patch Changes

  • dd4dd52: Updated to latest @ima/plugin-cli - the final bundle now contains new styles folder containing all less/css files and they are no longer bundled into esm bundle

3.0.0

Major Changes

  • fb1a51e: Migrated packages to pure esm modules
  • 5149e99: Added additional CJS builds to npm dist directory
  • 1256647: Add support for IMA 18, Node 18 and npm 8

Minor Changes

  • 0b81d28: npmignore revert logic, add missing npmignore apply pluginLoader update ima peer deps refactor plugin register functions, remove exports for ima17

Patch Changes

  • 431ad38: Fixed node config packages
  • 1c61a6d: Automatic JSX runtime, deps update
  • 051da94: feat: update localization messageformat to v3
  • f7fe41d: Updated to latest version of plugin-cli
  • 15e981a: Updated plugin-cli to latest version
  • a38c8d9: Initialize JSDom before we start importing project files, since some packages can do some client/server detection at this point
  • 3423e0a: Added forwarding of $App settings from config
  • df68488: All plugin maintenance relase
  • 113952b: Preventive update after master merge
  • 9bf6acf: @ima/plugin-cli version bump
  • 1a6651d: Migrated to react-page-renderer

3.0.0-rc.13

Patch Changes

  • df68488: All plugin maintenance relase
  • 113952b: Preventive update after master merge

3.0.0-rc.12

Patch Changes

  • 3423e0a: Added forwarding of $App settings from config

3.0.0-rc.11

Patch Changes

  • 1c61a6d: Automatic JSX runtime, deps update

3.0.0-rc.10

Patch Changes

  • 9bf6acf: @ima/plugin-cli version bump

3.0.0-rc.9

Patch Changes

  • 15e981a: Updated plugin-cli to latest version

3.0.0-rc.8

Patch Changes

  • 1a6651d: Migrated to react-page-renderer

3.0.0-rc.7

Patch Changes

  • 431ad38: Fixed node config packages

3.0.0-rc.6

Patch Changes

  • f7fe41d: Updated to latest version of plugin-cli

3.0.0-rc.5

Patch Changes

  • 051da94: feat: update localization messageformat to v3

3.0.0-rc.4

Major Changes

  • 5149e99: Added additional CJS builds to npm dist directory

3.0.0-rc.3

Patch Changes

  • a38c8d9: Initialize JSDom before we start importing project files, since some packages can do some client/server detection at this point

3.0.0-rc.2

Major Changes

  • fb1a51e: Migrated packages to pure esm modules

3.0.0-rc.1

Minor Changes

  • 0b81d28: npmignore revert logic, add missing npmignore apply pluginLoader update ima peer deps refactor plugin register functions, remove exports for ima17

3.0.0-rc.0

Major Changes

  • 1256647: Add support for IMA 18, Node 18 and npm 8

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

2.2.2 (2022-01-11)

Note: Version bump only for package @ima/plugin-testing-integration

2.2.1 (2022-01-10)

Bug Fixes

  • πŸ› dont crash if setImmediate is not defined globally (356f5d6)

2.2.0 (2021-12-13)

Features

2.1.0 (2021-08-26)

Features

  • 🎸 add node16 and npm7 support (#49) (16fcc0e)

2.0.6 (2021-08-20)

Bug Fixes

  • πŸ› clearImaApp now clears aop hooks properly (#51) (f238622)

2.0.5 (2021-03-22)

Bug Fixes

  • πŸ› Enable testing localized code (#44) (e0afbc8)

2.0.4 (2020-10-05)

Bug Fixes

  • πŸ› if render/hydrate in same container drop old wrapper (#41) (c7e3f9a)

2.0.3 (2020-07-27)

Bug Fixes

  • πŸ› router.route is now overridable via application (#39) (8f73cc0)

2.0.2 (2020-06-30)

Bug Fixes

  • πŸ› Disable treeshake since it is removing key code part (3f73685)

2.0.1 (2020-06-22)

Note: Version bump only for package @ima/plugin-testing-integration

2.0.0 (2020-06-08)

Features

  • 🎸 Unified build and release process via rollup and lerna (df277ce)

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

1.2.5 - 2020-05-13

Fixed

  • Fixed warning when using npm 6+

1.2.4 - 2020-04-15

Fixed

  • Fixed url propagation into jsdom when using router.route() to navigate to aspecific application route

1.2.3 - 2020-04-07

Fixed

  • Fixed integration tests for projects using multiple initImaApp calls in single test file

1.2.2 - 2020-04-06

Fixed

  • Fixed problem where jsdom was not yet initialized, but required by app/main.js, or app/build.js

1.2.1 - 2020-04-06

Fixed

  • Fixed problem where jsdom was not yet initialized, but required by project files, or dependencies

1.2.0 - 2020-03-30

Added

  • Config option TestPageRenderer to specify IMA Page Renderer used for the test run
  • Config option initSettings to extend the boot config method for all tests
  • Config option initBindApp to extend the boot config method for all tests
  • Config option initServicesApp to extend the boot config method for all tests
  • Config option initRoutes to extend the boot config method for all tests
  • Config option extendAppObject to extend return value of initImaApp with custom values
  • Implemented EnzymePageRenderer (to be used with TestPageRenderer config option), which can override default IMA Page Renderer and use Enzyme methods to render the page into the jsdom. This allows you to use Enzyme mount wrapper methods to test functionality. The wrapper is exposed via app.wrapper().

1.1.1 - 2020-03-16

Fixed

  • Update dependencies

1.1.0 - 2020-03-10

Fixed

  • Navigation using click event in jsdom will properly be handled by IMA router
  • All window properties are propageted to global scope (resolves problem with missing classes, or methods like btoa, File, ...)
  • Implemented deduplication when initializing vendor linker (as is in native IMA.js application)

Added

  • Exposed getConfig function, which returns current configuration object. This can be used to extend prebootScript, instaed of just overriding it.

1.0.3 - 2020-02-28

Fixed

  • Resolved bug with broken native clear timer methods

1.0.2 - 2020-01-14

Fixed

  • clearImaApp will now clear all timer functions, this should resolve a problem with tests not ending properly, when there are some timeouts, or intervals set by your app.

1.0.1 - 2019-12-10

Fixed

  • Updated dependencies to IMA.js v17

1.0.0 - 2019-11-28

Removed

  • BREAKING CHANGE! IMA.js v16 and lower is no longer supported, you need to upgrade to IMA.js v17+

0.1.0 - 2019-11-28

Added

  • Initialized @ima/plugin-testing-integration, see README.md for more info