Commit Graph

5909 Commits

Author SHA1 Message Date
David Glasser
4ece886c36 1.0.2.1 2014-12-22 16:52:44 -08:00
David Glasser
2c50456cef 1.0.2.1-rc.2 2014-12-22 14:15:04 -08:00
David Glasser
837c5faddf 1.0.2.1-rc.1 2014-12-22 12:33:14 -08:00
David Glasser
6b204ca73a Bump package versions for 1.0.2 2014-12-19 10:31:59 -08:00
David Glasser
533ff573ce update autoupdate QA 2014-12-18 17:32:34 -08:00
Tim Haines
28ae4d48c2 Doc fix: meteor bundle -> meteor build 2014-12-18 10:46:44 -08:00
David Glasser
4723a310ab 1.0.2-rc.7 2014-12-17 14:41:12 -08:00
David Glasser
7239b4051c 1.0.2-rc.6 2014-12-17 00:22:47 -08:00
David Glasser
6c43678bc0 Clear two types of tokens on Accounts.setPassword 2014-12-16 17:46:26 -08:00
Emily Stark
d700610397 Disallow mixed modifier/non-modifier fields in updates
We expect modifiers to be either modifiers or replacements, not a
mix. MongoDB does this check also, but do it in meteor too as a safety
belt.
2014-12-16 17:16:26 -08:00
Emily Stark
d9feb32148 Disallow EJSON custom types as replacement documents in updates 2014-12-16 17:16:13 -08:00
Emily Stark
747dd88bbf Clear password reset tokens on password change
Conflicts from devel:
	History.md
2014-12-16 17:16:02 -08:00
Ben Newman
f5dc40765c Package version bumps. 2014-12-15 21:51:25 -05:00
David Glasser
c120069ff6 1.0.2-rc.3 2014-12-12 17:38:27 -08:00
David Glasser
e4b32c9dc5 1.0.2-rc.2 2014-12-12 07:53:45 -08:00
David Glasser
73b809c122 Bump versions for 1.0.2. 2014-12-11 22:44:41 -08:00
David Glasser
38c28c14bc Upgrade esprima and escope 2014-12-11 13:44:03 -08:00
David Glasser
0ed8a9b32d bump package versions for a test release 2014-12-10 14:50:11 -08:00
David Glasser
44563f13b4 Allow prerelease parts with digits and nondigits
Previously the constraint solver crashed on such things.

Fixes #3147.
2014-12-09 20:33:06 -08:00
David Glasser
6ea8443f30 Update calls to addFiles, onUse, and onTest 2014-12-09 20:18:31 -08:00
David Glasser
e7bfa5202e Update packages to use Package.registerBuildPlugin 2014-12-09 20:09:34 -08:00
David Greenspan
f9339a8f26 Merge branch 'blaze-render-with-data-gc' into devel 2014-12-09 13:18:26 -08:00
David Greenspan
ab92f117ae Expand fix for #3130
If you Blaze.remove a View that is a template rendered by Blaze.renderWithData, or included with an implicit “with” as in `{{> myTemplate someData}}`, Blaze will now remove the DOM of the template, and also remove the implicit “with” (in both cases).

As background, Blaze.remove only works on Views that were attached directly under a DOM element, not inside another View.  Blaze.render always attaches the resulting View directly under a DOM element, but Blaze.renderWithData creates a “with” View around the template View.  Previously, you could Blaze.remove the “with” View (which is returned by renderWithData), but if you got access to the template’s View some other way and tried to remove it directly, nothing would happen.  Now, the correct thing happens (the View is destroyed and the DOM is removed).

In the future, we should consider whether Blaze.remove should work on arbitrary Views, not just Views attached under a DOM element.
2014-12-09 13:17:12 -08:00
Emily Stark
71652f9b9f Merge branch 'master' into devel
Conflicts:
	History.md
	docs/client/data.js
	docs/client/full-api/concepts.html
	docs/client/full-api/tableOfContents.js
	examples/localmarket/.meteor/packages
	packages/ddp/package.js
	packages/meteor-tool/package.js
	packages/mongo/package.js
	scripts/admin/manifest.json
2014-12-09 13:15:29 -08:00
Emily Stark
2cbad1fe9e bump ddp version number 2014-12-09 10:36:51 -08:00
Emily Stark
7545e05eb4 Bump package version numbers 2014-12-09 10:35:23 -08:00
Emily Stark
77a1257e51 Clone options before mutating 2014-12-08 19:05:41 -08:00
Mitar
847e64b02f doneCallback is not necessary defined. 2014-12-08 18:54:44 -08:00
Emily Stark
871e3d88f2 Explicitly forbid replaces from validated updates. 2014-12-08 18:33:22 -08:00
Slava Kim
ebce6c46aa Add a blaze test for #3130 2014-12-08 17:05:05 -08:00
Slava Kim
918a9e0a6b Use a special flag to mark when Blaze views have..
autogenerated parents those need to be gc'd with their children.
Should help with #3130
2014-12-08 16:38:01 -08:00
Emily Stark
4064b6562c Check that 'mutator' is an object 2014-12-08 14:33:30 -08:00
David Greenspan
3aadefa71d History.md and docs tweaks 2014-12-08 14:01:03 -08:00
David Greenspan
27af08c78b Merge branch 'devel' into mitar-parentdata 2014-12-08 13:20:39 -08:00
Mitar
d6fd5c21bc Added tests and documentation. 2014-12-07 13:30:38 -08:00
Mitar
fda7524ff8 Default for Template.parentData set to 1. 2014-12-07 13:08:04 -08:00
Emily Stark
24d8fec98f Check for parent process only every few seconds.
Fixes #3252. Also probably fixes #2890, which we might have misattribued
to file watching in the tool process.
2014-12-07 09:34:45 -08:00
Sashko Stubailo
0cdc382a72 Replace occurences of "elide" with "omit" 2014-12-05 15:32:57 -08:00
Emily Stark
42fe3847a7 Check for empty mutators in validated updates 2014-12-05 12:11:21 -08:00
David Glasser
2a2bf8a460 Improve comment and add History note 2014-12-03 14:46:05 -08:00
Matteo De Micheli
931edada9f Do special argument check for NaN values 2014-12-03 14:44:08 -08:00
David Glasser
2f90467da0 Optimize constraint solver's catalog interface
We shouldn't ask sqlite for a list of rows and then go back and ask for
each row one by one!

Addresses #3043.
2014-12-01 19:20:28 -08:00
David Glasser
de9536172e Fix anticipated pre-release calculation
This commit fixes a 0.9.3 regression where the calculation of the
topLevelPrereleases object was not updated with the introduction of
disjunction constraints (||) and would always be empty.

topLevelPrereleases and useRCsOK are merged into a single
anticipatedPrereleases option which is now passed in to the
constraint-solver package rather than constructed inside it. (This
object will also be used in ProjectContext as part of PackageDelta
calculation.)

The usedRCs return flag is now called
neededToUseUnanticipatedPrereleases.
2014-12-01 01:26:34 -08:00
David Glasser
8b953ece72 version bump 2014-11-25 09:06:27 -08:00
David Glasser
de5f68cf70 bump all versions (due to source-map upgrade) 2014-11-25 09:06:26 -08:00
David Greenspan
b132dcb677 Minor changes to Resolver
There were too many things called `constraints` — ConstraintsList objects, arrays and maps of Constraint strings or objects… Also “alternatives” is already taken, so use “disjunction.”  Consider propagating this rename upstream to package-version-parser, since it’s kind of weird that “constraints” is implicitly a disjunction (rather than, say, a conjunction).

Don’t call a constraint string a version string.
2014-11-24 17:16:33 -08:00
David Greenspan
29fb67931b Clean up logic around pre-releases in solver
When it comes to pre-releases, Constraints aren’t “context-free.”  That’s ok for now, but at least hoist the pre-release check out of the innermost loop.  Ideally we’d hoist it higher, but I can see that it’s pretty convenient this way.

Should be identical in behavior to before (differing maybe in some super edge case, but I doubt it).
2014-11-24 15:28:06 -08:00
David Greenspan
fee326899a Remove unreachable case in Constraint#isSatisfied 2014-11-24 14:25:48 -08:00
David Greenspan
9a4428bf6e Don’t support #arch when parsing a constraint 2014-11-22 17:29:54 -08:00
David Glasser
fb6b39d956 explicitly search for non-weak dep
dep.references ought to never be empty, but if it is we should consider
that to not be a dependency!
2014-11-22 14:20:57 -08:00