Periph 2.0.0 released

New version of Golang standalone library with breaking changes available now
29 August 2017   1408

New major version 2.0.0 of Periph had been released.

What's Periph? is a standalone library with no external dependency to interface with low-level board facilities exposed by the OS or leveraged against OS’ will. It can be viewed as a lower level layer than Gobot, and yes we’re discussing to collaborate in the future!


  • No external dependencies
  • No C dependency, doesn’t use cgo
  • Explicit initialization: know what hardware is detected and what is not
  • Interfaces:
    • GPIO: both memory mapped registers and edge detection
    • I²C
    • SPI
    • 1-wire
  • Devices:
    • Output: apa102, ssd1306, tm1637
    • Sensing: bme280, bmp180, ds18b20, ir, lepton
    • Interfacing: ds248x
  • Continuously tested via gohci on:
    • BeagleBone
    • C.H.I.P.
    • ODROID-C1+
    • Raspberry Pi
    • Windows 10 VM
  • SemVer compatibility guarantee
    • Major version change (v1.0 to v2.0) may introduce breaking changes.
    • Minor version change (v1.1 to v1.2) will be backward compatible.
    • master may contain breaking changes, use dep.

What's new in version 2.0.0?

Main changes:

As part of periph’s compatibility guarantee, breaking changes can only occur on major version bump.

  • conn/gpio/gpioreg: Removed ByNumber().
  • conn/spi: Renamed Port.DevParams() to Connect() to better convey that a connected Port becomes a Conn.
  • devices: Device doesn’t embed fmt.Stringer anymore. Display and Environmental now embed Device.
  • devices/bme280: renamed to devices/bmxx80, now supporting all three of BMP180/BME280/BMP280.
  • host/pmem: Renamed Mem.Struct() to AsPOD() and made it support array and slices.

New features:

This release brings a whole set of new features:

  • conn: Added documentation about the concepts: Bus, Port and Conn.
  • conn/pin/pinreg: when mapping a physical board header via pinreg.Register(), any pin.Pin that also implementsgpio.PinIO are now automatically aliased as <board>_<pin number> in the GPIO registry conn/gpio/gpioreg.
  • devices: Added Environmental.SenseContinuous().
  • cmd/ssd1306 and devices/ssd1306: Removed dependency on… in both the command and in the device driver’s tests, making periph a library that depends only on pure stdlib, even for the executables in cmd/.
  • Added travis check to never allow a non-stdlib dependency ever again.
  • Various minor improvements: documentation, typos, better golint and go vet compliance, code coverage increase.

Learn more at official website.

GoLand 2018.3 to be Released by JetBrains

New version of IDE for Go programming language has a lot of new features
22 November 2018   541

Team JetBrains introduced a new version of IDE GoLand 2018.3. In this update, users will see:

  • refactoring by changing the signature;
  • memory dump;
  • Testify support;
  • new debugger tools;
  • Improved verification, prediction and code completion;
  • chart support;
  • updates for VCS, Docker, Kubernetes.

The new method of processing the code Change Signature will allow a single action to change the signature of functions and methods throughout the workspace. The function will show what will change in the code after application. The Inline tool will highlight the embedded code, and Rename will notify you of possible conflicts when renaming.

Added the ability to run and debug Google App Engine applications locally.

Go memory dumps are now available via Run / Open Core Dump directly in the IDE. To automatically create memory dumps, you need to enter GOTRACEBACK = crash in the Environment field.

Also, GoLand 2018.3 supports the Mozilla debugger rr, which allows you to search for a crash in the program by playing back its execution.

Get more info at official blog.

The previous version of GoLand 2018.2 was released in July 2018.