any_type 0.4.0

A library for the Anytype API
Documentation

# Version 0.4.0  (2026-03-20)
## Release date
- 20 March 2026

## Public changes
- New! Implemented API call "Add objects to list" via AddObjectsToListRequest builder struct
- New! Implemented API call "Get objects in list" via GetObjectsInListRequest builder struct
- New! Implemented API call "Remove object from list" via RemoveObjectFromListRequest builder struct
- New! An experimental REPL type of program called : "any_type_repl" 
  - Execute the "cargo install any_type" to install the application
- Changed! The introductory code is now packaged as examples and is run using "cargo run --examples <intro_code>"
  - Example: cargo run --examples any_type2_spaces 
- Deleted! IconColor has been removed from the code to resolve code duplication issue
  - api::AnytypeColor is now used instead to construct both Icon and Tag objects

## Internal changes
- Extra testing has been conducted

## Bug Fixes
- None

## Known Bugs (i.e. no fix)
- GetTemplateRequest will fail if no template-id is provided 
  - Not fixed because this is an Anytype API error that should be fixed by the Anytype API developers

# Version 0.3.0  (2026-03-17)
## Release date
- 17 March 2026

## Public changes
- Add GetListViewsRequest
- All the intro programs now retrieve the api_key from the environment variable ANY_TYPE_API_KEY
- Renamed intro programs
- Removed vault module 
  - Each builder struct new method now receives two &str parameters: api_key and server 

## Internal changes
- Add Anytype-Version header to all requests

## Bug Fixes
- Removed property_id from ListMembersRequest 
  - This is not required for the List Members API call
- Fixed unwrap panic in types code

# Version 0.2.0  (2026-03-09)
## Release date
- Monday, March 9th, 2026 (2026-03-09)

## Public changes
- Added search capability
  - New struct: SearchRequest
  - New functions: SearchRequest::from_file and SearchRequest::from_str
  - New sample binary: any_type_search
- Changed the api_name used in intro_step_1 to create a ChallengeRequest from "elk_test" to "any_test".
- Renamed sample binaries
  - intro_step_1 -> any_type_intro_1 
  - intro_step_2 -> any_type_intro_2 
  - intro_step_3 -> any_type_intro_3 
  - intro_step_4 -> any_type_intro_4 
  - list_spaces -> any_type_spaces 

## Internal changes
- Limited visibility of some elements to pub(crate) 

## Bug Fixes
- None