1. 15 Jul, 2015 8 commits
    • izeye's avatar
      Fix typos · f4589e7c
      izeye authored
      Closes gh-3504
      f4589e7c
    • Stephane Nicoll's avatar
      Add support for property deprecation · f2d32d3e
      Stephane Nicoll authored
      Previously, an item could only have a 'deprecated' boolean flag to
      indicate that the property is deprecated. It is desirable to provide an
      additional description for the deprecation as well as the name of the
      property to use instead.
      
      The `deprecated` boolean flag is now supported. Instead, a `deprecated`
      object can be specified with two optional attributes: `reason` to provide
      an explanation for the deprecation and `replacement` to refer to the
      property that should be used instead. If none of them is present, an
      empty deprecation object should be set.
      
      For backward compatibility, the `deprecated` field is still set.
      
      Deprecation information can only set via manual meta-data.
      
      Closes gh-3449
      f2d32d3e
    • Andy Wilkinson's avatar
      Allow Jackson’s time zone to be configured via the environment · b1e9139e
      Andy Wilkinson authored
      This commit adds a new property, spring.jackson.time-zone, that can be
      used to configure the time zone that Jackson uses when configuring
      dates. It affects the serialisation of both JDK and Joda date types.
      
      Closes gh-3505
      b1e9139e
    • Dave Syer's avatar
      Workaround problems with order of endpoint handler mapping · de950126
      Dave Syer authored
      When Spring Data REST is owning the home page it has its own
      HandlerMapping with a fix (relatively) low priority. The /links
      endpoint wants to own the home page as well, and our handler mapping
      has a high priority for good reasons. This change addresses the
      issue by checking if Spring Data REST is configured and if
      the management context path (or  more specifically, the links
      endpoint) is the same as the home page.
      
      Fixes gh-3486
      de950126
    • Stephane Nicoll's avatar
      Merge pull request #3497 from izeye/patch-34 · e22ae39b
      Stephane Nicoll authored
      * pr/3497:
        Remove redundant check
      e22ae39b
    • izeye's avatar
      Remove redundant check · 019140c9
      izeye authored
      Closes gh-3497
      019140c9
    • Phillip Webb's avatar
      86f93837
    • Phillip Webb's avatar
      Polish · f0f5f78e
      Phillip Webb authored
      f0f5f78e
  2. 14 Jul, 2015 11 commits
    • Stephane Nicoll's avatar
      Fix windows build · 68d875bd
      Stephane Nicoll authored
      68d875bd
    • Stephane Nicoll's avatar
      Narrow String properties to a more precise type · e52c190b
      Stephane Nicoll authored
      We envision that IDE will support auto-completion for known types in the
      future, for instance Charset, MimeType, Resource and Locale. Some of our
      own configuration keys use a raw String type whereas they actually
      represent a higher-level concept.
      
      We now make sure to expose these with a better type, if applicable.
      
      Closes gh-2898
      e52c190b
    • Stephane Nicoll's avatar
      Detect default value from factory method · c4c24b1f
      Stephane Nicoll authored
      If a field is initialized via a factory method taking a single argument,
      we can relatively safely consider that said argument is a good
      representation of its default value. This is typically the case for
      Charset or MimeType instances.
      
      We now make sure to detect such use case (i.e. method argument with a
      single argument).
      
      Closes gh-3482
      c4c24b1f
    • Andy Wilkinson's avatar
      5e4a4500
    • Stephane Nicoll's avatar
      Merge pull request #3484 from htynkn/master · 73b24455
      Stephane Nicoll authored
      * pr/3484:
        Fix jdk version requirement
      73b24455
    • Huang YunKun's avatar
      Fix jdk version requirement · fac2d412
      Huang YunKun authored
      Closes gh-3484
      fac2d412
    • Andy Wilkinson's avatar
      eb5c195c
    • Dave Syer's avatar
      Add missing jar (.gitignored) · de02eaa2
      Dave Syer authored
      de02eaa2
    • Andy Wilkinson's avatar
      Configure CLI with repositories from active profiles in settings.xml · 84937551
      Andy Wilkinson authored
      This commit enhances the CLI to use the repositories configured in the
      profiles declared in a user's Maven settings.xml file during
      dependency resolution. A profile must be active for its repositories
      to be used.
      
      Closes gh-2703
      Closes gh-3483
      84937551
    • Stephane Nicoll's avatar
      Fix ordering of mail auto-configuration · eafee1ec
      Stephane Nicoll authored
      It is not possible to put `@Order` on nested `@Configuration` classes and
      there is no ordering guarantee of them anyway. Previously, we relied on
      the declaration order to check if the `test-connection` flag should apply
      to an existing `JavaMailSenderImpl`. It turns out at the
      `JavaMailSenderImpl` bean was not created at that time and so the
      evaluation was wrongly failing.
      
      To make that more explicit, that code is now in its own
      auto-configuration with an explicit `@AutoConfigureAfter` declaration.
      
      Since the JNDI support could be affected by the exact same issue, it has
      been restored to its own package private configuration class that is
      processed before the  `MailSenderAutoConfiguration` content is evaluated.
      
      Closes gh-3478
      eafee1ec
    • Dave Syer's avatar
      Maintain classpath order in PropertiesLauncher · bfa816f2
      Dave Syer authored
      I think this is safe, judging by the integration tests, but I'm not
      putting it in 1.2.x until we've had some feedback on it. The
      integration tests actually had a bug that was masking this problem
      because they were merging Properties from the whole classpath instead
      of picking the first available resource (which is generally what
      we do in Spring Boot applications for application.properties for
      instance).
      
      Fixes gh-3048
      bfa816f2
  3. 13 Jul, 2015 21 commits