@financial-times/cp-content-pipeline-client 0.4.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -60,6 +60,62 @@
60
60
  * devDependencies
61
61
  * @financial-times/cp-content-pipeline-schema bumped from ^0.4.6 to ^0.4.7
62
62
 
63
+ ### Dependencies
64
+
65
+ * The following workspace dependencies were updated
66
+ * devDependencies
67
+ * @financial-times/cp-content-pipeline-schema bumped from ^0.6.0 to ^0.6.1
68
+
69
+ ## [0.5.0](https://github.com/Financial-Times/cp-content-pipeline/compare/cp-content-pipeline-client-v0.4.0...cp-content-pipeline-client-v0.5.0) (2023-01-24)
70
+
71
+
72
+ ### ⚠ BREAKING CHANGES
73
+
74
+ * update to latest content-tree ImageSet changes
75
+ * update references to use External type
76
+ * remove now-unused min/maxDisplayWidth fields
77
+ * rename sources on Image to sourceSet
78
+
79
+ ### Features
80
+
81
+ * add Flourish to content-tree ([7816a6f](https://github.com/Financial-Times/cp-content-pipeline/commit/7816a6f5b4d9f599ebd4afd9284de5b18979f278))
82
+ * add imageset to references ([28157c0](https://github.com/Financial-Times/cp-content-pipeline/commit/28157c0e170a4d954ff8ab97decd89221b1a0545))
83
+ * add layout nodes to content tree ([b6f5327](https://github.com/Financial-Times/cp-content-pipeline/commit/b6f5327422521437ae18f88f6100e1fcfa1f8cb4))
84
+ * add recommended link to content tree ([082450a](https://github.com/Financial-Times/cp-content-pipeline/commit/082450acf36e3ce2bd51893e3ebfd8c62fe20f0b))
85
+ * add tweet reference to content tree ([d0d0550](https://github.com/Financial-Times/cp-content-pipeline/commit/d0d05504ad0cc105507d6c8f9145dee23afc8f28))
86
+ * rename sources on Image to sourceSet ([c6ddf7f](https://github.com/Financial-Times/cp-content-pipeline/commit/c6ddf7f0cac47b0cbf4060e91c62a1c398665058))
87
+ * render raw images ([3cf9cb6](https://github.com/Financial-Times/cp-content-pipeline/commit/3cf9cb69199e31fde4b23935d7e2ddf7bdbdf916))
88
+ * return an image for raw images ([d05a6cd](https://github.com/Financial-Times/cp-content-pipeline/commit/d05a6cd93defbf222b968943f7365def841b0e64))
89
+ * return image format ([3f0ea41](https://github.com/Financial-Times/cp-content-pipeline/commit/3f0ea410f2b19114f81ebcf42c9add5c32b0f453))
90
+
91
+
92
+ ### Bug Fixes
93
+
94
+ * add layoutWidth to picture query ([fb88797](https://github.com/Financial-Times/cp-content-pipeline/commit/fb88797dea7c5a526f4f5b710367c9e9e0ac5f06))
95
+ * get imageset working with latest image changes ([e1eceb0](https://github.com/Financial-Times/cp-content-pipeline/commit/e1eceb0a5b8018d91aadd1699240425a29505e58))
96
+ * missing credit on images ([62a10d3](https://github.com/Financial-Times/cp-content-pipeline/commit/62a10d3146d1af49371262e247b6c0cb2140d432))
97
+ * reimplement mainImage workaround ([5e30dca](https://github.com/Financial-Times/cp-content-pipeline/commit/5e30dca04c28eee87c44d31c4d69075c14fa6c53))
98
+ * reinstate twitter error handling ([6ba321c](https://github.com/Financial-Times/cp-content-pipeline/commit/6ba321cf6a3d66f58cd1c0f3df40eaf9b8076054))
99
+ * update layout-width to match new names ([b6f5327](https://github.com/Financial-Times/cp-content-pipeline/commit/b6f5327422521437ae18f88f6100e1fcfa1f8cb4))
100
+
101
+
102
+ ### Miscellaneous Chores
103
+
104
+ * remove now-unused min/maxDisplayWidth fields ([e892d2f](https://github.com/Financial-Times/cp-content-pipeline/commit/e892d2f7b8a8b10f63a720f3dca974cd29678e70))
105
+
106
+
107
+ ### Code Refactoring
108
+
109
+ * update references to use External type ([6ba321c](https://github.com/Financial-Times/cp-content-pipeline/commit/6ba321cf6a3d66f58cd1c0f3df40eaf9b8076054))
110
+ * update to latest content-tree ImageSet changes ([6d33d38](https://github.com/Financial-Times/cp-content-pipeline/commit/6d33d383586841e83e08685ce93ca87964825297))
111
+
112
+
113
+ ### Dependencies
114
+
115
+ * The following workspace dependencies were updated
116
+ * devDependencies
117
+ * @financial-times/cp-content-pipeline-schema bumped from ^0.5.0 to ^0.6.0
118
+
63
119
  ## [0.4.0](https://github.com/Financial-Times/cp-content-pipeline/compare/cp-content-pipeline-client-v0.3.8...cp-content-pipeline-client-v0.4.0) (2022-12-14)
64
120
 
65
121
 
package/codegen.yml CHANGED
@@ -13,3 +13,5 @@ generates:
13
13
  immutableTypes: true
14
14
  # make types better-compatible with React, which doesn't like null
15
15
  maybeValue: T
16
+ # output string enums as type unions so we can intersect them with other types (e.g. Content Tree)
17
+ enumsAsTypes: true