-
Notifications
You must be signed in to change notification settings - Fork 2
feat(data): use modern data format and truncate result if too large #136
Conversation
2259736
to
e84a023
Compare
This PR will trigger a major release when merged. |
e84a023
to
d9b60d6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is a breaking change and I suspect it is consumed by theblog, I think we should create the follow tickets in the various consumer repos (if there are any...)
yes, we should. we can also prepare the js clients:
It will also effect the data-embed in the pipeline. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a fan of breaking compatibility and complicating the format, but if it works, ok. The helix-pipeline fix should make sure to be able to handle both the old and the new format.
bf182b2
to
0ecc009
Compare
Codecov Report
@@ Coverage Diff @@
## master #136 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 11 11
Lines 320 331 +11
=========================================
+ Hits 320 331 +11
Continue to review full report at Codecov.
|
0ecc009
to
fd1b163
Compare
fd1b163
to
3655a5e
Compare
3655a5e
to
40ac96e
Compare
fixes #119 BREAKING CHANGE: the response body is no longer a JSON array but an object that contains a limit, offset, total and data property.
40ac96e
to
02f4351
Compare
# [2.0.0](v1.9.13...v2.0.0) (2020-09-30) ### Features * **data:** use modern data format and truncate result if too large ([#136](#136)) ([9d1e924](9d1e924)), closes [#119](#119) ### BREAKING CHANGES * **data:** the response body is no longer a JSON array but an object that contains a limit, offset, total and data property.
🎉 This PR is included in version 2.0.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
fixes #119
BREAKING CHANGE: the response body is no longer a JSON array but an object that contains a
limit
,offset
,total
anddata
property.see examples:
helix-data-embed/test/index.test.js
Lines 78 to 158 in e84a023