A set of utilities for working with the AT Protocol in Elixir.
1# Changelog 2 3All notable changes to atex will be documented in this file. 4 5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), 6and this project adheres to 7[Semantic Versioning](https://semver.org/spec/v2.0.0.html). 8 9## [Unreleased] 10 11### Breking Changes 12 13- `deflexicon` now converts all def names to be in snake_case instead of the 14 casing as written the lexicon. 15 16### Added 17 18- `deflexicon` now emits structs for records, objects, queries, and procedures. 19- `Atex.XRPC.get/3` and `Atex.XRPC.post/3` now support having a lexicon struct 20 as the second argument instead of the method's name, making it easier to have 21 properly checked API calls. 22 23## [0.5.0] - 2025-10-11 24 25### Breaking Changes 26 27- Remove `Atex.HTTP` and associated modules as the abstraction caused a bit too 28 much complexities for how early atex is. It may come back in the future as 29 something more fleshed out once we're more stable. 30- Rename `Atex.XRPC.Client` to `Atex.XRPC.LoginClient` 31 32### Added 33 34- `Atex.OAuth` module with utilites for handling some OAuth functionality. 35- `Atex.OAuth.Plug` module (if Plug is loaded) which provides a basic but 36 complete OAuth flow, including storing the tokens in `Plug.Session`. 37- `Atex.XRPC.Client` behaviour for implementing custom client variants. 38- `Atex.XRPC` now supports using different client implementations. 39- `Atex.XRPC.OAuthClient` to make XRPC calls on the behalf of a user who has 40 authenticated with ATProto OAuth. 41 42## [0.4.0] - 2025-08-27 43 44### Added 45 46- `Atex.Lexicon` module that provides the `deflexicon` macro, taking in a JSON 47 Lexicon definition and converts it into a series of schemas for each 48 definition within it. 49- `mix atex.lexicons` for converting lexicon JSON files into modules using 50 `deflexicon` easily. 51 52## [0.3.0] - 2025-06-29 53 54### Changed 55 56- `Atex.XRPC.Adapter` renamed to `Atex.HTTP.Adapter`. 57 58### Added 59 60- `Atex.HTTP` module that delegates to the currently configured adapter. 61- `Atex.HTTP.Response` struct to be returned by `Atex.HTTP.Adapter`. 62- `Atex.IdentityResolver` module for resolving and validating an identity, 63 either by DID or a handle. 64 - Also has a pluggable cache (with a default ETS implementation) for keeping 65 some data locally. 66 67## [0.2.0] - 2025-06-09 68 69### Added 70 71- `Atex.TID` module for manipulating ATProto TIDs. 72- `Atex.Base32Sortable` module for encoding/decoding numbers as 73 `base32-sortable` strings. 74- Basic XRPC client. 75 76## [0.1.0] - 2025-06-07 77 78Initial release. 79 80[unreleased]: https://github.com/cometsh/atex/compare/v0.5.0...HEAD 81[0.5.0]: https://github.com/cometsh/atex/releases/tag/v0.5.0 82[0.4.0]: https://github.com/cometsh/atex/releases/tag/v0.4.0 83[0.3.0]: https://github.com/cometsh/atex/releases/tag/v0.3.0 84[0.2.0]: https://github.com/cometsh/atex/releases/tag/v0.2.0 85[0.1.0]: https://github.com/cometsh/atex/releases/tag/v0.1.0