All code nodes stuck in loop after upgrade to v 1.99.1

I just updated to v 1.99.1, but now all code nodes in all workflows are stuck in endless loop. Everything worked fine yesterday, but fails after upgrade. I have read other posts regarding same issue, but have not found a good solution for it. Hosting n8n on Railway.

Hello there,
Could you please provide an example workflow where this issue has occurred?

Hi,
All code nodes are affected. They usually have JS, like the one below. Rolled back to version [email protected], and now all code nodes steps work again.

for (const item of $input.all()) {
  const currentDate = new Date(item.json.currentDate);
  const nextMonth = (currentDate.getMonth() + 2) % 12 || 12;
  
  // Array of month abbreviations
  const monthNames = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
  
  // Add both number and name
  item.json.nextMonthNumber = nextMonth;
  item.json.nextMonthName = monthNames[nextMonth - 1];
}
return $input.all();

Hey, I have a some issue.

@n8n team, How to resolve it?

SOLVED: Issue fixed in 1.101.