diff --git a/CHANGELOG.md b/CHANGELOG.md index cb8ed6e5..d3288d01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ This project uses [Semantic Versioning 2.0.0](http://semver.org/), the format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). +## Unreleased + +### Deprecated + +- Deprecated `parent_id` in `Dnsimple::Struct::ZoneRecord`. The value is always `nil`, and the attribute will be removed in the next major version. (#486) + ## 13.0.0 - 2026-05-05 ### Changed diff --git a/lib/dnsimple/struct/zone_record.rb b/lib/dnsimple/struct/zone_record.rb index 77abd0e3..8d2f85bc 100644 --- a/lib/dnsimple/struct/zone_record.rb +++ b/lib/dnsimple/struct/zone_record.rb @@ -10,6 +10,7 @@ class ZoneRecord < Base attr_accessor :zone_id # @return [Integer] The ID of the parent record, if this record is dependent on another record. + # @deprecated The value is always nil, and the attribute will be removed in the next major version. attr_accessor :parent_id # @return [String] The type of record, in uppercase.