Change History for 9.2.7

December 2026

General new and improved

  • AI report writing in the MCP server. Claude/Codex etc can create MoneyWorks reports for you in the MoneyWorks report writer. The AI can also look at existing reports and explain how they work and modify them for you, or create new reports from scratch.
  • AI script writing in the MCP server. Claude/Codex etc can create MoneyWorks scripts for you directly in the script editor. The AI can also look at existing scripts and explain how they work and modify them for you, or create new scripts from scratch.
  • Transaction.EnterDate is now set with second precision for new transactions instead of day precision. Be aware that if you have reports or scripts that rely on it being an exact date rather than a date-time, they may need adjustment. Change any search for e.g. EnterDate = Today() to EnterDate >= Today()
  • Pasting into fields on Windows now just removes illegal characters for the field, rather than complaining about them (Mac version has done this for a while).
  • Many improvements to error/status reporting from MCP server to AI client
  • Various fixes to report formatting
  • Fixed “currency error” caused by failing to prevent a base currency Name cash sale/purchase being coded to a foreign currency bank account
  • Bug fixes in several reports
  • New report variables SubSummaryScopeField, SubSummaryScopeFieldLength
  • Drill-down to details from analysis etc is now much faster with high network latency
  • Report chart y-axis labels now have better sizing for small decimals in the 0.0–1.0 range
  • Fixed doubled detail line contextual menu items on unposted transactions on Windows
  • Printing from Account Enquiry balances prevent omission of first column
  • Form testing: Wordwrapped column text was not cleared between tests
  • Form columns now support transaction, key, and builtin images
  • Product Enquiry supports Custom1-8 fields for breakdown in chart view
  • Sales Enquiry in toolbar for products on Express
  • Remove Gold-only fields form breakdown popup on Express/CB
  • Cosmetic fix to sales enquiry breakdown popup on Windows
  • Fix Sales Enquiry chart click affecting legend spacing
  • Updated libpng on Windows for CVE-2026-46675
  • Updated licence links in About credits to use https
  • Fix Windows IWebBrowser2 webviews not opening links in browser as expected
  • Work around macOS 27 falsely claiming that MoneyWorks is “running in the background” after updating
  • Improve error reporting from the MCP server to make it easier to troubleshoot notwork-security software blocking the server’s connection to the app
  • Pasting multiline text into a form text object now resizes the object to fit immediately on Mac
  • Asset register; fix incorrect parsing of disposal date
  • Expression editor enforces expression length again rather than silently truncating
  • Some standard scripts are now demand-loaded rather than preloaded
  • Fixed bank statement importer failing to discard an active amount field when replacing the entire import by dragging in a new source file
  • Sidebar reports that used *Found now use *FoundOrAll so that the can be used from REST
  • Entry fields on Mac now disable “Smart Copy/Paste” by default, since it is so painful for editing expressions

Server

  • Mac Datacentre will no longer run as moneyworks_server and the moneyworks_server user will be removed. From 9.2.7 older installations will be migrated to new location
  • Fixed a one-off silent crash of service on first install on Windows
  • Daemons no longer reuse ports before TIME_WAIT — this was a holdover from Gold sharing
  • Address a potential crash following a client reconnection after a TCP connection drop on a busy server
  • Improved error messages around manual connection with wrong TLS setting, and no longer report network drop as SSL problem when it is just a network problem
  • Mac Datacentre update now runs the update install itself rather than launching the GUI installer
  • Mac Datacentre property list now has entries to properly indicatethe product in the system settings permissions areas
  • Windows Datacentre installer for 9.2.5/9.2.6 was missing the simple-acme installation

Scripting

  • Changes to REST (and CLI) import command response: Previously any record with an error in an import would result in a 422 Unprocessable entity response from REST, even if other records in a multi-record import were successfully imported or updated. Obviously this was bad. From v9.2.7 422 will now only be reported if nothing was changed. If any record was created or updated, but some records in the import were rejected, the REST server will now return a 207 code with a text/plain output indicating the success/error counts e.g. created: 1; updated: 0; errors: 1; last_seq: 6252 and that will be followed by any error messages. For no errors, the http code will still be 200 OK as usual
  • Importing into user and user2 now provide last_seq
  • REST//list can also be requested as REST/folder/list for the benefit of UAs that cannot make a request with //
  • Fixed “you do not have write access to the file folder” when saving a .mwpkgd
  • The Import() function and /import endpoint now respect the Import privilege. If you have automations that import data via REST, make sure the REST user login has the required privilege
  • moneyworks://auth/ URL scheme for external OAuth2 flows. See moneyworks://auth/ URL scheme for external OAuth2
  • Fixed “you do not have write access to the file folder” when saving a .mwpkgd
  • Fixed expressions in reports and other places being limited/truncated to 254 characters instead of 255
  • Added ColourNum alias to return the actual numeric value of the colour field instead of converting it to a name
  • Fixed crash with very long custom control identifiers
  • CLI now loads persistent properties if it is loading scripts
  • syntaxcolour cmd added to CLI man page
  • syntaxcolour cmd no longer has doubled output for errors
  • syntaxcolour cmd now works on Windows
  • Script editor ⌘-F with selection → immediately highlight matches and enter selected text into Find box
  • Global vars are now available in SetupReport handlers
  • Script editor scans files in a .mwpkgd for changes on app resume, so that you can edit files in VS Code etc
  • CLI convertreport src='input_path.crep' dst='output_path.yaml' Converts a custom report to YAML (or vice versa). This is useful primarily for git version history or diff’ing, or for easy searching across an entire library of reports (YAML format exists so that LLMs can read and write reports).
  • A script load failure now presents an alert rather than just silently logging an error. This is to make it obvious when a load-order-sensitive script fails after the load order is changed
  • Fixed SwizzleHandler crash if you delete a swizzled name from inside that named handler
  • DoReport()//doreport is now much smarter about type inference of parameters, handling of a custom From period parameter, and DoReport() will automatically evaluate client side invisible controls for things like highlighted selection. It also has much improved error message propagation. Reports should now be able to expect that their custom control auto-instantiated variables will be of the control’s type, as they are when run normally, rather than changing to text type when run from doreport
  • Runtime errors in embedded scripts will no longer inappropriately invoke the debugger/li>
  • CreateEmptyDocument function analogous to the applescript make new document
  • StartHTTPServer has options for keepAlive and httpLogging
  • Script compiler now ignores all lines beginning with #, treating them as comments, but may interpret pragmas in future
  • Top level windows now reopen on the same screen they were positioned on
  • DeleteTempFile(path) function
  • Fixed some incorrect attributes in xmlschema output
  • CLI debugger detects terminal capabilities before using ANSI colours
  • Windowed mode in the CLI debugger (-G)
  • MWScript no longer emits warnings in the log that an identifier hides an intrinsic function/global (but the hiding identifier will be purple where it is declared in the script). Any identifier should be able to be redeclared except for script keywords (like on/end/if/foreach)
  • CreateReportFromYAML(yaml) function creates a .crep in TMP from yaml input
  • convertpkg CLI command converts between all package formats
  • CLI usage page revised
  • doreport() now works with .srep files
  • YAML lexer in script editor
  • Script package lifecycle improvements, especially when loaded into app domain, or directly into CLI
  • .mwapp package format loads a package into app domain without opening a script window. Currently limited to Cognito-signed packages
  • RoundingMode global has the rounding setting for the document: RoundHalfEven or RoundHalfAwayFromZero
  • XML importing now supports <detail.unitprice inclusive="true"> for specifying that the imported price is tax-inclusive; this will set the tax-inclusive flag bit on the line item, and cause the detail.net import to set the gross and tax as well. This should only be used when the product pricecode is tax-inclusive
Posted in Change History | Comments Off on Change History for 9.2.7