I’ve released an update to VersionTracker, my free app that builds change logs for developers. Designed to fit any workflow, language, or platform, VersionTracker can simplify your release process.
This version includes a new Markdown export format!
Additionally, this version also includes the ability to generate export formats by command line for automated pipelines. The documentation for how to use this can be found under the Help menu.
Changelog
New: Markdown export format
New: Command line generation for automated pipelines
Fixed: Export as file default naming
Fixed: Light mode selection text coloring
Versiontracker 1.4.0 on Monterey (12.1 and 12.2) shows a dialog (when saving) that it will not work in future versions of macOS and needs to be updated.
lol just I added a python formatting script because Xojo broke JSON Item pretty print.
Any update on when that will be fixed @Greg_O_Lone so I can pull that hack?
Thanks for the heads up, I’ve been avoiding Apple’s newest release because I’ve heard of so many issues. I do think I have a backup plan if Xojo is still going to ignore the issue.
(this applies to JSONItem.Compact = false as well and doesn’t appear to be related to a string variable. hopefully they don’t stick their head in the sand about it any longer since hacks and workarounds aren’t going to cut it)
Its only version 2 of python that will be removed from macOS 12.3, as it was deprecrated with Catalina (macOS Catalina 10.15 Release Notes | Apple Developer Documentation - section " Scripting Language Runtimes"), maybe you can use python 3 instead, until the JSONitem problem gets fixed:
Scripting Language Runtimes
Deprecations
Scripting language runtimes such as Python, Ruby, and Perl are included in macOS for compatibility with legacy software. Future versions of macOS won’t include scripting language runtimes by default, and might require you to install additional packages. If your software depends on scripting languages, it’s recommended that you bundle the runtime within the app. (49764202)
Use of Python 2.7 isn’t recommended as this version is included in macOS for compatibility with legacy software. Future versions of macOS won’t include Python 2.7. Instead, it’s recommended that you run python3 from within Terminal. (51097165)
It was a quick and dirty shell hack to use python to format the JSON. Shell.Execute("cat " + fTemp.ShellPath + " | python -m json.tool")
I’ve replaced like 25 lines of workaround using Einhugr. This python warning will be gone in the next build.
// Hack to work around JSONItem.Compact not working on Mac
var oJsDoc as new EinhugurJSONIII.JSONDocument
call oJsDoc.Parse(jsDoc.ToString)
sToSave = oJsDoc.GetSource(true)
There’s a JSON parser built right into the macOS.
You’ll need to convert your dictionary to a NSDictionary, but then you can utilize the Apple JSON parser, which may or (since Apple PJ) may not improve the JSON output.