Skip to content

Releases: ThCompiler/go_game_constractor

Release v0.2.5-alpha

24 Jan 16:30
72e3370

Choose a tag to compare

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

  • isEnd field to scene struct
  • Auto setup of isEnd field for goodbye scene in true
  • Setup FinishScene command for scene with isEnd field in true
  • Add logging error in scene functions

Other

  • CHANGELOG on russian

Changes

Library

  • Change type of channel to pointer in pkg/marusia/runner/hub/hub.go

Generator

  • Renamed the string field in the description of the scene text to text in yaml format
  • Renamed the url field in the description of the scene button to URL in json format
  • Fixed the name of the nextScenes field for json format
  • Fixed the name of the replace_message field for json format
  • Replaced the yaml parser for checking unknown fields of the yaml file
  • Fixed checking the command to complete the skill
  • Update example

Documentation

Release v0.2.1-alpha

23 Nov 15:13
cf61e29

Choose a tag to compare

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 toScene field
  • The ability to specify the next scene for each button and appropriate checks. Specified in the toScene field
  • Support for saving to context and converting to generator-supported user input types from the SearchedMessage query field
  • Support for loading previously saved values from the context
  • Support in the configuration file for the context field with the saveValue and loadValue subfields 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 Bugs and Questions
  • 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 AddType function
  • Fixed checking the configuration file for correctness

Documentation

  • Cosmetic changes to the documentation

Release v0.1.4-alpha-dffd59b

16 Nov 16:08
dffd59b

Choose a tag to compare

Added

  • Documentation on github.io
  • Create redis client package
  • Help flag -h --help and flag --http-server fot generation base http-server
  • Webhook implementation for gin and base http handler
  • Application fields to marusia request
  • UserVKId field to marusia request
  • CardItems field to marusia request
  • Own entity for runner
  • Сase-independent comparison button name
  • A check that the skill was launched based on the new field of the voice assistant request
  • New fields for SessionInfo(formerly UserInfo): UserVKID and IsNewSession
  • Application structs for scene Request
  • Struct UserInput
  • New field Request for SceneRequest instead of the moved fields
  • New field UserVKID for struct UserInfo in package scene
  • New field UserVKID for struct Request in package scene
  • 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
  • ARM and i386 build architecture for Windows, MacOs, Linux

Changes

  • Generalized marusia handler
  • New help text
  • Adjusted the default setting of the next scene in the React function
  • Moved UserId from the session field of the request to the independent User structure in the Session field of the request
  • Renamed package hub to runner
  • ScriptDirector moved to package scriptdirector
  • Renamed UserInfo to SessionInfo
  • The fields Command, FullUserText, WasButton, Payload have been moved from SceneRequest to struct UserInput
  • The structs Text and Button have been moved from package scene to package director
  • 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 debug message from the user

Release v0.1.4-alpha

16 Nov 12:48
363c4e0

Choose a tag to compare

Release v0.1.4-alpha Pre-release
Pre-release

Added

  • Documentation on github.io
  • Create redis client package
  • Help flag -h --help and flag --http-server fot generation base http-server
  • Webhook implementation for gin and base http handler
  • Application fields to marusia request
  • UserVKId field to marusia request
  • CardItems field to marusia request
  • Own entity for runner
  • Сase-independent comparison button name
  • A check that the skill was launched based on the new field of the voice assistant request
  • New fields for SessionInfo(formerly UserInfo): UserVKID and IsNewSession
  • Application structs for scene Request
  • Struct UserInput
  • New field Request for SceneRequest instead of the moved fields
  • New field UserVKID for struct UserInfo in package scene
  • New field UserVKID for struct Request in package scene
  • 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
  • ARM and i386 build architecture for Windows, MacOs, Linux

Changes

  • Generalized marusia handler
  • New help text
  • Adjusted the default setting of the next scene in the React function
  • Moved UserId from the session field of the request to the independent User structure in the Session field of the request
  • Renamed package hub to runner
  • ScriptDirector moved to package scriptdirector
  • Renamed UserInfo to SessionInfo
  • The fields Command, FullUserText, WasButton, Payload have been moved from SceneRequest to struct UserInput
  • The structs Text and Button have been moved from package scene to package director
  • 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 debug message from the user

Release v0.1.3-alpha

01 Nov 18:52
ee8ea66

Choose a tag to compare

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 nextScene field

Release v0.1.2-alpha-1f04607

01 Nov 15:49
1f04607

Choose a tag to compare

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

30 Oct 22:57
0707954

Choose a tag to compare

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 --update flag

Changes

  • Moved example to another directory

Release v0.0.6-alpha-312cf35

29 Oct 14:45

Choose a tag to compare

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

25 Oct 18:51

Choose a tag to compare

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