4D Blog

Home Product Follow 4D version : A Smarter Way to Manage your Dependencies

Follow 4D version : A Smarter Way to Manage your Dependencies

April 23, 2025

Product

Great news! When adding a dependency from GitHub, you now have access to a brand-new rule: Follow 4D version. This powerful addition ensures your dependencies stay in sync with your 4D environment effortlessly, reducing compatibility issues and making your workflow smoother than ever.

SIMPLIFY YOUR DEPENDENCY MANAGEMENT

With the Follow 4D version rule, you no longer need to manually track which dependency versions align with your 4D version. The Dependency Manager takes care of it for you, ensuring that the most relevant and compatible versions are selected automatically. This means:

  • Less manual work : no need to search for the right versions yourself.
  • Fewer compatibility issues : your dependencies always match your 4D environment.
  • More stability : keep your project running smoothly, even when updating or downgrading 4D.

EFFORTLESS UPDATES & RELIABLE COMPATIBILITY

When you upgrade your 4D version, your dependencies remain valid, and you can easily fetch the latest compatible versions. If you downgrade, the system will automatically adjust your dependencies to match your new version.

TAGGING RELEASES FOR AUTOMATIC RESOLUTION

To make this system work effectively, contributors must ensure that dependencies follow a structured tag naming convention. The Dependency Manager will resolve dependencies based on these versioning rules:

LTS versions : Tags must follow the pattern x.y.p, where:

  • x represents the major 4D version.
  • y represents the minor version.
  • p allows flexibility for patch versions or additional updates.

 

Example: 20.2.3 (Major: 20, Minor: 2, Patch: 3) or 21.6.1 (Major: 21, Minor: 6, Patch: 1).

When your project specifies that it follows a 4D LTS version (e.g., 20.2), the Component Manager will always try to resolve to the latest version in that 20.* series if it’s available. If the exact version you’re looking for isn’t found, it will automatically fall back to an earlier version in that series, like 20.1.p or 20.0.p, if those are available.

R releases : Tags must follow the pattern `xRy.p`, where:

  • xR corresponds to the major release version.
  • y represents the minor version.
  • p allows for patches and incremental updates.

 

Example: 20R3.2 (Major: 20R, Minor: 3, Patch: 2) or 21R5.1 (Major: 21R, Minor: 5, Patch: 1).

When your project specifies an R release like 20R3, the Component Manager will first try to resolve to the latest version in the 20R3.p series. If that version isn’t available, it will look for a version in the 20R* series that’s lower than or equal to 20R3, such as 20R2.p or 20R1.p.

4DPop and 4DPop-Macros components already adhere to the structured tagging conventions and will ensure smooth dependency resolution with the Follow 4D version rule.

Note that if you have your own components with custom naming rules, you can keep your version number in the title. However, the tag should strictly follow the required format.

FOCUS ON YOUR CODE, NOT YOUR DEPENDENCIES

With Follow 4D version, managing dependencies has never been this simple. Whether you’re upgrading, downgrading, or maintaining your project, you can trust that your dependencies will always align with your 4D environment.

Try it now and experience a smarter, hassle-free way to manage dependencies!

Discuss

Tags 20 R9, 21, Component Manager

Latest related posts

  • May 20, 2025

    Automatic Refresh of OEM Build Licenses

  • May 16, 2025

    New class to handle incoming TCP connections

  • April 29, 2025

    Discover your AI-powered writing assistant in 4D Write Pro

David Azancot
David Azancot
• 4D for iOS Product Owner •David Azancot joined the 4D Product team as a Product Owner in 2017. He's in charge of writing the user stories and translating them into functional specifications. His role also includes making sure that feature implementations meet customers' needs.David graduated with an MBA in Marketing, Internet and Mobility from the Leonard De Vinci Institute and began his career in 2011 with a mobile start-up company, later acquired by Madvertise (a mobile marketing group). Passionate about mobile interfaces, he was the natural choice to develop interactive mobile ad formats for the group in 2015. In parallel, David has been developing his own iOS and Android applications since 2012.
  • Deutsch
  • Français
  • English
  • Português
  • Čeština
  • Español
  • Italiano
  • 日本語

Categories

Browse categories

  • 4D View Pro
  • 4D Write Pro
  • 4D for Mobile
  • Email
  • Development Mode
  • 4D Language
  • ORDA
  • User Interface / GUI
  • Qodly Studio
  • Server
  • Maintenance
  • Deployment
  • 4D Tutorials
  • Generic
  • 4D Summit sessions and other online videos

Tags

4D-Analyzer 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 20 R8 20 R9 Administration Authentication Build application CI/CD Class Client/Server Code editor Collections Compatibility settings Formula Listbox Logs Mail Microsoft 365 Network Objects ORDA PDF Pictures Preemptive Programming Qodly Studio REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience v20 vscode Web Word processor

Tags

4D-Analyzer 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 20 R8 20 R9 Administration Authentication Build application CI/CD Class Client/Server Code editor Collections Compatibility settings Formula Listbox Logs Mail Microsoft 365 Network Objects ORDA PDF Pictures Preemptive Programming Qodly Studio REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience v20 vscode Web Word processor
Subscribe to 4D Newsletter

© 2025 4D SAS - All rights reserved
Terms & Conditions | Legal Notices | Data Policy | Cookie Policy | Contact us | Write for us


Subscribe to 4D Newsletter

* Your privacy is very important to us. Please click here to view our Policy

Contact us

Got a question, suggestion or just want to get in touch with the 4D bloggers? Drop us a line!

* Your privacy is very important to us. Please click here to view our Policy