Changelog for v3.18.0

This commit is contained in:
Andreas Hocevar
2016-08-26 17:55:57 +02:00
parent 3fc2b9798e
commit 7de3951236
2 changed files with 172 additions and 0 deletions
+2
View File
@@ -1,5 +1,7 @@
## Upgrade notes
### v3.18.0
#### Changes in the way assertions are handled
Previously, minified builds of the library did not have any assertions. This caused applications to fail silently or with cryptic stack traces. Starting with this release, developers get notified of many runtime errors through the new `ol.AssertionError`. This error has a `code` property. The meaning of the code can be found on http://openlayers.org/en/latest/doc/errors/. There are additional console assertion checks in debug mode when the `goog.DEBUG` compiler flag is `true`. As this is `true` by default, it is recommended that those creating custom builds set this to `false` so these assertions are stripped.'