Skip to content

Conversation

@tobixen
Copy link
Member

@tobixen tobixen commented Feb 1, 2026

  • DAVObject.__init__ now accepts name parameter, stores in props cache as {DAV:}displayname (no deprecation warning on construction)
  • DAVObject.name is now a property that calls get_display_name() and emits DeprecationWarning when accessed
  • Calendar.__init__ passes name to parent (stored in props cache)
  • Calendar.save() uses props cache directly instead of self.name

Migration path:

  • Old: calendar.name → New: calendar.get_display_name()
  • Old: Calendar(name="foo") → Still works, stores in props cache

Closes #128

- DAVObject.__init__ now accepts `name` parameter, stores in props cache
  as {DAV:}displayname (no deprecation warning on construction)
- DAVObject.name is now a property that calls get_display_name() and
  emits DeprecationWarning when accessed
- Calendar.__init__ passes name to parent (stored in props cache)
- Calendar.save() uses props cache directly instead of self.name

Migration path:
- Old: calendar.name → New: calendar.get_display_name()
- Old: Calendar(name="foo") → Still works, stores in props cache

Closes #128

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@tobixen tobixen merged commit b679919 into master Feb 1, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DAVObject.name should probably go away

2 participants