FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Getting changes from theme updates

    Scheduled Pinned Locked Moved Solved
    Q&A
    1
    2
    1
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • danD
      dan
      last edited by

      I am using advanced themes and wanted to know how to find out what had changed in the themed pages when a new release happens.

      I've read the instructions here.

      --
      FusionAuth - Identity Without Constraints
      https://fusionauth.io

      danD 1 Reply Last reply Reply Quote 0
      • danD
        dan @dan
        last edited by

        Because advanced themes are so customizable, they can be hard to upgrade. Here's some ways to make it easier.

        • When you create a new theme, start from the default version. Commit it to git before you change anything.
        • Use the FusionAuth CLI to download/upload your theme during development and CI/CD.
        • When a new theme comes out, clone or pull the latest from the theme history repo.
        • Run this command to see what has changed: git format-patch 1.61.0..1.64.1 --stdout > update-themes.patch (this shows the changes between 1.61.0 and 1.64.1; adjust as needed for your installed version and the target version).
        • Go to your theme git repo and apply the changes: git am --3way update-themes.patch which will attempt to automatically merge the changes. If there are conflicts, you can resolve them manually and then run git am --continue.

        You can also use a 3 way diffing tool like diff3 or kdiff3 to visualize the changes.

        These upgrade notes also provide detailed human friendly instructions on the changes.

        --
        FusionAuth - Identity Without Constraints
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • danD dan has marked this topic as solved
        • First post
          Last post