Skip to content

Releases: icidasset/shikensu-gren

6.0.0

02 Jul 13:09
Compare
Choose a tag to compare
  • Updated to gren 0.4.x and the new node package.
  • Replaced Path & Focus modules with FileSystem.Path from Gren's node package.
  • Should technically work on Windows now (not tested though)
---- REMOVED MODULES - MAJOR ----

    Shikensu.Focus
    Shikensu.Path
    Shikensu.Path.Encapsulated


---- Shikensu - MAJOR ----

    Removed:
        currentWorkingDirectory : Permission -> Task Error (Path Directory)

    Changed:
      - bundle : Permission -> Array Definition -> Task
      + bundle :
            FileSystem.Permission
            -> Array.Array Shikensu.Definition.Definition
            -> Shikensu.Bundle.Bundle

      - list : Permission -> Focus -> Task
      + list : FileSystem.Permission -> FileSystem.Path.Path -> Shikensu.Task

      - perform :
            { onSuccess : Environment -> a -> Cmd {}
            , onError : Environment -> Error -> Cmd {}
            }
            -> (Permission -> Task Error a)
            -> Program
      + perform :
            { onSuccess :
                  Node.Environment -> a -> Task.Task Shikensu.Error.Error {}
            , onError :
                  Node.Environment
                  -> Shikensu.Error.Error
                  -> Task.Task Basics.Never {}
            }
            -> (FileSystem.Permission -> Task.Task Shikensu.Error.Error a)
            -> Shikensu.Program

      - program : (Task -> Task) -> Focus -> Program
      + program :
            (Shikensu.Task -> Shikensu.Task)
            -> FileSystem.Path.Path
            -> Shikensu.Program

      - programs : Array { focus : Focus, sequence : Task -> Task } -> Program
      + programs :
            Array.Array
                { path : FileSystem.Path.Path
                , sequence : Shikensu.Task -> Shikensu.Task
                }
            -> Shikensu.Program

      - write : Focus -> Bundle -> Task
      + write : FileSystem.Path.Path -> Shikensu.Bundle.Bundle -> Shikensu.Task



---- Shikensu.Bundle - MAJOR ----

    Changed:
      - type alias Bundle =
            { compendium : Array Definition
            , fsPermission : Permission
            , readingDirectory : Maybe (Path Directory)
            , workingDirectory : Path Directory
            }
      + type alias Bundle =
            { compendium : Array.Array Shikensu.Definition.Definition
            , fsPermission : FileSystem.Permission
            , readingDirectory : Maybe.Maybe FileSystem.Path.Path
            }



---- Shikensu.Contrib - MAJOR ----

    Removed:
        copyPropsToMetadata : Bundle -> Bundle

    Changed:
      - clone : Path File -> Path File -> Bundle -> Bundle
      + clone :
            FileSystem.Path.Path
            -> FileSystem.Path.Path
            -> Shikensu.Bundle.Bundle
            -> Shikensu.Bundle.Bundle

      - exclude : Path File -> Bundle -> Bundle
      + exclude :
            FileSystem.Path.Path
            -> Shikensu.Bundle.Bundle
            -> Shikensu.Bundle.Bundle

      - rename : Path File -> Path File -> Bundle -> Bundle
      + rename :
            FileSystem.Path.Path
            -> FileSystem.Path.Path
            -> Shikensu.Bundle.Bundle
            -> Shikensu.Bundle.Bundle

      - withDirectory : Path Directory -> Bundle -> Bundle
      + withDirectory :
            FileSystem.Path.Path
            -> Shikensu.Bundle.Bundle
            -> Shikensu.Bundle.Bundle



---- Shikensu.Definition - MAJOR ----

    Removed:
        relativePath : Definition -> Path File

    Changed:
      - type alias Definition =
            { baseName : String
            , content : Maybe Bytes
            , directoryPath : Path Directory
            , extensionName : Maybe String
            , metadata : Dict String Value
            }
      + type alias Definition =
            { content : Maybe.Maybe Bytes.Bytes
            , path : FileSystem.Path.Path
            , metadata : Dict.Dict String.String Json.Encode.Value
            }

      - create : Path File -> Definition
      + create : FileSystem.Path.Path -> Shikensu.Definition.Definition

      - fork : Path File -> Definition -> Definition
      + fork :
            FileSystem.Path.Path
            -> Shikensu.Definition.Definition
            -> Shikensu.Definition.Definition



---- Shikensu.Error - MAJOR ----

    Changed:
      - type Error
            = ErrorMessage String
            | PlatformAccessError (Path Encapsulated) AccessError
            | PlatformUnknownError UnknownFileSystemError
      + type Error
            = ErrorMessage String.String
            | PlatformError FileSystem.Path.Path FileSystem.Error

5.1.0

16 Feb 13:03
Compare
Choose a tag to compare

Full Changelog: 5.0.1...5.1.0

5.0.1

06 Feb 14:05
Compare
Choose a tag to compare

Full Changelog: 5.0.0...5.0.1

5.0.0

20 Nov 20:24
Compare
Choose a tag to compare
---- Shikensu - MAJOR ----

    Added:
        bundle :
            FileSystem.Permission
            -> Array.Array Shikensu.Definition.Definition
            -> Shikensu.Task

    Removed:
        writeDefinition :
            Permission -> Path Directory -> Definition -> Task Error {}


---- Shikensu.Bundle - MAJOR ----

    Changed:
      - type alias Bundle =
            { compendium : Array Definition
            , fsPermission : Permission
            , focusDirectory : Path Directory
            , workingDirectory : Path Directory
            }
      + type alias Bundle =
            { compendium : Array.Array Shikensu.Definition.Definition
            , fsPermission : FileSystem.Permission
            , readingDirectory :
                  Maybe.Maybe (Shikensu.Path.Path Shikensu.Path.Directory)
            , workingDirectory : Shikensu.Path.Path Shikensu.Path.Directory
            }



---- Shikensu.Contrib - MINOR ----

    Added:
        enclose :
            String.String -> Shikensu.Bundle.Bundle -> Shikensu.Bundle.Bundle

4.0.0

03 Oct 14:29
Compare
Choose a tag to compare
---- Shikensu - MINOR ----

    Added:
        currentWorkingDirectory :
            FileSystem.Permission
            -> Task.Task
                   Shikensu.Error.Error
                   (Shikensu.Path.Path Shikensu.Path.Directory)


---- Shikensu.Path - MAJOR ----

    Removed:
        currentWorkingDirectory : Permission -> Task Never (Path Directory)

3.0.0

03 Oct 13:40
Compare
Choose a tag to compare
---- Shikensu - MINOR ----

    Added:
        perform :
            { onSuccess : Node.Environment -> a -> Platform.Cmd.Cmd {}
            , onError :
                  Node.Environment
                  -> Shikensu.Error.Error
                  -> Platform.Cmd.Cmd {}
            }
            -> (FileSystem.Permission -> Task.Task Shikensu.Error.Error a)
            -> Shikensu.Program
        writeDefinition :
            FileSystem.Permission
            -> Shikensu.Path.Path Shikensu.Path.Directory
            -> Shikensu.Definition.Definition
            -> Task.Task Shikensu.Error.Error {}


---- Shikensu.Error - MAJOR ----

    Changed:
      - type Error
            = PlatformAccessError (Path Encapsulated) AccessError
            | PlatformUnknownError UnknownFileSystemError
      + type Error
            = ErrorMessage String.String
            | PlatformAccessError
                  (Shikensu.Path.Path Shikensu.Path.Encapsulated)
                  FileSystem.AccessError
            | PlatformUnknownError FileSystem.UnknownFileSystemError

2.0.2

03 Oct 10:37
Compare
Choose a tag to compare

Upgrade to version 3 of gren-lang/node.

2.0.1

02 Oct 16:22
Compare
Choose a tag to compare

Bump version range of gren-lang/node.

2.0.0

17 Jul 09:18
Compare
Choose a tag to compare
---- ADDED MODULES - MINOR ----

    Shikensu.Bundle
    Shikensu.Error


---- Shikensu - MINOR ----

    Added:
        programs :
            Array.Array
                { focus : Shikensu.Focus.Focus
                , sequence : Shikensu.Task -> Shikensu.Task
                }
            -> Shikensu.Program


---- Shikensu.Contrib - MINOR ----

    Added:
        withBaseName :
            String.String -> Shikensu.Bundle.Bundle -> Shikensu.Bundle.Bundle
        withDirectory :
            Shikensu.Path.Path Shikensu.Path.Directory
            -> Shikensu.Bundle.Bundle
            -> Shikensu.Bundle.Bundle
        withMetadata :
            String.String
            -> Json.Encode.Value
            -> Shikensu.Bundle.Bundle
            -> Shikensu.Bundle.Bundle


---- Shikensu.Definition - MAJOR ----

    Removed:
        type alias Compendium = Array.Array Shikensu.Definition.Definition

1.0.0

16 Jul 15:23
Compare
Choose a tag to compare
Fix docs problem with Error