Getting changes from theme updates
-
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.
-
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.patchwhich will attempt to automatically merge the changes. If there are conflicts, you can resolve them manually and then rungit 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.
-
D dan has marked this topic as solved