Changelog¶
Version 0.9.5, 2025-10-24¶
- Fix: Pin
notion-sdk-pyto version 2.5 as version 2.6 has breaking changes, issue #153.
Version 0.9.4, 2025-10-01¶
- Chg: Allow the creation of a unique ID property, which is now supported by the Notion API.
- New: Allow changing the prefix of a unique ID property.
- Chg: The
reload()method of a database has arebind_schemaproperty, which is activated by default. - Doc: Updated the Getting started docs to the current version of Notion.
- Doc: Updated the Configuration docs.
Version 0.9.3, 2025-09-26¶
- Fix: Map file type
audio/x-wavtoaudio/wavand add amime_typeparameter toupload, issue #127.
Version 0.9.2, 2025-09-25¶
- New: Add new
is_lockedproperty to show if a page is locked or not. - Fix: Pagination when appending block children no longer leads to repeated appendings.
- Fix: Assembling a hierarchy of blocks offline and appending it will result in automatic batching adhering to the Notion API limits, issue #119, #120.
- Fix: Appended blocks are now added to session cache.
- New: Added support for the Notion audio block, issue #123.
- New: Allow comparing offline blocks to the ones synchronized to Notion, issue #124.
Version 0.9.1, 2025-09-03¶
- Fix: Add missing link mention object, which led to an exception.
- Fix: Linked databases are handled as
ChildDatabaseobjects and no longer resolved, issue #110. - Chg: Have a
Userhierarchy withBot,Person, etc. to reflect the actual Notion API. - Doc: Completed missing parts in the documentation and example for file uploads.
- New: Allow uploading and appending a file as block to a page via the CLI.
- Fix: Fix user mention problem, which was caused by a Notion API change.
Version 0.9, 2025-09-01¶
First Beta release:
- New: Allow updating if a database is inline or not, issue #80.
- Chg:
create_dbhas atitleparameter to set a title if no schema is used or needs to be overwritten. - Chg: Removed
from_dictclass method ofSchemasince this can now be more easily done manually. - Chg: Unify
PropertyandPropertyTypeto simplify declarative approach to schemas, issue #81. - Fix: Possible collision of attribute names in
PageandSchema, issue #86. - Fix: Wrong equality check between properties as well as property values.
- New: Bind a schema automatically with
bind_schema()ifdb_idordb_titleis set in theSchema. - Chg: Consistently return
Nonefor title, description, caption if these are not set instead of an empty string. - Fix: More strict typing and checks which led to many small bug fixes in edge cases, e.g. issue #96.
- Fix: Too strict dependencies that too often lead to conflicts with other packages, e.g. issue #90.
- New:
unocommand line interface to show the current resolved config and integration info. - New: Allow offline assembly of blocks to create a page with content in one call, issue #94.
- Fix: Different blocks now have a different hash, equality works as expected, issue #100.
- Fix: Retrieve a page object even without access access to the parent database, issue #103.
- Chg: Renamed
FileInfotoAnyFileand have several subtypes likeUploadedFile, etc. - New: Added
file_upload,import_urlandlist_uploadsto support the file upload endpoints, issue #71.
Version 0.8, 2025-06-23¶
- New: Added support for creating inline databases by Tzumx
- Chg: Have a proper hierarchy of Ultimate Notion exception classes.
- New: The schema of a database provides a
to_pydantic_modelclass for evaluating input. - New: More schema validations like checking for a title property and distinct property names.
- Fix: Fix error when setting a (multi-)select option with no color specified.
- New: Added a button property value.
- New: Added support for Polars, i.e.
to_polarsmethod of database views, issue #55. - New: Add support for custom emoji icons, issue #70.
- Chg: Return
Noneinstead of an empty string""when a text property or block is unset, issue #59. - New: Setting the width ratios of page columns is supported, issue #74.
- Fix: Adding a column with
add_column(index)at a given index is no longer off by 1. - Add: Updating a database schema, i.e. adding/removing properties or changing their types, issue #76.
- Add: Changing database properties, e.g. name, formula of formula property, options, etc, issue #77.
- Add: Added the
display_namefield of comments
Version 0.7.1, 2025-01-05¶
- Fix: Added missing tomli dependency, issue #62.
- Fix: Support button property of databases to fix error when retrieving a page or database, issue #63.
Version 0.7, 2024-12-10¶
- New: Reading and inserting comments is implemented.
- Chg:
SListis part of the public API now, i.e. is in theultimate_notionnamespace. - Fix: Added missing
link_to_pagesubtypecomment_id. - Chg: Remove
Textas direct import, usetextinstead. - Chg:
.propsnamespace of a page now behaves like a mapping, i.e. read-only dictionary. - Fix: Added missing
.valuefunction of severalPropertyValues. - Add: Page method
get_propertyto allow fetching a single property without reloading the whole page. - Fix: Resolving page properties correctly if they contain more than 25 references.
- Fix:
PropertiesEndpoint.retrievenow actually works and either returns a single property item or a list. - Chg: Renamed
db.fetch_all()todb.get_all_pages(). - New: Query databases with a PySpark/Polars inspired DSL, e.g.
uno.prop('Name') == 'Linus Torvalds', implemented. - Fix: Database pages created with
db.create_pageare now added to the session cache. - New: Easily activate a debug mode within the config file.
- Fix: Rollup property defined on a self-referencing relation works now.
- Doc: Added a page about querying a database.
- Chg: Renamed property types
PeopletoPersonandPhoneNumbertoPhone.
Version 0.6, 2024-09-28¶
- New: Also use the session cache for blocks.
- New: Properties of blocks can be updated.
- Fix:
has_childrendoesn't return a wrong value anymore for pages and databases. - Fix: Several issues with blocks and duplicated but ID-equivalent objects.
- Chg: Simplified dealing with rich texts by introducing
text,mentionandmath. - Chg: Children of pages are proper pages/databases instead of
ChildPage/ChildDatabase. - Chg: Renamed
PageSchematoSchema. - Chg: Accessing the properties of a page directly returns the primitive data types.
- Chg: Completely reworked the functionality of the
Tableblock for more consistency and easier usage.
Version 0.5.1, 2024-08-09¶
- Fix: Added type
unknownin user data to generateUnknownUser, issue #39.
Version 0.5, 2024-08-07¶
- New: Method
page.appendto append content to a page. Creation of blocks is supported! - New: Documentation on how to create the content of a page.
- New: More robustness with respect to Notion API changes.
- New: High-level method
session.get_blockto retrieve a single block. - Chg: Internally,
archivedproperty was renamed toin_trash. - Chg: Renamed
.contentto.childrenof a page for more consitency. - Chg: Use
Propertyagain to consistently refer to the columns of a database. - Chg: Make use of pendulum to represent
DateRangevalues. - Chg: Renamed
page.databasetopage.parent_dbandpage.in_dbadded as methods. - Chg: Large restructering of the code base.
- Chg: Return
Nonefor various string attributes/properties if no string is set for consistency.
Version 0.4, 2024-02-14¶
- New: Introduced a configuration file under
~/.ultimate-notion/config.toml. - New: Added a simple Google Tasks client.
- New: Added a general sychronization task for Notion to other services.
- New: Added a specific Google Tasks synchronization task.
- Fix: A page property can be deleted by setting it to
None. - Chg: Reworked the testing setup to use VCR.py more efficiently and be more robust.
- Fix: Tons of fixes within blocks and general page content.
- Chg:
to_markdown()now uses an internal implementation instead ofnotion2md.
Version 0.3, 2023-12-26¶
- Chg:
RichTextis now a subtype ofstrfor a more convenient & consistent usage. - Doc: Added more documentation about using databases.
- Chg:
iconattribute of database now returnsEmojiinstead ofstr. - New: Allow setting the
iconandcoverattribute of a page. - New: Allow setting the
titleof a non-database page. - Fix:
created_byandlast_edited_byreturn properUserobject.
Version 0.2, 2023-12-19¶
- Fix: Notion API's undocumented
descriptionofSelectOptionadded. - New: Navigate pages using
parentandchildren. - Chg: Rename
parentstoancestors. - Fix: Wrong return value of PropertyType
Status.value. - Chg: Make
showconsistent for Page, View, PageSchema. - Ref: Refactor
valueinPropertyValue. - Ref: Reduce unnecessary funtionality of
Number, usevalueinstead.
Version 0.1, 2023-12-16¶
- First official alpha release.