Repository navigation
Releases: klauern/notion-table-reader
Releases · klauern/notion-table-reader
Release list
v0.2.1
v0.2.0
Changelog
- b33f202 Add assertion using Gomega for consistency in database tests.
- d7ca248 Added client_test.go for testing the client functionality.
- 9466e5c Added mock implementations for LLM and Notion in database tests.
- 75ec21b Change package name to pkg_test and update notion.Option to notion.SelectOptions in database_test.go.
- 8b0b5bb Fix function name and update variable assignment in client test.
- 3a49890 Fix incorrect variable assignment in client_test.go.
- af49e20 Refactor functions to use exported
ExtractRichTextandTagsToNotionPropsmethods, and update method calls to use exportedNotionClientandContextfields. - f4946ac Refactored GetPage method to simplify block parsing and assignment.
- 36ff334 Refactored ListTagsForDatabaseColumn method to use a separate function and updated tests accordingly.
- 7973da7 Refactored test files to use package aliases and updated function calls accordingly.
- 7b33cff Refactored test functions to use Gomega matchers for assertions.
- eaed901 Refactored test functions to use Gomega's Expect for assertions.
- 1cae197 Remove unused import "errors" from database_test.go.
- 4a6ed71 Use an empty notion.Client for testing in client_test.go.
- 7e15e51 aider: Add logging to check for proper initialization of
NotionClientandcontextbefore using them in theListMultiSelectPropsmethod. - 3d4ae89 aider: Add logging to check for proper initialization of
NotionClientandcontextin theListTagsForDatabaseColumnmethod. - 40d37db aider: Add more test cases to
pkg/database_test.goto improve test coverage for additional block types and ensure correct handling in theNormalizeBodyfunction. - 88e9648 aider: Added comprehensive tests for
ListMultiSelectProps,ListDatabases,ListTagsForDatabaseColumn,ListPages,GetPage, andTagDatabasePagemethods inpkg/database_test.go. - 50c31fe aider: Added logging to check for proper initialization of
NotionClientandcontextinListTagsForDatabaseColumnmethod. - 883f595 aider: Added tests for the functions in the
pkg/llm/llm.gopackage to improve code coverage. - 7655276 aider: Added the
github.com/stretchr/testify v1.7.0package to thego.modfile. - 90df4c2 aider: Addressed failing test
TestGetPageby providing more detailed output for debugging. - f40844b aider: Fix
nilpointer dereference inListTagsForDatabaseColumnmethod by properly initializingnotionClientinClientstruct and updating test to use mock client. - be4a3b5 aider: Fix nil pointer dereference in TestListTagsForDatabaseColumn by adding ListTagsForDatabaseColumn method to MockClient struct and updating test to use Client struct.
- 87feab8 aider: Fix test to use correct type for
notionClientinClientstruct. - 46d7747 aider: Fix type mismatches, correct struct field names, and remove duplicate function in tests.
- 5283903 aider: Fix undefined variables in test file by defining them properly and ensuring correct scope.
- f032720 aider: Refactored
pkg/database_test.goto usegomockand removed all usage ofstretchr/testify. - b2b08a1 aider: Removed unused import of "reflect" in pkg/database.go. Added retry logic to RequestChatCompletion method in pkg/llm/llm.go.
- 7121e8c aider: Replaced
testifywithgomegain test files andgo.mod. - 9e75797 aider: Resolved import cycle by moving mock implementations to a new package.
- 6851200 aider: Updated
NotionClientinterface, removed unused import, and definedtagsToNotionPropsfunction inpkg/notion.goandpkg/database.go. - 78d0d63 chore: .gitignore and taskfile stuff
- 5e07394 chore: add coverage
- 5ab2cd1 feat: fix things
- da42913 feat: lots of refactoring
- 2ff08b2 feat: tests and gitignore fixes
- 97409e7 fix: tests
- a57d85e refactor: more movement
- 2d20b5b refactor: more testable
v0.1.10
Changelog
- 35e6ce6 feat: add tagging tasks
v0.1.5
v0.1.3
Changelog
- 4c6445e feat: pass in dbID
v0.1.2
Changelog
- ee0ccee fix: remove hard-coded inbox ID
v0.1.1
v0.1.0
Changelog
- 2ded0c6 feat: add goreleaser
- a3c51b8 feat: add llm utilities
- 82980bc feat: add logging structure
- 488b7a8 feat: add logging structure
- 6346e72 feat: add parameter for database query
- debe852 feat: add retry handling
- 575699f feat: add tag call
- 8e5b0c3 feat: add token counting as parm in Client
- d8549a3 feat: generate tag for single page
- b5ececd feat: initial commit
- 00f3c10 feat: list database pages
- 1921cbb feat: subcommands and features for output
- a9f4b2a fix: cleanup
- e99d783 fix: refactoring
- 0cef362 refactor: parsing blocks