| 1 | # Change Log |
| 2 | |
| 3 | All notable changes to this project will be documented in this file. |
| 4 | This project adheres to [Semantic Versioning](http://semver.org/). |
| 5 | This change log follows the advice of [Keep a CHANGELOG](https://github.com/olivierlacan/keep-a-changelog). |
| 6 | |
| 7 | ## [Unreleased] |
| 8 | |
| 9 | ## [3.0.0] - 2022-03-30 |
| 10 | |
| 11 | ### Added |
| 12 | |
| 13 | - Rename, Mount and Unmount methods |
| 14 | - Parse more fields into Zpool type: |
| 15 | - dedupratio |
| 16 | - fragmentation |
| 17 | - freeing |
| 18 | - leaked |
| 19 | - readonly |
| 20 | - Parse more fields into Dataset type: |
| 21 | - referenced |
| 22 | - Incremental Send |
| 23 | - Parse numbers in exact format |
| 24 | - Support for Solaris (non-blockint, best-effort status) |
| 25 | - Debug logging for command invocation |
| 26 | - Use GitHub Actions for CI |
| 27 | - Nix shell for dev env reproducibility |
| 28 | - Direnv file for ease of dev |
| 29 | - Formatting/lint checks (enforced by CI) |
| 30 | - Go Module |
| 31 | - FreeBSD based vagrant machine |
| 32 | |
| 33 | ### Changed |
| 34 | |
| 35 | - Temporarily adjust TestDiff expected strings depending on ZFS version |
| 36 | - Use one `zfs list`/`zpool list` call instead of many `zfs get`/`zpool get` |
| 37 | - ZFS docs links now point to OpenZFS pages |
| 38 | - Ubuntu vagrant box changed to generic/ubuntu2004 |
| 39 | |
| 40 | ### Fixed |
| 41 | |
| 42 | - `GetProperty` returning `VALUE` instead of the actual value |
| 43 | |
| 44 | ### Shortlog |
| 45 | |
| 46 | Amit Krishnan (1): |
| 47 | Issue #39 and Issue #40 - Enable Solaris support for go-zfs Switch from zfs/zpool get to zfs/zpool list for better performance Signed-off-by: Amit Krishnan <[email protected]> |
| 48 | |
| 49 | Anand Patil (3): |
| 50 | Added Rename |
| 51 | Small fix to rename. |
| 52 | Added mount and umount methods |
| 53 | |
| 54 | Brian Akins (1): |
| 55 | Add 'referenced' to zfs properties |
| 56 | |
| 57 | Brian Bickerton (3): |
| 58 | Add debug logging before and after running external zfs command |
| 59 | Don't export the default no-op logger |
| 60 | Update uuid package repo url |
| 61 | |
| 62 | Dmitry Teselkin (1): |
| 63 | Issue #52 - fix parseLine for fragmentation field |
| 64 | |
| 65 | Edward Betts (1): |
| 66 | correct spelling mistake |
| 67 | |
| 68 | Justin Cormack (1): |
| 69 | Switch to google/uuid which is the maintained version of pborman/uuid |
| 70 | |
| 71 | Manuel Mendez (40): |
| 72 | rename Umount -> Unmount to follow zfs command name |
| 73 | add missing Unmount/Mount docs |
| 74 | always allocate largest Mount slice |
| 75 | add travis config |
| 76 | travis: update to go 1.7 |
| 77 | travis: get go deps first |
| 78 | test: add nok helper to verify an error occurred |
| 79 | test: add test for Dataset.GetProperty |
| 80 | ci: swap #cerana on freenode for slack |
| 81 | ci: install new deps for 0.7 relases |
| 82 | ci: bump zol versions |
| 83 | ci: bump go versions |
| 84 | ci: use better gometalinter invocations |
| 85 | ci: add ccache |
| 86 | ci: set env earlier in before_install |
| 87 | fix test nok error printing |
| 88 | test: restructure TestDiff to deal with different order of changes |
| 89 | test: better unicode path handling in TestDiff |
| 90 | travis: bump zfs and go versions |
| 91 | cache zfs artifacts |
| 92 | Add nix-shell and direnv goodness |
| 93 | prettierify all the files |
| 94 | Add go based tools |
| 95 | Add Makefile and rules.mk files |
| 96 | gofumptize the code base |
| 97 | Use tinkerbell/lint-install to setup linters |
| 98 | make golangci-lint happy |
| 99 | Update CONTRIBUTING.md with make based approach |
| 100 | Add GitHub Actions |
| 101 | Drop Travis CI |
| 102 | One sentence per line |
| 103 | Update documentation links to openzfs-docs pages |
| 104 | Format Vagrantfile using rufo |
| 105 | Add go-zfs.test to .gitignore |
| 106 | test: Avoid reptitive/duplicate error logging and quitting |
| 107 | test: Use t.Logf instead of fmt.Printf |
| 108 | test: Better cleanup and error handling in zpoolTest |
| 109 | test: Do not mark TestDatasets as a t.Helper. |
| 110 | test: Change zpoolTest to a pure helper that returns a clean up function |
| 111 | test: Move helpers to a different file |
| 112 | vagrant: Add set -euxo pipefail to provision script |
| 113 | vagrant: Update to generic/ubuntu2004 |
| 114 | vagrant: Minor fixes to Vagrantfile |
| 115 | vagrant: Update to go 1.17.8 |
| 116 | vagrant: Run go tests as part of provision script |
| 117 | vagrant: Indent heredoc script |
| 118 | vagrant: Add freebsd machine |
| 119 | |
| 120 | Matt Layher (1): |
| 121 | Parse more fields into Zpool type |
| 122 | |
| 123 | Michael Crosby (1): |
| 124 | Add incremental send |
| 125 | |
| 126 | Rikard Gynnerstedt (1): |
| 127 | remove command name from joined args |
| 128 | |
| 129 | Sebastiaan van Stijn (1): |
| 130 | Add go.mod and rename to github.com/mistifyio/go-zfs/v3 (v3.0.0) |
| 131 | |
| 132 | mikudeko (1): |
| 133 | Fix GetProperty always returning 'VALUE' |
| 134 | |
| 135 | ## [2.1.1] - 2015-05-29 |
| 136 | |
| 137 | ### Fixed |
| 138 | |
| 139 | - Ignoring first pool listed |
| 140 | - Incorrect `zfs get` argument ordering |
| 141 | |
| 142 | ### Shortlog |
| 143 | |
| 144 | Alexey Guskov (1): |
| 145 | zfs command uses different order of arguments on freebsd |
| 146 | |
| 147 | Brian Akins (4): |
| 148 | test that ListZpools returns expected zpool |
| 149 | test error first |
| 150 | test error first |
| 151 | fix test to check correct return value |
| 152 | |
| 153 | James Cunningham (1): |
| 154 | Fix Truncating First Zpool |
| 155 | |
| 156 | Pat Norton (2): |
| 157 | Added Use of Go Tools |
| 158 | Update CONTRIBUTING.md |
| 159 | |
| 160 | ## [2.1.0] - 2014-12-08 |
| 161 | |
| 162 | ### Added |
| 163 | |
| 164 | - Parse hardlink modification count returned from `zfs diff` |
| 165 | |
| 166 | ### Fixed |
| 167 | |
| 168 | - Continuing instead of erroring when rolling back a non-snapshot |
| 169 | |
| 170 | ### Shortlog |
| 171 | |
| 172 | Brian Akins (2): |
| 173 | need to return the error here |
| 174 | use named struct fields |
| 175 | |
| 176 | Jörg Thalheim (1): |
| 177 | zfs diff handle hardlinks modification now |
| 178 | |
| 179 | ## [2.0.0] - 2014-12-02 |
| 180 | |
| 181 | ### Added |
| 182 | |
| 183 | - Flags for Destroy: |
| 184 | - DESTROY_DEFAULT |
| 185 | - DESTROY_DEFER_DELETION (`zfs destroy ... -d`) |
| 186 | - DESTROY_FORCE (`zfs destroy ... -f`) |
| 187 | - DESTROY_RECURSIVE_CLONES (`zfs destroy ... -R`) |
| 188 | - DESTROY_RECURSIVE (`zfs destroy ... -r`) |
| 189 | - etc |
| 190 | - Diff method (`zfs diff`) |
| 191 | - LogicalUsed and Origin properties to Dataset |
| 192 | - Type constants for Dataset |
| 193 | - State constants for Zpool |
| 194 | - Logger interface |
| 195 | - Improve documentation |
| 196 | |
| 197 | ### Shortlog |
| 198 | |
| 199 | Brian Akins (8): |
| 200 | remove reflection |
| 201 | style change for switches |
| 202 | need to check for error |
| 203 | keep in scope |
| 204 | go 1.3.3 |
| 205 | golint cleanup |
| 206 | Just test if logical used is greater than 0, as this appears to be implementation specific |
| 207 | add docs to satisfy golint |
| 208 | |
| 209 | Jörg Thalheim (8): |
| 210 | Add deferred flag to zfs.Destroy() |
| 211 | add Logicalused property |
| 212 | Add Origin property |
| 213 | gofmt |
| 214 | Add zfs.Diff |
| 215 | Add Logger |
| 216 | add recursive destroy with clones |
| 217 | use CamelCase-style constants |
| 218 | |
| 219 | Matt Layher (4): |
| 220 | Improve documentation, document common ZFS operations, provide more references |
| 221 | Add zpool state constants, for easier health checking |
| 222 | Add dataset type constants, for easier type checking |
| 223 | Fix string split in command.Run(), use strings.Fields() instead of strings.Split() |
| 224 | |
| 225 | ## [1.0.0] - 2014-11-12 |
| 226 | |
| 227 | ### Shortlog |
| 228 | |
| 229 | Brian Akins (7): |
| 230 | add godoc badge |
| 231 | Add example |
| 232 | add information about zpool to struct and parser |
| 233 | Add Quota |
| 234 | add Children call |
| 235 | add Children call |
| 236 | fix snapshot tests |
| 237 | |
| 238 | Brian Bickerton (3): |
| 239 | MIST-150 Change Snapshot second paramater from properties map[string][string] to recursive bool |
| 240 | MIST-150 Add Rollback method and related tests |
| 241 | MIST-160 Add SendSnapshot streaming method and tests |
| 242 | |
| 243 | Matt Layher (1): |
| 244 | Add Error struct type and tests, enabling easier error return checking |
| 245 | |
| 246 | [3.0.0]: https://github.com/mistifyio/go-zfs/compare/v2.1.1...v3.0.0 |
| 247 | [2.1.1]: https://github.com/mistifyio/go-zfs/compare/v2.1.0...v2.1.1 |
| 248 | [2.1.0]: https://github.com/mistifyio/go-zfs/compare/v2.0.0...v2.1.0 |
| 249 | [2.0.0]: https://github.com/mistifyio/go-zfs/compare/v1.0.0...v2.0.0 |
| 250 | [1.0.0]: https://github.com/mistifyio/go-zfs/compare/v0.0.0...v1.0.0 |