Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Releases: Qoraiche/laravel-mail-editor

v3.5.0

28 Sep 14:54
306769b
Compare
Choose a tag to compare

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

27 Sep 01:16
d28f054
Compare
Choose a tag to compare

Fixes

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

v3.4.1

18 Jul 11:08
Compare
Choose a tag to compare

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

v3.4.0

16 Jul 21:04
1c5eddb
Compare
Choose a tag to compare

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

16 Jul 21:04
181fddd
Compare
Choose a tag to compare

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

10 May 19:38
995efe3
Compare
Choose a tag to compare

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 8b21ed7 (#152)

v2.2.4

10 Dec 22:17
a98d0fe
Compare
Choose a tag to compare

Fix

  • Fix/issue 140 variable assignment, typo error.

v2.2.3

10 Dec 21:45
3560fef
Compare
Choose a tag to compare

Version 2.2.3

Fix

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

v3.2.3

01 Dec 15:19
0598e65
Compare
Choose a tag to compare

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

17 Nov 16:34
592542e
Compare
Choose a tag to compare

Changed

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