summaryrefslogtreecommitdiffhomepage
path: root/CHANGELOG.mdown
blob: e4e0e9dfff975034de5d7bf61f97b93320ad0174 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# ChangeLog

###### [major.minor.bugfix] - year-month-day

![Fixed](https://img.shields.io/badge/-Fixed-blue)
![Added](https://img.shields.io/badge/-Added-brightgreen)
![Changed](https://img.shields.io/badge/-Changed-yellow)
![Deprecated](https://img.shields.io/badge/-Deprecated-orange)
![Removed](https://img.shields.io/badge/-Removed-red)

## [2.0.0](https://github.com/realtradam/FelFlame/releases/tag/2.0.0) - 2021-07-10
![Changed](https://img.shields.io/badge/-Changed-yellow)
- Entities and Components now reference each other using the objects themselves rather then their id's
```ruby
# before:
@entity.components[@component_manager].each do |component_id|
  # iterate over id's, usually would need to do a lookup to get the component itself
end

# after:
@entity.components[@component_manager].each do |component|
  # iterate over the components themselves! No need for lookup anymore
end
```
```ruby
# same for components referencing entities
# before:
@component.entities.each do |entity_id|
  #iterate over id's
end

# after:
@component.entities.each do |entity|
  # directly iterate over entities themselves!
end
```
  

## [1.0.2](https://github.com/realtradam/FelFlame/releases/tag/1.0.2) - 2021-07-09
![Fixed](https://img.shields.io/badge/-Fixed-blue)
- Stripped superflous files shrinking gem size significantly

## [1.0.1](https://github.com/realtradam/FelFlame/releases/tag/1.0.1) - 2021-07-09
![Fixed](https://img.shields.io/badge/-Fixed-blue)
- Defining attributes in components are no longer allowed to overwrite methods

## [1.0.0](https://github.com/realtradam/FelFlame/releases/tag/1.0.0) - 2021-07-09
![Added](https://img.shields.io/badge/-Added-brightgreen) 
- Initial release