Skip to content

Commit

Permalink
Release Projectile 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatsov committed Jan 1, 2019
1 parent 682f6d8 commit 823c0aa
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 14 deletions.
11 changes: 7 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,24 @@

## master (unreleased)

## 2.0.0 (2019-01-01)

### New features

* [#972](https://github.com/bbatsov/projectile/issues/972): Add toggle for project read only mode: `projectile-toggle-project-read-only`.
* New interactive command `projectile-run-ielm`.
* Add [crystal](https://crystal-lang.org) project type.
* [#850](https://github.com/bbatsov/projectile/issues/850): Make it possible to prompt for a project, when you're not in a project, instead of raising an error. (see `projectile-require-project-root`).
* **(Breaking)** [#1147](https://github.com/bbatsov/projectile/issues/1147): Remove any post-processing from the `alien` indexing method.
* **(Breaking)** [#1147](https://github.com/bbatsov/projectile/issues/1147): Introduce a new indexing method called `hybrid` which behaves like the old `alien`.
* [#1147](https://github.com/bbatsov/projectile/issues/1147): Introduce a new indexing method called `hybrid` which behaves like the old `alien`.
* [#896](https://github.com/bbatsov/projectile/issues/896) Add commands `projectile-previous-project-buffer ` and
`projectile-next-project-buffer ` to switch to other buffer in the project.
`projectile-next-project-buffer` to switch to other buffer in the project.
* [#1016](https://github.com/bbatsov/projectile/issues/1016): Add a new defcustom (`projectile-current-project-on-switch`) controlling what to do with the current project on switch.
* [#1233](https://github.com/bbatsov/projectile/issues/1233): Add a new defcustom (`projectile-kill-buffers-filter`) controlling which buffers are killed by `projectile-kill-buffers`.
* [#1279](https://github.com/bbatsov/projectile/issues/1279) Add command `projectile-repeat-last-command` to re-execute the last external command in a project.
* [#1279](https://github.com/bbatsov/projectile/issues/1279): Add command `projectile-repeat-last-command` to re-execute the last external command in a project.

### Changes

* **(Breaking)** [#1147](https://github.com/bbatsov/projectile/issues/1147): Remove any post-processing from the `alien` indexing method.
* Specify project path for `projectile-regenerate-tags`.
* Handle files with special characters in `projectile-get-other-files`.
* [#1260](https://github.com/bbatsov/projectile/pull/1260): ignored-*-p: Now they match against regular expressions.
Expand All @@ -31,6 +33,7 @@
* Make the mode line configurable via `projectile-dynamic-mode-line` and `projectile-mode-line-function`.
* [#1205](https://github.com/bbatsov/projectile/issues/1205): Check that project directory exists when switching projects.
* Move Projectile's menu out of the "Tools" menu.
* [API] **(Breaking)** Stop raising errors from `projectile-projectile-root` if not invoked within a project. Now it will simply return nil. Use it together with `projectile-ensure-project` to emulate the old behavior.

### Bugs fixed

Expand Down
2 changes: 1 addition & 1 deletion doc/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ provide.
!!! Info

By default the `alien` method is used on all operating systems except Windows.
Prior to Projectile 1.1 `hybrid` used to be the default (but to make things
Prior to Projectile 2.0 `hybrid` used to be the default (but to make things
confusing `hybrid` used to be known as `alien` back then).

To force the
Expand Down
2 changes: 1 addition & 1 deletion doc/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ mostly because it felt practical and because pressing `C-c C-p` is not
super convenient for many people. I've come to regret this decision,
though, and it will likely be reverted down the road.

**Update** This was changed in Projectile 1.1.
**Update** This was changed in Projectile 2.0.

## Do you need some help cleanup up all those tickets that have piled up?

Expand Down
4 changes: 2 additions & 2 deletions doc/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ Finally add this to your Emacs config:

Those keymap prefixes are just a suggestion. Feel free to put
there whatever works best for you.
`C-c p` used to be the default prefix up to version 1.1, but
starting with version 1.1 you have to select prefix key(s)
`C-c p` used to be the default prefix up to version 2.0, but
starting with version 2.0 you have to select prefix key(s)
yourself.

### Installation via use-package
Expand Down
12 changes: 6 additions & 6 deletions projectile.el
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
;; Author: Bozhidar Batsov <[email protected]>
;; URL: https://github.com/bbatsov/projectile
;; Keywords: project, convenience
;; Version: 1.1.0-snapshot
;; Version: 2.0.0
;; Package-Requires: ((emacs "25.1") (pkg-info "0.4"))

;; This file is NOT part of GNU Emacs.
Expand Down Expand Up @@ -199,7 +199,7 @@ When nil Projectile will consider the current directory the project root."
:group 'projectile
:type 'string)

(make-obsolete-variable 'projectile-keymap-prefix "Use (define-key projectile-mode-map (kbd ...) 'projectile-command-map) instead." "1.1.0")
(make-obsolete-variable 'projectile-keymap-prefix "Use (define-key projectile-mode-map (kbd ...) 'projectile-command-map) instead." "2.0.0")

(defcustom projectile-cache-file
(expand-file-name "projectile.cache" user-emacs-directory)
Expand Down Expand Up @@ -468,15 +468,15 @@ Only file buffers are affected by this, as the update happens via
See also `projectile-mode-line-function' and `projectile-update-mode-line'."
:group 'projectile
:type 'boolean
:package-version '(projectile . "1.1.0"))
:package-version '(projectile . "2.0.0"))

(defcustom projectile-mode-line-function 'projectile-default-mode-line
"The function to use to generate project-specific mode-line.
The default function adds the project name and type to the mode-line.
See also `projectile-update-mode-line'."
:group 'projectile
:type 'function
:package-version '(projectile . "1.1.0"))
:package-version '(projectile . "2.0.0"))


;;; Idle Timer
Expand Down Expand Up @@ -1184,8 +1184,8 @@ function is executing."
(projectile-get-sub-projects-files directory vcs)))
(t (projectile-files-via-ext-command directory (projectile-get-ext-command vcs))))))

(define-obsolete-function-alias 'projectile-dir-files-external 'projectile-dir-files-alien "1.1")
(define-obsolete-function-alias 'projectile-get-repo-files 'projectile-dir-files-alien "1.1")
(define-obsolete-function-alias 'projectile-dir-files-external 'projectile-dir-files-alien "2.0.0")
(define-obsolete-function-alias 'projectile-get-repo-files 'projectile-dir-files-alien "2.0.0")

(defun projectile-get-ext-command (vcs)
"Determine which external command to invoke based on the project's VCS.
Expand Down

0 comments on commit 823c0aa

Please sign in to comment.