Skip to content
Newer
Older
100644 415 lines (286 sloc) 12.9 KB
c0e7d6f @fabiopelosin [Changelog] update.
fabiopelosin authored Jul 11, 2012
1 ## 0.8.1
2
3 [CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.8.0...master)
4
5 ###### Bug fixes
6
7 - Relaxed linter to accepts pod that only specify paths to preserve (like TuneupJS).
8
7149df1 @alloy [CHANGELOG] Update for 0.8.0 release.
alloy authored Jul 9, 2012
9 ## 0.8.0
0b8e151 @fabiopelosin Update master
fabiopelosin authored Jul 9, 2012
10
321fd12 @alloy Add Xcodeproj diff to CHANGELOG.
alloy authored Jul 9, 2012
11 [CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.7.0...0.8.0) • [Xcodeproj](https://github.com/CocoaPods/Xcodeproj/compare/0.2.2...0.2.3)
0b8e151 @fabiopelosin Update master
fabiopelosin authored Jul 9, 2012
12
13 ###### Breaking change
14
15 Syntax change in Podfile: `dependency` has been replaced by `pod`.
16
17 ```ruby
18 platform :ios
19 pod 'JSONKit', '~> 1.4'
20 pod 'Reachability', '~> 2.0.4'
21 ```
22
7149df1 @alloy [CHANGELOG] Update for 0.8.0 release.
alloy authored Jul 9, 2012
23 ###### Bug fixes
24
25 - Properly quote all paths given to Git.
0b8e151 @fabiopelosin Update master
fabiopelosin authored Jul 9, 2012
26
27
d5f6a31 @fabiopelosin Update develop
fabiopelosin authored Jul 6, 2012
28 ## 0.7.0
874a0ca @fabiopelosin Update develop
fabiopelosin authored Jul 6, 2012
29
0b8e151 @fabiopelosin Update master
fabiopelosin authored Jul 9, 2012
30 [CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.6.1...0.7.0) • [Xcodeproj](https://github.com/CocoaPods/Xcodeproj/compare/0.2.1...0.2.2)
874a0ca @fabiopelosin Update develop
fabiopelosin authored Jul 6, 2012
31
32 ###### Features
33
34 - Added support for branches in git repos.
35 - Added support for linting remote files, i.e. `pod spec lint http://raw/file.podspec`.
0b8e151 @fabiopelosin Update master
fabiopelosin authored Jul 9, 2012
36 - Improved `Spec create template`.
874a0ca @fabiopelosin Update develop
fabiopelosin authored Jul 6, 2012
37 - The indentation is automatically stripped for podspecs strings.
38
39 ###### Bug fixes
40
41 - The default warnings of Xcode are not overriden anymore.
42 - Improvements to the detection of the license files.
43 - Improvements to `pod spec lint`.
44 - CocoaPods is now case insensitive.
45
46
47 ## 0.6.1
48
0b8e151 @fabiopelosin Update master
fabiopelosin authored Jul 9, 2012
49 [CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.6.0...0.6.1) • [Xcodeproj](https://github.com/CocoaPods/XcodeProj/compare/0.2.0...0.2.1)
874a0ca @fabiopelosin Update develop
fabiopelosin authored Jul 6, 2012
50
51 ###### Bug fixes
52
53 - Switched to master branch for specs repo.
54 - Fixed a crash with `pod spec lint` related to `preserve_paths`.
55 - Fixed a bug that caused subspecs to not inherit the compiler flags of the top level specification.
56 - Fixed a bug that caused duplication of system framworks.
57
58
311e6cc @alloy Update CHANGELOG with changes for 0.6.0 so far.
alloy authored Mar 18, 2012
59 ## 0.6.0
60
61 A full list of all the changes since 0.5.1 can be found [here][6].
62
63
a3f084b @alloy Add entry to the CHANGELOG regarding link_with.
alloy authored Mar 27, 2012
64 ### Link with specific targets
65
66 CocoaPods can now integrate all the targets specified in your `Podfile`.
67
68 To specify which target, in your Xcode project, a Pods target should be linked
69 with, use the `link_with` method like so:
70
71 ```ruby
72 platform :ios
73
5d756c8 @alloy Styling tweaks.
alloy authored Apr 13, 2012
74 workspace 'MyWorkspace'
a4cd834 @alloy Add notes about specifying the Xcode workspace and projects in a Podf…
alloy authored Apr 13, 2012
75
a3f084b @alloy Add entry to the CHANGELOG regarding link_with.
alloy authored Mar 27, 2012
76 link_with ['MyAppTarget', 'MyOtherAppTarget']
77 dependency 'JSONKit'
78
79 target :test, :exclusive => true do
81d3550 @alloy Actually add the user's build configurations to Pods.xcodeproj.
alloy authored May 6, 2012
80 xcodeproj 'TestProject', 'Test' => :debug
a3f084b @alloy Add entry to the CHANGELOG regarding link_with.
alloy authored Mar 27, 2012
81 link_with 'TestRunnerTarget'
82 dependency 'Kiwi'
83 end
84 ```
85
86 _NOTE: As you can see it can take either one target name, or an array of names._
87
5d756c8 @alloy Styling tweaks.
alloy authored Apr 13, 2012
88 * If no explicit Xcode workspace is specified and only **one** project exists in
a4cd834 @alloy Add notes about specifying the Xcode workspace and projects in a Podf…
alloy authored Apr 13, 2012
89 the same directory as the Podfile, then the name of that project is used as the
90 workspace’s name.
91
5d756c8 @alloy Styling tweaks.
alloy authored Apr 13, 2012
92 * If no explicit Xcode project is specified for a target, it will use the Xcode
a4cd834 @alloy Add notes about specifying the Xcode workspace and projects in a Podf…
alloy authored Apr 13, 2012
93 project of the parent target. If no target specifies an expicit Xcode project
94 and there is only **one** project in the same directory as the Podfile then that
95 project will be used.
96
5d756c8 @alloy Styling tweaks.
alloy authored Apr 13, 2012
97 * If no explicit target is specified, then the Pods target will be linked with
a3f084b @alloy Add entry to the CHANGELOG regarding link_with.
alloy authored Mar 27, 2012
98 the first target in your project. So if you only have one target you do not
99 need to specify the target to link with.
100
101 See [#76](https://github.com/CocoaPods/CocoaPods/issues/76) for more info.
102
81d3550 @alloy Actually add the user's build configurations to Pods.xcodeproj.
alloy authored May 6, 2012
103 Finally, CocoaPods will add build configurations to the Pods project for all
104 configurations in the other projects in the workspace. By default the
105 configurations are based on the `Release` configuration, to base them on the
106 `Debug` configuration you will have to explicitely specify them as can be seen
107 above in the following line:
108
109 ```ruby
110 xcodeproj 'TestProject', 'Test' => :debug
111 ```
112
a3f084b @alloy Add entry to the CHANGELOG regarding link_with.
alloy authored Mar 27, 2012
113
311e6cc @alloy Update CHANGELOG with changes for 0.6.0 so far.
alloy authored Mar 18, 2012
114 ### Documentation
115
116 CocoaPods will now generate documentation for every library with the
117 [`appledoc`][5] tool and install it into Xcode’s documentation viewer.
118
119 You can customize the settings used like so:
120
121 ```ruby
122 s.documentation = { :appledoc => ['--product-name', 'My awesome project!'] }
123 ```
124
125 Alternatively, you can specify a URL where an HTML version of the documentation
126 can be found:
127
128 ```ruby
129 s.documentation = { :html => 'http://example.com/docs/index.html' }
130 ```
131
c3bb9a1 @alloy Compare 0.5.1 to HEAD until we actually tag 0.6.0 and explicitely lin…
alloy authored Mar 18, 2012
132 See [#149](https://github.com/CocoaPods/CocoaPods/issues/149) and
a3f084b @alloy Add entry to the CHANGELOG regarding link_with.
alloy authored Mar 27, 2012
133 [#151](https://github.com/CocoaPods/CocoaPods/issues/151) for more info.
311e6cc @alloy Update CHANGELOG with changes for 0.6.0 so far.
alloy authored Mar 18, 2012
134
135
2837753 @goonzoid Updated CHANGELOG.md
goonzoid authored May 25, 2012
136 ### Licenses & Documentation
137
138 CocoaPods will now generate two 'Acknowledgements' files for each target specified
139 in your Podfile which contain the License details for each Pod used in that target
140 (assuming details have been specified in the Pod spec).
141
142 There is a markdown file, for general consumption, as well as a property list file
143 that can be added to a settings bundle for an iOS application.
144
145 You don't need to do anything for this to happen, it should just work.
146
147 If you're not happy with the default boilerplate text generated for the title, header
148 and footnotes in the files, it's possible to customise these by overriding the methods
149 that generate the text in your `Podfile` like this:
150
151 ```ruby
152 class ::Pod::Generator::Acknowledgements
153 def header_text
154 "My custom header text"
155 end
156 end
157 ```
158
159 You can even go one step further and customise the text on a per target basis by
160 checking against the target name, like this:
161
162 ```ruby
163 class ::Pod::Generator::Acknowledgements
164 def header_text
165 if @target_definition.label.end_with?("MyTargetName")
166 "Custom header text for MyTargetName"
167 else
168 "Custom header text for other targets"
169 end
170 end
171 end
172 ```
173
174 Finally, here's a list of the methods that are available to override:
175
176 ```ruby
177 header_title
178 header_text
179 footnote_title
180 footnote_text
181 ```
182
183
311e6cc @alloy Update CHANGELOG with changes for 0.6.0 so far.
alloy authored Mar 18, 2012
184 ### Introduced two new classes: LocalPod and Sandbox.
185
186 The Sandbox represents the entire contents of the `POD_ROOT` (normally
187 `SOURCE_ROOT/Pods`). A LocalPod represents a pod that has been installed within
188 the Sandbox.
189
190 These two classes can be used as better homes for various pieces of logic
191 currently spread throughout the installation process and provide a better API
192 for working with the contents of this directory.
193
194
bd07c85 @alloy Add note to CHANGELOG.md about Xcodeproj API changes.
alloy authored Mar 24, 2012
195 ### Xcodeproj API
196
197 All Xcodeproj APIs are now in `snake_case`, instead of `camelCase`. If you are
198 manipulating the project from your Podfile's `post_install` hook, or from a
199 podspec, then update these method calls.
200
201
311e6cc @alloy Update CHANGELOG with changes for 0.6.0 so far.
alloy authored Mar 18, 2012
202 ### Enhancements
203
3a53857 @fabiopelosin Updated for list command improvements
fabiopelosin authored Mar 26, 2012
204 * [#188](https://github.com/CocoaPods/CocoaPods/pull/188): `list` command now
205 displays the specifications introduced in the master repo if it is given as an
206 option the number of days to take into account.
207
208 * [#188](https://github.com/CocoaPods/CocoaPods/pull/188): Transferred search
209 layout improvements and options to `list` command.
210
0dd703f @fabiopelosin Updated changelog
fabiopelosin authored Mar 23, 2012
211 * [#166](https://github.com/CocoaPods/CocoaPods/issues/166): Added printing
212 of homepage and source to search results.
213
214 * [#177](https://github.com/CocoaPods/CocoaPods/issues/177): Added `--stat`
215 option to display watchers and forks for pods hosted on GitHub.
216
217 * [#177](https://github.com/CocoaPods/CocoaPods/issues/177): Introduced colors
218 and tuned layout of search.
219
220 * [#112](https://github.com/CocoaPods/CocoaPods/issues/112): Introduced `--push`
221 option to `$ pod setup`. It configures the master spec repository to use the private
222 push URL. The change is preserved in future calls to `$ pod setup`.
223
224 * [#153](https://github.com/CocoaPods/CocoaPods/issues/153): It is no longer
225 required to call `$ pod setup`.
226
c3bb9a1 @alloy Compare 0.5.1 to HEAD until we actually tag 0.6.0 and explicitely lin…
alloy authored Mar 18, 2012
227 * [#163](https://github.com/CocoaPods/CocoaPods/issues/163): Print a template
228 for a new ticket when an error occurs.
229
311e6cc @alloy Update CHANGELOG with changes for 0.6.0 so far.
alloy authored Mar 18, 2012
230 * Added a new Github-specific downloader that can download repositories as a
231 gzipped tarball.
c3bb9a1 @alloy Compare 0.5.1 to HEAD until we actually tag 0.6.0 and explicitely lin…
alloy authored Mar 18, 2012
232
311e6cc @alloy Update CHANGELOG with changes for 0.6.0 so far.
alloy authored Mar 18, 2012
233 * No more global state is kept during resolving of dependencies.
c3bb9a1 @alloy Compare 0.5.1 to HEAD until we actually tag 0.6.0 and explicitely lin…
alloy authored Mar 18, 2012
234
311e6cc @alloy Update CHANGELOG with changes for 0.6.0 so far.
alloy authored Mar 18, 2012
235 * Updated Xcodeproj to have a friendlier API.
236
237
238 ### Fixes
239
4c0b3f4 @lukeredpath Added note about set_arc_compatibility_flag to the CHANGELOG
lukeredpath authored Mar 26, 2012
240 * [#142](https://github.com/CocoaPods/CocoaPods/issues/142): Xcode 4.3.2 no longer
241 supports passing the -fobj-arc flag to the linker and will fail to build. The
242 addition of this flag was a workaround for a compiler bug in previous versions.
243 This flag is no longer included by default - to keep using this flag, you need to
244 add `set_arc_compatibility_flag!` to your Podfile.
245
0dd703f @fabiopelosin Updated changelog
fabiopelosin authored Mar 23, 2012
246 * [#183](https://github.com/CocoaPods/CocoaPods/issues/183): Fix for
247 `.DS_Store` file in `~/.cocoapods` prevents `$ pod install` from running.
c3bb9a1 @alloy Compare 0.5.1 to HEAD until we actually tag 0.6.0 and explicitely lin…
alloy authored Mar 18, 2012
248
249 * [#134](https://github.com/CocoaPods/CocoaPods/issues/134): Match
250 `IPHONEOS_DEPLOYMENT_TARGET` build setting with `deployment_target` option in
251 generated Pods project file.
252
253 * [#142](https://github.com/CocoaPods/CocoaPods/issues/): Add `-fobjc-arc` to
254 `OTHER_LD_FLAGS` if _any_ pods require ARC.
255
256 * [#148](https://github.com/CocoaPods/CocoaPods/issues/148): External encoding
257 set to UTF-8 on Ruby 1.9 to fix crash caused by non-ascii characters in pod
258 description.
259
311e6cc @alloy Update CHANGELOG with changes for 0.6.0 so far.
alloy authored Mar 18, 2012
260 * Ensure all header search paths are quoted in the xcconfig file.
c3bb9a1 @alloy Compare 0.5.1 to HEAD until we actually tag 0.6.0 and explicitely lin…
alloy authored Mar 18, 2012
261
311e6cc @alloy Update CHANGELOG with changes for 0.6.0 so far.
alloy authored Mar 18, 2012
262 * Added weak quoting to `ibtool` input paths.
263
264
265 ---------------------------------------
266
267 ## 0.5.0
268
269 No longer requires MacRuby. Runs on MRI 1.8.7 (OS X system version) and 1.9.3.
270
271 A full list of all the changes since 0.3.0 can be found [here][7].
272
273
274 ---------------------------------------
275
276 ## 0.4.0
277
278 Oops, accidentally skipped this version.
279
280
281 ---------------------------------------
282
7cb4ea0 @alloy Use a h2 for the version in CHANGELOG
alloy authored Nov 13, 2011
283 ## 0.3.0
4f0d85d @alloy Add CHANGELOG.md
alloy authored Nov 13, 2011
284
6cf539a @alloy Include examples in CHANGELOG.
alloy authored Nov 13, 2011
285 ### Multiple targets
4f0d85d @alloy Add CHANGELOG.md
alloy authored Nov 12, 2011
286
6cf539a @alloy Include examples in CHANGELOG.
alloy authored Nov 13, 2011
287 Add support for multiple static library targets in the Pods Xcode project with
288 different sets of depedencies. This means that you can create a separate
289 library which contains all dependencies, including extra ones that you only use
290 in, for instance, a debug or test build. [[docs][1]]
4f0d85d @alloy Add CHANGELOG.md
alloy authored Nov 12, 2011
291
6cf539a @alloy Include examples in CHANGELOG.
alloy authored Nov 13, 2011
292 ```Ruby
293 # This Podfile will build three static libraries:
294 # * libPods.a
295 # * libPods-debug.a
296 # * libPods-test.a
4f0d85d @alloy Add CHANGELOG.md
alloy authored Nov 12, 2011
297
6cf539a @alloy Include examples in CHANGELOG.
alloy authored Nov 13, 2011
298 # This dependency is included in the `default` target, which generates the
299 # `libPods.a` library, and all non-exclusive targets.
300 dependency 'SSCatalog'
4f0d85d @alloy Add CHANGELOG.md
alloy authored Nov 12, 2011
301
6cf539a @alloy Include examples in CHANGELOG.
alloy authored Nov 13, 2011
302 target :debug do
303 # This dependency is only included in the `debug` target, which generates
304 # the `libPods-debug.a` library.
305 dependency 'CocoaLumberjack'
306 end
4f0d85d @alloy Add CHANGELOG.md
alloy authored Nov 12, 2011
307
6cf539a @alloy Include examples in CHANGELOG.
alloy authored Nov 13, 2011
308 target :test, :exclusive => true do
309 # This dependency is *only* included in the `test` target, which generates
310 # the `libPods-test.a` library.
311 dependency 'Kiwi'
312 end
313 ```
4f0d85d @alloy Add CHANGELOG.md
alloy authored Nov 12, 2011
314
6cf539a @alloy Include examples in CHANGELOG.
alloy authored Nov 13, 2011
315 ### Install libraries from anywhere
4f0d85d @alloy Add CHANGELOG.md
alloy authored Nov 12, 2011
316
6cf539a @alloy Include examples in CHANGELOG.
alloy authored Nov 13, 2011
317 A dependency can take a git url if the repo contains a podspec file in its
318 root, or a podspec can be loaded from a file or HTTP location. If no podspec is
319 available, a specification can be defined inline in the Podfile. [[docs][2]]
320
321 ```Ruby
322 # From a spec repo.
323 dependency 'SSToolkit'
324
325 # Directly from the Pod’s repo (if it contains a podspec).
326 dependency 'SSToolkit', :git => 'https://github.com/samsoffes/sstoolkit.git'
327
328 # Directly from the Pod’s repo (if it contains a podspec) with a specific commit (or tag).
329 dependency 'SSToolkit', :git => 'https://github.com/samsoffes/sstoolkit.git',
330 :commit => '2adcd0f81740d6b0cd4589af98790eee3bd1ae7b'
331
332 # From a podspec that's outside a spec repo _and_ the library’s repo. This can be a file or http url.
333 dependency 'SSToolkit', :podspec => 'https://raw.github.com/gist/1353347/ef1800da9c5f5d267a642b8d3950b41174f2a6d7/SSToolkit-0.1.1.podspec'
334
335 # If no podspec is available anywhere, you can define one right in your Podfile.
336 dependency do |s|
337 s.name = 'SSToolkit'
338 s.version = '0.1.3'
339 s.platform = :ios
340 s.source = { :git => 'https://github.com/samsoffes/sstoolkit.git', :commit => '2adcd0f81740d6b0cd4589af98790eee3bd1ae7b' }
341 s.resources = 'Resources'
342 s.source_files = 'SSToolkit/**/*.{h,m}'
343 s.frameworks = 'QuartzCore', 'CoreGraphics'
344
345 def s.post_install(target)
346 prefix_header = config.project_pods_root + target.prefix_header_filename
347 prefix_header.open('a') do |file|
348 file.puts(%{#ifdef __OBJC__\n#import "SSToolkitDefines.h"\n#endif})
349 end
350 end
351 end
352 ```
353
354 ### Add a `post_install` hook to the Podfile class
355
356 This allows the user to customize, for instance, the generated Xcode project
357 _before_ it’s written to disk. [[docs][3]]
358
359 ```Ruby
360 # Enable garbage collection support for MacRuby applications.
361 post_install do |installer|
362 installer.project.targets.each do |target|
6e4ee6e @lukeredpath Fixes for the latest version of xcodeproj
lukeredpath authored Mar 4, 2012
363 target.build_configurations.each do |config|
364 config.build_settings['GCC_ENABLE_OBJC_GC'] = 'supported'
6cf539a @alloy Include examples in CHANGELOG.
alloy authored Nov 13, 2011
365 end
366 end
367 end
368 ```
369
370 ### Manifest
371
372 Generate a Podfile.lock file next to the Podfile, which contains a manifest of
373 your application’s dependencies and their dependencies.
374
375 ```
376 PODS:
377 - JSONKit (1.4)
378 - LibComponentLogging-Core (1.1.4)
379 - LibComponentLogging-NSLog (1.0.2):
380 - LibComponentLogging-Core (>= 1.1.4)
381 - RestKit-JSON-JSONKit (0.9.3):
382 - JSONKit
383 - RestKit (= 0.9.3)
384 - RestKit-Network (0.9.3):
385 - LibComponentLogging-NSLog
386 - RestKit (= 0.9.3)
387 - RestKit-ObjectMapping (0.9.3):
388 - RestKit (= 0.9.3)
389 - RestKit-Network (= 0.9.3)
390
391 DOWNLOAD_ONLY:
392 - RestKit (0.9.3)
393
394 DEPENDENCIES:
395 - RestKit-JSON-JSONKit
396 - RestKit-ObjectMapping
397 ```
398
399 ### Generate Xcode projects from scratch
400
401 We no longer ship template projects with the gem, but instead generate them
402 programmatically. This code has moved out into its own [Xcodeproj gem][4],
403 allowing you to automate Xcode related tasks.
404
405
406
407
408 [1]: https://github.com/CocoaPods/CocoaPods/blob/master/lib/cocoapods/podfile.rb#L151
409 [2]: https://github.com/CocoaPods/CocoaPods/blob/master/lib/cocoapods/podfile.rb#L82
410 [3]: https://github.com/CocoaPods/CocoaPods/blob/master/lib/cocoapods/podfile.rb#L185
411 [4]: https://github.com/CocoaPods/Xcodeproj
311e6cc @alloy Update CHANGELOG with changes for 0.6.0 so far.
alloy authored Mar 18, 2012
412 [5]: https://github.com/tomaz/appledoc
28da91a @alloy Update CHANGELOG to make comparison of all changes upto 0.6.0
alloy authored Jul 2, 2012
413 [6]: https://github.com/CocoaPods/CocoaPods/compare/0.5.1...0.6.0
311e6cc @alloy Update CHANGELOG with changes for 0.6.0 so far.
alloy authored Mar 18, 2012
414 [7]: https://github.com/CocoaPods/CocoaPods/compare/0.3.10...0.5.0
Something went wrong with that request. Please try again.