Laravel Mail Editor Versions Save

MailEclipse :zap: Laravel Mail Editor

v3.5.0

2 years ago

Version 3.5.0

Changes

  • The structure of the config file for the relations section. It will fallback to loading one by default. This is a change that is accounted for and defaults if it uses the old config structure. It is recommended that you update to the new one for this entry in the configuration file.

New Structure:


    /*
    |--------------------------------------------------------------------------
    | Relationship loading.
    |--------------------------------------------------------------------------
    |
    | This configures how deep the package will search an load relations.
    | If you set this to 0, relations will not be loaded.
    |
+    | relation_depth: off = 0, min = 1, max = 5
+    | model: this is the model to use to exclude methods when searching.
    |
    | N.B. This does not configure how many many relationship types are loaded.
    */
-    'relation_depth' => env('MAILECLIPSE_RELATION_DEPTH', 2),
+    'relations' => [
+        'relation_depth' => env('MAILECLIPSE_RELATION_DEPTH', 2),
+        'model' => \Illuminate\Foundation\Auth\User::class,
+    ],

Use this to copy to the new file:

    /*
    |--------------------------------------------------------------------------
    | Relationship loading.
    |--------------------------------------------------------------------------
    |
    | This configures how deep the package will search an load relations.
    | If you set this to 0, relations will not be loaded.
    |
    | relation_depth: off = 0, min = 1, max = 5
    | model: this is the model to use to exclude methods when searching.
    |
    | N.B. This does not configure how many many relationship types are loaded.
    */
    'relations' => [
        'relation_depth' => env('MAILECLIPSE_RELATION_DEPTH', 2),
        'model' => \Illuminate\Foundation\Auth\User::class,
    ],

Fixes

v3.4.2

2 years ago

Fixes

  • issue where package would try to search for string type of a parameter and fail. #178

v3.4.1

2 years ago

Add development env to the allowed environments in the config by default as many using it instead of the local

v3.4.0

2 years ago

This release will resolve the issue that has been brought up in issue #63 where relations weren't being loaded and affected the calling of relations inside emails or mailables.

Fixes

  • Fixes issue #63

Addition

  • Discovery and loading of relations that have factories
  • New config for depth of searching see below for new addition

new config value

    /*
    |--------------------------------------------------------------------------
    | Relationship loading depth
    |--------------------------------------------------------------------------
    |
    | This configures how deep the package will search an load relations.
    | If you set this to 0, relations will not be loaded.
    |
    | off = 0, min = 1, max = 5
    |
    | N.B. This does not configure how many many relationship types are loaded.
    */

    'relation_depth' => env('MAILECLIPSE_RELATION_DEPTH', 2),

v2.3.0

2 years ago

This release will resolve the issue that has been brought up in issue #63 where relations weren't being loaded and affected the calling of relations inside emails or mailables.

Fixes

  • Fixes issue #63

Addition

  • Discovery and loading of relations that have factories
  • New config for depth of searching see below for new addition

new config value

    /*
    |--------------------------------------------------------------------------
    | Relationship loading depth
    |--------------------------------------------------------------------------
    |
    | This configures how deep the package will search an load relations.
    | If you set this to 0, relations will not be loaded.
    |
    | off = 0, min = 1, max = 5
    |
    | N.B. This does not configure how many many relationship types are loaded.
    */

    'relation_depth' => env('MAILECLIPSE_RELATION_DEPTH', 2),

v2.2.5

2 years ago

Small patch release to add some feedback.

Fixes

  • This adds a error message to the check for allowed environments from the Maileclispe config #152

Chore

  • Made the return type described in the docblock correct. see 8b21ed764f7653e6c5dd1f5a9f82d19160bb4728 (#152)

v2.2.4

3 years ago

Fix

  • Fix/issue 140 variable assignment, typo error.

v2.2.3

3 years ago

Version 2.2.3

Fix

  • port version 3 fix back into v2, see #140, #141

v3.2.3

3 years ago

This is a patch release to fix an issue with the viewDataInspect method on the MailEclipse class

Fixes

  • Return value of MailEclipse::viewDataInspect() was not returning the correct values. see #137 PR #138.

v3.2.2

3 years ago

Changed

  • Removes a unused method and endpoint, see #133 and #135