Releases: ThCompiler/go_game_constractor
Releases · ThCompiler/go_game_constractor
Release v0.2.5-alpha
Added
Library
- Close unused channels in
pkg/marusia/runner/hub/hub.go - Change type of channel to pointer in
pkg/marusia/runner/hub/hub.go
Generator
isEndfield toscenestruct- Auto setup of
isEndfield for goodbye scene in true - Setup
FinishScenecommand for scene withisEndfield in true - Add logging error in scene functions
Other
CHANGELOGon russian
Changes
Library
- Change type of channel to pointer in
pkg/marusia/runner/hub/hub.go
Generator
- Renamed the
stringfield in the description of the scene text totextin yaml format - Renamed the
urlfield in the description of the scene button toURLin json format - Fixed the name of the
nextScenesfield for json format - Fixed the name of the
replace_messagefield for json format - Replaced the
yamlparser for checking unknown fields of theyamlfile - Fixed checking the command to complete the skill
- Update example
Documentation
Release v0.2.1-alpha
Added
Library
- Dequeue and Queue structures to package
pkg/structures - Graph functional to package
pkg/graph
Generator
- Checking the name of a custom matcher for the presence of the same name in standard matchers
- The ability to specify the next scene for each matcher and appropriate checks. Specified in the
toScenefield - The ability to specify the next scene for each button and appropriate checks. Specified in the
toScenefield - Support for saving to context and converting to generator-supported user input types from the
SearchedMessagequery field - Support for loading previously saved values from the context
- Support in the configuration file for the
contextfield with thesaveValueandloadValuesubfields for the new functionality described earlier - The ability to initialize the text fields of scenes with values stored in the context
- A check for the current scene about whether the values loaded in it from the context were saved in previous scenes
Documentation
- Installation instructions via
go install
Other
- Issues template for
BugsandQuestions - New file
CODE_OF_CONDUCT.md
Changes
Generator
- Removed the remaining parts from the old way of describing the matchers
- Updated some errors
- Changed the setup format of supported types. Each type now has its own converter to the string. And in the future it will be possible to add custom types using the
AddTypefunction - Fixed checking the configuration file for correctness
Documentation
- Cosmetic changes to the documentation
Release v0.1.4-alpha-dffd59b
Added
- Documentation on github.io
- Create redis client package
- Help flag
-h --helpand flag--http-serverfot generation base http-server - Webhook implementation for gin and base http handler
Applicationfields to marusia requestUserVKIdfield to marusia requestCardItemsfield to marusia request- Own entity for runner
- Сase-independent comparison button name
- A check that the skill was launched based on the
newfield of the voice assistant request - New fields for
SessionInfo(formerlyUserInfo):UserVKIDandIsNewSession Applicationstructs for sceneRequest- Struct
UserInput - New field
RequestforSceneRequestinstead of the moved fields - New field
UserVKIDfor structUserInfoin packagescene - New field
UserVKIDfor structRequestin packagescene - New logger based on zap logger
- Http middleware for logger based on gin
- Context for request from marusia (сurrently it is used only for transmitting the logger, but it is possible to transmit something else)
- Generating server functional
- Generating app functional
- Generating config functional
- Generating logger functional
- Generating handler functional
- Generating entry point of server
- Loading resources for convert package
ARMandi386build architecture forWindows,MacOs,Linux
Changes
- Generalized marusia handler
- New help text
- Adjusted the default setting of the next scene in the React function
- Moved
UserIdfrom the session field of the request to the independentUserstructure in theSessionfield of the request - Renamed package
hubtorunner - ScriptDirector moved to package
scriptdirector - Renamed
UserInfotoSessionInfo - The fields
Command,FullUserText,WasButton,Payloadhave been moved fromSceneRequestto structUserInput - The structs
TextandButtonhave been moved from packagesceneto packagedirector - Used new Logger into webhook
- Reformatted Directory structure(see in documentation)
- Some bug fixed in other generation
Remove
- A check that the skill was launched based on receiving the
debugmessage from the user
Release v0.1.4-alpha
Added
- Documentation on github.io
- Create redis client package
- Help flag
-h --helpand flag--http-serverfot generation base http-server - Webhook implementation for gin and base http handler
Applicationfields to marusia requestUserVKIdfield to marusia requestCardItemsfield to marusia request- Own entity for runner
- Сase-independent comparison button name
- A check that the skill was launched based on the
newfield of the voice assistant request - New fields for
SessionInfo(formerlyUserInfo):UserVKIDandIsNewSession Applicationstructs for sceneRequest- Struct
UserInput - New field
RequestforSceneRequestinstead of the moved fields - New field
UserVKIDfor structUserInfoin packagescene - New field
UserVKIDfor structRequestin packagescene - New logger based on zap logger
- Http middleware for logger based on gin
- Context for request from marusia (сurrently it is used only for transmitting the logger, but it is possible to transmit something else)
- Generating server functional
- Generating app functional
- Generating config functional
- Generating logger functional
- Generating handler functional
- Generating entry point of server
- Loading resources for convert package
ARMandi386build architecture forWindows,MacOs,Linux
Changes
- Generalized marusia handler
- New help text
- Adjusted the default setting of the next scene in the React function
- Moved
UserIdfrom the session field of the request to the independentUserstructure in theSessionfield of the request - Renamed package
hubtorunner - ScriptDirector moved to package
scriptdirector - Renamed
UserInfotoSessionInfo - The fields
Command,FullUserText,WasButton,Payloadhave been moved fromSceneRequestto structUserInput - The structs
TextandButtonhave been moved from packagesceneto packagedirector - Used new Logger into webhook
- Reformatted Directory structure(see in documentation)
- Some bug fixed in other generation
Remove
- A check that the skill was launched based on receiving the
debugmessage from the user
Release v0.1.3-alpha
Added
- Check the message from the button separately from the matching
Changes
- Correct name of number matcher in words
- Move creation of matchers to main part of config
- For an information scene, you need to specify only one following scene in the
nextScenefield
Release v0.1.2-alpha-1f04607
Added
- Selectors between expected string in scene react
- Name for regex matched user input
Changes
- Move creation of matchers to main part of config
Release v0.1.0-alpha
Added
- Auto generated of choose next scene
- Auto generated of button payloads
- Button support
- Saving user changes in script structures after its regeneration with the
--updateflag
Changes
- Moved example to another directory
Release v0.0.6-alpha-312cf35
Some modification and addition of new functionality.
Added
- Converts lib number to words and words to number
- Generate custom matchers
- Generate custom text error
- Support for error descriptions in scenes
- Support for matchers descriptions in scenes
- New positive number matcher with converting words to number
- CI for repository
- New coomand for scene. StashScene for stashing current scene
- The application can show its version using the flag
--version
Changes
- Now the goodbye scene described in the body of the script. Only its name is written in the script settings.
alpha v0.0.2
This is the initial release.
Supported
- Generate redis store for scripts text
- Generate text manager for script, that can add to text vars
- Generate base structs for scenes