## v.NEXT ## v1.3.3 * Meteor packages with binary npm dependencies are now automatically rebuilt using `npm rebuild` whenever the version of Node or V8 changes, making it much simpler to use Meteor with different versions of Node. 5dc51d39ecc9e8e342884f3b4f8a489f734b4352 * `*.min.js` files are no longer minified during the build process. [PR #6986](https://github.com/meteor/meteor/pull/6986) [Issue #5363](https://github.com/meteor/meteor/issues/5363) * You can now pick where the `.meteor/local` directory is created by setting the `METEOR_LOCAL_DIR` environment variable. This lets you run multiple instances of the same Meteor app. [PR #6760](https://github.com/meteor/meteor/pull/6760) [Issue #6532](https://github.com/meteor/meteor/issues/6532) * Allow using authType in Facebook login [PR #5694](https://github.com/meteor/meteor/pull/5694) * Adds flush() method to Tracker to force recomputation [PR #4710](https://github.com/meteor/meteor/pull/4710) * Adds `defineMutationMethods` option (default: true) to `new Mongo.Collection` to override default behavior that sets up mutation methods (/collection/[insert|update...]) [PR #5778](https://github.com/meteor/meteor/pull/5778) * Allow overridding the default warehouse url by specifying `METEOR_WAREHOUSE_URLBASE` [PR #7054](https://github.com/meteor/meteor/pull/7054) * Allow `_id` in `$setOnInsert` in Minimongo: https://github.com/meteor/meteor/pull/7066 * Added support for `$eq` to Minimongo: https://github.com/meteor/meteor/pull/4235 * Insert a `Date` header into emails by default: https://github.com/meteor/meteor/pull/6916/files * DDP callbacks are now batched on the client side. This means that after a DDP message arrives, the local DDP client will batch changes for a minimum of 5ms (configurable via `bufferedWritesInterval`) and a maximum of 500ms (configurable via `bufferedWritesMaxAge`) before calling any callbacks (such as cursor observe callbacks). * PhantomJS is no longer included in the Meteor dev bundle (#6905). If you previously relied on PhantomJS for local testing, the `spiderable` package, Velocity tests, or testing Meteor from a checkout, you should now install PhantomJS yourself, by running the following commmand: `meteor npm install -g phantomjs-prebuilt` ## v1.3.2.3 * Reverted accidental changes included in 1.3.2.1 and 1.3.2.2 that improved DDP performance by batching updates, but broke some packages that relied on private methods of the DDP client Connection class. See https://github.com/meteor/meteor/pull/5680 for more details. These changes will be reinstated in 1.3.3. ## v1.3.2.2 * Fixed bugs #6819 and #6831. ## v1.3.2.1 * Fixed faulty comparison of `.sourcePath` and `.targetPath` properties of files scanned by the `ImportScanner`, which caused problems for apps using the `tap:i18n` package. 6e792a7cf25847b8cd5d5664a0ff45c9fffd9e57 ## v1.3.2 * The `meteor/meteor` repository now includes a `Roadmap.md` file: https://github.com/meteor/meteor/blob/devel/Roadmap.md * Running `npm install` in `bundle/programs/server` when deploying an app also rebuilds any binary npm dependencies, fixing #6537. Set METEOR_SKIP_NPM_REBUILD=1 to disable this behavior if necessary. * Non-.js(on) files in `node_modules` (such as `.less` and `.scss`) are now processed by compiler plugins and may be imported by JS. #6037 * The `jquery` package can now be completely removed from any app (#6563), and uses `/node_modules/jquery` if available (#6626). * Source maps are once again generated for all bundled JS files, even if they are merely identity mappings, so that the files appear distinct in the browser, and stack traces make more sense. #6639 * All application files in `imports` directories are now considered lazy, regardless of whether the app is using the `modules` package. This could be a breaking change for 1.3.2 apps that do not use `modules` or `ecmascript` but contain `imports` directories. Workaround: move files out of `imports`, or rename `imports` to something else. * The `npm-bcrypt` package has been upgraded to use the latest version (0.8.5) of the `bcrypt` npm package. * Compiler plugins can call `addJavaScript({ path })` multiple times with different paths for the same source file, and `module.id` will reflect this `path` instead of the source path, if they are different. #6806 * Fixed bugs: https://github.com/meteor/meteor/milestones/Release%201.3.2 * Fixed unintended change to `Match.Optional` which caused it to behave the same as the new `Match.Maybe` and incorrectly matching `null` where it previously would not have allowed it. #6735 ## v1.3.1 * Long isopacket node_modules paths have been shortened, fixing upgrade problems on Windows. #6609 * Version 1.3.1 of Meteor can now publish packages for earlier versions of Meteor, provided those packages do not rely on modules. #6484 #6618 * The meteor-babel npm package used by babel-compiler has been upgraded to version 0.8.4. c8d12aed4e725217efbe86fa35de5d5e56d73c83 * The `meteor node` and `meteor npm` commands now return the same exit codes as their child processes. #6673 #6675 * Missing module warnings are no longer printed for Meteor packages, or for `require` calls when `require` is not a free variable, fixing https://github.com/practicalmeteor/meteor-mocha/issues/19. * Cordova iOS builds are no longer built by Meteor, but merely prepared for building. 88d43a0f16a484a5716050cb7de8066b126c7b28 * Compiler plugin errors were formerly silenced for files not explicitly added in package.js. Now those errors are reported when/if the files are imported by the ImportScanner. be986fd70926c9dd8eff6d8866205f236c8562c4 ## v1.3 ### ES2015/Modules * Enable ES2015 and CommonJS modules in Meteor apps and packages, on both client and server. Also let you install modules in apps and package by running `npm install`. See: https://github.com/meteor/meteor/blob/master/packages/modules/README.md * Enable ES2015 generators and ES2016 async/await in the `ecmascript` package. * Inherit static getters and setters in subclasses, when using the `ecmascript` package. #5624 * Report full file paths on compiler errors when using the `ecmascript` package. #5551 * Now possible to `import` or `require` files with a `.json` file extension. #5810 * `process.env.NODE_ENV` is now defined on both client and server as either `development` or `production`, which also determines the boolean flags `Meteor.isDevelopment` and `Meteor.isProduction`. * Absolute identifiers for app modules no longer have the `/app/` prefix, and absolute identifiers for Meteor packages now have the prefix `/node_modules/meteor/` instead of just `/node_modules/`, meaning you should `import {Blaze} from "meteor/blaze"` instead of `from "blaze"`. * Package variables imported by application code are once again exposed globally, allowing them to be accessed from the browser console or from `meteor shell`. #5868 * Fixed global variable assignment analysis during linking. #5870 #5819 * Changes to files in node_modules will now trigger a restart of the development server, just like any other file changes. #5815 * The meteor package now exports a `global` variable (a la Node) that provides a reliable reference to the global object for all Meteor code. * Packages in local node_modules directories now take precedence over Meteor packages of the same name. #5933 * Upgraded `babel-compiler` to Babel 6, with the following set of plugins: https://github.com/meteor/babel-preset-meteor/blob/master/index.js * Lazy CSS modules may now be imported by JS: 12c946ee651a93725f243f790c7919de3d445a19 * Packages in the top-level node_modules directory of an app can now be imported by Meteor packages: c631d3ac35f5ca418b93c454f521989855b8ec72 * Added support for wildcard import and export statements. #5872 #5897 * Client-side stubs for built-in Node modules are now provided automatically if the `meteor-node-stubs` npm package is installed. #6056 * Imported file extensions are now optional for file types handled by compiler plugins. #6151 * Upgraded Babel packages to ~6.5.0: 292824da3f8449afd1cd39fcd71acd415c809c0f Note: .babelrc files are now ignored (#6016), but may be reenabled (#6351). * Polyfills now provided for `process.nextTick` and `process.platform`. #6167 #6198 #6055 efe53de492da6df785f1cbef2799d1d2b492a939 * The `meteor test-app` command is now `meteor test [--full-app]`: ab5ab15768136d55c76d51072e746d80b45ec181 * New apps now include a `package.json` file. c51b8cf7ffd8e7c9ca93768a2df93e4b552c199c * `require.resolve` is now supported. https://github.com/benjamn/install/commit/ff6b25d6b5511d8a92930da41db73b93eb1d6cf8 * JSX now enabled in `.js` files processed by the `ecmascript` compiler plugin. #6151 * On the server, modules contained within `node_modules` directories are now loaded using the native Node `require` function. #6398 * All `