- Bump dry-core to ~> 1.0 (via #52) (@tiev)
- Support for associations 🎉 (@ianks)
- Support for ruby 3 (@AMHOL)
- Request params separated into query_params and body_params (@AMHOL in #44)
- Minimal ruby version is set to 2.7 (@flash-gordon)
- Warning message from dry-configurable (@gkostin1966)
As a consequence of these changes, with this release you can easily use rom-http
along with repositories and changesets.
- 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 viahandlers: :json
gateway option (solnic) - Convenient request method predicates
Dataset#{get?,post?,delete?,put?}
(solnic)
-
Relation#append_path
no longer duplicatesbase_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 ns@latera.ru)
-
schema support using
dry-data
(AMHOL) -
Projections (
container.relation(:users).project(:id, :name)
) (AMHOL) -
ROM::HTTP::Dataset
macros for settingdefault_request_handler
anddefault_response_handler
(AMHOL)
-
- Updated to work with
rom ~> 5.0
(parndt) - Input/output data are now handled by core functionality using schema's
input_schema
andoutput_schema
(solnic) Dataset#name
was removed in favor ofDataset#base_path
ROM::HTTP::Gateway
tries to load theDataset
class lazily from the same namespace that theGateway
is defined in, with a fallback toROM::HTTP::Dataset
, making extending easier (AMHOL)ROM::HTTP::Gateway
no longer raises errors on missing configuration keys, these are now raised late inDataset
- this was to allow for the implementation ofdefault_request_handler
anddefault_response_handler
(AMHOL)ROM::HTTP::Dataset
now usesROM::Options
fromrom-support
, adding typechecking to options and making it easier to define additional options in extensions
First public release \o/