- Types were migrated to '@iobroker/types' from '@types/iobroker'
- Allow (deprecated) HTML as admin UI in package tests, so old adapters using HTML UI can still utilize the rest of the package tests
- Fix: Use shell to spawn
npm
on Windows to prevent hanging - Fix: Duplicate logging of
=> false
when testing if JS controller is running
- Add support for the new
licenseInformation
field inio-package.json
- Add test for the
tier
field inio-package.json
- Honor
onlyWWW
flag inio-package.json
- Support for specifying the JS-Controller version in integration tests
- BREAKING: Dropped support for Node.js 12
- Allow skipping test suites (
suite.skip()
) and running single test suites (suite.only()
)
- Fix: Replace the
harness
argument to thesuite()
function with agetHarness()
function to avoid accessing a stale harness.
- BREAKING: The function signature of
defineAdditionalTests
in integration tests has changed. All user-defined integration tests must now be grouped in one or moresuite
blocks. The adapter will now only be started at the beginning of each suite. See the documentation for details. - BREAKING: The function signature of
harness.startAdapterAndWait
has changed. It now accepts a boolean as the first parameter which controls whether to wait for thealive
state (false
) or theinfo.connection
state (true
).
- The loglevel for the adapter and DB instances is now configurable and defaults to
"debug"
in both cases
- Allow immediate exit with code
0
foronce
andsubscribe
adapters too
- Allow immediate exit with code
0
forschedule
adapters - Check that
npm
is not listed as a local dependency inpackage.json
- Updated dependencies
- Modifying ioBroker databases now uses the same methods that JS-Controller uses internally. This ensures that the testing is compatible with the
jsonl
database format. - Testing adapters with adapter dependencies that try to access the databases during installation now works.
- Fix:
adminUI.config
is now respected for the config UI check and JSON config is allowed too - Updated dependencies
- Modernized build process
- We now use the nightly js-controller dev builds instead of GitHub installation
- Fix error:
iopackContent.common.titleLang
is not iterable
- Fix: The adapter main file now correctly gets located when it is only defined in
package.json
, notio-package.json
- Fixed compatibility with the reworked database classes
- Improved shutdown behavior of the adapter
- Fixed a bug where the wrong
js-controller
dependency would be installed
- Unit tests for adapter startup were removed and only log a warning that you can remove them
- Upgrade many packages
- Added missing async functions to adapter mock
- Fixed:
TypeError "Cannot redefine property readyHandler"
when usingcreateMocks
more than once - Upgrade to
@types/iobroker
v3.0.12
- Upgrade to
@types/iobroker
v3.0.2 - Added mocks for
supportsFeature
,getPluginInstance
,getPluginConfig
- Integration tests: For Node.js >= 10, the
engine-strict
flag is now set totrue
to be in line with newer ioBroker installations
- Unit tests: added mocks for
getAbsoluteDefaultDataDir
andgetAbsoluteInstanceDataDir
Sorry, there isn't more yet.