Skip to content

Commit bbdbbbb

Browse files
committed
Updated release notes for 3.0, changed internal version
1 parent f435a87 commit bbdbbbb

File tree

4 files changed

+23
-141
lines changed

4 files changed

+23
-141
lines changed

messages.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"1.3.0": "messages/1.3.0.txt",
33
"1.6.0": "messages/1.6.0.txt",
44
"2.0.0": "messages/2.0.0.txt",
5-
"3.0.0-beta": "messages/3.0.0.txt"
5+
"3.0.0": "messages/3.0.0.txt"
66
}

messages/3.0.0.txt

+19-137
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,31 @@
1-
Version 3.0.0 Release Notes
1+
Version 3.0 Release Notes
22

33

44
**** Windows Sublime Text 3 Users ****
55

6-
Due to a bug in Package Control 2.0.0, Windows ST3 users will need to open the
6+
Due to a bug in Package Control 2.0, Windows ST3 users will need to open the
77
Sublime Text console (ctrl+`) and execute the following Python to properly
88
upgrade. All other users may ignore this part of the message.
99

1010
Make sure NOT to copy the leading two spaces, or an "unexpected indent" error
1111
will occur.
1212

13-
import urllib.request,os; pr='Preferences.sublime-settings'; ip='ignored_packages'; n='Package Control'; s=sublime.load_settings(pr); ig=s.get(ip); ig.append(n); s.set(ip,ig); sublime.save_settings('Preferences.sublime-settings'); pf=n+'.sublime-package'; urllib.request.install_opener(urllib.request.build_opener(urllib.request.ProxyHandler())); by=urllib.request.urlopen('https://packagecontrol.io/prerelease/'+pf.replace(' ','%20')).read(); open(os.path.join(sublime.installed_packages_path(),pf),'wb').write(by); ig.remove(n); s.set(ip,ig); sublime.save_settings(pr); print('Package Control: 3.0.0 upgrade successful!')
13+
import urllib.request,os; pr='Preferences.sublime-settings'; ip='ignored_packages'; n='Package Control'; s=sublime.load_settings(pr); ig=s.get(ip); ig.append(n); s.set(ip,ig); sublime.save_settings('Preferences.sublime-settings'); pf=n+'.sublime-package'; urllib.request.install_opener(urllib.request.build_opener(urllib.request.ProxyHandler())); by=urllib.request.urlopen('https://packagecontrol.io/'+pf.replace(' ','%20')).read(); open(os.path.join(sublime.installed_packages_path(),pf),'wb').write(by); ig.remove(n); s.set(ip,ig); sublime.save_settings(pr); print('Package Control: 3.0.0 upgrade successful!')
1414

1515
********
1616

1717

18-
TLDR version: Almost two months of full-time development has added dependency
19-
support, SSL for Linux, new Windows HTTP fallback, ST2 on Windows patches,
20-
and general improved robustness to Package Control.
18+
Package Control 3.0 adds a bunch of polish, improving the Sublime Text
19+
experience for users and package developers:
20+
21+
- improved upgrades of themes, color schemes and syntaxes
22+
- dependency support
23+
- SSL for Linux
24+
- new secondary Windows HTTP backend
25+
- patches for Python in Sublime Text 2 on Windows
26+
- commands to easily remove channels and repositories
27+
- an events API for packages
28+
- improved documentation
2129

2230

2331
As of July 2014, I now work for myself. This has allowed me to spend more time
@@ -29,137 +37,11 @@ my development time! See https://packagecontrol.io/about for options.
2937

3038
Some recent Package Control stats:
3139

32-
+ every weekday over 1M JSON requests his the channel server
33-
+ in December, the channel server will transmit 4TB+ of compressed JSON data
34-
+ users have installed, upgraded or removed 85M packages since late 2011
35-
36-
37-
The following notes detail some of the bigger aspects of this new release.
38-
39-
Backwards Compatibility Breaks
40-
41-
- For users who have a custom SSL CA certs, please note that any custom certs
42-
must now be stored in "Packages/User/Package Control.user-ca-bundle". This
43-
mechanism replaces the old "certs" setting. In general this should not be
44-
necessary since Package Control now utilizes OS certificate stores for CA
45-
certs.
46-
47-
Dependencies
48-
49-
- Package Control now supports package dependencies for the sake of shipping
50-
non-user-facing binary files that are needed by packages. These will commonly
51-
include compiled Python modules and executables. To learn more, read the
52-
documentation at https://packagecontrol.io/docs/dependencies.
53-
54-
- A package loader that is run before any other non-default packages. This adds
55-
dependency folders to sys.path and makes the "package_control" Python module
56-
always available, instead of waiting until Sublime Text loads up all
57-
packages that are alphabetically before "Package Control".
58-
59-
Upgrades
60-
61-
- Improved handling of package upgrades involving editor customizations.
62-
Theme, Color Scheme and Syntax upgrades will no longer cause Sublime Text
63-
error messages. If a package containing one of these is being upgraded,
64-
Package Control will change the setting back to the default just before
65-
starting. Once complete, the customized settings will be restored.
66-
67-
- In-use file upgrades improved. Package Control performs extra steps on
68-
Windows to allow upgrades to occur for packages that use various binary
69-
files such as DLLs and executables.
70-
71-
- A package event API was added to allow packages to know if they were just
72-
installed, are about to be upgraded, were just upgraded, or are about to be
73-
removed. See https://packagecontrol.io/docs/events for more details.
74-
75-
- Package upgrades that are interupted by Sublime Text being closed or
76-
restarted will no longer result in packages being left in the
77-
"ignored_packages" list.
78-
79-
Commands
80-
81-
- Additional commands were added to the command palette, including:
82-
83-
+ Advanced Install Package: install packages via a comma-separated list
84-
+ List Unmanaged Packages: list packages not controlled via Package Control
85-
+ Remove Channel: helper to remove a channel
86-
+ Remove Repository: helper to remove a repository
87-
88-
Syncing
89-
90-
- Package Control will now remove packages, upon start, that have been deleted
91-
from the "installed_packages" list. This improves the recommended
92-
configuration of just syncing the "Packages/User/" folder.
93-
94-
- Incorrect syncing of packages will now be detected and users will be
95-
notified of the issue. Sync warnings will only be raised when a package for
96-
a specific platform or version of Sublime Text is copied to an incompatible
97-
location.
98-
99-
Python Patches
100-
101-
- Upgraded SSL support for Sublime Text 2 on Windows. _ssl.pyd files are
102-
installed for ST2 on Windows that are compiled against the latest version
103-
of OpenSSL. This allows secure connections to validate modern SSL
104-
certificates that use SHA-2 signatures.
105-
106-
- Package Control now patches the Python select module for Sublime Text 2 on
107-
Windows. This patch will make the select module available for use by
108-
all packages.
109-
110-
Security
111-
112-
- All repositories and packages are now required to use SSL for improved
113-
security.
114-
115-
- SSL support for Linux. Package Control now ships _ssl.so files that are
116-
compatible with OpenSSL 0.9.8 and 1.0.x (both libssl-1.0.0 and libssl-10).
117-
Thanks to the new package loader, these are injected before any other
118-
packages are loaded. Gone are the days of package developers having to
119-
bundle them individually, or using curl/wget.
120-
121-
- SSL CA certificates are now 100% sourced from the OS. Previously Package
122-
Control included functionality to distribute SSL CA certificates to allow
123-
validation of SSL certs on OS X and Windows. With version 3.0.0, Package
124-
Control can now explort SSL CA certs from the Windows trust store into the
125-
format necessary for OpenSSL. This allows PC to no longer be responsible for
126-
distributing SSL CA certs in a secure way.
127-
128-
- Added a parser that allows Package Control to validate SSL certificates using
129-
SubjectAltName fields for certs that are valid for multiple hostnames.
130-
Previously such certificates were only supported in Sublime Text 3.
131-
132-
HTTP
133-
134-
- Urllib-based downloader for Windows. In version 2.0.0, Package Control
135-
switched from using urllib for downloads to using the WinINet API on Windows.
136-
This allowed PC to delegate all of the work of proxy auto-detection and SSL
137-
verification to the OS. Unfortunately some users are unable to connect to
138-
the internet using WinINet due to local policies. Other users experienced
139-
issues with SSL connectivity through the WinINet API. As of version 3.0.0,
140-
Package Control will automatically fall back to the urllib downloader if
141-
WinINet is unable to connect.
142-
143-
- HTTP compression based on bzip2 is now used for the channel file to reduce
144-
bandwidth usage. Every Sublime Text install will now have the bz2 module
145-
available for use by other packages.
40+
- every weekday over 1M JSON requests hit the channel server
41+
- in December, the channel server will transmit 4TB+ of compressed JSON
42+
- users have installed, upgraded or removed 85M+ packages since late 2011
14643

147-
Repositories and Channels
14844

149-
- A new schema_version of the channel and repository JSON files was released
150-
that supports using prefixed tags to allow for semantic versions with
151-
separate code-bases for different versions of Sublime Text. See
152-
https://github.com/wbond/package_control/blob/master/example-repository.json
153-
for details.
154-
155-
- A new package, ChannelRepositoryTools, was released that provides commands
156-
for package developers to upgrade their older repository JSON files to the
157-
newest standard. https://packagecontrol.io/packages/ChannelRepositoryTools
158-
contains more information.
45+
Read more about the release at:
15946

160-
Package Creation
161-
162-
- The "Create Binary Package File" command was removed, but replaced with
163-
the "package_profiles" setting which allows for any number of different
164-
package creation configurations. See
165-
https://packagecontrol.io/docs/creating_package_files for more details.
47+
https://packagecontrol.io/news#2014-12-23-Package_Control_30_Released

package-metadata.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "3.0.0-beta",
2+
"version": "3.0.0",
33
"url": "https://packagecontrol.io",
44
"description": "A full-featured package manager",
55
"sublime_text": "*",

package_control/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version__ = "3.0.0-beta2"
2-
__version_info__ = (3, 0, 0, 'beta2')
1+
__version__ = "3.0.0"
2+
__version_info__ = (3, 0, 0)

0 commit comments

Comments
 (0)