Skip to content

Commit 865eb5b

Browse files
committed
Bump changelog version
1 parent 29f6337 commit 865eb5b

File tree

2 files changed

+27
-3
lines changed

2 files changed

+27
-3
lines changed

CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,23 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.2.0] - 2024-12-16
9+
10+
### Added
11+
12+
- Added additional context to IP fetch errors
13+
14+
### Changed
15+
16+
- Updated to rust 1.83.0
17+
- Updated default ttl, proxied, and comment values for Cloudflare
18+
- Refactored Cloudflare provider update operations into separate functions
19+
20+
### Fixed
21+
22+
- Fixed a bug where an empty update could make it though to provider updates
23+
- Fixed pluralized domain struct
24+
825
## [0.1.0] - 2024-11-09
926

1027
### Added

README.md

+10-3
Original file line numberDiff line numberDiff line change
@@ -66,29 +66,36 @@ type = "stun"
6666
* `type` - The provider type. Must be `cloudflare`
6767
* `zone` - The zone root domain to update
6868
* `api_token` - Cloudflare API token with the `Zone.DNS Edit` permission
69+
* `api_url` - Optional API URL, default is `https://api.cloudflare.com/client/v4`
6970
* `domains` - A list of domains to update
7071
* `name` - The full domain name to update (Required)
7172
* `ttl` - The TTL for the record, default is `1` (Auto)
7273
* `proxied` - Whether the record is proxied through Cloudflare, default is `false`
73-
* `comment` - A comment to add to the record
74+
* `comment` - A comment to add to the record, default is `Created by DDRS`
7475

7576
```toml
7677
[[providers]]
7778
type = "cloudflare"
7879
zone = "domain.com"
7980
api_token = "TOKEN"
8081

82+
[[providers.domains]]
83+
name = "domain.com"
84+
ttl = 1
85+
proxied = false
86+
comment = "Root domain"
87+
8188
[[providers.domains]]
8289
name = "*.domain.com"
8390
ttl = 1
8491
proxied = false
8592
comment = "Wildcard subdomain"
8693

8794
[[providers.domains]]
88-
name = "domain.com"
95+
name = "sub.domain.com"
8996
ttl = 1
9097
proxied = false
91-
comment = "Root domain"
98+
comment = "Subdomain"
9299
```
93100

94101
## Deployment

0 commit comments

Comments
 (0)