Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meteor 3 #405

Merged
merged 8 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
meteor: [1.12.2, 2.6.1, 2.7.3, 2.8.1, 2.12]
meteor: ["3.0-rc.0"]
redis-version: [4, 5, 6, 7]

steps:
Expand All @@ -26,7 +26,7 @@ jobs:
run: |
meteor create --release ${{ matrix.meteor }} --bare test
cd test
meteor npm i --save puppeteer@1.18.1 simpl-schema chai
meteor npm i --save puppeteer@1.18.1 simpl-schema@3.4.6 chai@4.3.6
- name: Test
working-directory: ./test
run: METEOR_PACKAGE_DIRS="../" TEST_BROWSER_DRIVER=puppeteer meteor test-packages --raw-logs --once --driver-package meteortesting:mocha ../
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
dump.rdb
npm-debug.log
.idea/

node_modules
test/
2 changes: 1 addition & 1 deletion .npm/package/npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.idea/
.github/
test/
docs/
testing/
node_modules/
package-lock.json
test/
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"semi": true,
"singleQuote": false,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be true to reduce the number of prettier changes and make it easier to review.

"trailingComma": "es5",
"bracketSpacing": true
}
1 change: 0 additions & 1 deletion .versions
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ mongo@1.16.7
mongo-decimal@0.1.3
mongo-dev-server@1.1.0
mongo-id@1.0.8
natestrauser:publish-performant-counts@0.1.2
npm-mongo@4.16.0
ordered-dict@1.1.0
practicalmeteor:mocha-core@1.0.1
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- Fix reactivity bug in fairly specific situations [#367](https://github.com/cult-of-coders/redis-oplog/issues/367)

### 2.2.0

- Bumped minimum Meteor version to v1.12.2
- Updated tests to cover from Meteor v1.12.2 to the latest v2.12
- Added testing for Redis v7
Expand All @@ -15,41 +16,51 @@
- Fix SyntheticMutator not applying `globalRedisPrefix`

### 2.1.1

- Fixes callback is not a function error when using SyntheticMutator.update

### 2.1.0

- Meteor 2.6 support
- Projections option support
- Update Mocha tests
- Update tests to use Meteor 1.12.2 to fix certificates issues

### 1.2.3

- Redis connection failover handling
- Re-fetching the up-to-date collection when Redis connection resumes
- Bug fixes and improvements

### 1.2.2

- Ability to merge db requests by channel
- Bug fixes and improvements

### 1.2.1

- Bug fixes and improvements

### 1.2.0

- Optimistic UI fixes
- Performance gains for methods
- Fixes for publishComposite
- Other bugs and code quality improvements

### 1.0.5 - 1.0.15

- Bug fixes and improvements

### 1.0.5

- Fix for infinite loop when overriding publish

### 1.0.4

- Fix for update using positional operators

### 1.0.3

- Added support for publish composite
- Fixed randomly failing tests
11 changes: 6 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

First, thank you for considering contributing to redis-oplog! It's people like you that make the open source community such a great community! 😊

We welcome any type of contribution, not only code. You can help with
We welcome any type of contribution, not only code. You can help with

- **QA**: file bug reports, the more details you can give the better (e.g. screenshots with the console open)
- **Marketing**: writing blog posts, howto's, printing stickers, ...
- **Community**: presenting the project at meetups, organizing a dedicated meetup for the local community, ...
Expand All @@ -13,7 +14,7 @@ We welcome any type of contribution, not only code. You can help with

## Your First Contribution

Working on your first Pull Request? You can learn how from this *free* series, [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github).
Working on your first Pull Request? You can learn how from this _free_ series, [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github).

## Submitting code

Expand All @@ -26,14 +27,16 @@ It is also always helpful to have some context for your pull request. What was t

## Running Tests

### Setup
### Setup

```
meteor create --release 1.12.2 --bare test
cd test
meteor npm i --save puppeteer@1.18.1 simpl-schema chai
```

### Start Tests

```
METEOR_PACKAGE_DIRS="../" TEST_BROWSER_DRIVER=puppeteer meteor test-packages --raw-logs --once --driver-package meteortesting:mocha ../
```
Expand All @@ -55,14 +58,12 @@ You can also reach us at hello@redis-oplog.opencollective.com.
Thank you to all the people who have already contributed to redis-oplog!
<a href="graphs/contributors"><img src="https://opencollective.com/redis-oplog/contributors.svg?width=890" /></a>


### Backers

Thank you to all our backers! [[Become a backer](https://opencollective.com/redis-oplog#backer)]

<a href="https://opencollective.com/redis-oplog#backers" target="_blank"><img src="https://opencollective.com/redis-oplog/backers.svg?width=890"></a>


### Sponsors

Thank you to all our sponsors! (please ask your company to also support this open source project by [becoming a sponsor](https://opencollective.com/redis-oplog#sponsor))
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ RedisOplog.stats()

### Events for Meteor (+ Redis Oplog, Grapher and GraphQL/Apollo)

* Meteor Night 2018 Slide: [Arguments for Meteor](https://drive.google.com/file/d/1Tx9vO-XezO3DI2uAYalXPvhJ-Avqc4-q/view) - Theodor Diaconu, CEO of Cult of Coders: “Redis Oplog, Grapher, and Apollo Live.
- Meteor Night 2018 Slide: [Arguments for Meteor](https://drive.google.com/file/d/1Tx9vO-XezO3DI2uAYalXPvhJ-Avqc4-q/view) - Theodor Diaconu, CEO of Cult of Coders: “Redis Oplog, Grapher, and Apollo Live.

### [Optimistic UI](docs/optimistic_ui.md)

Expand Down Expand Up @@ -145,4 +145,3 @@ Support this project by becoming a sponsor. Your logo will show up here with a l
<a href="https://opencollective.com/redis-oplog/sponsor/7/website" target="_blank"><img src="https://opencollective.com/redis-oplog/sponsor/7/avatar.svg"></a>
<a href="https://opencollective.com/redis-oplog/sponsor/8/website" target="_blank"><img src="https://opencollective.com/redis-oplog/sponsor/8/avatar.svg"></a>
<a href="https://opencollective.com/redis-oplog/sponsor/9/website" target="_blank"><img src="https://opencollective.com/redis-oplog/sponsor/9/avatar.svg"></a>

Loading