Skip to content

Latest commit

 

History

History
62 lines (54 loc) · 5.31 KB

KLARO_RELEASES.md

File metadata and controls

62 lines (54 loc) · 5.31 KB

Klaro Releases

KTH/klaro-js Branch KTH/klaro-js Merge Commit master KTH/kth-style Commit main kth-style Release Name kth-style Release Date klaro-org/privacy-manager PR Notes
fix/csp-violation-for-style-attributes 71cc75b     fix: csp violation for style attributes #483 Included in older release.
fix/add-notice-title-in-swedish c17deb8     fix: add notice title in Swedish #486 Included in older release.
fix/remove-core-js 8567112 061794a 9.0.16 2024-01-09 Remove dependency to core-js #490
fix/aria-label-hidden-header 4ae5221 b656d00 9.0.18 2024-01-31 fix: aria-label when notice title is hidden #491 New release of feature that was previously released, but lost.

Example

Mission statement: You found an error in klaro and want to fix it, add it to kth-style, and make a new release.

  1. Create a new branch in KTH/klaro-js from HEAD in master, e.g. fix/not-enough-bunnies.
  2. Fix the error, e.g, commit fix: add more bunnies.
  3. Build with $ make.
  4. Commit changes in dist, e.g. build: make.
  5. Create a new branch in KTH/kth-style from HEAD in main, e.g. fix/klaro-with-more-bunnies.
  6. Copy dist/klaro-no-css.js in KTH/klaro-js to public/js/klaro-no-css.js in KTH/kth-style, branch fix/klaro-with-more-bunnies.
  7. Commit change in public/js/klaro-no-css.js, e.g. fix: klaro with more bunnies
  8. Do a prerelease of kth-style, e.g. 9.10.10-0.
  9. Test prerelease [email protected].
  10. Merge fix/klaro-with-more-bunnies into main in kth-style.
  11. Release [email protected]. 🚀
  12. Merge klaro changes in [email protected] to branch deprecation in kth-style.
  13. Merge fix/not-enough-bunnies into main in KTH/klaro-js.
  14. Keep branch fix/not-enough-bunnies in KTH/klaro-js and make a pull request to klaro-org/privacy-manager. Remember to note any dependencies to previous pull requests from KTH/klaro-js.

Git – KTH/klaro-js

%%{init: { 'gitGraph': {'mainBranchName': 'master' }}}%%
gitGraph
    commit
    commit
    branch fix/not-enough-bunnies
    checkout fix/not-enough-bunnies
    commit id: "fix: add more bunnies"
    branch "PR Added more bunnies #100"
    checkout "PR Added more bunnies #100"
    commit
    checkout master
    merge fix/not-enough-bunnies
    commit
    commit
Loading

Git – KTH/kth-style

%%{init: { 'gitGraph': {'mainBranchName': 'main' }}}%%
gitGraph
    commit
    commit
    branch fix/klaro-with-more-bunnies
    checkout fix/klaro-with-more-bunnies
    commit id: "fix: klaro with more bunnies"
    checkout main
    merge fix/klaro-with-more-bunnies
    commit
    commit
Loading