pawarprasad123 opened a new pull request, #606:
URL: https://github.com/apache/atlas/pull/606

   ## What changes were proposed in this pull request?
   
   Upgrade Handlebars from 1.0.0-rc.3 → 4.7.9
   
   This change updates the vendored Handlebars bundle used by the RequireJS 
build and keeps the require-handlebars-plugin (hbs, i18nprecompile) in sync 
with Handlebars 4.x parser/compiler behavior, so precompilation and dev builds 
work without template/runtime version mismatches.
   
   Handlebars runtime: Replaced/updated the bundled UMD build under 
public/js/external_lib/require-handlebars-plugin/js/handlebars.js to Handlebars 
4.7.9 (version comment at top of file).
   
   AMD loader / precompile: hbs.js – Adjusted for Handlebars 4.x AST (e.g. 
Program body shape, CommentStatement, path/helper scanning) so the plugin can 
parse templates and list dependencies correctly.
   
   App helpers: modules/Helpers.js – No behavioral change required for the 
version bump in most cases; custom helpers stay registered the same.
   
   RequireJS paths: main.js, migration.js – Still map handlebars / hbs / 
i18nprecompile to external_lib/require-handlebars-plugin/js/... (verify paths 
unchanged ).
   
   
   ## How was this patch tested?
   Manual tested.
   <img width="1835" height="1098" alt="Screenshot from 2026-04-24 19-44-38" 
src="https://github.com/user-attachments/assets/fcd2ef03-6baf-4902-a32e-5572974b97e1";
 />
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to