Skip to content

Latest commit

 

History

History
139 lines (74 loc) · 4.24 KB

CHANGELOG.md

File metadata and controls

139 lines (74 loc) · 4.24 KB

0.10.0 2022-11-26

Changed

  • Bump dry-core to ~> 1.0 (via #52) (@tiev)

Compare v0.9.0...v0.10.0

0.9.0 2022-09-27

Added

  • Support for associations 🎉 (@ianks)
  • Support for ruby 3 (@AMHOL)

Changed

  • Request params separated into query_params and body_params (@AMHOL in #44)
  • Minimal ruby version is set to 2.7 (@flash-gordon)

Fixed

  • Warning message from dry-configurable (@gkostin1966)

Compare v0.8.0...v0.9.0

0.8.0 2019-04-29

As a consequence of these changes, with this release you can easily use rom-http along with repositories and changesets.

Added

  • Support for relation schemas (solnic)
  • Support for auto-struct mapping (solnic)
  • Support for registering your own request/response handlers for all datasets from a specific gateway (solnic)
  • Built-in JSON handlers that you can set via handlers: :json gateway option (solnic)
  • Convenient request method predicates Dataset#{get?,post?,delete?,put?} (solnic)

Fixed

  • Relation#append_path no longer duplicates base_path (solnic)

    • Add Dataset#add_params(AMHOL)

    • Updated error messages (AMHOL)

    • updated to depend on ROM 4.0 (maximderbin)

    • Removed ruby 2.1 support (maximderbin)

    • Removed rbx-3 support (maximderbin)

    • Make schemas mandatory and use schema API from ROM core (AMHOL)

    • Generate transformer using schema (AMHOL)

    • Removed rbx-2 support (solnic)

    • Add Dataset#base_path and Relation#primary_key (AMHOL)

    • Updated to work with ROM 3.0 (maximderbin)

    • Removed ruby 2.1 support (maximderbin)

    • Fix Relation#primary_key when schema defines alias (AMHOL)

    • Transform keys on insert and update (maximderbin)

    • Remove rom-support dependency (maximderbin)

    • Removed ruby 2.0 support

    • Use schema API from ROM::Core. Replaces old schema (solnic)

    • Now works out of the box with rom-repository (solnic)

    • updated to depend on the forthcoming rom 2.0 (cflipse)

    • replaced dry-data with dry-types (Nikita Shilnikov [email protected])

    • schema support using dry-data (AMHOL)

    • Projections (container.relation(:users).project(:id, :name)) (AMHOL)

    • ROM::HTTP::Dataset macros for setting default_request_handler and default_response_handler (AMHOL)

Changed

  • Updated to work with rom ~> 5.0 (parndt)
  • Input/output data are now handled by core functionality using schema's input_schema and output_schema (solnic)
  • Dataset#name was removed in favor of Dataset#base_path

Compare v0.7.0...v0.8.0

0.7.0 2018-01-11

Compare v0.6.0...v0.7.0

0.6.0 2017-02-06

Compare v0.5.0...v0.6.0

0.5.0 2016-08-08

Compare v0.4.0...v0.5.0

0.4.0 2016-04-30

Compare v0.3.0...v0.4.0

0.3.0 2016-03-17

Compare v0.2.0...v0.3.0

0.2.0 2016-01-30

Compare v0.1.2...v0.2.0

0.1.2 2015-09-16

Compare v0.1.1...v0.1.2

0.1.1 2015-09-03

Changed

  • ROM::HTTP::Gateway tries to load the Dataset class lazily from the same namespace that the Gateway is defined in, with a fallback to ROM::HTTP::Dataset, making extending easier (AMHOL)
  • ROM::HTTP::Gateway no longer raises errors on missing configuration keys, these are now raised late in Dataset - this was to allow for the implementation of default_request_handler and default_response_handler (AMHOL)
  • ROM::HTTP::Dataset now uses ROM::Options from rom-support, adding typechecking to options and making it easier to define additional options in extensions

Compare v0.1.0...v0.1.1

0.1.0 2015-08-19

First public release \o/