Skip to content

Commit b6b8246

Browse files
committed
Merge branch 'changes'
2 parents 79ea514 + 6f53074 commit b6b8246

File tree

5 files changed

+89
-44
lines changed

5 files changed

+89
-44
lines changed

CHANGELOG.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -91,30 +91,30 @@ FEATURES:
9191
- Added `reason`, `status` and `response` fields to exceptions
9292
- Updates the exception string serialization format
9393

94-
## 2.6.0
94+
## 2.6.0 - 2022-08-17
9595

9696
- CHANGED:
9797
- Exceptions error messages are displayed correctly ([dnsimple/dnsimple-python#340](https://github.com/dnsimple/dnsimple-python/pull/340))
9898
- Dependency updates
9999

100-
## 2.5.0
100+
## 2.5.0 - 2022-07-20
101101

102102
- CHANGED:
103103
- Deprecate Certificate's `contact_id` (dnsimple/dnsimple-python#314)
104104
- Dependency updates
105105

106-
## 2.4.0
106+
## 2.4.0 - 2022-02-16
107107

108108
- CHANGED:
109109
- Dropped support of Python 3.6
110110
- Dependency updates
111111

112-
## 2.3.1
112+
## 2.3.1 - 2022-02-10
113113

114114
- CHANGED:
115115
- Dependency updates
116116

117-
## 2.3.0
117+
## 2.3.0 - 2021-10-29
118118

119119
- CHANGED:
120120
- Dependency updates
@@ -123,37 +123,37 @@ FEATURES:
123123
- REMOVED:
124124
- Developer warning in README.md
125125

126-
## 2.2.1
126+
## 2.2.1 - 2021-07-01
127127

128128
- CHANGED:
129129
Dependency updates
130130

131-
## 2.2.0
131+
## 2.2.0 - 2021-05-19
132132

133133
- CHANGED:
134134
- Feature: Added `registrar.get_domain_prices` to retrieve whether a domain is premium and the prices to register, transfer, and renew. (dnsimple/dnsimple-python#174)
135135
- Deprecated: get_domain_premium_price, use get_domain_prices instead.
136136
- Dependency updates
137137

138-
## 2.1.2
138+
## 2.1.2 - 2021-05-10
139139

140140
- CHANGED:
141141
Dependencies updates with a security update for urllib3
142142

143-
## 2.1.1
143+
## 2.1.1 - 2021-02-24
144144

145145
- CHANGED:
146146
Dependencies update
147147
Fixed #98
148148

149-
## 2.1.0
149+
## 2.1.0 - 2020-12-31
150150

151151
- CHANGED: Dependencies update
152152

153-
## 2.0.1
153+
## 2.0.1 - 2020-11-12
154154

155155
- CHANGED: Dependencies update
156156

157-
## 2.0.0
157+
## 2.0.0 - 2020-09-28
158158

159159
Adopted public release.

CONTRIBUTING.md

Lines changed: 3 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -40,38 +40,12 @@ To run the test suite:
4040
make test
4141
```
4242

43-
## Releasing
43+
## Changelog
4444

45-
The following instructions uses `$VERSION` as a placeholder, where `$VERSION` is a `MAJOR.MINOR.BUGFIX` release such as `1.2.0`.
46-
47-
1. Set the version in `./dnsimple/version.py` and `pyproject.toml`.
48-
49-
```python
50-
version = "$VERSION"
51-
```
52-
53-
2. Run the test suite and ensure all tests pass: `make test`
54-
55-
3. Finalize the `## main` section in `CHANGELOG.md` assigning the version.
56-
57-
4. Commit and push the changes
58-
59-
```shell
60-
git commit -s -a -m "Release $VERSION"
61-
git push origin main
62-
```
63-
64-
5. Wait for CI to complete.
65-
66-
6. Create a signed tag.
67-
68-
```shell
69-
git tag -a v$VERSION -s -m "Release $VERSION"
70-
git push origin --tags
71-
```
45+
We follow the [Common Changelog](https://common-changelog.org/) format for changelog entries.
7246

7347
## Testing
7448

7549
Submit unit tests for your changes. You can test your changes on your machine by [running the test suite](#testing).
7650

77-
When you submit a PR, tests will also be run on the [continuous integration environment via Travis](https://travis-ci.com/dnsimple/dnsimple-python).
51+
When you submit a PR, tests will also be run on the [continuous integration environment via GitHub Actions](https://github.com/dnsimple/dnsimple-python/actions).

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2025 DNSimple Corporation
3+
Copyright (c) 2024-2026 DNSimple Corporation
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,12 @@ For example, if you use `my-app`, the final header value will be `my-app dnsimpl
139139

140140
## Contributing
141141

142-
Contibutions are welcomed. Please open an issue to discuss the changes before opening a PR. For more details on how to do development please refer to [CONTRIBUTING.md](CONTRIBUTING.md)
142+
Contributions are welcome! Please feel free to submit issues and pull requests. See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
143+
144+
## Changelog
145+
146+
See [CHANGELOG.md](CHANGELOG.md) for details.
143147

144148
## License
145149

146-
Copyright (c) 2025 DNSimple Corporation. This is Free Software distributed under the MIT license.
150+
Copyright (c) 2024-2026 DNSimple Corporation. This is Free Software distributed under the [MIT License](LICENSE.txt).

RELEASING.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# Releasing
2+
3+
This document describes the steps to release a new version of DNSimple/Python.
4+
5+
## Prerequisites
6+
7+
- You have commit access to the repository
8+
- You have push access to the repository
9+
- You have a GPG key configured for signing tags
10+
- You have permission to publish to PyPI
11+
12+
## Release process
13+
14+
1. **Determine the new version** using [Semantic Versioning](https://semver.org/)
15+
16+
```shell
17+
VERSION=X.Y.Z
18+
```
19+
20+
- **MAJOR** version for incompatible API changes
21+
- **MINOR** version for backwards-compatible functionality additions
22+
- **PATCH** version for backwards-compatible bug fixes
23+
24+
2. **Update the version files** with the new version
25+
26+
Edit `./dnsimple/version.py` and `pyproject.toml`:
27+
28+
```python
29+
version = "$VERSION"
30+
```
31+
32+
3. **Run tests** and confirm they pass
33+
34+
```shell
35+
make test
36+
```
37+
38+
4. **Update the changelog** with the new version
39+
40+
Finalize the `## main` section in `CHANGELOG.md` assigning the version.
41+
42+
5. **Commit the new version**
43+
44+
```shell
45+
git commit -a -m "Release $VERSION"
46+
```
47+
48+
6. **Push the changes**
49+
50+
```shell
51+
git push origin main
52+
```
53+
54+
7. **Wait for CI to complete**
55+
56+
8. **Create a signed tag**
57+
58+
```shell
59+
git tag -a v$VERSION -s -m "Release $VERSION"
60+
git push origin --tags
61+
```
62+
63+
## Post-release
64+
65+
- Verify the new version appears on [PyPI](https://pypi.org/project/dnsimple/)
66+
- Verify the GitHub release was created
67+
- Announce the release if necessary

0 commit comments

Comments
 (0)