
Security News
pnpm 10.12 Introduces Global Virtual Store and Expanded Version Catalogs
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.
Supported Rails versions: >= 4.1
Due to a backwards-incompatibility introduced in the underlying jsonapi-rb gem, specifying custom serializers now works slightly differently.
Before:
# app/serializers/serializable_post.rb
has_many :comments, class: SerializableSpecialComment
and/or
render_jsonapi(post, class: SerializableSpecialPost)
This is now all handled at the controller level:
render_jsonapi(post, class: {
Post: SerializableSpecialPost,
Comment: SerializableSpecialComment
})
sideload_whitelist
has been moved from the resource to the controller:
class PostsController < ApplicationController
jsonapi resource: PostResource do
- sideload_whitelist({ index: [:foo] })
- end
+ sideload_whitelist({ index: [:foo] })
end
# NEW
We support Rails >= 4.1. To do so, we use the appraisal gem. So, run:
$ bin/appraisal rails-4 bin/rspec
$ bin/appraisal rails-5 bin/rspec
Or run tests for all versions:
$ bin/appraisal bin/rspec
$ yard doc
$ yard server
FAQs
Unknown package
We found that jsonapi_compliable demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.
Security News
Amaro 1.0 lays the groundwork for stable TypeScript support in Node.js, bringing official .ts loading closer to reality.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.