-
Notifications
You must be signed in to change notification settings - Fork 38.4k
Introduce a reserved default profile name [SPR-8203] #12852
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Chris Beams commented
|
Alex Wibowo commented Hi, Unless I've completely missed it, I cant seem to find this behaviour documented in Spring documentation: http://docs.spring.io/spring/docs/3.2.14.RELEASE |
Sam Brannen commented That's correct, Alex. This functionality was documented after 3.2.x. You can find the corresponding documentation in the reference manual for 4.1 and 4.2:
|
Alex Wibowo commented Thanks Sam. I still think the doc for 3.2 needs to be updated, no ? Since it seems that the feature was introduced in 3.1... |
Sam Brannen commented Yes, indeed: the feature was introduced in Spring 3.1; however, I don't believe that we intend to backport documentation to the 3.2.x line since it is in maintenance mode now, with 4.1 and 4.2 being actively supported and work beginning on 4.3 already. |
Alex Wibowo commented Fair enough... Thanks! |
Chris Beams opened SPR-8203 and commented
Early in Spring 3.1 M1 a reserved 'default' profile name was introduced. We backed it out under the rationale that it's less magical to express defaults explicitly through
spring.profiles.default
orConfigurableEnvironment#setDefaultProfiles
.This can be (re-)introduced; just wanted to keep it simple to start and see if it's truly wanted/needed.
Affects: 3.1 M1
Issue Links:
Referenced from: commits c4a1350
4 votes, 6 watchers
The text was updated successfully, but these errors were encountered: