Skip to content

Commit

Permalink
Update packages, history and other for 0.9 release
Browse files Browse the repository at this point in the history
  • Loading branch information
StorytellerCZ committed Oct 8, 2019
1 parent 2be77d0 commit 549976c
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
sudo: false
language: node_js
node_js:
- "4"
- "8"

before_install:
- curl https://install.meteor.com | sh
Expand Down
3 changes: 3 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## v0.9.0

* BREAKING: Minimum required Meteor version is now 1.6.1
* Align return values with original methods when a hook returns `false`
* Always run `find` hooks when fetching documents for `update`, `upsert` and `remove` hooks
* Fix unsafe `selector` in `before.find` and `before.findOne` when called without arguments. This is potentially a *breaking change* for those who are relying on the current behavior of `selector` in `before.find` and `before.findOne`
Expand All @@ -8,6 +9,8 @@
* Use spacejam for headless testing, will make headless testing work locally
* Add support for the new modifiers $max, $min and $currentDate
* No longer fetch documents when no hooks are defined
* Fix conflict with [sewdn:collection-behaviours](https://github.com/Sewdn/meteor-collection-behaviours) package
* Updated dependencies and node version in tests

## v0.8.3

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,10 +336,12 @@ line in a nested callback before the operation to unset the `direct` setting:
--------------------------------------------------------------------------------

## Maintainers
Maintained by [Meteor Community Packages](https://github.com/Meteor-Community-Packages) and in particular by:

- Mathieu Bouchard ([matb33](https://github.com/matb33))
- Andrew Mao ([mizzao](https://github.com/mizzao))
- Simon Fridlund ([zimme](https://github.com/zimme))
- Jan Dvorak ([StorytellerCZ](https://github.com/StorytellerCZ))

## Contributors

Expand Down
2 changes: 1 addition & 1 deletion collection-hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ CollectionHooks.wrapCollection = function wrapCollection (ns, as) {

// Meteor overrides the apply method which is copied from the constructor in the loop above. Replace it with the
// default method which we need if we were to further wrap ns.Collection.
ns.Collection.apply = Function.prototype.apply;
ns.Collection.apply = Function.prototype.apply
}

CollectionHooks.modify = LocalCollection._modify
Expand Down
6 changes: 3 additions & 3 deletions package.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Package.describe({
name: 'matb33:collection-hooks',
summary: 'Extends Mongo.Collection with before/after hooks for insert/update/remove/find/findOne',
version: '0.9.0-rc.4',
version: '0.9.0',
git: 'https://github.com/Meteor-Community-Packages/meteor-collection-hooks'
})

Expand All @@ -14,7 +14,7 @@ Package.onUse(function (api, where) {
api.addFiles = api.addFiles || api.add_files // backwards-compat

if (api.versionsFrom) { // 0.9.0+ litmus test
api.versionsFrom('1.3.5.1')
api.versionsFrom('1.6.1')

api.use([
'mongo',
Expand Down Expand Up @@ -57,7 +57,7 @@ Package.onTest(function (api) {
api.addFiles = api.addFiles || api.add_files // backwards-compat

if (api.versionsFrom) { // 0.9.0+ litmus test
api.versionsFrom('1.3.5.1')
api.versionsFrom('1.6.1')
api.use('mongo')
}

Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "meteor-collection-hooks",
"version": "0.9.0-rc.4",
"version": "0.9.0",
"private": true,
"scripts": {
"start": "meteor test-packages ./",
Expand All @@ -15,12 +15,12 @@
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/matb33/meteor-collection-hooks.git"
"url": "https://github.com/Meteor-Community-Packages/meteor-collection-hooks.git"
},
"bugs": {
"url": "https://github.com/matb33/meteor-collection-hooks/issues"
"url": "https://github.com/Meteor-Community-Packages/meteor-collection-hooks/issues"
},
"homepage": "https://github.com/matb33/meteor-collection-hooks",
"homepage": "https://github.com/Meteor-Community-Packages/meteor-collection-hooks",
"devDependencies": {
"eslint": "^6.5.1",
"eslint-config-standard": "^14.1.0",
Expand Down

0 comments on commit 549976c

Please sign in to comment.