Releases: guardian/braze-components
Releases · guardian/braze-components
Reduce download size of braze components
Support for HTML in Epic body
Separate entry points for epics and banners
Hide epic highlight if no highlight text provided
New Epics and separate factories for Banner / End of Article
- Split banner and epic factories (#194) 5ffdb35
- Update newsletter epic
canRender
functions (#199) 0716ff7 - Merge pull request #198 from guardian/tw-body-styles 604d824
- Reduce the font size at desktop width 4c77cf4
- Use source colour for frequency text 7d412e1
- Update newsletter epic body text colour 4dfc1dd
- Don’t depend on banner styles in here 4c3bd7d
- Merge pull request #197 from guardian/remove-margins-from-epics 8ea78ff
- Remove margins from both epics 3d95774
- Added our own version of Contributions Epic (#191) 14a54ae
- Merge pull request #196 from guardian/tw-newsletter-epic-styling-tweaks a21b149
- Move button to cta styles 49ab50c
- Use source colours for button 1a16baf
- Use source colour for background a17c631
- Update Newsletter Epic top border colour 1dfb698
- Fix UKNewsletter canRender import (#192) ee4f334
- Merge pull request #193 from guardian/sub-fetch f464eec
- Add support for subscribeToNewsletterProp to epics e6144fd
- Merge pull request #190 from guardian/tw-bump-braze-web-sdk e3d3cfa
- Bump @braze/web-sdk-core NPM package to 3.3.0 1cf1715
- UK and Australia Today Newsletter Epic components (#186) d561c19
- Merge pull request #188 from guardian/tw-fix-epic-rendering 2f523f8
- Fix broken epic rendering d3c9c95
- US Newsletter Epic component (#175) e91c2ca
- Merge pull request #181 from guardian/tw-rename-local-storybook-host 5a9c9c0
- Merge pull request #180 from guardian/tw-group-component-stories a5bf74c
- Rename local storybook host 5328888
- Group stories by slot 0c376fc
- Merge pull request #173 from guardian/tw-gutools-login-integration 910c5c5
- Add pan-domain auth and enable image picker 7cc9544
- Merge pull request #174 from guardian/storybook-cache 3996ced
- Disable cache for local storybook 5a136e8
- Merge pull request #157 from guardian/tw-run-tsc-build-check 8b12842
- Run TypeScript build check 4e2185c
v2.1.0
- BrazeMessages returns first valid message in cache (#155) 0c70e7d
- Merge pull request #152 from guardian/tw-upgrade-storybook b9bdb69
- Merge pull request #150 from guardian/mc-debug-tests 69c78ad
- Merge pull request #158 from guardian/tw-use-v2-epic-component-in-story 0a45e18
- Use the v2 ContributionsEpic component 071fd8e
- Upgrade Storybook to 6.2.9 ed72d55
- Merge pull request #132 from guardian/william/remove-preact-x e311b41
- Remove Preact-X fb5e2fc
- Add debug tests to launch.json 9a705de
Emotion and Source Upgrades
- Emotion 11 & Source 3 Upgrade (#123) 19340db
- Merge pull request #151 from guardian/mc-get-all-from-cache 1e607b7
- Merge pull request #131 from guardian/william/update-react-v17 81edb47
- Upgrade React to v17 e92475b
- Merge pull request #154 from guardian/tw-upgrade-typescript 0783e2d
- Remove redundant null check ec8a830
- Remove redundant test case 5527dd8
- Use the project TS version in VS Code 77a9f82
- Upgrade to TypeScript 4.2.4 0d20844
- Upgrade TypeScript to 3.9.9 bb47185
- all method to get all from message cache c4fb0c5
- Merge pull request #149 from guardian/tw-update-prop-validation-to-match-dcr f71018e
- Update prop check to reflect DCR b11d44f
- Merge pull request #145 from guardian/tw-add-ophan-component-id-to-preview-link 3d47333
- Add ophanComponentId to the preview link aadbe7e
v1.1.0
Don't rely on dependencies on the window object
- Merge pull request #121 from guardian/tw-dont-use-window-guardian-automat 238e289
- Merge remote-tracking branch 'origin/main' into tw-dont-use-window-guardian-automat e8056d7
- v0.0.20 e0ed913
- v0.0.20-0 e7639b2
- Tweak dependencies and peer dependencies db0ec38
- Do not rely on window.guardian.automat bf1d296
Make BrazeMessages and LocalMessageCache available
- Merge pull request #122 from guardian/rm/update-epic-url 4133550
- Merge pull request #120 from guardian/rm/fix-peer-deps 546fa65
- Moved to new contributions epic url 3d31db0
- Added all peer dependencies as dev dependencies c336df7
- Remove peer-cli cf28f0a
- Merge pull request #116 from guardian/rm/BrazeMessageClient 75a8d58
- Fix component import for AppBanner story 20e7730
- Add NullBrazeMessages b3bcce6
- Downgrade web-sdk version to 3.1.0 578a34b
- Move logic code from BrazeMessages to logic eef6b35
- Move exports into logic-index 7955818
- Added babel plugin to resolve build-storybook error 921c956
- Babel fix for building class with properties c251983
- Add additional entry point for non-component functionality under logic.ts 0c14c95
- Get tests working and add ErrorHandler to them 4714967
- Update imports of BrazeMessageComponent c9115d6
- Added exports and fixed constructor 1f15777
- Added tests for BrazeMessageComponent and LocalMessageCache & renamed existing BrazeMessage to BrazeMessageComponent to avoid clash 483d834
- Add BrazeMessageClient (BrazeMessages in DCR) and LocalMessage Cache. 3270894
- Merge pull request #119 from guardian/tw-fix-logic-types ba5ce16
- Fix types exposed by package dd00112
- Merge pull request #118 from guardian/tw-split-entry-points afcbcf4
- Add a second entry point to the package ba15c10
- Merge pull request #115 from guardian/rm/guardian-in-2020-click-tracking f222b87
- Moved function into exported block ac94b01
- Merge pull request #117 from guardian/tw-eslint-ignore-dist 823fc6c
- Use shared function for logging clicks and close closes 9e3fdfd
- Eslint should ignore the dist directory 73e21be
- Add click tracking to GuardianIn2020 banner 9deb7dc
- Merge pull request #114 from guardian/rm/update-epic-slotname 8d3073b
- Updated slotName to be 'EndOfArticle' 7a6418b
- Merge pull request #113 from guardian/actions-setup-node 5641b26
- Update lint.yml 4ccb3a7
- Update jest.yml 76adcde
- Update chromatic.yml 82bb658
- Merge pull request #110 from guardian/rm/epic-story fae4ded
- Remove unnecessary object spread cdac8ca
- Moved all consts to top of index.stories.tsx 6992af9
- Removed @emotion/react - replacing with emotion 7d19991
- Merged index.tsx into index.stories.tsx and incorporated changes from PR feedback ee3dc1f
- Tidy types and ensure correct data is sent through to GuPreview 09a260c
- Removed redundant const from Epic b7ae93d
- Split rendering and storybook setup of Epic into two files (along lines of other components) b7994be
- Initial commit for the Braze Epic. e5f43df