Skip to content

Commit

Permalink
Update versions for v11.6.0-beta.1 (#2229)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjleonard37 committed Jul 19, 2024
1 parent ef85854 commit 86476e9
Show file tree
Hide file tree
Showing 10 changed files with 101 additions and 22 deletions.
18 changes: 18 additions & 0 deletions Apps/Apps.xcworkspace/xcshareddata/swiftpm/Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,24 @@
"version" : "0.6.0"
}
},
{
"identity" : "mapbox-common-ios",
"kind" : "remoteSourceControl",
"location" : "https://github.com/mapbox/mapbox-common-ios.git",
"state" : {
"revision" : "03c1b2ee8d57d1fa95af7c472c9707cb897b2376",
"version" : "24.6.0-beta.1"
}
},
{
"identity" : "mapbox-core-maps-ios",
"kind" : "remoteSourceControl",
"location" : "https://github.com/mapbox/mapbox-core-maps-ios.git",
"state" : {
"revision" : "86992e7b2604282fc10680e524a2a67a4586df05",
"version" : "11.6.0-beta.1"
}
},
{
"identity" : "turf-swift",
"kind" : "remoteSourceControl",
Expand Down
26 changes: 18 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,21 @@ Mapbox welcomes participation and contributions from everyone.

## main

## 11.6.0-beta.1 - 19 July, 2024

⚠️⚠️⚠️ Known Issues ⚠️⚠️⚠️
* `ClipLayer` property `clipLayerTypes` is not updated in runtime expected fix will land in 11.6.0-rc.1
* `ClipLayer` property `clipLayerTypes` is not updated in runtime. The fix is expected to land in 11.6.0-rc.1.

### Features ✨ and improvements 🏁

* SwiftUI API marked as stable
* Introduce new `ViewAnnotation.allowZElevate` and `MapViewAnnotation.allowZElevate` property that allows View annotation to be elevated when positioned on top of buildings.
* Expose experimental `ClipLayer` to remove 3D data (fill extrusions, landmarks, trees) and symbols.
* `CustomRasterSource` API updated, now `CustomRasterSourceOptions` accepts protocol `CustomRasterSourceClient`, enabling direct rendering into `CustomRasterSource` tiles. To achieve behavior similar to previous releases one may construct instance of `CustomRasterSourceClient` as shown below:
```swift
CustomRasterSourceOptions(tileStatusChangedFunction: { tileID, status in }) // Before
CustomRasterSourceOptions(clientCallback: CustomRasterSourceClient.fromCustomRasterSourceTileStatusChangedCallback { tileID, status in }) // Now
```
* Introduce new `ViewAnnotation.allowZElevate` and `MapViewAnnotation.allowZElevate` properties. When set to true, the annotation will be positioned on the rooftops of buildings, including both fill extrusions and models.
* Deprecate `MapView.presentsWithTransaction` and `Map.presentsWithTransaction` in favor of `MapView.presentationTransactionMode` and `Map.presentationTransactionMode`. The new default `PresentationTransactionMode.automatic` updates the `presentsWithTransaction` automatically when need to optimize performance. If you used the `MapView.presentsWithTransaction` with View Annotations, now you can safely remove this option:
```swift
Map {
Expand All @@ -23,13 +33,13 @@ In case you need to preserve the old default behavior use `presentationTransacti
mapView.presentationTransactionMode = .async // UIKit
Map().presentationTransactionMode(.async) // SwiftUI
```
* `CustomRasterSource` API updated, now `CustomRasterSourceOptions` accepts protocol `CustomRasterSourceClient`. To achieve behaviour similar to previous releases one may construct instance of `CustomRasterSourceClient` as shown below:
```swift
CustomRasterSourceOptions(tileStatusChangedFunction: { tileID, status in }) // Before
CustomRasterSourceOptions(clientCallback: CustomRasterSourceClient.fromCustomRasterSourceTileStatusChangedCallback { tileID, status in }) // Now
```

* MapboxMaps XCFramework structure now properly constructed for `maccatalyst` platform and code signing issues was eliminated.
* Introduce new `ClipLayer` that allow to hide 3D models or symbols in the defined area

### Bug fixes 🐞

* Improved `line-pattern` precision
* Fixed `CustomRasterSource` rendering when camera shows anti-meridian or multiple world copies.

## 11.5.1 - 5 July, 2024

Expand Down
39 changes: 37 additions & 2 deletions LICENSE.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions MapboxMaps.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |m|

maps_version = '11.5.1'
maps_version = '11.6.0-beta.1'

m.name = 'MapboxMaps'
m.version = maps_version
Expand All @@ -21,8 +21,8 @@ Pod::Spec.new do |m|
m.source_files = 'Sources/MapboxMaps/**/*.{swift,h}'
m.resource_bundles = { 'MapboxMapsResources' => ['Sources/**/*.{xcassets,strings}', 'Sources/MapboxMaps/MapboxMaps.json', 'Sources/MapboxMaps/PrivacyInfo.xcprivacy'] }

m.dependency 'MapboxCoreMaps', '11.6.0-SNAPSHOT.0718T0640Z.528a42e'
m.dependency 'MapboxCommon', '24.6.0-SNAPSHOT.0711T1125Z.e5357ad'
m.dependency 'MapboxCoreMaps', '11.6.0-beta.1'
m.dependency 'MapboxCommon', '24.6.0-beta.1'
m.dependency 'Turf', '2.8.0'

end
18 changes: 18 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
{
"pins" : [
{
"identity" : "mapbox-common-ios",
"kind" : "remoteSourceControl",
"location" : "https://github.com/mapbox/mapbox-common-ios.git",
"state" : {
"revision" : "03c1b2ee8d57d1fa95af7c472c9707cb897b2376",
"version" : "24.6.0-beta.1"
}
},
{
"identity" : "mapbox-core-maps-ios",
"kind" : "remoteSourceControl",
"location" : "https://github.com/mapbox/mapbox-core-maps-ios.git",
"state" : {
"revision" : "86992e7b2604282fc10680e524a2a67a4586df05",
"version" : "11.6.0-beta.1"
}
},
{
"identity" : "turf-swift",
"kind" : "remoteSourceControl",
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import PackageDescription
import Foundation

let coreMaps = MapsDependency.coreMaps(version: "11.6.0-SNAPSHOT.0718T0640Z.528a42e", checksum: "e69069ec2e32939e0ee201974acc5ab61564ae5a11215426ff55f4db13217679")
let common = MapsDependency.common(version: "24.6.0-SNAPSHOT.0711T1125Z.e5357ad", checksum: "ebbcfde89ee797a53296250c70a6b3336ce0c9c35a688d5b5287e720edbb3fff")
let coreMaps = MapsDependency.coreMaps(version: "11.6.0-beta.1")
let common = MapsDependency.common(version: "24.6.0-beta.1")

let mapboxMapsPath: String? = nil

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ Maps rendering SDK also known as GL-Native. These are for internal use only.
- ``MBMSourceDataLoadedTypeToString(_:)``
- ``MBMStyleDataLoadedTypeToString(_:)``
- ``MBMTileStoreUsageModeToString(_:)``
- ``MBXTileStoreAmbientCacheTypeToString(_:)``

<!-- type aliases -->
- ``CameraChangedCallback``
Expand All @@ -39,4 +38,3 @@ Maps rendering SDK also known as GL-Native. These are for internal use only.
- ``TransitionOptions-class``

<!-- enums-->
- ``TileStoreAmbientCacheType``
4 changes: 2 additions & 2 deletions Sources/MapboxMaps/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>11.5.1</string>
<string>11.6.0</string>
<key>CFBundleVersion</key>
<string>129</string>
<string>130</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion Sources/MapboxMaps/MapboxMaps.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version" : "11.5.1"
"version" : "11.6.0-beta.1"
}
4 changes: 2 additions & 2 deletions scripts/release/packager/versions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"MapboxCoreMaps": "11.6.0-SNAPSHOT.0718T0640Z.528a42e",
"MapboxCommon": "24.6.0-SNAPSHOT.0711T1125Z.e5357ad",
"MapboxCoreMaps": "11.6.0-beta.1",
"MapboxCommon": "24.6.0-beta.1",
"Turf": "2.8.0"
}

0 comments on commit 86476e9

Please sign in to comment.