]> BookStack Code Mirror - website/blob - content/blog/beta-release-v0-16-0.md
Update filesystem-permissions.md
[website] / content / blog / beta-release-v0-16-0.md
1 +++
2 categories = ["Releases"]
3 tags = ["Releases"]
4 title = "Beta Release v0.16.0"
5 date = 2017-04-23T21:00:00Z
6 author = "Dan Brown"
7 image = "/images/blog-cover-images/old-books-jan-mellstrom.jpg"
8 description = "BookStack v0.16 released with revamped search, spellcheck and more"
9 slug = "beta-release-v0-16-0"
10 draft = false
11 +++
12
13 Another BookStack release is upon us. Since the last release work has been put into
14 spring-cleaning the search system which is detailed below. Community contributions
15 have gained some momentum bringing in some fantastic new features and fixes.
16
17 * [Update instructions](https://www.bookstackapp.com/docs/admin/updates)
18 * [GitHub release page](https://github.com/BookStackApp/BookStack/releases/tag/v0.16.0)
19
20 ### New Search System
21
22 The old search system had some issues. It was based on MySQL fulltext indexes which
23 allowed the search to be efficient but smaller search terms would be ignored or
24 non-english characters would not be matched. It also meant that BookStack relied on MySQL.
25
26 The search system has been re-written with a custom, more basic, solution that
27 should provide a better experience for most users. The search index is now built
28 on a standard database table and all text content on a page is indexed. Search terms
29 are checked against this index in a prefix-match like manner. This means that
30 the search term only needs to match the start of an indexed 'word'.
31
32 In addition to the back-end system being re-written the main search interface
33 has had an update:
34
35 ![New Search System](/images/2017/04/new-search-interface.png)
36
37 The result list is now simpler, With chapters, books and pages all in the same
38 list, ranked by how much they match the given search terms. On the right hand side
39 options have been added to expose inputs to allow more advanced searches.
40 Exact match terms and tag searches, which were in previous releases, are now
41 easier to use since you can add them in this sidebar without having to remember
42 the exact search syntax.
43
44 New to the search system is a collection of advanced search filter options. These
45 allow you to refine your search better than ever with options such as finding
46 items 'Created by me' and a range of date filters.
47
48 Full details of the search system as well as a list of available filters can be
49 found on [this new documentation page](/docs/user/searching).
50
51 ### Spellchecker
52
53 A spellchecker has been quite an important omission for a text-heavy based platform
54 such as BookStack but I'm pleased to say that spellchecking support is now enabled
55 on pages. Thanks to [@Abijeet](https://github.com/BookStackApp/BookStack/issues/354) whom
56 enabled this feature within BookStack.
57
58 ![Spellchecking support](/images/2017/04/spellchecking.png)
59
60 BookStack uses the native browser spell checking functionality to achieve this which ensures
61 the correct settings, such as language, will be correct and any custom-saved words
62 will be taken into account.
63
64 ### Translation Updates
65
66 With this release comes another round of updates to the translations.
67 The Spanish translations have had an update to be much more complete
68 [thanks again to @diegoseso](https://github.com/BookStackApp/BookStack/pull/357)
69 and now Slovak translations are available [thanks to @jendrol](https://github.com/BookStackApp/BookStack/pull/358).
70
71 ### Page Revision Counts
72
73 The number of updates is now recorded
74 and displayed at the bottom of the page. Along with this count, A revision number
75 can now been seen when viewing the list of revisions to a page. This enables you
76 to uniquely reference each revision individually which can be essential in strict
77 record keeping environments.
78
79 ### Full List of Changes
80
81 * New search system with new search filter system.
82   * New UI for searching content.
83   * Fixes issues with search terms that are short or contain accents.
84 * Added spell checker support to WYSIYG page editor. (Thanks to [@Abijeet](https://github.com/BookStackApp/BookStack/issues/354)).
85 * Page revision ID/Count system added.
86 * Slovak translations added. (Thanks to [@jendrol](https://github.com/BookStackApp/BookStack/pull/358)).
87 * Spanish translations updated. (Thanks to [@diegoseso](https://github.com/BookStackApp/BookStack/pull/357)).
88 * The page navigation highlighting will now fade out.
89 * Option to configure logging method added. (Thanks to [@solidnerd](https://github.com/BookStackApp/BookStack/pull/363)).
90 * Switched out markdown renderer library to [markdown-it](https://github.com/markdown-it/markdown-it):
91   * Fixes ability to have brackets in markdown urls.
92   * Allows backslash escaping in markdown tables.
93 * Updated permission system with ability to hide parent items and have the child be visible.
94 * Confirmation emails may now be queued (Thanks to [@DaneEveritt](https://github.com/BookStackApp/BookStack/pull/362)).
95
96 ### Next Steps
97
98 I'm thinking that the next chunk of work for BookStack may be more refinement
99 and maintenance rather than big new features. A few areas, such as the test suite
100 and JavaScript framework, need an update to be aligned. With the change to the
101 search system we can also look at supporting other database types.
102
103 Notifications are becoming more requested, For which an initial discussion of
104 using webhooks [can be found here](https://github.com/BookStackApp/BookStack/issues/147)
105 although I have some concerns about keeping BookStack performant at scale when
106 notification come into play.
107
108 ----
109
110 <span style="font-size: 0.8em;opacity:0.8;">Header Image Credits: <a href="https://unsplash.com/@mrjane" target="_blank">Jan Mellström</a></span>