diff --git a/CHANGELOG.md b/CHANGELOG.md index 56bfd81..912ea68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,13 @@ All notable changes to this project will be documented in this file. ## [Unreleased] -## [0.13.0][] (2025-07-21) +## [0.13.1][] + +Fixes: + +- Fixes #62 - make Document Sections attribute optional (@lannon) + +## [0.13.0][] New: diff --git a/Gemfile.lock b/Gemfile.lock index 9521e56..c7c30d9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - panda_doc (0.13.0) + panda_doc (0.13.1) dry-configurable dry-struct faraday (>= 2.0.1, < 3.0) diff --git a/lib/panda_doc/objects/document_section.rb b/lib/panda_doc/objects/document_section.rb index a00a783..5a79a55 100644 --- a/lib/panda_doc/objects/document_section.rb +++ b/lib/panda_doc/objects/document_section.rb @@ -2,12 +2,12 @@ module PandaDoc module Objects class DocumentSection < Base attribute :uuid, Types::String - attribute :document_uuid, Types::String - attribute :status, Types::Custom::DocumentStatus + attribute? :document_uuid, Types::String + attribute? :status, Types::Custom::DocumentStatus attribute :name, Types::String - attribute :date_created, Types::Params::DateTime - attribute :date_modified, Types::Params::DateTime + attribute? :date_created, Types::Params::DateTime + attribute? :date_modified, Types::Params::DateTime alias_method :created_at, :date_created alias_method :updated_at, :date_modified diff --git a/lib/panda_doc/version.rb b/lib/panda_doc/version.rb index 17b7646..8f226b8 100644 --- a/lib/panda_doc/version.rb +++ b/lib/panda_doc/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module PandaDoc - VERSION = "0.13.0" + VERSION = "0.13.1" end