Drupal 8 development – finding API changes through Drupal’s Change Records

Known for his open source and JavaScript security initiatives, Liran Tal is an award-winning software developer, security researcher, and open source champion in the JavaScript community. He's an internationally recognized GitHub Star, acknowledged for his open source advocacy, and has received the OpenJS Foundation's Pathfinder for Security for his work on Node.js security. His contributions to developer security education include leading OWASP projects, building supply chain security tools, participation in CNCF and OpenSSF initiatives, and authoring books such as O'Reilly's Serverless Security. He leads the developer advocacy team at Snyk.io and is on a mission to empower developers with better application security skills.
Sep 10, 2013 ~ 2 min read
Drupal 8 development – finding API changes through Drupal’s Change Records
share this story on

When tackling a new framework or program code, in attempt to contribute and join the development effort, one may find it difficult to navigate through the set of APIs. That’s where documentation comes in. This is the case with new comers to Drupal‘s 8th development branch as well, except we don’t really have an official documentation up and ready at our disposal. While there are blog reviews covering different parts of Drupal 8 development you might find the most important or at least up to date information that you need at Drupal’s Change Records.
The Change Records are somewhat of a changelog list which is a bit more elaborate and may specify when was the change introduced, any open issues with it, where is its impact through-out the system and even examples of making use of the new API, if present.
Taking Drupal’s 8 version of the hook_init() implementation we can browse to https://drupal.org/node/2013014 in search for that API, so for the keyword we can simply type-in init and while we can further tune the search parameters it is probably not necessary as this is a very focused area. Once running the search we can find the desired API change dating back to 05-Jun-2013 on Drupal’s 8.x version and hope the information on the change record is good enough to answer our needs.




