desktopJS

desktopJS provides a common API across multiple HTML5 containers. By programming to a common API, applications can target multiple HTML5 containers without change.

APACHE-2.0 License

Downloads
83
Stars
76
Committers
15
desktopJS - desktopJS 4.0.0 Latest Release

Published by bingenito over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/morganstanley/desktopJS/compare/v3.13.1...v4.0.0

desktopJS - desktopJS 3.13.1

Published by bingenito almost 2 years ago

🐛 Bug Fixes

  • Check for window being defined during window.open shim (#617)

Special thanks:

@bingenito
@psmulovics
@kruplm

desktopJS - desktopJS 3.12.0

Published by bingenito over 3 years ago

🚀 Features

  • Issue-351 - Auto start on system startup feature (#352)
  • Simplification of container.getOptions (#419)
  • Switched to async/await where it made sense. (#447)

🐛 Bug Fixes

🧰 Maintenance

  • Configure probot stale to use org settings (#471)
  • chore(deps-dev): bump rollup from 2.40.0 to 2.50.5 (#468)
  • chore(deps-dev): bump @types/node from 15.0.1 to 15.6.1 (#467)
  • chore(deps-dev): bump @rollup/plugin-replace from 2.3.4 to 2.4.2 (#465)
  • chore(deps-dev): bump husky from 4.3.6 to 6.0.0 (#464)
  • Update CodeQL action from newest template (#469)
  • Add release workflow (#463)
  • GitHub Actions for pr/push (#462)
  • chore(deps): bump hosted-git-info from 2.7.1 to 2.8.9 (#455)
  • chore(deps): bump lodash from 4.17.19 to 4.17.21 (#454)
  • chore(deps): bump handlebars from 4.5.3 to 4.7.7 (#453)
  • chore(deps-dev): bump @types/node from 14.14.28 to 15.0.1 (#452)
  • chore(deps-dev): bump typedoc from 0.20.35 to 0.20.36 (#451)
  • chore(deps-dev): bump @typescript-eslint/parser from 4.20.0 to 4.22.0 (#450)
  • chore(deps-dev): bump gulp-replace from 1.0.0 to 1.1.2 (#449)
  • Remove decommissioned gitpitch (#444)
  • chore(deps-dev): bump lerna from 3.22.1 to 4.0.0 (#438)
  • chore(deps-dev): bump typedoc from 0.20.28 to 0.20.35 (#443)
  • chore(deps-dev): bump eslint from 7.20.0 to 7.23.0 (#439)
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin (#441)
  • chore(deps-dev): bump @typescript-eslint/parser from 4.16.1 to 4.20.0 (#442)
  • chore(deps): bump yargs-parser in /packages/desktopjs-electron (#436)
  • chore(deps): bump yargs-parser in /packages/desktopjs-openfin (#437)
  • chore(deps): bump y18n from 3.2.1 to 3.2.2 (#433)
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin (#432)
  • chore(deps-dev): bump @typescript-eslint/parser from 4.15.1 to 4.16.1 (#431)
  • chore(deps-dev): bump rollup from 2.38.3 to 2.40.0 (#430)
  • chore(deps-dev): bump typedoc from 0.20.20 to 0.20.28 (#428)
  • chore(deps-dev): bump typescript from 4.0.5 to 4.1.5 (#429)
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin (#424)
  • chore(deps-dev): bump lint-staged from 10.5.3 to 10.5.4 (#423)
  • chore(deps-dev): bump @typescript-eslint/parser from 4.14.1 to 4.15.1 (#421)
  • chore(deps-dev): bump eslint from 7.16.0 to 7.20.0 (#425)
  • chore(deps-dev): bump @types/node from 14.14.22 to 14.14.28 (#422)
  • Rename master to main (#420)
  • chore(deps-dev): bump typedoc from 0.19.2 to 0.20.20 (#417)
  • chore(deps-dev): bump @rollup/plugin-commonjs from 15.1.0 to 17.1.0 (#418)
  • chore(deps-dev): bump rollup from 2.35.1 to 2.38.3 (#416)
  • chore(deps-dev): bump @typescript-eslint/parser from 4.11.0 to 4.14.1 (#413)
  • chore(deps-dev): bump codecov from 3.8.0 to 3.8.1 (#415)
  • chore(deps-dev): bump @types/jasmine from 3.6.2 to 3.6.3 (#411)
  • chore(deps-dev): bump @types/node from 14.11.11 to 14.14.22 (#410)
  • chore(deps-dev): bump typescript from 3.9.7 to 4.0.5 (#408)
  • Update GitHub URLs for organization transfer (#412)
  • Developer quality of life improvements for build and testing (#405)
  • chore(deps-dev): bump gulp-typedoc from 2.2.7 to 2.2.9 (#402)
  • chore(deps-dev): bump rollup from 2.28.2 to 2.35.1 (#401)
  • Switch over to eslint from tslint (#370)
  • chore(deps): bump ini from 1.3.5 to 1.3.7 (#400)
  • Update links to leverage opensource.morganstanley.com (#395)
  • chore(deps): bump highlight.js from 10.2.0 to 10.4.1 (#394)

Special thanks:

@bingenito
@psmulovics
@sophophilic
@Sly1024
@Brookke

desktopJS - desktopJS 3.11.0

Published by bingenito almost 4 years ago

Fixes

  • Rollback failing isSameOrigin check and use exception handling (#392)
  • make properties abstract to fix #385
  • Remove no longer required origin check as it is done by browser (#380)

Features

Development

  • Bump gulp-typedoc from 2.2.5 to 2.2.7 (#391)
  • Bump copyfiles from 2.3.0 to 2.4.1 (#390)
  • Bump @types/jasmine from 3.5.14 to 3.6.2 (#389)
  • Bump @types/node from 14.11.2 to 14.11.11 (#388)
  • Bump gulp-sourcemaps from 2.6.5 to 3.0.0 (#387)
  • Bump rollup-plugin-sourcemaps from 0.6.2 to 0.6.3 (#375)
  • Bump @rollup/plugin-replace from 2.3.3 to 2.3.4 (#374)
  • Bump codecov from 3.7.2 to 3.8.0 (#373)
  • Exit test with explicit error code on jasmine error (#381)

Special thanks:

@bingenito
@psmulovics
@Sly1024
@Brookke

desktopJS - desktopJS 3.10.0

Published by bingenito almost 4 years ago

Fixes

  • FIXED getInfo() signature (#371)

Features

Development

  • Bump @types/node from 14.0.0 to 14.11.2 (#364)

Special thanks:

@bingenito
@kruplm
@psmulovics

desktopJS - desktopJS 3.9.0

Published by bingenito about 4 years ago

Fixes

  • Window height incorrectly saved/restored (#310)
  • Avoid CORS errors preventing new browser windows (#368)

Features

Development

  • [Snyk] Security upgrade lerna from 3.15.0 to 3.18.0 (#314)
  • feat: upgrade @types/node from 13.5.0 to 14.0.0 (#317)
  • Package upgrades (#321)
  • fix: upgrade merge2 from 1.2.3 to 1.3.0 (#323)
  • fix: upgrade copyfiles from 2.1.1 to 2.2.0 (#325)
  • Enable integrated GitHub code scanning (#329)
  • fix: upgrade codecov from 3.6.5 to 3.7.0 (#328)
  • fix: upgrade typedoc from 0.16.11 to 0.17.7 (#327)
  • fix: upgrade copyfiles from 2.2.0 to 2.3.0 (#332)
  • fix: upgrade typescript from 3.9.3 to 3.9.4 (#333)
  • fix: upgrade merge2 from 1.3.0 to 1.4.1 (#334)
  • fix: upgrade rollup from 2.12.1 to 2.13.0 (#335)
  • fix: upgrade snyk from 1.334.0 to 1.335.0 (#336)
  • Migrate from snyk to dependabot (#340)
  • Bump @rollup/plugin-replace from 2.3.2 to 2.3.3 (#341)
  • Bump @types/jasmine from 2.8.16 to 3.5.11 (#343)
  • Bump lerna from 3.22.0 to 3.22.1 (#344)
  • Bump typescript from 3.9.4 to 3.9.5 (#345)
  • Bump typedoc from 0.17.7 to 0.17.8 (#346)
  • Bump @rollup/plugin-commonjs from 12.0.0 to 13.0.0 (#347)
  • Bump rollup from 2.13.0 to 2.18.1 (#348)
  • Bump lodash from 4.17.14 to 4.17.19 (#349)
  • Bump codecov from 3.7.0 to 3.7.1 (#350)
  • Bump codecov from 3.7.1 to 3.7.2 (#357)
  • Bump rollup from 2.18.1 to 2.23.0 (#356)
  • Bump @types/jasmine from 3.5.11 to 3.5.12 (#354)
  • Bump @rollup/plugin-commonjs from 13.0.0 to 14.0.0 (#353)
  • Bump typedoc from 0.17.8 to 0.18.0 (#362)
  • Bump typescript from 3.9.5 to 3.9.7 (#361)
  • Bump @types/jasmine from 3.5.12 to 3.5.14 (#358)
  • Bump rollup from 2.23.0 to 2.26.8 (#360)
  • Bump node-fetch from 2.6.0 to 2.6.1 (#363)
  • Bump typedoc from 0.18.0 to 0.19.2 (#365)
  • Bump @rollup/plugin-commonjs from 14.0.0 to 15.1.0 (#366)
  • Bump rollup from 2.26.8 to 2.28.2 (#367)

Special thanks:

@bingenito
@psmulovics
@Brookke

desktopJS - desktopJS 3.8.0

Published by bingenito over 4 years ago

Features

  • Include iffe output to compress task (#304)
  • Added get/setParent to ContainerWindow (#308)

Development

  • Bump codecov from 3.5.0 to 3.6.5 (#298)
  • chore(readme): remove Greenkeeper badge (#301)
  • Bump acorn from 5.7.3 to 5.7.4 (#302)
  • Update Readme links (#306)
  • Bump jquery from 3.4.1 to 3.5.0 (#307)

Special thanks:

@bingenito
@psmulovics
@Sly1024
@Brookke

desktopJS - desktopJS 3.7.1

Published by bingenito over 4 years ago

Fixes

  • Add check for valid container registration before invoking create (#296)

Special thanks:

@bingenito
@psmulovics

desktopJS - desktopJS 3.7.0

Published by bingenito over 4 years ago

Features

  • Add deleteLayout (#281)

Development

  • chore(package): update rollup to version 1.27.0 (#282)
  • Bump handlebars from 4.1.2 to 4.5.3 (#287)
  • npm updates (#288)
  • Update travis badge to travis-ci.com (#289)
  • Update typedoc-plugin-external-module-name to the latest version 🚀 (#291)
  • npm updates (#293)

Special thanks:

@bingenito
@psmulovics

desktopJS - desktopJS 3.6.0

Published by bingenito about 5 years ago

Features

  • Add container getInfo member to obtain information about underlying container (#277)

Fixes

  • resolveContainers is changed to Array to facilitate resolving containers in order of registration (#275)

Development

  • Disable default setState tests (#278)

Special thanks:

@bingenito
@psmulovics
@anubhavbisaria

desktopJS - desktopJS 3.5.0

Published by bingenito about 5 years ago

Features

  • Update getMainWindow to return 'root' window (#271)
  • Update loadLayout to take a layout name or the layout itself to apply (#270)
  • Add node option to createWindow and resolveContainer of ElectronContainer (#262)

Fixes

  • Add location defined check in base buildLayout (#268)

Development

  • Update typedoc to the latest version 🚀 (#265)
  • npm update && npm audit fix (#261)
  • Remove electron-notify dep from examples (#260)
  • Fix code codcov integration (#258)

Special thanks:

@bingenito
@psmulovics

desktopJS - desktopJS 3.4.0

Published by bingenito over 5 years ago

Features

  • Add state to state-changed event args (#256)

Special thanks:

@bingenito
@psmulovics

desktopJS - desktopJS 3.3.0

Published by bingenito over 5 years ago

Features

  • Remove wrapping of module with define check (#253)

Special thanks:

@bingenito
@psmulovics

desktopJS - desktopJS 3.2.0

Published by bingenito over 5 years ago

Features

  • Fire state-changed upon setState of window (#250)
  • Add persist: false option to createWindow (#247)
  • Split building current PersistedWindowLayout from saveLayout (#246)
  • Add container.ready event (#239)

Fixes

  • Map close event to OpenFin closing (#249)

Development

  • Update rollup-plugin-commonjs to the latest version 🚀 (#243)
  • npm audit fix (#245)
  • Fix developer experience for local building (#244)
  • Greenkeeper/rollup 1.11.3 (#240)
  • Fix missed readme updates from lerna monorepo refactor (#234)

Special thanks:

@bingenito
@naknode
@psmulovics

desktopJS - desktopJS 3.1.0

Published by bingenito over 5 years ago

Features

  • Add window.bringToFront() for raising z-order of a window without activation. Default implementation will fallback to invoking focus() for containers in which it is not supported. (#210)
  • Add static grouping events to ContainerWindow (#213)
  • Add global keyboard shortcut support with operating system (#214)

Fixes

  • Replace load time declaration of fin variable with a run-time function to determine whether in OpenFin. Load time access ot the DOM causes cefsharp/chromium process to crash when loading library as a v8 extension. (#226)
  • Disable OpenFin window frame whenever enabled. (#231)

Development

  • chore(package): Update gulp to the latest version 🚀 (#205)
  • Change from CLA to DCO. Update guidelines and add template. (#216)
  • Replace gulp-webserver with gulp-connect. (#221)
  • chore(package): update tslint-microsoft-contrib to version 6.0.0 🚀 (#202)
  • Fix unit tests and re-enable fail on error for tests (#219)
  • chore(package): update gulp-typescript to version 5.0.0 🚀 (#203)
  • Update dependencies (#224)
  • Until the core desktopJS package has its own readme, copy down the main readme during publish (#228)
  • Fix codacy quality issues (#229)
  • Remove extra comma from tsconfig (#230)

Special thanks:

@bingenito
@naknode
@psmulovics

desktopJS - desktopJS 3.0.0

Published by bingenito almost 6 years ago

Breaking Changes

Development

  • Change deploy to be script/lerna based. Prep for 3.0.0-beta.1 release. #204

Special thanks to all contributors to this release:

  • @psmulovics
desktopJS - desktopJS 2.6.0

Published by bingenito almost 6 years ago

Features

  • Add ability for windows to save custom state as part of the persisted window layout (#197)

Development

  • Add project .npmrc to specify npmjs registry (#193)
  • chore(package): update typedoc to version 0.13.0 (#194)
  • chore(package): update rollup-plugin-typescript to version 1.0.0 (#189)

Special thanks:

@bingenito
@psmulovics
@1j01

desktopJS - desktopJS 2.5.0

Published by bingenito about 6 years ago

Features

  • Add beforeunload as first class window event (#185)
  • Add facade for consistent access to underlying native JavaScript window (#187)
  • Add load method to change current url of window (#191)

Fixes

  • Remove json assumption from postMessage handler (#190)

Development

  • Update tsutils to the latest version 🚀 (#182)
  • chore(package): update typedoc to version 0.12.0 (#186)
  • chore(package): update remap-istanbul to version 0.12.0 (#188)

Special thanks to all contributors to this release:

@bingenito
@psmulovics
@satlus

desktopJS - desktopJS 2.4.0

Published by bingenito over 6 years ago

Features

  • Add simple facade for logging (#164)
  • Provide default implementation of showNotification for Electron (#165)
  • Lower the snap threshold range (#166)
  • Filter OpenFin bounds-changing events into resize and move (#174)
  • Enable smallWindow on OpenFin tray icon context menu window to remove unnecessary padding when menu has only one item (#168)
  • Save and restore window options in persisted window layouts (#175)
  • Add screen.getMousePosition() (#176)
  • Map resize event to OpenFin "bounds-changing" for notification while window is resizing and not when complete (#177)
  • Refactor containers to use factory method for creating the message bus (#178)
  • Fire window-created events for ElectronContainer at the end of the current event loop cycle (#179)
  • Add support for disabling snap dock for a window via creation (#180)

Development

  • Fix intermittently failing electron test due to race condition of parallel test running (#161)
  • Update travis to use latest LTS node for builds (#162)
  • chore(package): update gulp-replace to version 1.0.0 (#158)
  • Disable test that has random coverage based on race condition with other parallel tests. This will decrease coverage until rewritten and added back. (#163)
  • Update rollup to the latest version 🚀 (#148)
  • Fix license

Special thanks to all contributors to this release:

@bingenito
@psmulovics

desktopJS - desktopJS 2.3.0

Published by bingenito over 6 years ago

Features

  • Allow passing of options in resolveContainer through to the container registrations condition and create callbacks (#139)
  • Add support for linking windows to state changes of other windows. Minimize and restore all windows from the main window or within window groups. (#138)
  • Provide access to username/appname OpenFin registerUser override for licensing api (#142)
  • Relative url support for ElectronContainer.createWindow (#143)
  • Add support for querying screen/display information (#149)
  • Add minimize, maximize and restore window instance methods to ContainerWindow (#152)
  • Allow override of default behavior of registring W3C notification api with options to resolveContainer (#153)
  • Change window.open shim to take variable arguments instead of fixed list. (#154)
  • Propagate Electron and OpenFin application level window created events instead of emitting our own (#156)
  • Pass all arguments provided to window.open shim (#159)

Development

  • chore(package): update typedoc to version 0.11.1 (#133)
  • chore(package): update remap-istanbul to version 0.11.0 (#135)
  • Remove unnecessary devDependencies (#137)
  • Correct readme spelling errors (#144)
  • chore(package): update gulp-jasmine to version 4.0.0 (#145)
  • Fix failing registry tests (#147)
  • Fix registry tests (#150)
  • Cleanup async reject errors in tests (#157)

Special thanks to all contributors to this release:

@bingenito
@psmulovics

Package Rankings
Top 7.83% on Npmjs.org
Badges
Extracted from project README
npm version Build Status OpenSSF Scorecard codecov
Related Projects