jsonapi-utils icon indicating copy to clipboard operation
jsonapi-utils copied to clipboard

Update jsonapi-resources 0.9.12

Open danieldocki opened this issue 3 years ago • 10 comments

@tiagopog can update the dependency? jsonapi-resources ~> 0.9.12

solves the error in Rails 6.1

uninitialized constant ActionController::ForceSSL

https://github.com/cerebris/jsonapi-resources/blob/v0.9.12/lib/jsonapi/resource_controller_metal.rb#L8

danieldocki avatar May 11 '21 21:05 danieldocki

Having the same issue on my end

gianniderosa avatar May 28 '21 17:05 gianniderosa

@tiagopog Will you be updating this gem? It would be really helpful to know as we want to use it...

asadakbarml avatar Aug 24 '21 22:08 asadakbarml

@asadakbarml Yes, I will. I have been going through a tough year here, but I still have plans to keep it updated.

tiagopog avatar Oct 09 '21 11:10 tiagopog

@danieldocki It's updated in the master branch. I will first make sure that everything is working smoothly then I will release a new version of the gem.

tiagopog avatar Oct 09 '21 11:10 tiagopog

Thanks for the great job, but I caught this error.

Internal Server Error: uninitialized constant JSONAPI::OperationResults Internal Server Error: uninitialized constant JSONAPI::OperationResults /Users/danieldocki/.gem/bundler/gems/jsonapi-utils-1c139822a10e/lib/jsonapi/utils/response/formatters.rb:103:in `build_response_document'
/Users/danieldocki/.gem/bundler/gems/jsonapi-utils-1c139822a10e/lib/jsonapi/utils/response/formatters.rb:39:in `jsonapi_format'
/Users/danieldocki/.gem/bundler/gems/jsonapi-utils-1c139822a10e/lib/jsonapi/utils/response/renders.rb:34:in `jsonapi_render'

I don't know if anyone else caught this error, but over the weekend I can look deeper into this error.

danieldocki avatar Oct 21 '21 20:10 danieldocki

It seems that this PR https://github.com/cerebris/jsonapi-resources/pull/946, changed some things and removed JSONAPI::OperationResults.

danieldocki avatar Oct 24 '21 13:10 danieldocki

This is pretty important to keep the library updated and allow everyone using it to update rails, how can we update this?

Also the main library now is at 0.10.2 with a lot of fixes :(

I see these:

  • https://github.com/tiagopog/jsonapi-utils/pull/111
  • https://github.com/tiagopog/jsonapi-utils/pull/107

But If I try to update I get this:

Bundler could not find compatible versions for gem "jsonapi-resources":
  In Gemfile:
    jsonapi-resources (= 0.10.5)

    jsonapi-utils (= 0.7.3) was resolved to 0.7.3, which depends on
      jsonapi-resources (= 0.9.11)

danielgomezrico avatar Jan 21 '22 13:01 danielgomezrico

Any news on this? I am having trouble using jsonapi-resources at version 0.10 and jsonapi-utils 0.4.2 because it is the only version that bundle allows to install

JohnnyHandy avatar Mar 21 '22 18:03 JohnnyHandy

it seems that this gem is no longer maintained. anyone here had the chance to refactor the code to use another solution? For example, to use jsonapi-serializer ?

idanab-simplee avatar Apr 11 '22 12:04 idanab-simplee

It is already updated, but it is not released on gem repository, check:

  • https://github.com/tiagopog/jsonapi-utils/issues/114

danielgomezrico avatar Aug 19 '22 13:08 danielgomezrico