Releases: icidasset/shikensu-gren
Releases · icidasset/shikensu-gren
6.0.0
- 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
Full Changelog: 5.0.1...5.1.0
5.0.1
Full Changelog: 5.0.0...5.0.1
5.0.0
---- 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
---- 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
---- 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
2.0.1
2.0.0
---- 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