Files
directus/changelog.md
Pascal Jufer a2a35aaab5 Add support for _FILE environment variables (#6101)
* Add support for _FILE environment variables

* Enhance processing of _FILE env vars

* Same processing as with other env vars (do not simply treat as string)
- tested successfully
* Warn if both variables are set (EXAMPLE and EXAMPLE_FILE)
* Add comments to make it easier to understand the code

* Set newKey only after file read was successful

* Don't convert value > MAX_SAFE_INTEGER to number

Thanks to @skizer!

As stated by @skizer (from #6119):
  Altho it seems that we do have a numerical value
  it can happen that its outside of Number.MAX_SAFE_INTEGER
  thus resulting in a change of the original intended value
  e.g oauth -> discord -> client_id

* Fix recursive logger-env import

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-06-09 14:08:26 -04:00

19 KiB

Changelog

Changes marked with a ⚠️ contain potential breaking changes depending on your use of the package.

v9.0.0-rc.74 (June 7, 2021)

New Features

🚀 Improvements

📝 Documentation

📦 Dependency Updates

v9.0.0-rc.73 (June 4, 2021)

🐛 Bug Fixes

  • App
    • #6060 Fixed issue that would prevent the corresponding o2m field from being created on m2o relational setup (@rijkvanzanten)
    • #6056 Fixed issue that would cause the whole row to be draggable in the list-type interfaces (@rijkvanzanten)
    • #6053 Fixed issue that would prevent the display tab to show for o2m type fields in field-setup (@rijkvanzanten)
    • #6052 Fixed issue in collection color reading for tables that weren't configured in directus yet (@rijkvanzanten)
    • #6049 Fixed right click handler not extending beyond nav items (@rijkvanzanten)
  • API
    • #6059 Fixed unique constraint violation error extraction for MySQL 5.7 (@rijkvanzanten)
    • #6058 Fixed issue that would prevent creation relations to an unsigned auto-incremented primary key in MariaDB (@rijkvanzanten)
    • #6055 Fixed an issue that would cause "text" fields to show up as varchar with length -1 in MS SQL (@rijkvanzanten)
    • #6054 Fixed issue that would prevent usage of limit -1 on deep limit (@rijkvanzanten)
    • #6048 Fixed issue that could trigger update actions of children on manual sorting of a parent o2m instance (@rijkvanzanten)
  • schema
    • #6058 Fixed issue that would prevent creation relations to an unsigned auto-incremented primary key in MariaDB (@rijkvanzanten)

📝 Documentation

v9.0.0-rc.72 (June 3, 2021)

New Features

  • App

🚀 Improvements

🐛 Bug Fixes

  • API
    • #6045 Fix external query during transaction in foreign key constraint creation (@rijkvanzanten)
    • #6043 Prevent foreign key constraint names from exceeding 64 characters (@rijkvanzanten)
    • #6042 Fixed issue that would prevent relationship updates on foreign key constraints with a custom index name (@rijkvanzanten)
  • Docker
    • #6044 Reduce the image layers by combining RUN statements; and fix build permissions for issue #6023 (@t7tran)

📝 Documentation

📦 Dependency Updates

v9.0.0-rc.71 (June 2, 2021)

🚀 Improvements

🐛 Bug Fixes

📝 Documentation

📦 Dependency Updates

9.0.0-rc.70 (June 1, 2021)

New Features

  • API
    • #5615 added support for mirroring foreign key constraints with the database (@rijkvanzanten)
    • #5795 added support for new environment variables that allow you to control maximum asset generation parameters (@rijkvanzanten)
    • #5855 added support for deep filtering on many-to-any items (@rijkvanzanten)

🚀 Improvements

🐛 Bug Fixes

  • API
    • #5763 fixed an issue that could cause updates on o2m items to fail (@MiniDigger)
    • #5806 fixed an issue that could cause _or filters to shortcircuit (@rijkvanzanten)
    • 95307ce fixed an issue that would prevent nested one to many item updates to store the correct parent revision (@rijkvanzanten)
  • App
    • #5810 fixed custom fields on system collections not aligning to the configured sort order (@rijkvanzanten5810)
    • 158316f fixed a small issue that would prevent the advanced filter field selection from allowing multiple nested fields from being opened (@rijkvanzanten)
    • 246c552 fixed an issue that would require non-null fields to be submitted in every GraphQL mutation (@rijkvanzanten)
    • 5506214 fixed fallback interface for boolean type fields (@rijkvanzanten)
    • b782eba fixed an issue that would make custom field translations disappear when reordering the fields in settings (@rijkvanzanten)
    • bd6cab8 fixed an issue that would cause the relational setup to auto generate an invalid name when making a recursive many-to-many field (@rijkvanzanten)
    • 8590eec fix collection search when using custom nav override structure (@Oreilles)
    • dee8160 fixed an issue where dragging an event in the calendar layout could save with the wrong timezone when using a datetime field (@rijkvanzanten)
    • 374e6e5 don't let v-error messages overflow the bounding box of the dialog (@rijkvanzanten)
    • 2660c39 fixed an issue that would prevent the user from continuing in field setup when using an existing junction table for a many-to-many relationship (@rijkvanzanten)
    • de0b962 fixed the highlight color of a selected folder in the move-folder dialog (@rijkvanzanten)
  • drive-azure
    • #5788 fixed an issue that would cause file reads from S3/Azure to be double-prefixed with the storage root option (@aidenfoxx)
  • drive-s3
    • #5788 fixed an issue that would cause file reads from S3/Azure to be double-prefixed with the storage root option (@aidenfoxx)
    • eb68195 fixed an issue that would cause issues when leaving ACL empty (@rijkvanzanten)
    • 925c3fa fixed an issue that would prevent Range header requests from sending the correct chunk of data (@rijkvanzanten)
  • gatsby-source-directus
  • schema

📝 Documentation