Skip to content

armeria-0.58.0

Choose a tag to compare

@trustin trustin released this 06 Feb 07:06

New feature

  • #993 Allow creating PropertiesEndpointGroup without default port number.
    • You do not need to specify the defaultPort parameter when your endpoints' default ports are 80 or 443.

      final Properties props = new Properties();
      props.setProperty("myHosts.0", "foo.com");
      props.setProperty("myHosts.1", "bar.com");
      final PropertiesEndpointGroup group = PropertiesEndpointGroup.of(props, "myHosts");
      assert group.endpoints().contains(Endpoint.of("foo.com"));
      assert group.endpoints().contains(Endpoint.of("bar.com"));

Dependencies

  • Guava 23.6 -> 24.0
  • Netty 4.1.20 -> 4.1.21
  • Thrift 0.10.0 -> 0.11.0