- Add Transparency API endpoint with support for Complete Response Letters (
crl.json) - Update README with Transparency endpoint usage examples
- Upgrade Faraday from 1.x to 2.x (removes
faraday_middlewaredependency) - Upgrade RuboCop to 1.86, RSpec to 3.13, Rake to 13.3
- Drop support for Ruby < 3.1 (2.7 and 3.0 are EOL); add
.ruby-versionpinned to 3.2.2 - Add SimpleCov with 80% minimum coverage threshold
- Split CI into separate lint and test jobs; test against Ruby 3.1, 3.2, and 3.3
- Add Dependabot for automated dependency updates
- Remove unused field validation scaffolding and all associated TODO comments
- Improve test assertions across all endpoint specs
- Set API key if it is available and send it in with every request
- Animal & Veterinary Endpoint
- Tobacco Endpoint
- Other Endpoint
- Include Food endpoints
- Include Device endpoints
- Pull out Endpoint common behavior to a base class
- Filled out the following Drug endpoints:
- product_labeling
- ndc_directory
- recall_enforcement_reports
- drugs_at_fda
- Delete the
OpenFdaApi.clientmethod since its only function was to forward messages
- Use Faraday instead of using Net::HTTP directly
- Introduce
QueryInputsto group query params passed in together
- Support for more query fields
- Validate, against search fields given to us from openFDA API, when building queries.
- Fix version string in changelog.
- Update Query Builder to group search arguments properly.
- Update Query Builder to replace spaces with pluses in search values as openFDA API documentation requires.
- Update version again because CHANGELOG wasn't updated along with the 0.0.2 release.
- Add
OpenFdaApi::Client#drugsto interact with the FDA Drug endpoints.- The
adverse_eventsendpoint has been implemented in a very limited capacity.
- The
- Add
OpenFdaApi::Client.new(api_key:)to create a client which does nothing right now.