GoSublime v18.09.14 Release Notes

    • ๐Ÿš€ This release adds a new experimental update notifier.

    MOTD keeps you updated about new versions and important announcements

    It adds a new command motd.sync available via the UserCmd palette as Sync MOTD

    Interval can be set in order to enable automatic update fetching.

    When new updates are found, it displays the message in the status bar e.g. โ˜… margo.sh/cl/18.09.14 โ˜… a url where you see the upcoming changes before updating

    It sends the following data to the url https://api.margo.sh/motd.json:

    • current editor plugin name e.g. ?client=gosublime this tells us which editor plugin's changelog to check
    • current editor plugin version e.g. ?tag=r18.09.14-1 this allows us to determine if there any updates
    • whether or not this is the first request of the day e.g. ?firstHit=1 this allows us to get an estimated count of active users without storing any personally identifiable data

    No other data is sent. For more info contact privacy at kuroku.io

    To enabled it, add the following reducer:

      &mg.MOTD{
        // Interval, if set, specifies how often to automatically fetch messages from Endpoint
        // Interval: 3600e9, // automatically fetch updates every hour
      },
    

    You will need to restart Sublime Text. Unless you uncomment/set Interval, you will need to manually check for updates using the Sync MOTD command from the usercmd palette ctrl+.,ctrl+c / super+.,super+c

    • The GoSublime: Go syntax was switched to a new syntax based on the Go syntax shipped in Sublime Text

      • if you find any breakages, please file an issue at margo.sh/gs/i
      • if you prefer the colouring of the previous version, you can switch back to the old syntax via Menu > View > Syntax > Open all with current extension as... > GoSublime > GoSublime: Go (Deprecated) please not that this version is buggy and will not receive any fixes
    • golang.Gocode, golang.GocodeCalltips:

      • reduce memory use with Source: true
      • support syscall/js
    • ๐Ÿ‘ golang.Guru gained support for syscall/js guru is now called with -tags "js wasm" if syscall/js is imported in the package