2021-02-04 15:07:59 +01:00
|
|
|
# Changelog
|
|
|
|
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
|
|
|
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
|
|
2021-12-27 14:23:21 +01:00
|
|
|
## [Unreleased]
|
|
|
|
|
2022-04-13 17:14:51 +02:00
|
|
|
## [2.0.0-beta4] 2022-04-13
|
|
|
|
|
2022-04-07 20:15:20 +02:00
|
|
|
### Added
|
|
|
|
|
2021-10-21 07:09:12 +02:00
|
|
|
- [Link from entities to their referenced terms and show entity views on taxonomy terms #458](https://github.com/farmOS/farmOS/pull/458).
|
2022-04-07 20:15:20 +02:00
|
|
|
- [Encourage GEOS PHP extension use #521](https://github.com/farmOS/farmOS/pull/521)
|
|
|
|
|
2022-04-07 20:58:23 +02:00
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Update [farmOS-map](https://github.com/farmOS/farmOS-map) to [v2.0.4](https://github.com/farmOS/farmOS-map/releases/tag/v2.0.4).
|
2022-04-08 01:26:13 +02:00
|
|
|
- [Issue #3270561: Upgrade to gin beta](https://www.drupal.org/project/farm/issues/3270561)
|
2022-04-07 21:45:45 +02:00
|
|
|
- [Separate Docker image build from testing jobs in run-test.yml workflow #522](https://github.com/farmOS/farmOS/pull/522)
|
2022-04-08 18:43:15 +02:00
|
|
|
- [Merge test and release workflows into a unified delivery workflow #523](https://github.com/farmOS/farmOS/pull/523)
|
2022-04-13 17:10:53 +02:00
|
|
|
- [Improve fields documentation #505](https://github.com/farmOS/farmOS/pull/505)
|
2022-04-07 20:58:23 +02:00
|
|
|
|
2022-03-21 18:39:20 +01:00
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- [Only require a name to build map popups #515](https://github.com/farmOS/farmOS/pull/515)
|
2022-03-14 21:48:32 +01:00
|
|
|
- [Issue #3269543 by paul121: Automatically remove prepopulated entities from quick forms](https://www.drupal.org/project/farm/issues/3269543)
|
2022-03-16 23:37:59 +01:00
|
|
|
- [Do not add views handlers for unsupported field types #512](https://github.com/farmOS/farmOS/pull/512)
|
2022-03-16 00:48:39 +01:00
|
|
|
- [Allow importing KML with empty geometries #510](https://github.com/farmOS/farmOS/issues/510)
|
2022-03-21 18:39:20 +01:00
|
|
|
|
2022-03-21 16:24:15 +01:00
|
|
|
### Security
|
|
|
|
|
|
|
|
- Update Drupal core to 9.3.8 for [SA-CORE-2022-005](https://www.drupal.org/sa-core-2022-005).
|
2022-03-21 23:52:26 +01:00
|
|
|
- Update Drupal core to 9.3.9 for [SA-CORE-2022-006](https://www.drupal.org/sa-core-2022-006).
|
2022-03-21 16:24:15 +01:00
|
|
|
|
2022-03-03 18:20:10 +01:00
|
|
|
## [2.0.0-beta3] 2022-03-03
|
|
|
|
|
2022-01-31 13:55:15 +01:00
|
|
|
### Added
|
|
|
|
|
|
|
|
- Document farmOS cron set-up: https://farmos.org/hosting/install#cron
|
2022-01-26 02:22:31 +01:00
|
|
|
- [Issue #3253433: Provide a helper function for loading flag options and allowed values](https://www.drupal.org/project/farm/issues/3253433)
|
2022-01-31 13:55:15 +01:00
|
|
|
|
2022-01-25 23:08:20 +01:00
|
|
|
### Changed
|
|
|
|
|
|
|
|
- [Issue #3259245: Change getGroupMembers to return an array of assets keyed by their ID](https://www.drupal.org/project/farm/issues/3259245)
|
|
|
|
|
2022-01-26 18:14:49 +01:00
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- [Issue #3260645: CSV Export in Quantities not functioning](https://www.drupal.org/project/farm/issues/3260645)
|
2022-02-06 18:35:35 +01:00
|
|
|
- [Issue #3262752: Record type menu items lose translations](https://www.drupal.org/project/farm/issues/3262752)
|
2022-02-06 18:53:03 +01:00
|
|
|
- Fix access check for "Developer information" on sensors and data streams.
|
2022-02-07 21:04:22 +01:00
|
|
|
- [Maps broken with Uncaught SyntaxError: Unexpected token '?' #501](https://github.com/farmOS/farmOS/issues/501)
|
2022-02-10 16:47:24 +01:00
|
|
|
- [Asset autocomplete breaks when asset has parentheses at the end #502](https://github.com/farmOS/farmOS/issues/502)
|
2022-02-18 13:13:21 +01:00
|
|
|
- [Issue #3265207: API keys directory failure prevents farm client creation](https://www.drupal.org/project/farm/issues/3265207)
|
2022-02-23 01:33:05 +01:00
|
|
|
- [Issue #3264564: No space rendered in field suffix](https://www.drupal.org/project/farm/issues/3264564)
|
2022-01-28 14:36:13 +01:00
|
|
|
- [Error: Call to a member function get() on null in ContentEntityGeometryNormalizer.php on line 64 #493](https://github.com/farmOS/farmOS/issues/493)
|
2022-01-26 18:14:49 +01:00
|
|
|
|
2022-02-16 18:47:27 +01:00
|
|
|
### Security
|
|
|
|
|
|
|
|
- Update Drupal core to 9.3.6 for [SA-CORE-2022-003](https://www.drupal.org/sa-core-2022-004)
|
|
|
|
and [SA-CORE-2022-004](https://www.drupal.org/sa-core-2022-004).
|
|
|
|
|
2022-01-19 19:26:47 +01:00
|
|
|
## [2.0.0-beta2] 2022-01-19
|
|
|
|
|
2022-01-05 14:09:30 +01:00
|
|
|
### Added
|
|
|
|
|
2022-01-13 22:13:39 +01:00
|
|
|
- Add a Planting quick form module.
|
2022-01-13 22:13:29 +01:00
|
|
|
- Create a dedicated section in farmOS modules form for "Quick form modules".
|
2022-01-13 22:12:31 +01:00
|
|
|
- Provide a `quantity_measure_options()` helper function.
|
2022-01-10 21:03:20 +01:00
|
|
|
- Localization module (`farm_l10n`) for enabling translations.
|
2022-01-10 05:29:03 +01:00
|
|
|
- "Other" Structure type
|
2022-01-05 14:39:57 +01:00
|
|
|
- [Open the Gin toolbar by default #470](https://github.com/farmOS/farmOS/pull/470)
|
2022-01-05 14:09:30 +01:00
|
|
|
- [Enforce that the changelog is updated with every pull request #469](https://github.com/farmOS/farmOS/pull/469)
|
|
|
|
|
2022-01-05 21:26:52 +01:00
|
|
|
### Changed
|
|
|
|
|
2022-01-05 18:31:50 +01:00
|
|
|
- Do not include archived assets in metrics count.
|
2022-01-07 15:25:14 +01:00
|
|
|
- Remove "administer farm map" from Manager role permissions.
|
2022-01-05 21:26:52 +01:00
|
|
|
- [Add allow-plugins config #467](https://github.com/farmOS/farmOS/pull/467)
|
|
|
|
|
2022-01-05 14:06:29 +01:00
|
|
|
### Fixed
|
|
|
|
|
2022-01-19 17:00:57 +01:00
|
|
|
- [Issue #3224663: Type-specific CSV exports do not respect exposed filters](https://www.drupal.org/project/farm/issues/3224663)
|
2022-01-17 13:39:26 +01:00
|
|
|
- [Improvements to sensor and data stream developer info #491](https://github.com/farmOS/farmOS/pull/491)
|
2022-01-16 23:11:43 +01:00
|
|
|
- [Data is not deleted when a data stream entity is deleted #488](https://github.com/farmOS/farmOS/issues/488)
|
2022-01-19 03:13:24 +01:00
|
|
|
- [Data does not immediately appear when posting to data streams #484](https://github.com/farmOS/farmOS/issues/484)
|
2022-01-16 22:37:00 +01:00
|
|
|
- [Route "entity.data_stream.collection" does not exist. #486](https://github.com/farmOS/farmOS/issues/486)
|
2022-01-13 22:13:19 +01:00
|
|
|
- Fix Quick Form help text so that it works with new multi-route approach.
|
2022-01-13 22:13:00 +01:00
|
|
|
- Remove entity ID from entity autocomplete form elements.
|
2022-01-14 19:47:27 +01:00
|
|
|
- [Data stream and notification permissions are not granted to managed roles. #479](https://github.com/farmOS/farmOS/issues/479)
|
2022-01-14 20:50:11 +01:00
|
|
|
- Sort locations by name, using natural sort algorithm.
|
2022-01-14 20:04:04 +01:00
|
|
|
- [Quantity module breaks config_translation #480](https://github.com/farmOS/farmOS/issues/480)
|
2022-01-12 12:50:12 +01:00
|
|
|
- [Log categories are not migrated to v2 #481](https://github.com/farmOS/farmOS/pull/481)
|
2022-01-11 14:58:29 +01:00
|
|
|
- Make local action buttons translatable.
|
2022-01-07 15:20:56 +01:00
|
|
|
- Fix permission for map settings form (/farm/settings/map).
|
2022-01-05 14:06:29 +01:00
|
|
|
- Patch `jsonapi_schema` module to fix
|
|
|
|
[Issue #3256795: Float fields have a null schema](https://www.drupal.org/project/jsonapi_schema/issues/3256795)
|
2022-01-06 17:54:28 +01:00
|
|
|
- Allow all three database tests to run even when one fails (workaround
|
|
|
|
for [Issue #3241653](https://www.drupal.org/project/farm/issues/3241653)).
|
2022-01-11 21:55:45 +01:00
|
|
|
- Run SQLite3 tests in sequence instead of in parallel (another workaround for
|
|
|
|
[Issue #3241653](https://www.drupal.org/project/farm/issues/3241653)).
|
2022-01-05 14:06:29 +01:00
|
|
|
|
2022-01-05 21:27:26 +01:00
|
|
|
### Security
|
|
|
|
|
2022-01-19 19:01:38 +01:00
|
|
|
- Update Drupal core to 9.3.3 for [SA-CORE-2022-001](https://www.drupal.org/sa-core-2022-001)
|
2022-01-05 21:27:26 +01:00
|
|
|
- Update Simple OAuth module to 5.0.6 for [SA-CONTRIB-2022-002](https://www.drupal.org/sa-contrib-2022-002)
|
|
|
|
|
2021-02-04 15:07:59 +01:00
|
|
|
## [2.0.0-beta1] 2022-01-01
|
|
|
|
|
|
|
|
farmOS 2.x is a complete rewrite of farmOS for [Drupal 9](https://www.drupal.org/about/9).
|
|
|
|
This brings many improvements, modernizations, and new features. The following
|
2022-01-05 14:06:10 +01:00
|
|
|
is a brief summary of notable changes from the 1.x branch of farmOS (aka
|
|
|
|
`7.x-1.x` for Drupal 7).
|
2021-02-04 15:07:59 +01:00
|
|
|
|
|
|
|
Detailed release notes will be included in this file with each new release
|
|
|
|
moving forward.
|
|
|
|
|
|
|
|
### Notable changes from farmOS 1.x
|
|
|
|
|
|
|
|
- Data model
|
|
|
|
- [Documented data model](https://farmOS.org/model)
|
|
|
|
- [Areas are now types of Assets](https://farmos.org/development/api/changes/#areas)
|
|
|
|
- New Asset types: Land, Structure, Water, Material, Seed
|
|
|
|
- Planting Assets are renamed to Plant
|
|
|
|
- New Log types: Lab test (merged Soil and Water tests)
|
|
|
|
- [Inventory tracking](https://farmos.org/model/logic/inventory/) for all
|
|
|
|
Asset types
|
|
|
|
- Improved [Asset location](https://farmos.org/model/logic/location/) logic,
|
|
|
|
including the ability to designate Assets as "fixed" (with intrinsic
|
|
|
|
geometry) and/or "locations" (allowing other Assets to be moved to them)
|
|
|
|
- Improved [Group membership](https://farmos.org/model/logic/group/) logic,
|
|
|
|
including member inheritence of group location
|
|
|
|
- Support for [Quantity types](https://farmos.org/model/type/quantity/#type)
|
|
|
|
- Revisions for tracking changes to records
|
|
|
|
- Improved "Data streams" framework for sensors and other time-series data
|
|
|
|
collection
|
|
|
|
- ID tags on all Asset types
|
|
|
|
- Flags can be limited by record type
|
|
|
|
- User interface/experience (UI/UX)
|
|
|
|
- Improved location hierarchy drag-and-drop editor, including ability to edit
|
|
|
|
sub-hierarchies
|
|
|
|
- Improved KML/KMZ importer for bulk Land Asset creation
|
|
|
|
- Geocoding of GeoJSON and GPX files (in addition to KML/KMZ) on individual
|
|
|
|
Assets and Logs
|
|
|
|
- Farm settings UI with simplified module installer
|
|
|
|
- [Gin](https://www.lullabot.com/podcasts/lullabot-podcast/gin-admin-theme-drupals-future-ui)
|
|
|
|
admin theme
|
|
|
|
- Improved mobile support
|
|
|
|
- APIs, libraries, and developer experience (DX)
|
|
|
|
- [Documented API changes](https://farmos.org/development/api/changes/)
|
|
|
|
- Modernized RESTful API built on [JSON:API](https://jsonapi.org/)
|
|
|
|
- [JSON Schema](https://json-schema.org/) for all API resources
|
|
|
|
- 2.x API support in [farmOS.js](https://github.com/farmOS/farmOS.js) and
|
|
|
|
[farmOS.py](https://github.com/farmOS/farmOS.py) libraries
|
|
|
|
- Updated [farmOS-map](https://github.com/farmOS/farmOS-map) library based on
|
|
|
|
[OpenLayers](https://openlayers.org/)
|
|
|
|
- Improved APIs for [module builders](https://farmos.org/development/module/)
|
|
|
|
- Object-oriented architecture based on [Symfony](https://symfony.com/)
|
|
|
|
- Dependency management via [Composer](https://getcomposer.org/)
|
|
|
|
- Automated testing via [PHPUnit](https://phpunit.de/) and
|
|
|
|
[GitHub Actions](https://github.com/farmOS/farmOS/actions)
|
|
|
|
- Coding standards enforcement via [CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer)
|
|
|
|
- Feature branch previews via [Tugboat](https://www.tugboat.qa/)
|
|
|
|
- Hosting
|
|
|
|
- PostgreSQL database support (alongside MySQL, MariaDB, and SQLite3)
|
|
|
|
- [Automated migration](https://farmos.org/hosting/migration/) from 1.x to 2.x
|
|
|
|
- Improved performance with lazy-loading code and caching options
|
|
|
|
- Improved support for translation/localization (l10n)
|
|
|
|
- Security
|
|
|
|
- Support from the [Drupal Security Team](https://www.drupal.org/drupal-security-team)
|
|
|
|
- Drupal 9 will be supported (with security updates) until November 2023.
|
|
|
|
- Drupal 10 will be released mid-2022. farmOS will be prepared to update as
|
|
|
|
soon as possible. This process will be trivial compared to the upgrade from
|
|
|
|
Drupal 7, which required a complete refactor of the codebase. By comparison,
|
|
|
|
updating from Drupal 9 to 10 will simply involve updating deprecated code.
|
|
|
|
|
2022-04-13 17:14:51 +02:00
|
|
|
[Unreleased]: https://github.com/farmOS/farmOS/compare/2.0.0-beta4...HEAD
|
|
|
|
[2.0.0-beta4]: https://github.com/farmOS/farmOS/releases/tag/2.0.0-beta4
|
2022-03-03 18:20:10 +01:00
|
|
|
[2.0.0-beta3]: https://github.com/farmOS/farmOS/releases/tag/2.0.0-beta3
|
2022-01-19 19:26:47 +01:00
|
|
|
[2.0.0-beta2]: https://github.com/farmOS/farmOS/releases/tag/2.0.0-beta2
|
2021-02-04 15:07:59 +01:00
|
|
|
[2.0.0-beta1]: https://github.com/farmOS/farmOS/releases/tag/2.0.0-beta1
|