Skip to content

Commit 3ffc759

Browse files
authored
Add PR template (#2684)
1 parent ae0a535 commit 3ffc759

File tree

3 files changed

+24
-4
lines changed

3 files changed

+24
-4
lines changed

.github/PULL_REQUEST_TEMPLATE.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!--
2+
Replace this notice by a description of your feature/bugfix.
3+
This will help reviewers and should be a good start for the documentation.
4+
-->
5+
6+
### Checklist
7+
8+
- [ ] Add tests and ensure they pass
9+
- [ ] Add an entry to the CHANGELOG.md file
10+
- [ ] Update documentation for new features

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## [4.0.3] - unreleased
5+
6+
7+
## [4.0.2] - 2023-11-03
8+
9+
- Fix compatibility with Laravel 10.30 [#2661](https://github.com/mongodb/laravel-mongodb/pull/2661) by [@Treggats](https://github.com/Treggats)
10+
- PHPORM-101 Allow empty insert batch for consistency with Eloquent SQL [#2661](https://github.com/mongodb/laravel-mongodb/pull/2645) by [@GromNaN](https://github.com/GromNaN)
11+
12+
*4.0.1 skipped due to a mistake in the release process.*
13+
414
## [4.0.0] - 2023-09-28
515

616
- Rename package to `mongodb/laravel-mongodb`

CONTRIBUTING.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ Before submitting a pull request:
3838

3939
## Run Tests
4040

41-
The full test suite requires PHP cli with mongodb extension, a running MongoDB server and a running MySQL server.
41+
The full test suite requires PHP cli with mongodb extension and a running MongoDB server. A replica set is required for
42+
testing transactions.
4243
Duplicate the `phpunit.xml.dist` file to `phpunit.xml` and edit the environment variables to match your setup.
4344

4445
```bash
@@ -69,14 +70,13 @@ If the project maintainer has any additional requirements, you will find them li
6970

7071
- **Add tests!** - Your patch won't be accepted if it doesn't have tests.
7172

72-
- **Document any change in behaviour** - Make sure the documentation is kept up-to-date.
73+
- **Document any change in behaviour** - Make sure the documentation is kept up-to-date, and update the changelog for
74+
new features and bug fixes.
7375

7476
- **Consider our release cycle** - We try to follow [SemVer v2.0.0](https://semver.org/). Randomly breaking public APIs is not an option.
7577

7678
- **One pull request per feature** - If you want to do more than one thing, send multiple pull requests.
7779

78-
- **Send coherent history** - Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please [squash them](https://www.git-scm.com/book/en/v2/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages) before submitting.
79-
8080
Happy coding!
8181

8282
## Releasing

0 commit comments

Comments
 (0)