Skip to content

Commit 9baa885

Browse files
committed
prep v6.6.0
1 parent cbf0497 commit 9baa885

File tree

2 files changed

+55
-47
lines changed

2 files changed

+55
-47
lines changed

CHANGELOG.md

+54-46
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,45 @@
11
# Changelog
22

3-
### 6.5.0
3+
### 6.6.0
44

5-
Closure Tree is now tested against Rails 5.1, just passed 50 contributors and
5+
Closure Tree is now tested against Rails 5.1, and just passed 50 contributors and
66
1000 stars on github! 🎉!
77

8+
Note that Closure Tree has moved to a new "Closure Tree" github organization.
9+
**Future gem releases will be done by other contributors.**
10+
811
* ActiveSupport 5.1 deprecation warnings were addressed in [PR
9-
262](https://github.com/mceachen/closure_tree/pull/262). Thanks, [Charles
12+
262](https://github.com/ClosureTree/closure_tree/pull/262). Thanks, [Charles
1013
Pence](https://github.com/cpence)!
11-
* Merged [PR 258](https://github.com/mceachen/closure_tree/pull/258) which
12-
improves hierarchy maintenance with large trees. Thanks, [Nikolay
13-
Bekirov](https://github.com/nbekirov)!
14+
* ActiveSupport 5.1 test failures were fixed in
15+
[PR 280](https://github.com/ClosureTree/closure_tree/pull/280).
16+
Thanks, [Bobby Uhlenbrock](https://github.com/uhlenbrock)!
1417
* A database connection was leaked at startup, fixed in [PR
15-
263](https://github.com/mceachen/closure_tree/pull/263). Thanks, [Andrey
18+
263](https://github.com/ClosureTree/closure_tree/pull/263). Thanks, [Andrey
1619
Novikov](https://github.com/Envek)!
1720

21+
### 6.5.0
22+
23+
* Merged [PR 258](https://github.com/ClosureTree/closure_tree/pull/258) which
24+
improves hierarchy maintenance with large trees. Thanks, [Nikolay
25+
Bekirov](https://github.com/nbekirov)!
1826
### 6.4.0
1927

20-
* Merged [PR 236](https://github.com/mceachen/closure_tree/pull/236) which adds documentation for `has_closure_tree_root`.
28+
* Merged [PR 236](https://github.com/ClosureTree/closure_tree/pull/236) which adds documentation for `has_closure_tree_root`.
2129
* Added ruby 2.4 and dropped Rails 4.1 from the build matrix.
2230

2331
### 6.3.0
2432

25-
* `prepend_child` [handles invalid children properly now](https://github.com/mceachen/closure_tree/issues/249).
33+
* `prepend_child` [handles invalid children properly now](https://github.com/ClosureTree/closure_tree/issues/249).
2634
Thanks [Amit Saxena](https://github.com/amitsaxena)!
2735
* Dropped official support for jruby and ruby 2.0 (no code was changed)
2836

2937
### 6.2.0
3038

31-
* Fix for [MySQL lock lengths](https://github.com/mceachen/closure_tree/issues/231).
39+
* Fix for [MySQL lock lengths](https://github.com/ClosureTree/closure_tree/issues/231).
3240
Thanks to [Liam](https://github.com/hut8)!
33-
* [Tom Smyth](https://github.com/hooverlunch) added [eager tree loading](https://github.com/mceachen/closure_tree/pull/232)
34-
* Merged [PR 200](https://github.com/mceachen/closure_tree/pull/200) which may or may not add support to SQLServer 2008 (but this is not a supported RDBMS).
41+
* [Tom Smyth](https://github.com/hooverlunch) added [eager tree loading](https://github.com/ClosureTree/closure_tree/pull/232)
42+
* Merged [PR 200](https://github.com/ClosureTree/closure_tree/pull/200) which may or may not add support to SQLServer 2008 (but this is not a supported RDBMS).
3543

3644
### 6.1.0
3745

@@ -55,7 +63,7 @@ Closure Tree is now tested against Rails 5.1, just passed 50 contributors and
5563
* Dropped support for versions of Rails 3.2 and 4.0 (which are no longer supported).
5664
* Dropped support for Ruby 1.9 and JRuby 1.9 (which are no longer supported).
5765
* Added support for `.hash_tree` from `.parent` and `.children`.
58-
Addresses [PR146](https://github.com/mceachen/closure_tree/pull/146).
66+
Addresses [PR146](https://github.com/ClosureTree/closure_tree/pull/146).
5967
Thanks for reporting this and the breaking test, [Mike](https://github.com/mkralla11)!
6068

6169
### 5.2.0
@@ -66,7 +74,7 @@ Closure Tree is now tested against Rails 5.1, just passed 50 contributors and
6674
* [Ryan Selk](https://github.com/rselk) made several enhancements to the migration generation (thanks!).
6775
* [ruok5](https://github.com/ruok5) updated the README to clarify a heirarchy maintenance usecase. Thanks!
6876
* Made migrations error with a helpful message if the target didn't have the `has_closure_tree` or
69-
`acts_as_tree` annotation. This addresses [issue 131](https://github.com/mceachen/closure_tree/issues/131).
77+
`acts_as_tree` annotation. This addresses [issue 131](https://github.com/ClosureTree/closure_tree/issues/131).
7078

7179
### 5.1.1
7280

@@ -77,7 +85,7 @@ Closure Tree is now tested against Rails 5.1, just passed 50 contributors and
7785

7886
* [Abdelkader Boudih](https://github.com/seuros) added a database generator
7987
for the hierarchies table. Thanks!
80-
* [Jason Weathered](https://github.com/jasoncodes) fixed [issue #117](https://github.com/mceachen/closure_tree/pull/117)
88+
* [Jason Weathered](https://github.com/jasoncodes) fixed [issue #117](https://github.com/ClosureTree/closure_tree/pull/117)
8189
with the preordered traversal code that assumed the primary key column was called `id`. Thanks!
8290

8391
### 5.0.0
@@ -101,13 +109,13 @@ Closure Tree is now tested against Rails 5.1, just passed 50 contributors and
101109

102110
### 4.6.2
103111

104-
* Pulled in [106](https://github.com/mceachen/closure_tree/pull/106) which fixed a bug introduced
112+
* Pulled in [106](https://github.com/ClosureTree/closure_tree/pull/106) which fixed a bug introduced
105113
in 4.6.0 which broke if the numeric ordering column wasn't named 'sort_order'. Tests have been
106114
added. Thanks for the fix, [Fission Xuiptz](https://github.com/fissionxuiptz)!
107115

108116
### 4.6.1
109117

110-
* Address [issue 60](https://github.com/mceachen/closure_tree/issues/60) (use `.empty?` rather
118+
* Address [issue 60](https://github.com/ClosureTree/closure_tree/issues/60) (use `.empty?` rather
111119
than `.nil?`—thanks for the suggestion, [Leonel Galán](https://github.com/leonelgalan),
112120
[Doug Mayer](https://github.com/doxavore) and [Samnang Chhun](https://github.com/samnang)!
113121

@@ -134,7 +142,7 @@ Closure Tree is now tested against Rails 5.1, just passed 50 contributors and
134142

135143
### 4.4.0
136144

137-
* Added ```.self_and_descendant_ids``` and ```.self_and_ancestors_ids``` from [PR92](https://github.com/mceachen/closure_tree/pull/92).
145+
* Added ```.self_and_descendant_ids``` and ```.self_and_ancestors_ids``` from [PR92](https://github.com/ClosureTree/closure_tree/pull/92).
138146
Thanks, [Kir Shatrov](https://github.com/kirs)!
139147

140148
* Dropped support for Rails 3.0.
@@ -149,7 +157,7 @@ Closure Tree is now tested against Rails 5.1, just passed 50 contributors and
149157
### 4.2.9
150158

151159
* Support for Heroku's cray assets:precompile hack for Rails 4.
152-
Addresses [issue 78](https://github.com/mceachen/closure_tree/issues/78).
160+
Addresses [issue 78](https://github.com/ClosureTree/closure_tree/issues/78).
153161
Thanks for the assist, [Alex Bowman](https://github.com/axlekb).
154162

155163
### 4.2.8
@@ -159,7 +167,7 @@ Closure Tree is now tested against Rails 5.1, just passed 50 contributors and
159167
### 4.2.7
160168

161169
* ```self_and_ancestors``` and ```ancestry_hierarchy``` are reloaded
162-
when nodes are reparented. Addresses [issue 68](https://github.com/mceachen/closure_tree/issues/68).
170+
when nodes are reparented. Addresses [issue 68](https://github.com/ClosureTree/closure_tree/issues/68).
163171
Thanks for the assist, [Ivan Stana](https://github.com/istana).
164172

165173
### 4.2.6
@@ -179,12 +187,12 @@ Closure Tree is now tested against Rails 5.1, just passed 50 contributors and
179187
### 4.2.4
180188

181189
* Support for ```root?```, ```child?```, and proper parent-child associations
182-
when both the parent and the child are not persisted. Addresses [issue 64](https://github.com/mceachen/closure_tree/issues/64).
190+
when both the parent and the child are not persisted. Addresses [issue 64](https://github.com/ClosureTree/closure_tree/issues/64).
183191
Thanks for the help, [Gabriel Mazetto](https://github.com/brodock)!
184192

185193
### 4.2.3
186194

187-
* Fixed ```attr_accessible?``` error introduced in 4.2.2 ([issue 66](https://github.com/mceachen/closure_tree/issues/66)).
195+
* Fixed ```attr_accessible?``` error introduced in 4.2.2 ([issue 66](https://github.com/ClosureTree/closure_tree/issues/66)).
188196
* Switched to use new WithAdvisoryLock::DatabaseAdapterSupport (in v0.0.9) to add Postgis support
189197

190198
### 4.2.2
@@ -214,11 +222,11 @@ Closure Tree is now tested against Rails 5.1, just passed 50 contributors and
214222

215223
* Numeric, deterministically ordered siblings will always be [0..#{self_and_siblings.count}]
216224
(previously, the sort order might use negative values, which broke the preordering).
217-
Resolves [issue 49](https://github.com/mceachen/closure_tree/issues/49). Thanks for the help,
225+
Resolves [issue 49](https://github.com/ClosureTree/closure_tree/issues/49). Thanks for the help,
218226
[Leonel Galan](https://github.com/leonelgalan), [Juan Hoyos](https://github.com/elhoyos), and
219227
[Michael Elfassy](https://github.com/elfassy)!
220228

221-
* The ```order``` option can be a symbol now. Resolves [issue 46](https://github.com/mceachen/closure_tree/issues/46).
229+
* The ```order``` option can be a symbol now. Resolves [issue 46](https://github.com/ClosureTree/closure_tree/issues/46).
222230

223231
### 4.0.0
224232

@@ -233,22 +241,22 @@ Closure Tree is now tested against Rails 5.1, just passed 50 contributors and
233241
### 3.10.2
234242

235243
* Prevent faulty SQL statement when ```#siblings``` is called on an unsaved records.
236-
Resolves [issue 52](https://github.com/mceachen/closure_tree/pull/52). Perfect pull
244+
Resolves [issue 52](https://github.com/ClosureTree/closure_tree/pull/52). Perfect pull
237245
request by [Gary Greyling](https://github.com/garygreyling).
238246

239247
* The ```.roots``` class method now correctly respects the ```:order``` option.
240-
Resolves [issue 53](https://github.com/mceachen/closure_tree/issues/53).
248+
Resolves [issue 53](https://github.com/ClosureTree/closure_tree/issues/53).
241249
Thanks for finding this, [Brendon Muir](https://github.com/brendon)!
242250

243251
### 3.10.1
244252

245253
* Multipart constant names like "Admin::PageHierarchy" are now supported.
246-
Resolves [issue 47](https://github.com/mceachen/closure_tree/issues/47).
254+
Resolves [issue 47](https://github.com/ClosureTree/closure_tree/issues/47).
247255
Thanks for the perfect pull request, [Simon Menke](https://github.com/fd)!
248256

249257
* Committing transactions involving large numbers of hierarchy model classes was very slow due
250258
to hash collisions in the hierarchy class. A better hash implementation addressed
251-
[issue 48](https://github.com/mceachen/closure_tree/issues/48).
259+
[issue 48](https://github.com/ClosureTree/closure_tree/issues/48).
252260
Thanks, [Joel Turkel](https://github.com/jturkel)!
253261

254262
### 3.10.0
@@ -277,19 +285,19 @@ All three of these improvements were suggested by Andrew Bromwich. Thanks!
277285
### 3.8.0
278286

279287
* Support for preordered descendants. This requires a numeric sort order column.
280-
Resolves [feature request 38](https://github.com/mceachen/closure_tree/issues/38).
288+
Resolves [feature request 38](https://github.com/ClosureTree/closure_tree/issues/38).
281289
* Moved modules from ```acts_as_tree``` into separate files
282290

283291
### 3.7.3
284292

285293
Due to MySQL's inability to lock rows properly, I've switched to advisory_locks for
286294
all write paths. This will prevent deadlocks, addressing
287-
[issue 41](https://github.com/mceachen/closure_tree/issues/41).
295+
[issue 41](https://github.com/ClosureTree/closure_tree/issues/41).
288296

289297
### 3.7.2
290298

291299
* Support for UUID primary keys. Addresses
292-
[issue 40](https://github.com/mceachen/closure_tree/issues/40). Thanks for the pull request,
300+
[issue 40](https://github.com/ClosureTree/closure_tree/issues/40). Thanks for the pull request,
293301
[Julien](https://github.com/calexicoz)!
294302

295303
### 3.7.1
@@ -300,7 +308,7 @@ all write paths. This will prevent deadlocks, addressing
300308
### 3.7.0
301309

302310
**Thread safety!**
303-
* [Advisory locks](https://github.com/mceachen/with_advisory_lock) were
311+
* [Advisory locks](https://github.com/ClosureTree/with_advisory_lock) were
304312
integrated with the class-level ```find_or_create_by_path``` and ```rebuild!```.
305313
* Pessimistic locking is used by the instance-level ```find_or_create_by_path```.
306314

@@ -313,7 +321,7 @@ wasting time on the ruby side.
313321
### 3.6.7
314322

315323
* Added workaround for ActiveRecord::Observer usage pre-db-creation. Addresses
316-
[issue 32](https://github.com/mceachen/closure_tree/issues/32).
324+
[issue 32](https://github.com/ClosureTree/closure_tree/issues/32).
317325
Thanks, [Don Morrison](https://github.com/elskwid)!
318326

319327
### 3.6.6
@@ -324,28 +332,28 @@ Thanks, [James Miller](https://github.com/bensie)!
324332
### 3.6.5
325333

326334
* Use ```quote_table_name``` instead of ```quote_column_name```. Addresses
327-
[issue 29](https://github.com/mceachen/closure_tree/issues/29). Thanks,
335+
[issue 29](https://github.com/ClosureTree/closure_tree/issues/29). Thanks,
328336
[Marcello Barnaba](https://github.com/vjt)!
329337

330338
### 3.6.4
331339

332340
* Use ```.pluck``` when available for ```.ids_from```. Addresses
333-
[issue 26](https://github.com/mceachen/closure_tree/issues/26). Thanks,
341+
[issue 26](https://github.com/ClosureTree/closure_tree/issues/26). Thanks,
334342
[Chris Sturgill](https://github.com/sturgill)!
335343

336344
### 3.6.3
337345

338-
* Fixed [issue 24](https://github.com/mceachen/closure_tree/issues/24), which optimized ```#hash_tree```
346+
* Fixed [issue 24](https://github.com/ClosureTree/closure_tree/issues/24), which optimized ```#hash_tree```
339347
for roots. Thanks, [Saverio Trioni](https://github.com/rewritten)!
340348

341349
### 3.6.2
342350

343-
* Fixed [issue 23](https://github.com/mceachen/closure_tree/issues/23), which added support for ```#siblings```
351+
* Fixed [issue 23](https://github.com/ClosureTree/closure_tree/issues/23), which added support for ```#siblings```
344352
when sort_order wasn't specified. Thanks, [Gary Greyling](https://github.com/garygreyling)!
345353

346354
### 3.6.1
347355

348-
* Fixed [issue 20](https://github.com/mceachen/closure_tree/issues/20), which affected
356+
* Fixed [issue 20](https://github.com/ClosureTree/closure_tree/issues/20), which affected
349357
deterministic ordering when siblings where different STI classes. Thanks, [edwinramirez](https://github.com/edwinramirez)!
350358

351359
### 3.6.0
@@ -355,16 +363,16 @@ Added support for:
355363
* ActiveRecord::Base.table_name_prefix
356364
* ActiveRecord::Base.table_name_suffix
357365

358-
This addresses [issue 21](https://github.com/mceachen/closure_tree/issues/21). Thanks, [Judd Blair](https://github.com/juddblair)!
366+
This addresses [issue 21](https://github.com/ClosureTree/closure_tree/issues/21). Thanks, [Judd Blair](https://github.com/juddblair)!
359367

360368
### 3.5.2
361369

362370
* Added ```find_all_by_generation```
363-
for [feature request 17](https://github.com/mceachen/closure_tree/issues/17).
371+
for [feature request 17](https://github.com/ClosureTree/closure_tree/issues/17).
364372

365373
### 3.4.2
366374

367-
* Fixed [issue 18](https://github.com/mceachen/closure_tree/issues/18), which affected
375+
* Fixed [issue 18](https://github.com/ClosureTree/closure_tree/issues/18), which affected
368376
append_node/prepend_node ordering when the first node didn't have an explicit order_by value
369377

370378
### 3.4.1
@@ -373,7 +381,7 @@ This addresses [issue 21](https://github.com/mceachen/closure_tree/issues/21). T
373381

374382
### 3.4.0
375383

376-
Fixed [issue 15](https://github.com/mceachen/closure_tree/issues/15):
384+
Fixed [issue 15](https://github.com/ClosureTree/closure_tree/issues/15):
377385
* "parent" is now attr_accessible, which adds support for constructor-provided parents.
378386
* updated readme accordingly
379387

@@ -383,7 +391,7 @@ Fixed [issue 15](https://github.com/mceachen/closure_tree/issues/15):
383391

384392
### 3.3.1
385393

386-
* Added support for partially-unsaved hierarchies [issue 13](https://github.com/mceachen/closure_tree/issues/13):
394+
* Added support for partially-unsaved hierarchies [issue 13](https://github.com/ClosureTree/closure_tree/issues/13):
387395
```
388396
a = Tag.new(name: "a")
389397
b = Tag.new(name: "b")
@@ -398,7 +406,7 @@ a.save
398406
### 3.2.1
399407

400408
* Added ```ancestor_ids```, ```descendant_ids```, and ```sibling_ids```
401-
* Added example spec to solve [issue 9](https://github.com/mceachen/closure_tree/issues/9)
409+
* Added example spec to solve [issue 9](https://github.com/ClosureTree/closure_tree/issues/9)
402410

403411
### 3.2.0
404412

@@ -410,7 +418,7 @@ a.save
410418

411419
### 3.0.4
412420

413-
* Merged [pull request](https://github.com/mceachen/closure_tree/pull/8) to fix ```.siblings``` and ```.self_and_siblings```
421+
* Merged [pull request](https://github.com/ClosureTree/closure_tree/pull/8) to fix ```.siblings``` and ```.self_and_siblings```
414422
(Thanks, [eljojo](https://github.com/eljojo)!)
415423

416424
### 3.0.3
@@ -425,7 +433,7 @@ a.save
425433

426434
### 3.0.1
427435

428-
* Support 3.2.0's fickle deprecation of InstanceMethods (Thanks, [jheiss](https://github.com/mceachen/closure_tree/pull/5))!
436+
* Support 3.2.0's fickle deprecation of InstanceMethods (Thanks, [jheiss](https://github.com/ClosureTree/closure_tree/pull/5))!
429437

430438
### 3.0.0
431439

lib/closure_tree/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module ClosureTree
2-
VERSION = Gem::Version.new('6.5.0')
2+
VERSION = Gem::Version.new('6.6.0')
33
end

0 commit comments

Comments
 (0)