- Minor version upgrade of NPM dependencies
- Fix registering custom 'meteor' scheme
#39
by @ramijarrar
- Updated electron to v17 Make sure to update your electron and electron-builder versions to:
"electron": "17.4.11",
"electron-builder": "24.6.4",
- Fix issue with single instance, which causes error with opening already opened app on windows
- Fixes for devEnvSetup.js
- Fix: do not download new version when desktopHCP is set to false
- Dynamically get preset-env version
- Fix addition of desktop script
- Don't SIGKILL Meteor when a desktop build terminates normally
- Fix integration tests
- Updated Electron to v11
- Attempt to fix version constraint issue
Fixed to work with Meteor 2.6+ Node 14+.
- Updated
shelljs
to0.8.5
. - Fix bundler plugin to pass non-uglified
code
instead ofundefined
tofs.writeFileSync
in dev mode. - Updated build configs to use Meteor 2.6 when building + testing.
- Updated
chokidar
dependency from 2.x to 3.x formeteor-desktop-bundler
andmeteor-desktop-watcher
packages.
Breaking: changes to publish packages under a new name.
meteor-desktop
npm package renamed to@meteor-community/meteor-desktop
omega:meteor-desktop-bundler
Atmosphere package renamed tocommunitypackages:meteor-desktop-bundler
omega:meteor-desktop-watcher
Atmosphere package renamed tocommunitypackages:meteor-desktop-watcher
- Updated all references to these package names in the code.
- Removed old wojtkowiak build links in README.
- Removed Contributing and Roadmap README entries.
- Fixed issue with packaging
#248
This is a community maintained release:
- Update some dependencies and fixes some vulnerabilities
- Added support for Electron 5 (by
KoenLav
in#227
) - Allow config header Access-Control-Allow-Origin on LocalServer module (by
cbh6
in#216
) - Fix mas build (by
wojtkowiak
) in#214
) - Fix mac builds (by
Strangerxxx
in#237
) - Update default electron version to latest (6.0.1)
- Added support for private npm repository
Recommended versions:
electron
->6.1.7
electron-builder
->21.2.0
The main aim of this version is to decouple electron
, electron-builder
and electron-packager
from this package.
Until now every meteor-desktop
release came with specific versions of those pinned to it.
Now you are free to use any version with your meteor project. Just add them to your devDependencies
.
If you will not, meteor-desktop
adds the recommended versions automatically when needed.
From now every meteor-desktop
release will provide a recommended versions numbers of these dependencies.
By default, I will try to make meteor-desktop
compatible within the compatibility version of the recommended version i.e. if the recommended electron version is 2.0.10
you should still be able to use any 2.x.x
version without problems.
Recommended versions:
electron
->2.0.10
electron-builder
->20.28.4
BREAKING:
-
support for Squirrel autoupdate mechanism ended, if you wish to continue with it, add the
electron-builder-squirrel-windows
dependency to yourdevDependencies
and move its settings tosquirrel
section in settings i.e.:"squirrel": { "autoUpdateFeedUrl": "http://127.0.0.1/update/:platform/:version", "autoUpdateFeedHeaders": {}, "autoUpdateCheckOnStart": true },
All builtin support will be definitely removed in January 2019.
electron
was updated to2.0.10
electron-builder
was updated to20.28.4
electron-builder-squirrel-windows
was updated to20.28.3
- new functionality/cli setting
--prod-debug
which forces devTools to be included in a production build, if you want this to be preserved after desktopHCP you need to run Meteor server withMETEOR_DESKTOP_PROD_DEBUG=1
electron
was updated to2.0.5
electron-builder
was updated to20.23.1
electron-builder-squirrel-windows
was updated to20.23.0
- new functionality and new setting
exposedModules
which allows to expose any Electron renderer module i.e.webFrame
which when defined in the settings will be available asDesktop.electron.webFrame
- fixed HCP switching to new version only after app restart
electron-builder
was updated to20.20.0
electron-builder-squirrel-windows
was updated to20.19.0
electron
was updated to2.0.4
electron
was updated to2.0.3
electron-builder
was updated to20.16.2
(once again thanks to devlar for accepting meteor-desktop specific pull requests PR electron-builder#2975)electron-builder-squirrel-windows
was updated to20.16.0
-i, --ignore-stderr [string]
cli cmd added, normally using-b
when meteor outputs anything to stderr the build gets terminated, but in some cases you might want to avoid that when for example npm package throws a deprecation warning into stderr, now you can make the build continue
Example - npm run desktop -- build-installer -b
gets terminated because meteor run
outputs a Node#moveTo was deprecated. Use Container#append.
warning to stderr. This will kill your build and prevent from going further. Because clearly that is something we can live with you can go forward with:
npm run desktop -- build-installer -b -i "Node#moveTo"
You do not have to put the whole line, just any part of it that should only be found in that message.
setDefaultFetchTimeout
andcall
methods added to bothModule
andDesktop
electron
was updated to2.0.2
electron-builder
was updated to20.14.7
electron-builder-squirrel-windows
was updated to20.14.6
FIXES
- fix #165
meteor://
protocol is now registered as secure origin bundler
caching was disabled for production builds as you might have accidentally got a developmentdesktop.asar
build into your production build
Meteor App serving mechanism was changed to utilise registerStreamProtocol
and serve
the app on constant meteor://desktop
url instead of setting a http server which serves over http://127.0.0.1:<random_port_on_every_start>
.
This finally solves the longstanding problems with IndexedDB
and localstorage
not being persistent.
Please verify thoroughly if your app is working fine after this change and reports any problems you encounter.
The localstorage contents will be migrated if you are updating your app from pre 1.0.0
.
However, if you are using the meteor-desktop-localstorage
plugin you have to make a migration yourself. The easiest way is to copy the plugin desktop code as your module in .desktop
and on your app start get the contents with getAll
and save them to the browser's localstorage.
electron
was updated to2.0.1
MD_LOG_LEVEL
is now respected-d
/--debug
option added to run electron with--debug=5858
switchbeforeLocalServerInit
event added to theeventsBus
METEOR_DESKTOP_DEBUG
now produces a lot more info from bundler plugin while building meteor project- default installer in the scaffold for Windows is now set to
nsis
DEPRECATIONS:
- builtin support for squirrel auto update
BREAKING:
- support for the
meteor-desktop-localstorage
plugin is removed, you will not be able to use this plugin anymore
WARNING: in this version the localStorage/indexedDB is not working properly (it's not persistent) - please upgrade to 1.0.0
desktopHCP
bundler plugin was enhanced with cache - that should speed up your rebuilds- issue with app not being rebuilt after an error in
.desktop
code should be resolved now (watcher should still work even after a syntax error while compiling.desktop
) electron
was updated to2.0.0
electron-builder
was updated to20.13.5
electron-builder-squirrel-windows
was updated to20.13.1
- fix
ReferenceError: context is not defined
inbuild-installer
onOSX
moduleLoadFailed
event added- fixed desktop HCP app restart, this is now triggered with
app.quit
instead ofapp.exit
which now fires properly all callbacks electron
was updated to1.8.6
electron-builder
was updated to20.11.1
electron-builder-squirrel-windows
was updated to20.11.0
electron-packager
was updated to12.0.2
- fix #165
build-installer
failing on windows
republished as v0.17.1
- upgraded to
babel@7
, which is now used to compile both the meteor-desktop itself and the produced app - upgraded to
uglify-es
- dropped support for
Meteor
<1.4
- code in your
.desktop
is now transpiled fornode@8
electron
was updated to1.8.4
electron-builder
was updated to20.10.0
electron-builder-squirrel-windows
was updated to20.10.0
electron-packager
was updated to12.0.1
- added
Module.fetch
andDesktop.respond
to be able to fetch from the main process side (as for now fetch was only implemented for renderer) - fixed
Module.once
which was only passing single argument - fixed
linkPackages
not working anymore
- fixed
extract
functionality for Mac/Linux -electron-builder
prepackaged app is now correctly found on every platform
- fixed compatibility version being calculated differently in bundler plugin and
package
/build-installer
flow
- fixed compatibility version being calculated differently in bundler plugin and
package
/build-installer
flow
- fixed
extract
functionality for Mac (thenode_modules/.bin
entries are now also automatically extracted when their package is extracted)
electron-builder
was updated to20.8.2
electron-builder-squirrel-windows
was updated to20.8.0
electron-packager
was updated to12.0.0
- added automatic detection of modules that should not be packed into asar, additionally you can manually specify those via
extract
settings
- additional fixes to
electron-builder
integration
republished as v0.14.3
.desktop
version hash will include adev
/prod
suffix as a quick fix tometeor
development or production build producing the same version hash
republished as v0.14.1
electron-builder
was updated to20.5.1
electron-builder-squirrel-windows
was updated to20.5.0
electron-packager
was updated to11.1.0
- additional fix to
electron-builder
integration, fixes #149 - desktop HCP meteor plugins are no longer unnecessarily constantly added when on Windows even if they are already there
electron
was updated to1.7.12
npm
has been removed from being a direct dependency, dependencies installation is now performed entirely byelectron-builder
which calls yourmeteor npm
or system'snpm
- local npm dependencies (
file:
) are now installed byinstall-local
- native modules rebuild mechanism is enabled by default now and there is no way of turning it off (
rebuildNativeNodeModules
is obsolete and no longer taken into account) - several small improvements to
electron-builder
integration
electron-builder
was updated to20.0.8
electron-builder-squirrel-windows
was updated to20.0.5
electron-packager
was updated to11.0.1
- DEPRECATIONS:
- building for
squirrel.windows
is not encouraged and from1.0.0
the default Windows target will bensis
- building for
it's more than sure that you will have to update your electron-builder
/electron-packager
configuration since it's a big shift from the old versions, create a new meteor project with blank scaffold (npm run desktop -- init
) and take a look at the new settings.json
as that might give you some hints
- added
desktopHCPCompatibilityVersion
setting to restore ability to override desktopHCP compatibility version - added
singleInstance
setting
- fixed local filesystem URL whitespace support #133 (thanks met5678, PR: #134 )
- start startup timer on cold start if a new version is used for the first time meteor#9386
- republished
0.11.0
with Meteor 1.5 because of meteor#9308
republished as 0.11.1
v0.9.0 failed to publish
- added
windowSettings
event
- fix for respecting
--ia32
inrun
/build
/package
- added
builderCliOptions
that allow you to specify additional electron-builder CLI options e.g. for publishing artifacts (thanks to ramijarrar, related PR)
- fix for the case when
eTag
s are stripped from the http response when proxying meteor server through proxy #107 - fix for supporting Meteor 1.5 which actually was failing because of
1.5
being a non semver strict version #103
- fixed bug in
Desktop.fetch
which when called multiple times with the same event, was serving the response only for the first call #79
- added
--meteor-settings <path>
cmd option to pass--settings <path>
to meteor when building with-b
- fix to make
-b
not fail because of meteor#8592 - documented
beforeReload
event
meteor-desktop-splash-screen
version in the default scaffold updated to0.3.0
- added experimental fix for
localStorage
getting lost - you can enable it by adding"experimentalLocalStorage": true
tosettings.json
meteor-desktop-splash-screen
version in the default scaffold updated to0.2.0
electron-builder
was updated to13.11.1
electron-builder-squirrel-windows
was updated to13.10.1
electron-packager
was updated to8.5.2
omega:meteor-desktop-bundler
now fails when disk operation fails (shelljs.config.fatal = true
)METEOR_DESKTOP_DEBUG
env var introduced (currently only prints additional info forbundler
plugin)
- fixed
extracted
directory getting lost when building for platform/arch different from the host - fixed dependency loading for desktopHCP
bundler
plugin
Desktop.fetch
rejects withtimeout
string in case of timeout- you can now see internal backlog of this project in Taiga here - roadmap will be published in form of epics
electron
was updated to1.4.15
electron-builder
was updated to13.0.0
electron-builder-squirrel-windows
was updated to13.2.0
electron-packager
was updated to8.5.1
- added
showWindowOnStartupDidComplete
option to help fixing #42 - various fixes for
0.3.0
issues reported #51 electron
was updated to1.4.14
electron-builder
was updated to11.2.4
electron-builder-squirrel-windows
was updated to11.2.3
electron-packager
was updated to8.5.0
localServer
was rewritten to usesend
instead ofserve-static
[5f084e6]- url aliases for local filesystem and
.desktop/assets
added (more) - building for Windows Store is now possible (thanks to hard work of @develar)
- default dependencies for
Skeleton App
were updated [7d6e00d, 1d1075a] (this changes compatibility version, so apps built with <0.3.0 will not receive desktopHCP updates) electron
was updated to1.4.13
electron-builder
was updated to11.2.0
electron-builder-squirrel-windows
was updated to11.2.0
electron-packager
was updated to8.4.0
- added some additional log messages
- republished
0.2.4
- fixed #33
- republished
0.2.1
because of published plugins being in an unknown, erroneous state meteor#8113
- fixed
rebuildNativeNodeModules
which stopped working after update ofelectron-builder
- several types of npm dependencies versions declarations are now supported i.e.: local paths, file protocol, GitHub links and http(s) links -> npm documentation
- development environment setup script was added
- specifying target platforms for
build-installer
is now not restricted - check Building installer, fixes #14 electron
was updated to1.4.6
electron-builder
was updated to8.6.0
- added warning for possible console syntax mistake when invoking with command or
option (missing
--
delimiter)
- fixed #10
meteor-desktop-splash-screen
version in the default scaffold updated to0.0.31
- first public release