Skip to content

Releases: jermdavis/PatchMaker

Version 1.6.1

16 Apr 21:22
b437157
Compare
Choose a tag to compare

Adds the ability to acquire the Sitecore.Kernel.dll (needed to preview patches - but not included in the release for licensing reasons) file direct from Nuget. Once the download completes, restarting the app will enable previewing of patches.

Version 1.6.0

16 Apr 11:50
4356ec9
Compare
Choose a tag to compare

Adds better support for rule based config. All of the patch creation dialogs now have a button to allow you to add rules when you define a patch. When patches are generated the appropriate namespaces and attributes are added to the patch in the correct locations.

Version 1.5.5

13 Apr 20:28
713e4f6
Compare
Choose a tag to compare

No functional changes, but a load of code clean-up internally.

Version 1.5.4

13 Apr 11:34
Compare
Choose a tag to compare

Fixes two bugs in how patches are created, which stemmed from config XML elements whose attributes included xpath queries in them. Previous releases did not handle these situations correctly, so elements with things like ref="/sitecore/something[@name='web']" in them would cause a crashes when generating patches.

Code now handles the correct choice of quotes, to avoid nesting issues, and looks at the depth of the clause when considering where to split xpath into "parent" and "child" queries for patching.

Version 1.5.3

11 Apr 20:16
27976ac
Compare
Choose a tag to compare

Fix for issue #48 - where trying to preview a patch that is based on a patch file will generate wrong results. Sitecore's patching engine doesn't like this scenario, so the attempt at fixing it does two things;

  • It will try to detect if the source file is a patch file before running the preview processing
  • If so, it will remove the patch-related things from the source file

Version 1.5.2

09 Apr 10:39
5153ccb
Compare
Choose a tag to compare

Bugfix for issue raised in #45 - preventing a crash caused by generating invalid xpath in some circumstances.

Version 1.5.1

08 May 08:23
85e44b8
Compare
Choose a tag to compare

Assorted small fixes to get rid of some rough edges.

Fixed some tab ordering, moved a couple of buttons for consistency and gave all the buttons alt-key shortcuts.
Fixed an issue where generating a patch with errors could crash the preview window.
Added a "scroll to next patched line" button in the preview window.

Version 1.5

04 May 20:57
96c032a
Compare
Choose a tag to compare

Improves the preview behaviour of the app, by making use of Sitecore v9's role-based patching API.

When you generate a patch, there is now a "roles" button to click. That opens a dialog which lets you configure the role config. When you preview your patch, this data is applied to the Sitecore patching engine, so your preview will be accurate. (Though it will only process the source file and the patch you're creating - it does not pull in all the other config files at this point)

Note this means you now require a Sitecore v9 kernel dll in order to enable the preview UI. Older versions will not work.

Version 1.4.3

02 May 11:07
cd94e36
Compare
Choose a tag to compare

Makes another couple of tweaks to namespace handling, so it is easier to work with extra namespaces in your patches.

Version 1.4.2

01 May 21:34
8228613
Compare
Choose a tag to compare

Attempting to resolve the "namespaces in your patches" issue. You can now declare new elements (for patch:insert, patch:instead or new elements) which include namespaces. You need to declare the namespace on your new element.

If the namespaces are declared on the root of your source xml, then they will be removed from your new element.

(Note that due to the way Sitecore's patch processing works, the preview UI will not work well for patches that include namespaces such as "role")