Install
Works with Drupal: ^10.5 || ^11.2Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
This release includes the following high level improvements:
- Per Tripal Content Type permissions
- New Field types, widgets and formatters including a Markup field for instructions and the ability to embed view modes in linked pages (e.g. embed analysis view in a gene page)
- ChadoBuddies to support direct interactions with Chado. Specifically, cvterms, dbxrefs, properties, organisms and stocks
- Support for Stock collections
- Better support for custom tables throughout Tripal DBX and Tripal Content Types
- Drush command to import publications and populate materialized views
- a LOT of bug and quality of life fixes!
We have prioritized update hooks for all fixes and updates so this version should be directly compatible with a site created by previous 4.0.0 alpha versions. This version has been tested on multiple production websites already with real data but is still alpha so there may be bugs or unexpected behaviour. Please let the Tripal core development team know if you encounter any problems so we can prioritize fixes.
Compatibility
This version was tested automatically on the following version combinations. Additionally PostgreSQL 14 and 18 compatibility was confirmed.
| Drupal | 10.5.x | 10.6.x | 11.2.x | 11.3.x |
|---|---|---|---|---|
| PHP 8.2 | ✔ | ✔ | ||
| PHP 8.3 | ✔ | ✔ | ✔ | ✔ |
| PHP 8.4 | ✔ | ✔ | ✔ | ✔ |
| PHP 8.5 | ✔ |
What's Changed
Deprecations
- Handle deprecated getEntityTypeIdKeyType() by @dsenalik in #2431
- user_load_by_name is deprecated by @dsenalik in #2450
- filter module dependency as of drupal 11.4 by @dsenalik in #2458
Bug Fixes
- Add Field::mainDisplayPropertyName() for use as the title/url token value and fix Field::mainDisplayPropertyName() by @laceysanderson in #2320
- Chado custom tables do not have foreign keys by @dsenalik in #2336
- Add idspace name to cache key so it is unique by @dsenalik in #2330
- Add missing "1:" prefix in select in ChadoRecords et al. by @dsenalik in #2327
- Chado custom tables with nullable columns unique constraint by @dsenalik in #2291
- Fix the latest pubmed brittle tests by @dsenalik in #2357
- Add missing use statements to entity hook by @dsenalik in #2374
- Docker will build even if qlty.sh is down by @dsenalik in #2334
- Update chado buddy associateDbxref to not fail if already associated by @dsenalik in #2349
- Resolve io()->success() to stderr problem by @dsenalik in #2376
- Reduce external site dependencies - obo files by @dsenalik in #2364
- Fields configured as hidden will be hidden by @dsenalik in #2379
- Fixes missing column when adding linking method for field by @dsenalik in #2397
- Change how we ignore external deprecations by @dsenalik in #2395
- +PHP 8.5, -PHP 8.1, +Drupal 10.6, +Drupal 11.3, -Drupal 10.4, -Drupal 11.1 by @dsenalik in #2370
- Correct incorrect attributes for integer field by @dsenalik in #2405
- Do not load config if module not active by @dsenalik in #2415
- Devcontainer not building on Mac Silicon with newest docker desktop version by @laceysanderson in #2427
- Ensure Tripal Field UI "Type Table and Column" uses the right column by @laceysanderson in #2429
- Implement content type postDelete to finish unpublish process by @dsenalik in #2418
- There is no username arg for trp-import-types by @dsenalik in #2433
- Chado buddy should support custom tables by @dsenalik in #2350
- Mark test skipped if EBI OLS is down by @dsenalik in #2442
- Remove unimplemented routes which cause WSOD by @dsenalik in #2441
- Add another EBI OLS known error message by @dsenalik in #2447
- ChadoTermMapping is not a bundle by @dsenalik in #2452
Content Pages, Fields + Display
- Embedded Entity Formatter for Chado Linker Table fields by @vidu-wil in #2324
- Handle foreign keys from database properly by @dsenalik in #2381
- All fields need to implement generateSampleValue() so that we can generate good tests. by @laceysanderson in #2389
- Per Tripal Content Type permissions by @vidu-wil in #2333
- Ensure that TripalTerms created by TripalDefaultIdSpace know their id/vocab plugin by @laceysanderson in #2413
- New fields to better support stockcollections by @laceysanderson in #2268
- Allow UI to create content types based on chado custom tables by @dsenalik in #2421
- Tripal markup field: provide static text on Tripal Content form and page. by @laceysanderson in #2438
- Lookup chado record for an ID without making backend storage assumptions by @laceysanderson in #2446
Biological Data Storage + Import
- Coding standards for chado buddy by @dsenalik in #2348
- Drush trp check terms command missing some obsolete vocabs by @dsenalik in #2313
- Coding standards for tripaldbx by @dsenalik in #2358
- Renamed default chado schema remains default by @dsenalik in #2375
- Rename and fix mview destroy and add phpunit tests by @dsenalik in #2386
- Create ChadoBuddy Plugin Organism by @carolyncaron in #2372
- Add getter and setter for chado buddy schema name by @dsenalik in #2410
- OBO importer fixTermMismatch() problem by @dsenalik in #2383
- Drush command to import publications by @dsenalik in #2403
- Existing buddy associate functions return int instead of bool by @dsenalik in #2460
Automated Testing
- We missed one Drupal 10.x - PHP 8.4 incompatibility by @dsenalik in #2318
- Update ChadoTestTrait to resolve PHP 8.4 deprecations and meet coding standards by @carolyncaron in #2341
- Work on updating deprecations by @laceysanderson in #2343
- Deprecated in Drupal 11.3 and removed in Drupal 12 by @dsenalik in #2356
- Deprecated in Drupal 11.3 and removed in Drupal 12 for external modules by @dsenalik in #2362
- Deprecated in Drupal 11.3 and removed in Drupal 12 - final fix by @dsenalik in #2365
- Update minimum supported postgres version from 13 to 14 by @dsenalik in #2353
- Update test-action versions and use devtools generated workflows. by @laceysanderson in #2378
- Improve test helpers by @laceysanderson in #2394
- Added field group deprecations related to theme and plugins. by @laceysanderson in #2435
Other Changes
- Update versions to 4.0.0-alpha4 by @dsenalik in #2312
- Add php 8.4 support - 1 of 2 by @dsenalik in #2315
- Drupal coding standards for publishing 📰 by @dsenalik in #2219
- Add php 8.4 support - 2 of 2 by @dsenalik in #2314
- add missing StringTranslationTrait by @dsenalik in #2322
- Add two missing links to tripal admin menu by @dsenalik in #2346
- Work on updating deprecations: Tripal Chado by @laceysanderson in #2351
- Support postgresql 18 - 2 of 2 by @dsenalik in #2369
- Support postgresql 18 - 1 of 2 - no merge required by @dsenalik in #2368
- Tripal chado services coding standards by @dsenalik in #2408
- Creates a drush command to populate materialized views by @dsenalik in #2392
- Drush command coding standards, dependency injection, and test coverage by @dsenalik in #2399
- Gin theme toolbar is going away by @dsenalik in #2443
Full Changelog: 4.0.0-alpha3...4.0.0-alpha4