October 2025 Release
· 4 min read
This post outlines the October 2025 updates of the FDM libraries: @svenvw/fdm-app, @svenvw/fdm-calculator, @svenvw/fdm-core, and @svenvw/fdm-data. This release introduces a wide range of improvements across the application, calculation engine, and data management, focusing on enhanced user experience, improved performance, and expanded functionality.
FDM Application Enhancements (@svenvw/fdm-app)
- Fertilizer Management:
- Users can now edit previously created fertilizer applications, both for individual fields or a given cultivation type.
- The fertilizer list now displays the RVO
mestcodecolored by fertilizer type for easier identification. - The design of the fertilizer application list has been improved with icons and better spacing.
- The term "Meststoftype" has been replaced with "Mestcode (RVO)" in fertilizer forms.
- Nutrient Management:
- The nutrient advice page now shows a progress bar for nutrients with an advice of 0.
- Doses between 0 and 1 kg/ha are now displayed with a precision of 2 decimal places.
- The fertilizer applications page for a field now includes metrics for norms, nitrogen balance, and nutrient advice.
- Farm & Field Management:
- A new page has been added at farm details to manage organic certifications for a farm.
- A new page has been added at farm details to state whether the farmer has done grazing or intends it for a year.
- For cultivations, default dates based on the cultivation catalogue date are used for
b_lu_startandb_lu_endif available when adding a field with a cultivation.
- Nitrogen Balance:
- In case a field has an error at the nitrogen balance calculation, the balance at farm level and other fields are still shown, but an error message for the specific field is shown.
- Error Reporting:
- Calculation errors at nitrogen balance calculation are now submitted to Sentry.
- Other "other" errors for loaders and actions are also submitted to Sentry.
- Performance:
- The app now uses cached versions of the calculator functions for
normsandbalance.
- The app now uses cached versions of the calculator functions for
- Bug Fix:
- The atlas no longer redirects the users to an invalid route when they don't have any farms.
- Fixed link in header of fertilizers.
FDM Calculator Upgrades (@svenvw/fdm-calculator)
- Nitrogen Balance:
- The nitrogen balance can now be calculated per field instead of only per farm.
- The nitrogen balance calculation now gracefully handles errors for individual fields. Instead of failing the entire farm calculation, it will now return partial results for successfully calculated fields and provide specific error messages for fields that encountered issues.
- Nutrient Advice:
- Added
getNutrientAdviceandrequestNutrientAdviceto fetch nutrient advices from the NMI API.
- Added
- Norms:
- Added functions to calculate the norm filling by fertilizer application for NL 2025.
- Fixes to differentiate
stikstofgebruiksnormfor grassland based on "beweiden" or "volledig maaien".
- Performance:
- Added cached versions of main calculator functions for
balanceandnormsto enable caching.
- Added cached versions of main calculator functions for
FDM Core Developments (@svenvw/fdm-core)
- Cultivation:
- Adds
b_lu_start_defaultandb_date_harvest_defaultto cultivations catalogue as the default start and harvest dates of a cultivation. - Adds
getDefaultDatesOfCultivationas helper function to determine default dates for cultivations.
- Adds
- Grazing:
- Add the table
intending_grazingto store if the farm is planning to perform grazing. - Add the functions
setGrazingIntention,removeGrazingIntention,getGrazingIntentionandgetGrazingIntentionsto manage if a farm is planning to do grazing.
- Add the table
- Organic Certification:
- Add tables
organic_certificationsandorganic_certifications_holdingto store information of farm if they have organic certificates. - Add the functions
addOrganicCertification,isOrganicCertificationValid,listOrganicCertifications,getOrganicCertification, andremoveOrganicCertificationto manage organic certifications of a farm.
- Add tables
- Fertilizers:
- Add
p_type_rvoas new parameter tofertilizersCatalogue. It describes the 'Mestcode' according to RVO (Dutch government).
- Add
- Fields:
- Improve check for
b_isproductiveby checking if name contains 'buffer'. - Add the missing options for
b_acquiring_method: "In gebruik van een terreinbeherende organisatie" (nl_03), "Tijdelijk gebruik in het kader van landinrichting" (nl_04), "Pacht van geringe oppervlakten" (nl_10) and "Natuurpacht" (nl_11).
- Improve check for
- Performance:
- Add new db schema
fdm-calculatorto cache calculation results and store calculation errors. The decorator functionwithCalculationCacheenables adds the functionality to add caching to calculator functions.
- Add new db schema
FDM Data Updates (@svenvw/fdm-data)
- Cultivation Catalogue:
- Adds
b_lu_start_defaultandb_date_harvest_defaultto BRP catalogue.
- Adds
- Fertilizer Catalogue:
- Add
p_type_rvotobaatcatalogue.
- Add
FDM Docs (@svenvw/fdm-docs)
- Update and extend the documentation for 2025 Dutch Fertilizer Application Norms, e.g. explaining how filling is calculated.
These updates reflect our ongoing commitment to providing a robust and comprehensive platform for farm data management. We encourage you to explore these new features and welcome any feedback or contributions on our GitHub repository.
