Nablarch upgrade policy¶
Table of Contents
This section describes the upgrade policy for the content provided by Nablarch.
Nablarch releases in units called versions. A version consists of a combination of multiple modules.
In the above table, 5/5u1/5u2 are the release versions of Nablarch.
There are three types of Nablarch version upgrades.
|Content to be updated
|Make changes to the application framework that involve large-scale feature additions or functional changes.
e.g., Renewal of the execution control platform
|1 year ~
|Fix bugs, add/change functions.
e.g., Follow the latest version of Java, Addition/change of development standard
|Same as above
|Half year 
|Fix bugs in highly urgent application frameworks that have a fatal impact on security and operational levels.
|As needed 
|For bugs, we will determine the scope of impact, determine the release schedule, and release it.
|We will fix bugs immediately after detecting.
The version numbering system is as follows.
(product version number)u(update number)
e.g., 5(initial release of product version 5), 5u1(Update release 1 of product version 5)
- Product Version Number
- Incremented at minor upgrade.
e.g., Nablarch 5u6 → Nablarch 6
The starting number is 5.
- Update Number
- Incremented at revision up or bug fix.
e.g., Nablarch 5u6 → Nablarch 5u7
The starting number is 0. However, if the number is 0, no update number will be given.
Describes the backward compatibility policy of Nablarch.
Version upgrades of the Application Framework and Testing Framework (hereinafter referred to as the “Frameworks”) shall maintain backward compatibility as described in the section on Contents of backward compatibility maintenance , except in cases where Backward compatibility exception.
This backward compatibility policy covers the public APIs defined by Nablarch among the framework’s APIs. The public APIs defined by Nablarch are those with the Published annotation. When all APIs of a class are published, the Published annotation is added to the class declaration, and when individual methods are published, the Published annotation is added to the method declaration. An API without the Published annotation is a unauthorized API.
Do not use the unauthorized API in your project as the unauthorized API may be upgraded without maintaining backward compatibility. If you use unauthorized APIs in your project, backward compatibility will not be maintained when upgrading, and unexpected problems may occur.
Nablarch provides a tool to detect the use of unauthorized APIs. Please use this tool in your project to prevent the use of unauthorized APIs. For more information on the tool, see Check if unauthorized APIs are being used.
When giving Published annotations, we categorize them into those for architects and those for application programmers.
- Public API for architects → @Published(tag = “architect”)
- Public API for application programmers → @Published
Since both are public APIs and backward compatibility is maintained, there is no problem in exposing the public API for architects to application programmers at the project’s discretion.
Content other than frameworks is not subject to backward compatibility.
What does it mean to maintain backward compatibility of documents? Do you want to keep the description of the old version of the framework? But even if you don’t do that, you can solve it by looking at the old version of the documentation. The same is true for development standards. The Nablarch tool can also be solved by using the development tool for that version if you are using an older version of the design document. It may also have its own customizations. In this case, even if the API is backward compatible, it needs to be dealt with individually.
As you can see, content other than frameworks does not need to be, so it is excluded from maintaining backward compatibility.
We will upgrade Nablarch with backward compatibility in mind so that the work that occurs when upgrading Nablarch is as small as possible.
This backward compatibility policy is as follows When the framework is upgraded, consideration will be given to avoid the following as much as possible.
- Modification of existing application code.
- Modification of existing automated test code.
- Modification of existing automated test data.
Considering this backward compatibility policy, the framework can basically be upgraded by simply Specifying the version of Nablarch to use and changing the configuration file.
If any of the following applies, we may upgrade the version so that backward compatibility is not maintained.
- When changing the level or wording of the log output by the framework.
- When a framework bug is detected and cannot be fixed while maintaining backward compatibility.
- When a problem occurs due to a version upgrade of JDK, which is the environment in which the framework operates, and it cannot be fixed while maintaining backward compatibility.
If we make changes that don’t maintain backward compatibility, we’ll explain what they’re doing and how to deal with them in the “Impact on the system and how to deal with it(システムへの影響の可能性の内容と対処)” section of the Release Notes(Japanese Page).