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 XRPC calls.
22- Add pre-transpiled modules for the core `com.atproto` lexicons.
23
24## [0.5.0] - 2025-10-11
25
26### Breaking Changes
27
28- Remove `Atex.HTTP` and associated modules as the abstraction caused a bit too
29 much complexities for how early atex is. It may come back in the future as
30 something more fleshed out once we're more stable.
31- Rename `Atex.XRPC.Client` to `Atex.XRPC.LoginClient`
32
33### Added
34
35- `Atex.OAuth` module with utilites for handling some OAuth functionality.
36- `Atex.OAuth.Plug` module (if Plug is loaded) which provides a basic but
37 complete OAuth flow, including storing the tokens in `Plug.Session`.
38- `Atex.XRPC.Client` behaviour for implementing custom client variants.
39- `Atex.XRPC` now supports using different client implementations.
40- `Atex.XRPC.OAuthClient` to make XRPC calls on the behalf of a user who has
41 authenticated with ATProto OAuth.
42
43## [0.4.0] - 2025-08-27
44
45### Added
46
47- `Atex.Lexicon` module that provides the `deflexicon` macro, taking in a JSON
48 Lexicon definition and converts it into a series of schemas for each
49 definition within it.
50- `mix atex.lexicons` for converting lexicon JSON files into modules using
51 `deflexicon` easily.
52
53## [0.3.0] - 2025-06-29
54
55### Changed
56
57- `Atex.XRPC.Adapter` renamed to `Atex.HTTP.Adapter`.
58
59### Added
60
61- `Atex.HTTP` module that delegates to the currently configured adapter.
62- `Atex.HTTP.Response` struct to be returned by `Atex.HTTP.Adapter`.
63- `Atex.IdentityResolver` module for resolving and validating an identity,
64 either by DID or a handle.
65 - Also has a pluggable cache (with a default ETS implementation) for keeping
66 some data locally.
67
68## [0.2.0] - 2025-06-09
69
70### Added
71
72- `Atex.TID` module for manipulating ATProto TIDs.
73- `Atex.Base32Sortable` module for encoding/decoding numbers as
74 `base32-sortable` strings.
75- Basic XRPC client.
76
77## [0.1.0] - 2025-06-07
78
79Initial release.
80
81[unreleased]: https://github.com/cometsh/atex/compare/v0.5.0...HEAD
82[0.5.0]: https://github.com/cometsh/atex/releases/tag/v0.5.0
83[0.4.0]: https://github.com/cometsh/atex/releases/tag/v0.4.0
84[0.3.0]: https://github.com/cometsh/atex/releases/tag/v0.3.0
85[0.2.0]: https://github.com/cometsh/atex/releases/tag/v0.2.0
86[0.1.0]: https://github.com/cometsh/atex/releases/tag/v0.1.0