-
π Markdown Document API: New recommended methods for working with document content
replace_markdown_document(document_id, markdown)- Replace document content with Markdownappend_markdown_document(document_id, markdown)- Append Markdown to existing contentget_markdown_document(document_id)- Read document content back as a Markdown string- Markdown is converted to native rich editor blocks on the server (headings, lists, tables, code blocks, checklists, links, etc.)
-
π History pagination:
GetHistoryRequest.limit/nextCursorandpayload.page(hasMore,nextCursor) for cursor pagination -
π History filters:
boardIdsandagentId
- π§ Breaking:
get_json_document()now returns the current document content as Lexical JSON ({"root": {"children": [...]}}) instead of the legacy TipTap format ({"default": {"content": [...]}}). The legacy format was frozen on the server at the Lexical migration and no longer reflected document content- Migration: read blocks from
content["root"]["children"](node types are listed in the Document Structure reference), or useget_markdown_document()to read content as text - Writing with
replace_json_document()/append_json_document()and the document structure helpers is unchanged
- Migration: read blocks from
- π§ Breaking:
get_history()follows the new API contract- Response:
payload.historiesβpayload.items(historiesis kept as a deprecated alias) - Filters renamed:
createdByβmemberIds,keysβeventKeys,groupsIdsβgroupIds,lastLoadedDateβnextCursor. Old names still work with aDeprecationWarning excludeKeysandtasksIdsare no longer supported by the API and are ignored with a warningHistoryItem.idreplaces_id;taskIdandupdatedAtare now optional
- Response:
get_space_members()failing on bot members (AI, GitHub, Cursor, Claude, automation) that have nospace;Member.kindis now exposedget_tasks()/get_task()failing on custom fields without a value
Task.milestoneis no longer returned by the API, useTask.milestones- JSON document write methods (
replace_json_document,append_json_document) and the JSON document DSL remain supported for backward compatibility, but Markdown methods are now the recommended way to write document content
- π Move Tasks API: New
move_tasks()method for moving tasks between board groupsMoveTaskItem- Specify task, target group, and positionMoveTasksRequest- Batch move multiple tasks in one callMoveTasksResponse- Response with success/failed task IDs
- π History API: Added missing filter parameters to
GetHistoryRequestcreatedBy- Filter by creator member IDsdateRangeStart/dateRangeEnd- Date range filterslimit- Limit number of resultskeys- Include only specific event keystasksIds- Filter by task IDsgroupsIds- Filter by group IDs
- π§ Breaking: Removed
groupfield fromEditTaskRequestβ usemove_tasks()instead- Migration: Replace
client.edit_task(EditTaskRequest(task_id=..., group=...))withclient.move_tasks(MoveTasksRequest(moves=[MoveTaskItem(task_id=..., to_group_id=...)]))
- Migration: Replace
- π Edit Document API: New method to edit document metadata
edit_document- Update document properties
- π¬ Embed Blocks: Support for embedding external content (YouTube, Figma, CodeSandbox, etc.)
embed_block(url, embed_type, size, is_content_hidden)- Create embed blocks for external contentEmbedTypeenum - Type-safe embed types (YOUTUBE, FIGMA, VIMEO, CODESANDBOX, GITHUB_GIST, MIRO, IFRAME)
- π§ Breaking: Simplified
image_block()API - now accepts file object directly- Old API (deprecated):
image_block(file_id=..., src=..., file_name=..., file_size=..., extension=..., dimensions=...) - New API:
image_block(file=uploaded.file, caption="...", width_percent=100) - Reduces code by 80% - just pass the file object!
- All file metadata extracted automatically from uploaded file
- MIME type auto-detected from extension or file.mime
- Aspect ratio auto-calculated from dimensions
- Migration: Replace multiple parameters with single
file=uploaded.fileparameter
- Old API (deprecated):
-
β Task Lists (Checklists): Interactive checklists with checked/unchecked states
task_list(*items)- Create a checklist containertask_item(content, checked=False)- Create individual checklist items- Support for nested checklists (unlimited depth)
- Each task item can contain paragraphs and nested task lists
checkedattribute tracks completion status (boolean)- Auto-generated UIDs for task lists
- Full integration with document API (
replace_json_document,append_json_document)
-
New Document Structure Types:
TaskListNode- Type for task list containerTaskItemNode- Type for individual checklist itemsTaskListAttrs- Attributes for task lists (uid)TaskItemAttrs- Attributes for task items (checked status)
-
π TOC Block: Automatic table of contents generation
toc_block()- Creates interactive document outline- Automatically indexes all headings (h1-h6)
- Clickable navigation links to document sections
- Auto-updates when document content changes
-
π Anchors Block: Related documents and backlinks
anchors_block()- Displays document relationships- Shows documents that this document links to
- Shows backlinks (documents linking to this one)
- Visualizes knowledge graph connections
-
π Siblings Block: Previous/Next document navigation
siblings_block()- Creates Previous/Next navigation buttons- Shows Previous and Next documents in sequence
- Typically placed at the bottom of the page
- Perfect for tutorial series and sequential guides
- Maintains document order in branch
-
π» Code Block: Syntax-highlighted code snippets
code_block(code, language)- Display code with highlighting- Support for Python, JavaScript, TypeScript, Java, C++, Go, Rust, SQL, Bash, and many more
- Multiline code support
- Optional language specification
- π§ Headings now auto-generate UIDs: All headings created with
heading()now automatically get unique IDs for TOC navigation support- UIDs are 12-character alphanumeric strings (e.g., "sEeaN9ddIDsL")
- Required for TOC block to create working navigation links
- No breaking changes - UIDs added automatically
- π§ Breaking:
mention_user()now acceptsmember_idinstead ofuser_id- Migration: Update your code to use
member_idfromget_profile().profile.member_idorget_space_members() - Why: Clarifies that the parameter should be member ID, not user ID
- Example:
mention_user(profile.profile.member_id)
- Migration: Update your code to use
-
π€ Mention Blocks: Create interactive references to users, documents, tasks, and milestones
mention_user(member_id)- Mention a team membermention_document(id)- Reference a documentmention_task(id)- Reference a taskmention_milestone(id)- Reference a milestonemention(id, kind)- Generic mention with explicit kind- Mentions work in paragraphs, lists, tables, and all document structures
- Full type safety with TypedDict definitions
-
πΈ Image Blocks: Embed images in documents
image_block()- Create image block with uploaded file- Support for dimensions, captions, and custom width
- Automatic aspect ratio calculation
- Works with uploaded images via
upload_file()
-
π Files Blocks: Attach files to documents
files_block()- Create files block with multiple attachments- Support for PDFs, images, videos, and other file types
- Automatic unique ID generation for each file
- Works with uploaded files via
upload_file()
-
π¬ Blockquote: New
blockquote()function for creating quoted text and callouts- Simple quotes:
blockquote("Quote text") - Multi-paragraph quotes with formatting
- Perfect for important notes, warnings, and citations
- Simple quotes:
-
π Details (Collapsible Sections): New collapsible content blocks
details(summary, content)- Create expandable/collapsible sectionsdetails_summary()- Always visible headerdetails_content()- Hidden content that expands on click- Great for FAQs, technical details, and optional information
- π Table Headers: New
table_header()function for creating semantic table header cells
- π Test Improvements: Fixed
test_get_milestoneto create milestone before fetching (no longer depends on existing data)
- π Horizontal Rule: Added
horizontal_rule()helper for creating horizontal dividers
- π§ Breaking: Removed
separator()- usehorizontal_rule()instead for true HTML-style dividers- Migration: Replace
separator()withhorizontal_rule()
- Migration: Replace
-
π Document Content API: New methods for working with rich document content
get_json_document(document_id)- Get document JSON content (renamed fromget_document_body)replace_json_document(document_id, content)- Replace with structured contentappend_document(document_id, description, files)- Append plain textappend_json_document(document_id, content)- Append structured content
-
π Document Structure Helpers: 11 type-safe builder functions for creating rich content
- Text & paragraphs:
text(),paragraph(),heading() - Lists:
bullet_list(),ordered_list(),list_item() - Tables:
table(),table_row(),table_cell() - Utilities:
link_text(),horizontal_rule()
- Text & paragraphs:
- π§ Breaking: Renamed
get_document_body()βget_json_document()for API consistency- Migration: Update
client.get_document_body(id)toclient.get_json_document(id)
- Migration: Update
- β»οΈ Refactor: Consolidated color models - replaced
SpaceColorandMemberColorwith sharedColorInfomodel
- π’ Spaces API: New
get_space(space_id)method for retrieving space information - π₯ Members API: New
get_space_members()method for listing all space members
- π§ Breaking: Renamed
EAvatarModeβAvatarModefor consistency with TypeScript API- Migration: Update
from vaiz.models import EAvatarModetofrom vaiz.models import AvatarMode
- Migration: Update
- π Document Creation API: New
create_document()method for creating documents programmatically
- π¦ New Request Model:
CreateDocumentRequest
- π§ Models: Enhanced color field types to support both Color enum values and string values for API compatibility
- β Examples: All code examples now use Color enum for better type safety and IDE support
- π§ API Compatibility: Fixed color validation to accept both enum values and string colors returned by API
- π Documentation: Removed all references to hex color support in documentation
- β¨ Changed Enum Names: Renamed all enum classes for consistency:
EColorβColorEIconβIconEKindβKindEUploadFileTypeβUploadFileType- Migration: Update imports and usage:
from vaiz.models.enums import Color, Icon, Kind, UploadFileType
- π¨ Color Palette: Added:
Color.Silver- silver colorColor.Mint- mint/cyan colorColor.Lavender- lavender color
- π Renamed Task Connector Fields for better clarity:
right_connectorsβblocking(tasks that this task blocks)left_connectorsβblockers(tasks that block this task)- API mapping is automatic - SDK uses intuitive names, API receives technical names
- Migration: Replace
rightConnectorswithblockingandleftConnectorswithblockersin your code
- π Task Blockers API: New documentation page explaining blocker relationships
- π Updated Examples: Updated all code examples with new field names
- Documentation: Moved from README to dedicated Docusaurus site
- README: Simplified to quick start guide with links to full documentation
- CONTRIBUTING.md: Moved to project root as standard practice
- Site: https://docs-python-sdk.vaiz.com
- Getting Started: https://docs-python-sdk.vaiz.com/getting-started
- API Reference: https://docs-python-sdk.vaiz.com/api/overview
- π New getTasks Method: Comprehensive task retrieval with filtering and pagination
- π Advanced Filtering: Filter by assignees, board, project, completion status, archived status, parent task, milestones, and specific task IDs
- π Pagination Support: Retrieve tasks in pages with
limit(max 50) andskipparameters
- π Fixed Comment Reactions: Made
nativefield optional inCommentReactionmodel to match API behavior - βοΈ Modernized Pydantic: Updated deprecated
class Config:to modernmodel_config = ConfigDict()syntax
- Request Model:
GetTasksRequestwith comprehensive filtering options - Response Models:
GetTasksResponseandGetTasksPayloadfor structured data access
- π
examples/get_tasks.py: Comprehensive examples demonstrating all filtering options and pagination
- π€ Profile Model Enhancements:
- Added
EAvatarModeenum - Added new profile fields
- Added
- π Python Naming Convention: All profile model fields now use snake_case naming with proper API aliases
- π’ New Custom Field Type: Added
ESTIMATIONfield type toCustomFieldTypeenum for project estimation fields - π¨ Enhanced Project Colors: Project
colorfield now acceptsColorenum values for consistent color management
- π§Ύ Documents API:
get_document_body(document_id)β get JSON document bodyreplace_document(document_id, description)β replace document content (plain text)- Task model convenience:
Task.get_task_description(client) - Task model convenience:
Task.update_task_description(client, description)
- π File Upload from URL: New
upload_file_from_url()method for uploading files directly from external URLs- π₯ Direct URL Upload: Upload files without downloading them locally first
- π Auto Type Detection: Automatically detect file types from URL extensions and HTTP content-type headers
- π Custom Filenames: Specify custom filenames for uploaded files
- π― Task Integration: Complete workflow examples for creating tasks with external files
- π οΈ Error Handling: Robust handling of network issues, invalid URLs, and missing MIME types
- π§ Helper Methods: Private
_detect_file_type_from_url_and_content()method for intelligent type detection - π¦ Temporary File Management: Automatic cleanup of temporary files during upload process
- π Documentation: Updated README with comprehensive examples of URL upload functionality
- π§ͺ Test Coverage: Added extensive test suite for URL upload functionality including:
- Auto-detection tests for different file types
- Explicit type specification tests
- Multiple file upload tests
- Integration tests for task creation with external files
- Edge case handling for files without extensions
- Invalid URL error handling tests
- π― Examples: New example files demonstrating URL upload usage:
examples/upload_file_from_url.py- Basic URL upload examplesexamples/create_task_with_external_file.py- Task creation with external files
- π URL Support: Supports any publicly accessible HTTP/HTTPS URL
- π File Type Detection:
- URL extension matching for common formats (.jpg, .png, .pdf, .mp4, etc.)
- HTTP Content-Type header analysis
- Fallback to
UploadFileType.Filefor unknown types
- πΎ Memory Efficient: Streams file downloads to temporary files
- π§Ή Resource Management: Automatic cleanup of temporary files even on errors
- π Security: Respects SSL verification settings from client configuration
- π·οΈ Model Fields: Made
UploadedFile.mimefield optional to handle API responses that don't include MIME type - π URL Reliability: Replaced unstable external URLs in tests with reliable httpbin.org and w3.org endpoints
- ποΈ Custom Field Helper Functions: Complete set of strongly-typed helper functions for creating and managing custom fields
- Field creation helpers:
make_text_field(),make_number_field(),make_checkbox_field(),make_date_field(),make_member_field(),make_task_relations_field(),make_select_field(),make_url_field() - Field editing helpers:
edit_custom_field_name(),edit_custom_field_description(),edit_custom_field_visibility(),edit_custom_field_complete() - Select option helpers:
make_select_option(),SelectOptionclass for typed option creation - Option management:
add_board_custom_field_select_option(),remove_board_custom_field_select_option(),edit_board_custom_field_select_field_option() - Task relations helpers:
make_task_relation_value(),add_task_relation(),remove_task_relation() - Member field helpers:
make_member_value(),add_member_to_field(),remove_member_from_field() - Date field helpers:
make_date_value(),make_date_range_value()with datetime support - Value formatting helpers:
make_text_value(),make_number_value(),make_checkbox_value(),make_url_value()
- Field creation helpers:
- π§ Enhanced API: Complete CRUD operations for custom fields with strongly-typed helpers
- π Relations Management: Simplified task relationship handling with add/remove functions
- π₯ Member Management: Easy member assignment with single/multiple member support
- π Date Handling: Automatic datetime formatting and range support
- π Value Formatting: Type-safe value preparation for all field types
- π¨ Better UX: Automatic ID generation for select options with collision-safe hashing
- π Model Compatibility: Made
BoardCustomField.nameoptional to match API response behavior - β Test Stability: Fixed board custom field tests to handle API response variations
- All helper functions return properly typed request objects ready for API calls
- All value helpers return properly formatted data for immediate use with CustomField
- Smart member field management maintains appropriate data types (string vs list)
- Date helpers support both datetime objects and ISO strings
- Field editing helpers allow partial updates with optional parameters
- Enhanced EditBoardCustomFieldRequest model with name field support
- Support for both
Color/Iconenums and string values for maximum flexibility - Helper functions handle option format conversion automatically
- Full backward compatibility with existing custom field APIs
- π§ Pydantic v2 Compatibility: Fixed Optional field definitions to use
Field(default=None, alias="...")instead ofField(None, alias="...") - π οΈ Linter Issues: Resolved linter warnings about missing default values for Optional fields
- π Code Quality: Improved code clarity by using explicit named parameters in Field definitions
- Follows Pydantic v2 best practices for Optional field definitions
- π Unified Python Style: All SDK models now use Python snake_case convention (
due_start,due_end,task_id,board_id, etc.) - π Backward Compatibility: Full support for legacy camelCase fields through aliases (
dueStart,dueEnd,taskId,boardId, etc.) - π Updated Documentation: All README examples and documentation now use snake_case style
- π§ Enhanced Examples: All example files updated to demonstrate proper Python conventions
- β Improved Tests: Fixed test infrastructure and enhanced coverage
- Corrected field aliases for all models to ensure proper API communication
- Added Field aliases to all models:
Task,CreateTaskRequest,EditTaskRequest, board models, etc. - Updated API methods to use
by_alias=Truewhere needed for proper camelCase serialization - Enhanced VaizBaseModel inheritance for consistent field handling
- Maintained 100% test coverage
- The
kindfield in all models (includingGetHistoryRequest) now uses theKindenum instead of a string. - All usages, tests, and documentation updated to use
Kind(e.g.,Kind.Task) instead of string values.
- Improved type safety for entity kind selection in history and related APIs.
- New
get_historymethod for retrieving history of tasks and other entities - Models:
GetHistoryRequest,GetHistoryResponse,HistoryItem,HistoryData - Enum:
Kindfor supported entity types (Space, Project, Task, Document, Board, Milestone) - Usage example:
examples/get_history.py - Tests for the new method
- All models and API now use
Kindenum for thekindfield instead of string - All usages, tests, and documentation updated to use
Kind(e.g.,Kind.Task) instead of string values
- Fixed aliases and types for file and task models
- Improved environment variable handling in examples
- Improved datetime support in all models
- Updated examples and tests for new models
- Full comment system: create, edit, delete comments, reactions, attachments
- Automatic datetime conversion in all models
- New examples and documentation for working with dates
- All date fields now return
datetimeobjects instead of strings - All models now inherit from
VaizBaseModelfor datetime support