Skip to content

Latest commit

 

History

History
533 lines (335 loc) · 15 KB

CHANGELOG.md

File metadata and controls

533 lines (335 loc) · 15 KB

v1.14.1

v1.14.0

  • Migrate the cross-compilation toolchain to Zig
    • All Linux targets use musl, so no libc dependency.
    • Now linux-i386 is distributed instead of linux-i686
  • Upgrade mruby-yaml
    • 123_456 is parsed as 123456 instead of "123_456"

v1.13.1

v1.13.0

  • local_ruby_block executes code under cwd if it's present

v1.12.10

  • Stream output of run_command with --log-level debug or log_output: true option

v1.12.9

  • Get encrypted passwords from /etc/shadow for some platforms

v1.12.8

  • Support Itamae v1.11.0's sensitive attribute in file resources

v1.12.7

  • Add mruby-enum-ext

v1.12.6

  • Fix a build issue for Solaris

v1.12.5

  • Upgrade mruby-yaml
    • No impact for behaviors. You can build this mitamae without curl to fetch libyaml.

v1.12.4

v1.12.3

  • Add --no-color option to disable colors

v1.12.2

  • Upgrade mruby from v2.1.2 to v3.0.0

v1.12.1

  • Allow defining top-level modules without :: in recipes

v1.12.0

  • Upgrade mruby from v2.0.1 to v2.1.2
  • Upgrade specinfra from v2.82.12 to v2.82.23
  • Upgrade XCode used for darwin-x86_64 to 12.4
  • Drop darwin-i386 support

v1.11.8

  • Support aarch64-darwin in binary releases

v1.11.7

  • Avoid a hang on gem_package resource when nonexistent gem_binary is specified

v1.11.6

  • Support atomic_update attribute in file, remote_file, and template resources

v1.11.5

v1.11.4

v1.11.3

  • Update Docker image for building released binaries

v1.11.2

  • Support aarch64 in binary releases

v1.11.1

v1.11.0

v1.10.5

  • Fix notifications to multiple subscribes from a single resource
    • When multiple resources subscribed the same resource, only one of them had been notified since v1.7.1
  • Fix a notification message in subscribes to have a notified resource instead of a notifying resource
  • Upgrade specinfra from v2.82.7 to v2.82.8 ([email protected])
    • This resurrects the Symbol reference in node[:ec2][:xxx], which was introduced in mitamae v1.5.5 and dropped in mitamae v1.10.0

v1.10.4

  • Pass a file name to __FILE__ in a resource plugin instead of (eval)

v1.10.3

  • Load resource plugins properly with --plugins

v1.10.2

v1.10.1

  • Add --plugins option to specify plugins directory
  • Change MItamae in help and log messages to mitamae

v1.10.0

v1.9.8

v1.9.7

  • Stop defining path, variables, source, recipe local variables in recipe by default
    • They have been accidentally exposed to recipes because of the environment of internal instance_eval call

v1.9.6

  • Fix a crash when file resource handles a file with nameless owner

v1.9.5

  • Upgrade mruby-yaml
    • YAML.dump stops generating a double quotes literal when a string includes double quotes

v1.9.4

  • Upgrade mruby-yaml
    • Introduce Object#to_yaml
    • Psych-compatible multi-line literal is generated on YAML.dump

v1.9.3

  • Fix debug logs of defined resource (added since v1.9.2) to show correct names

v1.9.2

  • Respect only_if/not_if in a resource defined by define

v1.9.1

  • Upgrade mruby-yaml
    • YAML.dump generates double quotes for String not starting with alphabet or number.
    • Like CRuby's Psych, YAML.dump no longer generates ...

v1.9.0

v1.8.0

  • http_request resource drops check_error attribute (v1.7.4 feature) and always raises exceptions on 4XX or 5XX responses #85

v1.7.8

v1.7.7

  • Add Node#validate! like Itamae #83

v1.7.6

  • Allow using content attribute in template resource

v1.7.5

  • Upgrade mruby to v2.0.1

v1.7.4

  • Add check_error attribute to http_request resource

v1.7.3

  • Fix file resource error when it has user attribute which is not the same as mitamae executor.

v1.7.2

v1.7.1

  • Deduplicate delayed notifications
    • The same notification by subscribes/notifices will run only once

v1.7.0

  • Upgrade mruby to v2.0.0

v1.6.6

  • Change JSON parse/generator from mruby-iijson to mruby-json to support JSON.pretty_generate

v1.6.5

  • Fix LocalJumpError inside Hash#uniq by backporting mruby's patch

v1.6.4

v1.6.3

  • Fix an error by creating a file with content "" with owner/group specified
  • "mitamae" is printed in the log instead of "MItamae"

v1.6.2

  • Allow specifying -j/--node-json and -y/--node-yaml multiple times
    • The latter node JSON/YAML overrides the former JSON/YAML

v1.6.1

  • Add mitamae-armhf-linux binary in the released binaries for Raspberry Pi

v1.6.0

  • http_request resource requires curl(1) in a host
    • http_request supports https request #46
    • http_request follows redirection
    • POST or PUT http_request with request body foo=bar is interpreted properly

v1.5.7

  • Release binaries from Travis CI instead of k0kubun's machine

v1.5.6

  • Allow using URI module to write recipes
  • Improve error message on NoMethodError in resource context

v1.5.5

  • Allow using Symbol in node[:ec2][xxx] as well

v1.5.4

  • Fix error when seeing EC2 metadata from node
  • Return Hash::Mash instead of Hash from node[xxx] when it's host inventory

v1.5.3

  • Allow using Kernel#at_exit from recipe #69

v1.5.2

  • Fix gem_package resource to strip "default: " prefix from gem versions #66

v1.5.1

  • GC is enabled again
    • Please try v1.5.0 too if you encounter any trouble

v1.5.0

  • Upgrade mruby to 1.3.0 #63

v1.4.5

  • Update mruby-io #61

v1.4.4

  • Add debug log on recipe loading #60

v1.4.3

  • Add depth attribute to git resource #57

v1.4.2

v1.4.1

  • Support force link to a directory #54
  • Allow service resource to execute only reload action #55
  • Allow local_ruby_block to notify changes #56

v1.4.0

  • Update mruby and mruby-io
  • Share notifiable resources among recipes specified by ARGV

v1.3.4

v1.3.3

  • Prevent source of file resource from being modified
    • Optimization introduced in #41 is reverted for this
  • Accept callable object for only_if/not_if #49
  • Allow using Array for execute resource #50

v1.3.2

  • Suppress NotImplementedError on node object like Itamae #44
  • Fix error on applying remote_directory twice #45

v1.3.1

  • Improve performance
    • Use syscall for link operations #43

v1.3.0

  • Improve performance
    • Use syscall for file mode changes #37
    • Use syscall to remove files #38
    • Skip unnecessary file copy for file resource #41
  • Notify file's content changes #40
  • Show notifies' log for dry-run mode #39
  • Improve internal implementation
    • Update Open3.capture3 to add chdir option, symbolize options and fix a potential bug

v1.2.4

  • Disable GC to avoid bus error

v1.2.3

  • Improve performance
    • Use syscall for file operations #34
    • Use syscall for users and groups operations #35

v1.2.2

  • Improve performance #30 #31 #32
  • GC is enabled

v1.2.1

  • Fix SEGV on undefined method in recipe

v1.2.0

  • Internal changes for resource plugins #27
    • [breaking change] MItamae::ResourceExecutor::Base#apply is changed to have no arguments
      • Original arguments current/desired are defined as attr_reader instead.
    • current/desired are frozen after set_current_attributes/set_desired_attributes
    • Add pre_action hook for destructive operations.
      • set_current_attributes/set_desired_attributes should have no side effects.
  • Drop rake.gem from build dependency

v1.1.2

  • Allow creating file with empty content

v1.1.1

  • Fix assignment failure on node object

v1.1.0

  • Add supported platforms
    • aix, alpine, amazon, coreos, cumulus, eos, esxi, fedora, freebsd,linuxmint,
    • nixos, openbsd, opensuse, plamo, poky, sles, smartos, solaris, suse

v1.0.1

  • Add warn and fatal log levels to MItamae.logger

v1.0.0

  • Implement all features for itamae local
    • Support subscribes, verify
    • Add local_ruby_block, remote_directory, http_request resources
    • Implement Host Inventory
  • Print stdout and stderr on command failure

v0.6.2

  • Support edit action for file resource

v0.6.1

  • Support node.yml
  • Fix broken node.json support

v0.6.0

v0.5.3

  • Allow using params in resource inside definition

v0.5.2

  • Search files based on defined path in defined resource

v0.5.1

  • Avoid including the same recipes even if they are nested

v0.5.0

  • Release darwin binary with tarball

v0.4.2

  • Optimize file operations by mruby-file-stat

v0.4.1

  • Fix service resource for Ubuntu
  • Support :uninstall of gem_package resource

v0.4.0

  • Rename from itamae-mruby to mitamae

v0.3.0

  • Support resource plugin #4

v0.2.2

  • Close pipe after command execution on mruby-open3

v0.2.1

  • Fix bug in showing difference

v0.2.0

  • Improve stability
  • Don't use thread to execute commands

v0.1.1

v0.1.0

  • Release Linux binaries in .tar.gz

v0.0.16

  • Avoid SEGV in GC

v0.0.15

  • Normalize file mode properly

v0.0.14

  • Decrease memory allocation
  • Fix SEGV by defined resource

v0.0.13

  • Add mruby-enumerator

v0.0.12

  • Rollback mruby to fork

v0.0.11

  • Use mruby master
  • Add mruby-fiber to let erb work

v0.0.10

  • Add group resource #2. Thanks to @nonylene
  • Add user resource #3. Thanks to @nonylene

v0.0.9

  • Fix non-executed bug in execute resource
  • Support notifies attribute

v0.0.8

  • Support gem_package resource

v0.0.7

  • Show backtrace on recipe error

v0.0.6

  • Fix namespace resolution bug in Specinfra::Command::Darwin::Base::Package

v0.0.5

  • Use fork of mruby to use resource inside each

v0.0.4

  • Fix command failure (exit status = 141) on link or git resource

v0.0.3

  • Fix node to be available in define block

v0.0.2

  • Support node[:platform] and node[:platform_version]

v0.0.1

  • Initial release
  • Add resources
    • execute
    • package
    • directory
    • git
    • file
    • remote_file
    • template
    • link
    • service
  • Add support for some platforms
    • Arch Linux
    • CentOS
    • Debian
    • Gentoo
    • OSX
    • Ubuntu
  • Add define, run_command and include_recipe