root / tags / 1.4 / CHANGELOG

Revision 69, 1.8 kB (checked in by why, 3 years ago)
  • lib/camping.rb: moved Controllers::Base to Base and Controllers::R to R, to ensure only user classes are in the Controllers module. Camping::H is no longer a subclass of HashWithIndifferentAccess?, it's the real thing. HWDI isn't really subclassable due to convert_value.
  • lib/camping-unabridged.rb: all the above.
  • lib/camping/session.rb: the new sessioning library.
  • examples/blog/blog.rb: now uses the Camping session lib.
Line 
1= 1.4
2=== 17th February, 2006
3
4* Moved Camping::Controllers::Base to Camping::Base.
5* Moved Camping::Controllers::R to Camping::R.
6* New session library (lib/camping/session.rb).
7* WEBrick handler (lib/camping/webrick.rb) and Mongrel handler (lib/camping/mongrel.rb).
8* Helpers#URL, builds a complete URL for a route.  Returns a URI object. This way relative links could just return self.URL.path.
9* Base#initialize takes over some of Base#service's duties.
10* ENV now available as @env in controllers and views.
11* Beautiful multi-page docs without frames!
12
13= 1.3
14=== 28th January, 2006
15
16* bin/camping: an application launcher.
17* <tt>Camping.run(request, response)</tt> now changed to <tt>controller = Camping.run(request, env)</tt>
18* This means outputting the response is the wrapper/server's job.  See bin/camping, you can do a controller.to_s at the least.
19* <tt>Controllers::Base.env</tt> is the new thread-safe home for <tt>ENV</tt>.
20* The input hash now works more like Rails params.  You can call keys
21  like methods or with symbols or strings.
22* Queries are now parsed more like PHP/Rails, in that you can denote
23  structure with brackets: post[user]=_why;post[id]=2
24* Auto-prefix table names, to help prevent name clash.
25* Helpers.errors_for simple validation.
26* Lots of empty :href and :action attributes, a bug.
27* New single-page flipbook RDoc template.
28
29= 1.2
30=== 23rd January, 2006
31
32* Camping.goes allows fresh modules build from all Camping parts.
33* File uploads now supported (multipart/form-data).
34* Helpers.R can rebuild routes.
35* Helpers./ for tracing paths from the root.
36
37= 1.1
38=== 19th January, 2006
39
40* Allowed request and response streams to be passed in, to allow WEBrick and FastCGI support.
41
42= 1.0
43=== 17th January, 2006
44
45* Initial checkin, see announcement at http://redhanded.hobix.com/bits/campingAMicroframework.html.
Note: See TracBrowser for help on using the browser.