124 Commits
Author SHA1 Message Date
Brooke Kuhlmann 2fd6bb9dea Updated to Ruby 4.0.3
link:https://www.ruby-lang.org/en/news/2026/04/21/ruby-4-0-3-released/[Details].

Milestone: patch
2026-04-21 08:06:15 -06:00
Brooke Kuhlmann 11cc10f9af Updated version 0.14.0 2026-04-01 13:43:49 -06:00
Brooke Kuhlmann 616c11b9a4 Refactored contracts as schemas
Necessary to properly namespace these objects. This will also allow for contracts in the future if ever needed since contracts can be built upon schemas.

Milestone: patch
2026-04-01 13:43:49 -06:00
Brooke Kuhlmann 65b422b335 Added Model API support for CSS density class
Necessary to pick up recent changes to the API.

Milestone: minor
2026-04-01 13:43:49 -06:00
Brooke Kuhlmann eb2f16bfb1 Updated version 0.13.0 2026-03-18 13:12:44 -06:00
Brooke Kuhlmann 635c252ec2 Fixed model palette IDs as names
These are not IDs but names so this corrects the mistake that the API makes including providing a safe default (i.e. empty array) when the names are missing.

Milestone: minor
2026-03-18 12:06:39 -06:00
Brooke Kuhlmann 39a753f215 Added palette model gray and color defaults
Necessary to provide typed defaults when attributes are missing. This is especially important when the API answers `nil` values since the API doesn't provide safe defaults.

Milestone: minor
2026-03-18 12:02:50 -06:00
Brooke Kuhlmann aeb68b32b3 Fixed palette model to use name and label attributes
Use of `id` (a.k.a. name) and `name` (a.k.a. label) was confusing and not an accurate representation of what these attributes are. This corrects the API design mistakes by having the model transform these keys appropriately.

Milestone: minor
2026-03-18 12:02:19 -06:00
Brooke Kuhlmann 859d8728ea Updated to Ruby 4.0.2
link:https://www.ruby-lang.org/en/news/2026/03/16/ruby-4-0-2-released/[Details].

Milestone: patch
2026-03-17 08:14:23 -06:00
Brooke Kuhlmann bec7edd616 Updated version 0.12.0 2026-02-28 14:00:22 -07:00
Brooke Kuhlmann 047c4d1c94 Added empty recipe
Necessary to build an empty recipe (handy when needing to leverage the Null Object Pattern).

Milestone: minor
2026-02-28 13:55:57 -07:00
Brooke Kuhlmann 1b16e5f4ff Updated to Caliber 0.89.0
link:https://alchemists.io/projects/caliber[Details].

Milestone: minor
2026-02-28 13:55:57 -07:00
Brooke Kuhlmann fddeb8bb5e Added documenation for Display API firmware version
Necessary to provide an example of what this looks like when supplied.

Milestone: minor
0.11.0
2026-01-26 11:04:29 -07:00
Brooke Kuhlmann ffb15184f1 Updated version 2026-01-26 10:38:15 -07:00
Brooke Kuhlmann a92a73a376 Added display firmware version
Necessary to supply the firmware version so the firmware can ignore/reject firmware updates that are of the same version as currently used.

Milestone: minor
2026-01-26 10:38:00 -07:00
Brooke Kuhlmann cb8baf4da6 Updated to using new TRMNL domain name
Necessary to use the new domain and remove usage of `usetrmnl` altogether.

Milestone: minor
2026-01-26 10:29:30 -07:00
Brooke Kuhlmann d5d80955a4 Updated version
Includes updates to the recipes endpoint.

Milestone: minor
0.10.0
2026-01-22 15:20:37 -07:00
Brooke Kuhlmann 268ac8d4e0 Fixed recipe endpoint to use sort key
Use of `sort-by` -- as provied by the API -- is awkward so this simplifies usage so you can use the `sort` key as a symbol which is consistent with existing keys.

Milestone: minor
2026-01-22 15:20:06 -07:00
Brooke Kuhlmann 97bf0e3c30 Updated recipe model to distinquish between data and meta information
Necessary to prevent the API design from infecting this implementation by clarifying the difference between data and metadata information (like how a basic JSON Data API response should be structured).

Milestone: minor
2026-01-22 15:19:53 -07:00
Brooke Kuhlmann 9cd951f908 Fixed recipe entry model to be data model
Necessary to add clarity to what this model represents as `Entry` was slightly confusing, and now that there is no conflict with native `Data` objects, we can use `Data` for the model name.

Milestone: minor
2026-01-22 15:19:06 -07:00
Brooke Kuhlmann f59688fee5 Added recipe meta model
Necessary to handle API response metadata so we can have distinct models for data and metadata.

RuboCop has been updated to ignore the parameters because RuboCop still doesn't have the ability to distinguish between whole value objects and standard objects (and we need safe defaults in this case).

Milestone: minor
2026-01-22 15:18:46 -07:00
Brooke Kuhlmann ca9ac028e6 Refactored models to reference native Ruby Data objects
Necessary to ensure we reference native Ruby data objects versus the new data objects own by this gem when dealing with JSON Data APIs.

Milestone: patch
2026-01-22 15:17:52 -07:00
Brooke Kuhlmann 775c228bb5 Updated version 0.9.0 2026-01-15 09:24:35 -07:00
Brooke Kuhlmann c9f5ad8d83 Added recipes endpoint documentation
Necessary to document this new endpoint and clean up client syntax usage.

Milestone: minor
2026-01-15 09:18:34 -07:00
Brooke Kuhlmann cbe2478cdb Updated client to inject endpoints and dynamically build instances
Necessary to ensure each endpoint is properly configured with settings unique to the client instance instead of sharing global settings. This cropped up due to needing to deal with multiple TRMNL API server routes when they should be a single route.

Milestone: minor
2026-01-15 09:18:34 -07:00