Repository navigation
Document the date contact property type of MillionSend v0.22.0 - #12
Merged
Merged
Conversation
- ContactProperties.create's comment and the README name "date" next to "string" and "number", say what reads as a date (also for fallback_value), how to send a Ruby Time, and that Contacts.get returns a date as the stored text. - The Segments section shows a not_in_last_days filter and describes the before, after, in_last_days and not_in_last_days ops on created_at and property:<key>. - The server versions table gains a v0.22.0 row. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MillionSend v0.22.0 adds a third contact property type,
"date", a MillionSend extension next to Resend's"string"and"number", and four date ops for segment filters. The SDK already passes both through untouched (ContactProperties.createposts the hash as given,Segments.createthe filter), so this is docs only.ContactProperties.create's comment names"date"and what reads as one.typeis"string","number"or"date", with a date property example. A date property's values and itsfallback_valuemust read as an ISO 8601 date (midnight UTC), a date-time withTor a space (up to 9 fraction digits, optionalZ/±HH/±HHMM/±HH:MMzone, UTC when none), or Unix seconds or milliseconds from 2000 to 2100, elseValidationError(422). A RubyTimegoes astime.to_iortime.iso8601, since a bareTimeserializes as"2026-01-08 10:30:00 -0300", which doesn't read as a date.Contacts.getreturns a date as the stored text,{ type: "date", value: "2026-01-08" }.not_in_last_daysexample, andbefore/after(an ISO date or date-time) andin_last_days/not_in_last_days(whole days as a string,"1"to"36500") oncreated_atandproperty:<key>.Comment and README only: no version bump, nothing to tag.
🤖 Generated with Claude Code