Ultimate-notion

Latest version: v0.6

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.6

- New: Also use the session cache for blocks.
- New: Properties of blocks can be updated.
- Fix: `has_children` doesn'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`, `mention` and `math`.
- Chg: Children of pages are proper pages/databases instead of `ChildPage`/`ChildDatabase`.
- Chg: Renamed `PageSchema` to `Schema`.
- Chg: Accessing the properties of a page directly returns the primitive data types.
- Chg: Completely reworked the functionality of the `Table` block for more consistency and easier usage.

0.5.1

- Fix: Added type `unknown` in user data to generate `UnknownUser`, issue 39.

0.5

- New: Method `page.append` to 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_block` to retrieve a single block.
- Chg: Internally, `archived` property was renamed to `in_trash`.
- Chg: Renamed `.content` to `.children` of a page for more consitency.
- Chg: Use `Property` again to consistently refer to the columns of a database.
- Chg: Make use of [pendulum](https://pendulum.eustace.io/) to represent `DateRange` values.
- Chg: Renamed `page.database` to `page.parent_db` and `page.in_db` added as methods.
- Chg: Large restructering of the code base.

0.4

- 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 of `notion2md`.

0.3

- Chg: `RichText` is now a subtype of `str` for more convenient & consistent usage.
- Docs: Added more documentation about using databases.
- Chg: `icon` attribute of database now returns `Emoji` instead of `str`.
- New: Allow setting the `icon` and `cover` attribute of a page.
- New: Allow setting the `title` of a non-database page.
- Fix: `created_by` and `last_edited_by` return proper `User` object.

0.2

- Fix: Notion API's undocumented `description` of `SelectOption` added.
- New: Navigate pages using `parent` and `children`.
- Chg: Rename `parents` to `ancestors`.
- Fix: Wrong return value of PropertyType `Status.value`.
- Chg: Make `show` consistent for Page, View, PageSchema.
- Ref: Refactor `value` in `PropertyValue`.
- Ref: Reduce unnecessary funtionality of `Number`, use `value` instead.

Page 1 of 2

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.