aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-08-28Fix incorrect key for `child_database` block objectfix-block-child-db-keyGravatar Anshul Gupta 1-3/+3
Changes key from `child_page` to `child_database`. See: https://developers.notion.com/reference/block#child-database
2024-08-13chore: Release notion version 0.6.0v0.6.0Gravatar Jake Swenson 1-1/+1
2024-08-12add new props (#66)Gravatar Ivy Pierlot 2-23/+115
2023-02-25Add new CreateBlock children to page creation (#49)Gravatar Mark Cola 13-747/+924
* extract block to mod * add CreateBlock struct, implement Into<CreateBlock> for Block, and add children to PageCreateRequest * move tests into block mod and fix up use
2023-01-23move And and Or variants to FilterCondition to support recursive nesting (#52)Gravatar Mark Cola 1-14/+84
2023-01-07chore: Release notion version 0.5.1v0.5.1Gravatar Jake Swenson 1-1/+1
2023-01-07Fixed properties docs and added Status (#46)Gravatar AusCyberman 1-32/+70
Make rollup function in line with rollup page in documentation
2023-01-02chore: Release notion version 0.5.0v0.5.0Gravatar Jake Swenson 1-1/+1
2023-01-02style(clippy+fmt): Format code and fix clippy issuesGravatar Jake Swenson 3-3/+6
2023-01-02Add create page functionality (#44)Gravatar ahmetrehaseker 5-12/+42
* Change text to rich_text * Add craete page functionality Co-authored-by: Jake Swenson <jakeswenson@users.noreply.github.com>
2022-11-19style(cargo fmt): Add rustfmt config, and fmt codeGravatar Jake Swenson 8-32/+78
2022-11-19chore(docs+deps): Update dependencies, update docs to discuss contributing ↵Gravatar Jake Swenson 2-3/+28
and tests
2022-05-17(cargo-release) version 0.4.1v0.4.1Gravatar Jake Swenson 1-1/+1
2022-05-17style(cargo fmt): Format codeGravatar Jake Swenson 5-347/+393
2022-05-17(cargo-release) version 0.4.0v0.4.0Gravatar Jake Swenson 1-1/+1
2022-05-17Upgrade notion version (#39)Gravatar Shashank Pachava 16-44/+1189
* Upgrade constant * Fix lint * Change module file tree Changed around module file tree, but module structure hasn't changed. Converted models.rs to mod.rs under models folder * Minor refactoring * Add MentionObject for rich text mention types * Add new fields to BlockCommon. Modify existing field model Text. Add heading 1 test Add created_by and last_edited_by fields to BlockCommon. Change field text to rich_text for model Text to handle breaking change in API version 2022-02-22 * Differentiate between unsupported and unknown block types * Change text field to rich_text in paragraph block * Add callout block. Add file and emoji object * Fix as_id for unsupported block * Fix lint issues * Move quote block to follow documentation order. Add color field to TextAndChildren struct * Add color field to ToDoFields struct * Formatting * Add caption field to code block Add caption field to code block. Create enum CodeLanguage for code block. Reorder code block to reflect documentation * Add child database block * Create embed block * Refactor notion file object struct name * Create image block * Create video block * Create file block * Fix video block field * Create pdf block * Change text field to rich_text in TodoFields for Notion API version 2022-02-22 * Create bookmark block * Create divider block * Create table of contents block * Create breadcrumb block * Create column list and column block * Create link preview block * Create template block * Formatting * Create link to page block * Fix ColumnListFields struct * Create table and table row block * Fix AsIdentifier trait impl for Block * Create synced block
2022-03-15(cargo-release) version 0.3.5v0.3.5Gravatar Jake Swenson 1-1/+1
2022-03-12Add support for quote and equation blocks (#38)Gravatar Neil Blakey-Milner 1-1/+18
2022-01-11(cargo-release) version 0.3.4v0.3.4Gravatar Jake Swenson 1-1/+1
2022-01-11fix(cargo-release): Fix deprecated cargo release propertyGravatar Jake Swenson 1-1/+1
2022-01-11Add support for code blocks (#35)Gravatar Neil Blakey-Milner 1-1/+13
* Add support for code blocks * Update src/models.rs Co-authored-by: Jake Swenson <jakeswenson@users.noreply.github.com>
2021-12-28(cargo-release) version 0.3.3v0.3.3Gravatar Jake Swenson 1-1/+1
2021-12-28fix(#32): Fix rollup value parsing issues (#33)Gravatar Jake Swenson 3-9/+130
Fixes #32: Rollup values were not being parsed correctly.
2021-12-18(cargo-release) version 0.3.2v0.3.2Gravatar Jake Swenson 1-1/+1
2021-12-17Url property can be null (#26)Gravatar Dmitry Gavrovsky 1-1/+1
* Url property can be null * removed comment in wrong place
2021-12-12Create SECURITY.md (#25)Gravatar Jake Swenson 1-0/+12
2021-12-11fix(build): Fix GHA scheduled workflow (#24)Gravatar Jake Swenson 1-1/+1
2021-12-11build(audits): Split security audit out of build workflow (#22)Gravatar Jake Swenson 2-4/+18
There are currently unfixable issues with `chrono 0.4.19` in security audits... Until these are fixable they are just showing up as build failures Splitting this into it's own workflow is probably the correct thing long term anyways
2021-12-11(cargo-release) version 0.3.1v0.3.1Gravatar Jake Swenson 1-1/+1
2021-12-11chore(versions): Update dependency versions (#21)Gravatar Jake Swenson 1-2/+2
2021-12-11fix(example): Example wasn't compling + lib fixes (#19)Gravatar Dmitry Gavrovsky 5-7/+32
* get page + query database bugfixes * fixed wrong error type * clap integration fix * comments cleaning * source formatting using cargo format
2021-09-22(cargo-release) start next development iteration 0.3.1-alpha.0Gravatar Jake Swenson 1-1/+1
2021-09-22(cargo-release) version 0.3.0v0.3.0Gravatar Jake Swenson 1-1/+1
2021-09-22feat: Paging improvements and ergonomicsGravatar Jake Swenson 7-10/+61
2021-08-30(cargo-release) start next development iteration 0.2.1-alpha.0Gravatar Jake Swenson 1-1/+1
2021-08-30(cargo-release) version 0.2.0v0.2.0Gravatar Jake Swenson 1-1/+1
2021-08-30Improve ergonomicsGravatar Jake Swenson 4-3/+29
2021-08-29Split NotionApi tests outGravatar Jake Swenson 2-168/+165
2021-08-29Notion API Version 2021-08-16 support; fix a bunch of modling errors as wellGravatar Jake Swenson 20-191/+688
2021-08-28(cargo-release) start next development iteration 0.1.3-alpha.0Gravatar Jake Swenson 1-1/+1
2021-08-28(cargo-release) version 0.1.2v0.1.2Gravatar Jake Swenson 1-1/+1
2021-08-28Number format parsing bug. Fixes #15 (#16)Gravatar Jake Swenson 7-102/+212
2021-08-27(cargo-release) start next development iteration 0.1.2-alpha.0Gravatar Jake Swenson 1-1/+1
2021-08-27(cargo-release) version 0.1.1v0.1.1Gravatar Jake Swenson 1-1/+1
2021-08-27Make NotionApi Clone-ableGravatar Jake Swenson 1-0/+1
2021-05-23Add initial todo example (#13)Gravatar Jake Swenson 11-1/+233
2021-05-20build: Try speeding up build with build caching (#14)Gravatar Jake Swenson 1-0/+2
2021-05-17(cargo-release) start next development iteration 0.1.1-alpha.0Gravatar Jake Swenson 1-1/+1
2021-05-17(cargo-release) version 0.1.0v0.1.0Gravatar Jake Swenson 1-1/+1
2021-05-17ci: adding doc build step (#10)Gravatar Jake Swenson 5-3/+29