PackageTrack
Sign in Get early access

github.com/nakabonne/tstorage

v0.3.6 #1449 most downloaded on Go modules nakabonne/tstorage

What this package is like to depend on

Last release 5 months ago

16 Mar 2026

Ships unpredictably

gaps range from 2 weeks to 1.6 years

Most releases are documented

notes for 10 of 13 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

34 releases · first in 2021

1 release in the last 12 months

see the full history below

Release timeline

34 releases · May 2021 to Mar 2026
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 34
  1. v0.3.7-0.20260316124446-cec3a9574c70 16 Mar 2026 pre-release

    Nothing published for this version

  2. v0.3.7-0.20250806052042-64a7605ae055 06 Aug 2025 pre-release

    Nothing published for this version

  3. v0.3.7-0.20241020124236-7e4b396c9216 20 Oct 2024 pre-release

    Nothing published for this version

  4. v0.3.6 24 Mar 2023
    Release notes

    Release v0.3.6 with changes since v0.3.5

    • Release v0.3.6 (#63) - by GitHub
    • Fix pipeline to setup Go1.20 properly - by nakabonne
    • Move int64 to beginning of struct to ensure alignment (#61) - by GitHub
    • Bump Go to 1.20 (#62) - by GitHub
    • Bump coverage action from v1 to v2 (#50) - by GitHub
    • Remove unneeded cmd package - by nakabonne
    Open source →
  5. v0.3.6-0.20230324081916-02fa0b2e636a 24 Mar 2023 pre-release

    Nothing published for this version

  6. v0.3.6-0.20211109134920-5164628e12b4 09 Nov 2021 pre-release

    Nothing published for this version

  7. v0.3.6-0.20211104002605-6ca1fafbba43 04 Nov 2021 pre-release

    Nothing published for this version

  8. v0.3.5 02 Nov 2021
    Release notes

    Release v0.3.5 with changes since v0.3.4

    • Release v0.3.5 (#49) - by GitHub
    • Allow WAL segment to have invalid rows (#48) - by GitHub
    Open source →
  9. v0.3.4 02 Nov 2021
    Release notes

    Release v0.3.4 with changes since v0.3.3

    • Release v0.3.4 (#46) - by GitHub
    • Ignore invalid disk partitions when starting (#45) - by GitHub
    Open source →
  10. v0.3.3 02 Nov 2021
    Release notes

    Release v0.3.3 with changes since v0.3.2

    • Release v0.3.3 (#44) - by GitHub
    • Consider data points within expired partitions as ErrNoDataPoints - by nakabonne
    Open source →
  11. v0.3.2 01 Nov 2021
    Release notes

    This is a minor release with a bug that panics when recovering WAL.

    Release v0.3.2 with changes since v0.3.1

    • Release v0.3.2 (#42) - by GitHub
    • Avoid to panic when recoverying WAL segments (#41) - by GitHub
    Open source →
  12. v0.3.1 01 Nov 2021
    Release notes

    A minor release with bug fixes on WAL recovery.

    Release v0.3.1 with changes since v0.3.0

    • Release v0.3.1 (#40) - by GitHub
    • Allow WAL to have invalid row (#39) - by GitHub
    • Remove Used by section - by nakabonne
    • Bump runtime to 1.17 in the test environment - by nakabonne
    Open source →
  13. v0.3.1-0.20211031013922-1ff8d27c2b58 31 Oct 2021 pre-release

    Nothing published for this version

  14. v0.3.0 31 Oct 2021
    Release notes

    Notable change - WAL support

    This release comes with WAL (Write Ahead Log) support, which means a certain level of durability is guaranteed because the data on the memory partition is appended to the log file on the disk.
    WAL is enabled by default in on-disk mode. This slightly affects the write performance, so if you want to disable it, give -1 to WithWALBufferedSize() like:

    	storage, err := tstorage.NewStorage(
    		tstorage.WithDataPath("./data"),
    		tstorage.WithWALBufferedSize(-1),
    	)

    Changelog

    • Release v0.3.0 (#35) - by GitHub
    • Bump pipecd/actions-gh-release to v2.1.0 - by nakabonne
    • Ensure to remove the oldest segment when flushing (#34) - by GitHub
    • Add support for Write Ahead Log (#28) - by GitHub
    • Bump Go from 1.16 to 1.17 (#33) - by GitHub
    Open source →
  15. v0.2.3-0.20211029021250-cf153b55bba6 29 Oct 2021 pre-release

    Nothing published for this version

  16. v0.2.3-0.20211028014806-e7ef1a5b91af 28 Oct 2021 pre-release

    Nothing published for this version

  17. v0.2.3-0.20211017011829-8f087883cc1a 17 Oct 2021 pre-release

    Nothing published for this version

  18. v0.2.2 06 Sep 2021
    Release notes

    This is a minor update with a couple of bug fixes.

    Open source →
  19. v0.2.2-0.20210721091839-250d0776d0ac 21 Jul 2021 pre-release

    Nothing published for this version

  20. v0.2.2-0.20210721091827-9034eef66cdb 21 Jul 2021 pre-release

    Nothing published for this version

  21. v0.2.1 20 Jul 2021
    Release notes

    Notable changes

    Add support for the WithRetention option (#22)

    Data points will get automatically removed from the disk after a specified period of time after a disk partition was created.

    	storage, err := tstorage.NewStorage(
    		tstorage.WithDataPath("./data"),
    		tstorage.WithRetention(time.Hour*24)
    	)

    Support writes outside of head partition (#23) by @dpgil

    Basically, all data points get ingested into the head partition. But sometimes data points get across the partition boundary, which should get into the next partition. From this version, tstorage doesn't discard them.

    Changelog

    Open source →
  22. v0.2.0 05 Jul 2021
    Release notes

    tstorage v0.2.0 is here 🎉

    This release mostly includes encoding improvements, which massively reduces the size of encoded data points. Facebook is publishing a paper called Gorilla: A Fast, Scalable, In-Memory Time Series Database, in which they introduced an encoding way that takes advantage of the characteristics of time series data. According to that, tstorage v0.2.0 encodes/decodes buffered data points right before flushing into a disk partition. For more details, see: https://nakabonne.dev/posts/write-tsdb-from-scratch/#encoding

    Breaking changes

    Please note that it cannot decode data points encoded by previous versions as the encoding scheme is totally different from the old one and doesn't consider backward compatibility at all.

    This release also contains a couple of tiny bug fixes around disk partitions.

    Changelog

    Open source →
  23. v0.1.3-0.20210619071906-5e92ec0e913b 19 Jun 2021 pre-release

    Nothing published for this version

  24. v0.1.3-0.20210608002644-a7a5d646869e 08 Jun 2021 pre-release

    Nothing published for this version

  25. v0.1.3-0.20210605065014-892a96252b7e 05 Jun 2021 pre-release

    Nothing published for this version

  26. v0.1.2 02 Jun 2021

    Nothing published for this version

  27. v0.1.1 02 Jun 2021

    Nothing published for this version

  28. v0.1.0 01 Jun 2021

    Nothing published for this version

  29. v0.0.0-20230324081916-02fa0b2e636a 24 Mar 2023 pre-release

    Nothing published for this version

  30. v0.0.0-20210530020657-70a15ff58f4b 30 May 2021 pre-release

    Nothing published for this version

  31. v0.0.0-20210530015802-6447168d5250 30 May 2021 pre-release

    Nothing published for this version

  32. v0.0.0-20210530013829-0840ae894010 30 May 2021 pre-release

    Nothing published for this version

  33. v0.0.0-20210530012206-96ce42034a57 30 May 2021 pre-release

    Nothing published for this version

  34. v0.0.0-20210529132218-5ba8875fe247 29 May 2021 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive