30 KiB
30 KiB
Change Log
All notable changes to this project will be documented in this file. See versionize for commit guidelines.
1.1.0 (2025-07-15)
Features
- add missing model constants (b859859)
- add support for file source and url source (1f83899)
- implement
GetFileInfoAsync,GetFileAsync, andDeleteFileAsync(d1e88a5) - implement list all files method (9cb8443)
- implement listing a page of files (9d5c620)
- initial implementation of creating a file via the Files API (e674b9a)
Bug Fixes
1.0.0 (2025-07-09)
Features
- add serialization tests for CharacterLocationCitation, CitationDelta, ContentBlockLocationCitation, PageLocationCitation, and DocumentContent classes (598eaaa)
- add support for citations (5b8d88a)
- add support for citations when streaming (98da138)
- add unit tests for DocumentContent, CustomSource, PageLocationCitation, SourceType, and TextSource classes (68e91fc)
- initial pass at citations in request and response (a9d0dfd)
Bug Fixes
- address copilot comments (e351823)
- when serializing source use media type to deserialize to image or document source (74ac1ff)
Breaking Changes
- add support for citations (5b8d88a)
0.6.1 (2025-05-19)
Bug Fixes
- cleanup based on copilot review comments (5d4fb29)
- cleanup copilot mistakes with passing cancellation token to methods that don't accept them (595326c)
- copilot first attempt (0a1c6a0)
0.6.0 (2025-01-15)
Features
- add CancelMessageBatchAsync method and corresponding tests (c11600c)
- add class for representing batch statuses (f8e01bf)
- add DeleteMessageBatchAsync method and MessageBatchDeleteResponse model with tests (56b3a53)
- add ListAllMessageBatchesAsync method and corresponding tests (180a090)
- implement CreateMessageBatchAsync method (9548754)
- implement GetMessageBatchAsync method (c5f3c5e)
- implement GetMessageBatchResultsAsync method (c56adf3)
- implement ListMessageBatchesAsync method (ca2ecdc)
Bug Fixes
- default nullable properties to actually datetimeoffset min value when new'd up (0a6d89b)
- make correct properties nullable (15f5ad4)
- use proper count tokens endpoint (5e247a3)
0.5.0 (2025-01-06)
Features
- add classes to model response to get model list endpoint (28b7bf6)
- add model to represent paged request (df75cd2)
- implement GetModelAsync method (8bbd4bb)
- implement ListAllModelsAsync and ListModelsAsync (8e0443a)
Bug Fixes
- only allow afterId or beforeId to be set. not both at same time. (3fe75f5)
0.4.0 (2025-01-03)
Features
- add support for count tokens endpoint (9448220)
Bug Fixes
- remove model id validation (31a7097)
0.3.0 (2025-01-02)
Features
- add missing model identifiers (6e0c065)
0.2.0 (2024-11-21)
Features
0.1.1 (2024-11-19)
Bug Fixes
- address vulnerabilities in dependencies (24bd877)
0.1.0 (2024-08-18)
Features
- add constructor to allow setting cache control on tool result content (a3c7e90)
- add type for ephemeral cache control (35adac9)
- first take of adding caching support (ed97ea9)
Bug Fixes
- give cache control proper json property name (cc1d628)
- make cache control class abstract (6431e2a)
- make cache control setter public (d458c9e)
- make sure to pass cache control to tool constructor (539d735)
- remove converter (6600871)
- reuse validation logic in constructors (987fbe9)
- use additional constructor param with default value instead of overloaded constructor to avoid potentially breaking others code with that would then contain ambigious constructor calls. (90e9b9f)
Other
- Merge pull request #12 from StevanFreeborn/stevanfreeborn/tests/fix-image-test [skip ci] (c0dec5f)
- Merge pull request #14 from StevanFreeborn/stevanfreeborn/feat/add-support-for-prompt-caching (dc162aa)
- add method for creating client with customized http client (eb0befe)
- add test for cache control type static class (364c910)
- add test for serializing system property with correct expected value based on whether given system messages or just a system message. (f6460e9)
- add test to make sure cache control can be set on tool use content objects (e47095e)
- add tests for constructor using cache control (0c160e9)
- add tests for creating tools with cache control set (42d6ee4)
- add tests for ephemeral cache control model (f2f1507)
- add tests for overloaded constructor (0253794)
- add text greater than 2048 tokens for testing caching (2e1c111)
- added end to end tests for cache control when caching system messages, user messages, or tools (4524d7b)
- documentation for v0.0.4 [skip ci] (03ad94d)
- put request json in intermediate variable to make debugging better (e04599b)
- remove unused using statement (07457c1)
- run dotnet format (afe70a9)
- stop git from messing up image file (051fa17)
- update README.md with documentation about using prompt caching with this library. (c2fa796)
- update tests to account for serialization and deserialization changes with new/modified model properties to support caching (900a7a3)
- whitelist word (f1c02eb)
0.0.4 (2024-07-20)
Bug Fixes
- add end to end test for vision (b3d4ac3)
- add missing type property to image source model (0a692d1)
- yield error when initial stream response is not successful (3b47ed3)
Other
- Merge pull request #11 from StevanFreeborn/stevanfreeborn/fix/missing-type-property-and-response-handling (d27538b)
- add missing type property (f970b07)
- debug ci failure (641eaf3)
- debug ci failure (30c0116)
- debug CI failure (48b2716)
- debug CI failure (9b714df)
- debug test failure in CI (f39e76c)
- run format (93761b8)
- use base64 text file (a16b64d)
0.0.3 (2024-07-11)
Bug Fixes
- address nuget health checks (989951d)
Other
- Merge pull request #8 from StevanFreeborn/stevanfreeborn/feat/address-nuget-health-checks (f245d64)
- documentation for v0.0.2 [skip ci] (d486bc8)
- upgrade System.Text.Json dep (5576b68)
0.0.2 (2024-07-10)
Bug Fixes
- add stop sequences parameter (0363756)
Other
- Merge branch 'main' of github.com:StevanFreeborn/anthropic-client (3b9dc67)
- Merge pull request #5 from StevanFreeborn/stevanfreeborn/fix/allow-stop-sequence-to-be-passed (3bdb417)
- correct xml comment (48f813f)
- documentation for v0.0.1 [skip ci] (0a2ea19)
- update gitattributes to treat font files as binary (2726426)
- update workflow to continue on error (7c04f0a)
0.0.1 (2024-07-07)
Bug Fixes
- add correct package project url (afee3b2)
Other
- Create CNAME (2e64dcb)
- Merge branch 'main' of github.com:StevanFreeborn/anthropic-client (4f156a5)
- Merge branch 'main' of github.com:StevanFreeborn/anthropic-client (56f74c6)
- Merge branch 'main' of github.com:StevanFreeborn/anthropic-client (78d75eb)
- Merge branch 'main' of github.com:StevanFreeborn/anthropic-client (ddeb651)
- add badges (599a11c)
- add material theme for documentation site (8a6af15)
- documentation for v0.0.0 [skip ci] (7ad471d)
- documentation for v0.0.0 [skip ci] (57e950e)
- documentation for v0.0.0 [skip ci] (2879bfd)
- documentation for v0.0.0 [skip ci] (9d6935c)
- fix workflow (1de786c)
- remove PDF option (6eaaaef)
- workout documentation job (2a7dd11)
0.0.0 (2024-07-07)
Features
- add class to represent a callable function (691ffaa)
- add function property attribute (f848d4b)
- add method to throw if null or whitespace (3298db7)
- add models for streaming messages (a4784fd)
- add parameter attribute to allow customization of name, description, and requiredness (3006ad9)
- add support for delegate with two parameters (4dd9d16)
- begin work on creating input schema from function method info (087f012)
- create chat message (4c2cee6)
- create tool from class that implements ITool (e3ba6a6)
- generate definition for complex types (057803a)
- implement json schema generation for non-complex types (96ed89c)
- implement tool call (ce6b1bf)
- yield events for streaming including custom message complete event (6ed99a6)
Bug Fixes
- add string enum converter to serialization options (9c81620)
- address methods that return void or task in those cases return null (c2788c3)
- cleanup unnecessary usings (0562c0c)
- correct nullability (fec7de2)
- correct validation for create methods and update xml comments to match (94434c7)
- deal with nested complex types (b594927)
- enforce anthropic's name limitations (a5af463)
- make sure custom parameter name is not whitespace (cccd0e6)
- modify tool class to have static methods and create input schema from function (0515afb)
- move client to top level namespace (422719f)
- remove redundant validation and add xml comments (606c81d)
- remove throw if name is invalid (da93ffd)
- remove unnecessary constant (77ceb49)
- remove unused member and move comment (15315df)
- throw exception when accessing result props incorrectly (c538a3e)
- use json object type (4fd8ecd)
- use name of member not member type (9eb0238)
- use trygetvalues (ffee24d)
Other
- Merge branch 'main' of github.com:StevanFreeborn/anthropic-client (98e9596)
- Merge pull request #1 from StevanFreeborn/stevanfreeborn/docs/prepare-documentation-for-release (3969937)
- Merge pull request #2 from StevanFreeborn/stevanfreeborn/chore/add-workflows (1e7fa66)
- add additional streaming tests (bd8e4c7)
- add additional test cases (0cb9918)
- add dispatch event to workflows (b6baef7)
- add git attributes file (cc6f682)
- add missing test cases (aed18b3)
- add missing tests for streaming chat message (5edc0b5)
- add missing type params to expected schema (5fa85b7)
- add missing xml comments (1662479)
- add more tests for tool class (ecf1958)
- add package metadat (d1855dd)
- add test cases (ff649cb)
- add workflows (ebbae05)
- delete change log (6067d5d)
- don't reuse http client as fixture (6caa4b1)
- fix branch name (be836d6)
- fix dotnet format command (d5cfe65)
- initial project setup (68b3591)
- make sure there is content in message returned (fdcd4a0)
- make test settings optional (c2e21ac)
- more work on workflows (554c696)
- run dotnet format (3851bf4)
- run dotnet format (1ae9010)
- run format (f85771c)
- update README.md (78497b8)
- update README.md (22b5f6b)
- update README.md (8c0c60f)
- update test case name (04343bf)
- update tests to allow building while reworking tool feature (4bf99d6)
- use docfx to generate documentation (3e69208)
- work on adding integration tests (917719d)
- work on adding integration tests (ebae270)
- work on README (1d352a6)
- work on README (5c0cad2)
- work on README (dd380c9)
- workflow fix mispelling (dde8543)
- release: 0.0.0 [skip ci] (f2b3e0e)