Changelog History
Page 14
-
v1.4.3 Changes
February 13, 2017- ๐ Versions of Meteor core packages are once again constrained by the current Meteor release.
๐ > Before Meteor 1.4, the current release dictated the exact version of every installed core package, which meant newer core packages could not be installed without publishing a new Meteor release. In order to support incremental development of core packages, Meteor 1.4 removed all release-based constraints on core package versions (#7084). Now, in Meteor 1.4.3, core package versions must remain patch-compatible with the versions they had when the Meteor release was published. This middle ground restores meaning to Meteor releases, yet still permits patch updates to core packages.
โก๏ธ The
cordova-lib
npm package has been updated to 6.4.0, along with cordova-android (6.1.1) and cordova-ios (4.3.0), and various plugins. #8239๐ฆ The
coffeescript
Meteor package has been moved frompackages/coffeescript
topackages/non-core/coffeescript
, so that it will not be subject to the constraints described above.CoffeeScript source maps should be now be working properly in development. #8298
๐ฆ The individual account "service" packages (
facebook
,google
,twitter
,github
,meteor-developer
,meetup
andweibo
) have been split into:<service>-oauth
(which interfaces with the<service>
directly) and<service>-config-ui
(the Blaze configuration templates foraccounts-ui
)
This means you can now use
accounts-<service>
without needing Blaze.If you are using
accounts-ui
andaccounts-<service>
, you will probably need to install the<service>-config-ui
package if you want to configure it using the Accounts UI.- Issue #7715
- PR(
facebook
) #7728 - PR(
google
) #8275 - PR(
twitter
) #8283 - PR(
github
) #8303 - PR(
meteor-developer
) #8305 - PR(
meetup
) #8321 -
- ๐ฆ The
url
andhttp
packages now encode to a less error-prone format which more closely resembles that used by PHP, Ruby,jQuery.param
and others.Object
s andArray
s can now be encoded, however, if you have previously relied onArray
s passed asparams
being simplyjoin
-ed with commas, you may need to adjust yourHTTP.call
implementations. #8261 and #8342. - ๐ฆ The
npm
npm package is still at version 4.1.2 (as it was when Meteor 1.4.3 was originally published), even thoughnpm
was downgraded to 3.10.9 in Meteor 1.4.2.7. - โฌ๏ธ The
meteor-babel
npm package has been upgraded to version 0.14.3, fixing #8021 and #7662. - โฌ๏ธ The
reify
npm package has been upgraded to 0.4.7. - โ Added support for frame-ancestors CSP option in browser-policy. #7970
- ๐ฆ You can now use autoprefixer with stylus files added via packages. #7727
- โช Restored #8213 after those changes were reverted in v1.4.2.5.
- ๐ฆ npm dependencies of Meteor packages will now be automatically rebuilt if
the npm package's
package.json
file has "scripts" section containing apreinstall
,install
, orpostinstall
command, as well as when the npm package contains any.node
files. Discussion here. - The
meteor create
command now runsmeteor npm install
automatically to install dependencies specified in the defaultpackage.json
file. #8108
- ๐ฆ The
-
v1.4.3.2 Changes
March 14, 2017โฌ๏ธ Node has been upgraded to version 4.8.0.
โฌ๏ธ The
npm
npm package has been upgraded to version 4.3.0.โฌ๏ธ The
node-gyp
npm package has been upgraded to 3.5.0.โก๏ธ The
node-pre-gyp
npm package has been updated to 0.6.33.The bundled version of MongoDB used by
meteor run
in development has been upgraded to 3.2.12.๐ฆ The
mongodb
npm package used by thenpm-mongo
Meteor package has been updated to version 2.2.24. PR #8453 Issue #8449๐ฆ The
check
package has had its copy ofjQuery.isPlainObject
updated to a newer implementation to resolve an issue where thenodeType
property of an object couldn't be checked, fixing #7354.๐ฆ The
standard-minifier-js
andminifier-js
packages now have improved error capturing to provide more information on otherwise unhelpful errors thrown when UglifyJS encounters ECMAScript grammar it is not familiar with. #8414Similar in behavior to
Meteor.loggingIn()
,accounts-base
now offers a reactiveMeteor.loggingOut()
method (and related Blaze helpers,loggingOut
andloggingInOrOut
). PR #8271 Issue #1331 Issue #769Using
length
as a selector field name and with aNumber
as a value in aMongo.Collection
transformation will no longer cause odd results. #8329.๐
observe-sequence
(and thus Blaze) now properly supportsArray
s which were created in a vm or across frame boundaries, even if they were sub-classed. Issue #8160 PR #8401๐ Minimongo now supports
$bitsAllClear
,$bitsAllSet
,$bitsAnySet
and$bitsAnyClear
. #8350A new [Development.md](DEVELOPMENT.md) document has been created to provide an easier path for developers looking to make contributions to Meteor Core (that is, the
meteor
tool itself) along with plenty of helpful reminders for those that have already done so! #8267๐ฆ The suggestion to add a
{oauth-service}-config-ui
package will no longer be made on the console ifservice-configuration
package is already installed. Issue #8366 PR #8429Meteor.apply
'sthrowStubExceptions
option is now properly documented in the documentation whereas it was previously only mentioned in the Guide. Issue #8435 PR #8443DDPRateLimiter.addRule
now accepts a callback which will be executed after a rule is executed, allowing additional actions to be taken if necessary. Issue #5541 PR #8237๐ฆ
jquery
is no longer a dependency of thehttp
package. #8389๐ฆ
jquery
is no longer in the default package list after runningmeteor create
, however is still available thanks toblaze-html-templates
. If you still require jQuery, the recommended approach is to install it from npm withmeteor npm install --save jquery
and thenimport
-ing it into your application. #8388โก๏ธ The
shell-server
package (i.e.meteor shell
) has been updated to more gracefully handle recoverable errors (such asSyntaxError
s) in the same fashion as the Node REPL. Issue #8290 PR #8446๐ฆ The
webapp
package now reveals aWebApp.connectApp
to make it easier to provide custom error middleware. #8403โก๏ธ The
meteor update --all-packages
command has been properly documented in command-line help (i.e.meteor update --help
). PR #8431 Issue #8154๐ฆ Syntax errors encountered while scanning
package.json
files for binary dependencies are now safely and silently ignored. Issue #8427 PR #8468
-
v1.4.3.1 Changes
February 14, 2017โฌ๏ธ The
meteor-babel
npm package has been upgraded to version 0.14.4, fixing #8349.โฌ๏ธ The
reify
npm package has been upgraded to version 0.4.9.Partial
npm-shrinkwrap.json
files are now disregarded when (re)installing npm dependencies of Meteor packages, fixing #8349. Further discussion of the newnpm
behavior can be found here.
-
v1.4.2 Changes
October 25, 2016- ๐ This release implements a number of rebuild performance optimizations.
As you edit files in development, the server should restart and rebuild
much more quickly, especially if you have many
node_modules
files. See https://github.com/meteor/meteor/pull/7668 for more details.
Note: the
METEOR_PROFILE
environment variable now provides data for server startup time as well as build time, which should make it easier to tell which of your packages are responsible for slow startup times. Please include the output ofMETEOR_PROFILE=10 meteor run
with any GitHub issue about rebuild performance.โฌ๏ธ
npm
has been upgraded to version 3.10.9.โก๏ธ The
cordova-lib
npm package has been updated to 6.3.1, along with cordova-android (5.2.2) and cordova-ios (4.2.1), and various plugins.โก๏ธ The
node-pre-gyp
npm package has been updated to 0.6.30.โก๏ธ The
lru-cache
npm package has been updated to 4.0.1.โก๏ธ The
meteor-promise
npm package has been updated to 0.8.0 for better asynchronous stack traces.The
meteor
tool is now prevented from running asroot
as this is not recommended and can cause issues with permissions. In some environments, (e.g. Docker), it may still be desired to run asroot
and this can be permitted by passing--unsafe-perm
to themeteor
command. #7821๐ฆ Blaze-related packages have been extracted to
meteor/blaze
, and the mainmeteor/meteor
repository now refers to them via git submodules (see #7633). When runningmeteor
from a checkout, you must now update these submodules by runninggit submodule update --init --recursive
in the root directory of your
meteor
checkout.๐ Accounts.forgotPassword and .verifyEmail no longer throw errors if callback is provided. Issue #5664 Origin PR #5681 Merged PR
๐ The default content security policy (CSP) for Cordova now includes
ws:
andwss:
WebSocket protocols. #7774๐ง
meteor npm
commands are now configured to usedev_bundle/.npm
as the npm cache directory by default, which should make npm commands less sensitive to non-reproducible factors in the external environment. https://github.com/meteor/meteor/pull/7668/commits/3313180a6ff33ee63602f7592a9506012029e919๐ The
meteor test
command now supports the--no-release-check
flag. https://github.com/meteor/meteor/pull/7668/commits/7097f78926f331fb9e70a06300ce1711adae2850JavaScript module bundles on the server no longer include transitive
node_modules
dependencies, since those dependencies can be evaluated directly by Node. This optimization should improve server rebuild times for apps and packages with largenode_modules
directories. https://github.com/meteor/meteor/pull/7668/commits/03c5346873849151cecc3e00606c6e5aa13b3bbc๐ฆ The
standard-minifier-css
package now does basic caching for the expensivemergeCss
function. https://github.com/meteor/meteor/pull/7668/commits/bfa67337dda1e90610830611fd99dcb1bd44846a๐ฆ The
coffeescript
package now natively supportsimport
andexport
declarations. #7818Due to changes in how Cordova generates version numbers for iOS and Android apps, you may experience issues with apps updating on user devices. To avoid this, consider managing the
buildNumber
manually usingApp.info('buildNumber', 'XXX');
inmobile-config.js
. There are additional considerations if you have been settingandroid:versionCode
orios-CFBundleVersion
. See #7205 and #6978 for more information.
- ๐ This release implements a number of rebuild performance optimizations.
As you edit files in development, the server should restart and rebuild
much more quickly, especially if you have many
-
v1.4.2.7 Changes
February 13, 2017- โฌ๏ธ The
npm
npm package has been downgraded from version 4.1.2 back to version 3.10.9, reverting the upgrade in Meteor 1.4.2.4.
- โฌ๏ธ The
-
v1.4.2.6 Changes
February 08, 2017- ๐ Fixed a critical bug
that was introduced by the fix for
Issue #8136, which
caused some npm packages in nested
node_modules
directories to be omitted from bundles produced bymeteor build
andmeteor deploy
.
- ๐ Fixed a critical bug
that was introduced by the fix for
Issue #8136, which
caused some npm packages in nested
-
v1.4.2.5 Changes
February 03, 2017- โช Reverted #8213 as the change was deemed too significant for this release.
โช > Note: The decision to revert the above change was made late in the Meteor 1.4.2.4 release process, before it was ever recommended but too late in the process to avoid the additional increment of the version number. See #8311 for additional information. This change will still be released in an upcoming version of Meteor with a more seamless upgrade.
-
v1.4.2.4 Changes
February 02, 2017โฌ๏ธ Node has been upgraded to version 4.7.3.
โฌ๏ธ The
npm
npm package has been upgraded from version 3.10.9 to 4.1.2.
๐ > Note: This change was later deemed too substantial for a point release and was reverted in Meteor 1.4.2.7.
๐ Fix for Issue #8136.
๐ Fix for Issue #8222.
๐ Fix for Issue #7849.
๐ The version of 7-zip included in the Windows dev bundle has been upgraded from 1602 to 1604 in an attempt to mitigate Issue #7688.
๐ฆ The
"main"
field ofpackage.json
modules will no longer be overwritten with the value of the optional"browser"
field, now that theinstall
npm package can make sense of the"browser"
field at runtime. If you experience module resolution failures on the client after updating Meteor, make sure you've updated themodules-runtime
Meteor package to at least version 0.7.8. #8213
-
v1.4.2.3 Changes
November 17, 2016- ๐
Style improvements for
meteor create --full
. #8045
Note: Meteor 1.4.2.2 was finalized before #8045 was merged, but those changes were deemed important enough to skip recommending 1.4.2.2 and instead immediately release 1.4.2.3.
- ๐
Style improvements for
-
v1.4.2.2 Changes
November 15, 2016โฌ๏ธ Node has been upgraded to version 4.6.2.
meteor create
now has a new--full
option, which generates an larger app, demonstrating development techniques highlighted in the Meteor Guide
- ๐ Minimongo now supports
$min
,$max
and partially supports$currentDate
.
๐ Fix for Issue #5676 PR #7968
It is now possible for packages to specify a lazy main module:
Package.onUse(function (api) { api.mainModule("client.js", "client", { lazy: true }); });
This means the
client.js
module will not be evaluated during app startup unless/until another module imports it, and will not even be included in the client bundle if no importing code is found. Note 1: packages with lazy main modules cannot useapi.export
to export global symbols to other packages/apps. Note 2: packages with lazy main modules should be restricted to Meteor 1.4.2.2 or later viaapi.versionsFrom("1.4.2.2")
, since older versions of Meteor cannot import lazy main modules usingimport "meteor/<package name>"
but must explicitly name the module:import "meteor/<package name>/client.js"
.